4 Commits
3 changed files with 51 additions and 42 deletions
+2 -2
View File
@@ -7,7 +7,7 @@ $(call inherit-product, vendor/lineage/config/common_full_phone.mk)
PRODUCT_NAME := lineage_rubenslte
PRODUCT_BRAND := samsung
PRODUCT_MANUFACTURER := samsung
PRODUCT_MODEL := rubenslte
PRODUCT_MODEL := SM-T365
PRODUCT_DEVICE := rubenslte
PRODUCT_CHARACTERISTICS := tablet
PRODUCT_GMS_CLIENTID_BASE := android-samsung
@@ -26,7 +26,7 @@ PRODUCT_PACKAGES += android.hardware.vibrator@1.0-impl
PRODUCT_PACKAGES += android.hardware.light@2.0-service.samsung
# Overlays
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay-lineage
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay $(LOCAL_PATH)/overlay-lineage
# Permissions
PRODUCT_COPY_FILES += \
@@ -1,44 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015 The CyanogenMod Project
Copyright (C) 2017-2018 The LineageOS 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.
-->
<resources>
<!-- Hardware keys present on the device, stored as a bit field.
This integer should equal the sum of the corresponding value for each
of the following keys present:
1 - Home
2 - Back
4 - Menu
8 - Assistant (search)
16 - App switch
32 - Camera
64 - Volume rocker
For example, a device with Home, Back and Menu keys would set this
config to 7. -->
<integer name="config_deviceHardwareKeys">83</integer>
<!-- Hardware keys present on the device, stored as a bit field.
This integer should equal the sum of the corresponding value for each
of the following keys present:
1 - Home
2 - Back
4 - Menu
8 - Assistant (search)
16 - App switch
32 - Camera
64 - Volume rocker
For example, a device with Home, Back and Menu keys would set this
config to 7. -->
<integer name="config_deviceHardwareKeys">83</integer>
<!-- Hardware keys present on the device with the ability to wake, stored as a bit field.
1 - Home
2 - Back
4 - Menu
8 - Assistant (search)
16 - App switch
32 - Camera
64 - Volume rocker
Home wakes by default (home_wake_screen setting defaults to 1);
volume can be enabled by the user. -->
<integer name="config_deviceHardwareWakeKeys">65</integer>
<!-- Hardware keys present on the device with the ability to wake, stored as a bit field.
1 - Home
2 - Back
4 - Menu
8 - Assistant (search)
16 - App switch
32 - Camera
64 - Volume rocker
Home wakes by default (home_wake_screen setting defaults to 1);
volume can be enabled by the user. -->
<integer name="config_deviceHardwareWakeKeys">65</integer>
</resources>
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- The auto-brightness curve and brightness limits below are taken from the
stock SM-T365 framework-res.apk, so they match this panel's calibration. -->
<resources>
<integer name="config_screenBrightnessSettingMinimum">20</integer>
<integer name="config_screenBrightnessSettingDefault">143</integer>
<integer name="config_screenBrightnessSettingMaximum">255</integer>
<integer name="config_screenBrightnessDim">30</integer>
<bool name="config_automatic_brightness_available">true</bool>
<integer-array name="config_autoBrightnessLevels">
<item>15</item>
<item>150</item>
<item>1000</item>
<item>5000</item>
</integer-array>
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>10</item>
<item>80</item>
<item>162</item>
<item>190</item>
<item>255</item>
</integer-array>
</resources>