Files
device_google_walleye/device-walleye.mk
Vinay Kalia 270bb04874 power_profile: Fix device overlays
Overlays listed first take precedence over overlays listed later.
List muskie/walleye overlays before adding common overlays. Also,
resources outside of the "values" directory are overlayed by the
file so copy the data in power_profile.xml under wahoo to
muskie/walleye.

BUG: 36796913
Test: Verified "App usage since last charge" under Settings->Battery
Change-Id: I96c08a30f0ea9392a0867ee78039567d6661c754
2017-04-19 11:55:03 -07:00

35 lines
1.2 KiB
Makefile

#
# Copyright 2016 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
PRODUCT_AAPT_CONFIG := normal
PRODUCT_AAPT_PREF_CONFIG := xxhdpi
PRODUCT_AAPT_PREBUILT_DPI := xxhdpi xhdpi hdpi
PRODUCT_HARDWARE := walleye
# DEVICE_PACKAGE_OVERLAYS for the device should be before
# including common overlays since the one listed first
# takes precedence.
ifdef DEVICE_PACKAGE_OVERLAYS
$(warning Overlays defined in '$(DEVICE_PACKAGE_OVERLAYS)' will override '$(PRODUCT_HARDWARE)' overlays)
endif
DEVICE_PACKAGE_OVERLAYS += device/google/muskie/walleye/overlay
include device/google/muskie/device-common.mk
PRODUCT_PROPERTY_OVERRIDES += \
ro.sf.lcd_density=420