mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-21 11:55:31 -04:00
[squash] a10: update stuffs
This commit is contained in:
parent
8d0cd32875
commit
7df1122f77
7 changed files with 85 additions and 13 deletions
|
|
@ -7,14 +7,14 @@ TARGET_OTA_ASSERT_DEVICE := a10,a10dd
|
|||
TARGET_KERNEL_CONFIG := exynos7885-a10_enforcing_defconfig
|
||||
|
||||
# Display
|
||||
TARGET_SCREEN_DENSITY := 320
|
||||
TARGET_SCREEN_DENSITY := 280
|
||||
|
||||
# Partitions
|
||||
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 55574528 # 55MB
|
||||
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 3511135764 # 3.27GB
|
||||
BOARD_BOOTIMAGE_PARTITION_SIZE := 33554432
|
||||
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 3556769792 # 3.31GB
|
||||
BOARD_BOOTIMAGE_PARTITION_SIZE := 37748736
|
||||
BOARD_CACHEIMAGE_PARTITION_SIZE := 157286400
|
||||
BOARD_VENDORIMAGE_PARTITION_SIZE := 364904448
|
||||
BOARD_VENDORIMAGE_PARTITION_SIZE := 394264576
|
||||
|
||||
# Inherit common board flags
|
||||
include device/samsung/universal7885-common/BoardConfigCommon.mk
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ $(call inherit-product, device/samsung/universal7885-common/universal7885-common
|
|||
|
||||
$(call inherit-product, vendor/samsung/a10-arm64/a10-vendor.mk)
|
||||
|
||||
$(call inherit-product, frameworks/native/build/phone-xhdpi-2048-dalvik-heap.mk)
|
||||
$(call inherit-product, frameworks/native/build/phone-xhdpi-4096-dalvik-heap.mk)
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
CameraLightSensor
|
||||
|
|
@ -17,6 +17,10 @@ PRODUCT_PACKAGES += \
|
|||
TARGET_SCREEN_HEIGHT := 1560
|
||||
TARGET_SCREEN_WIDTH := 720
|
||||
|
||||
# Fingerprint
|
||||
PRODUCT_COPY_FILES += frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
fstab.exynos7884B \
|
||||
ueventd.exynos7885.rc
|
||||
|
||||
|
|
|
|||
|
|
@ -16,4 +16,3 @@ PRODUCT_NAME := full_a10
|
|||
PRODUCT_MODEL := SM-A105F
|
||||
PRODUCT_BRAND := samsung
|
||||
PRODUCT_MANUFACTURER := samsung
|
||||
|
||||
|
|
|
|||
|
|
@ -1,10 +1,71 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/**
|
||||
* Copyright (c) 2009, 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.
|
||||
*/
|
||||
-->
|
||||
|
||||
<!-- These resources are around just to allow their values to be customized
|
||||
for different hardware and product builds. Do not translate. -->
|
||||
|
||||
<resources>
|
||||
<bool name="config_dozeAlwaysOnDisplayAvailable">false</bool>
|
||||
<bool name="config_displayBlanksAfterDoze">true</bool>
|
||||
<!-- The bounding path of the cutout region of the main built-in display.
|
||||
Must either be empty if there is no cutout region, or a string that is parsable by
|
||||
{@link android.util.PathParser}.
|
||||
The path is assumed to be specified in display coordinates with pixel units and in
|
||||
the display's native orientation, with the origin of the coordinate system at the
|
||||
center top of the display.
|
||||
To facilitate writing device-independent emulation overlays, the marker `@dp` can be
|
||||
appended after the path string to interpret coordinates in dp instead of px units.
|
||||
Note that a physical cutout should be configured in pixels for the best results.
|
||||
Example for a 10px x 10px square top-center cutout:
|
||||
<string ...>M -5,0 L -5,10 L 5,10 L 5,0 Z</string>
|
||||
Example for a 10dp x 10dp square top-center cutout:
|
||||
<string ...>M -5,0 L -5,10 L 5,10 L 5,0 Z @dp</string>
|
||||
@see https://www.w3.org/TR/SVG/paths.html#PathData
|
||||
-->
|
||||
<string translatable="false" name="config_mainBuiltInDisplayCutout">M62,0l-3.8,0l-3.9,0.2l-3.9,0.4l-4,0.8l-3.9,1.2l-3.8,1.6l-3.7,2l-3.4,2.4l-3.1,2.8l-2.9,3l-2.7,3.1l-2.6,3.1 l-2.7,2.8C12.5,28,6.2,30.3,0,30.3c-6.3,0-12.5-2.3-17.5-6.8l-2.7-2.8l-2.6-3.1l-2.7-3.1l-2.9-3l-3.2-2.8 L-35,6.2l-3.7-2l-3.8-1.6l-3.9-1.2l-4-0.8L-54.3,0.2L-58.2,0L-62,0Z @dp</string>
|
||||
<string translatable="false" name="config_mainBuiltInDisplayCutoutRectApproximation">@*android:string/config_mainBuiltInDisplayCutout</string>
|
||||
<!-- If supported, are dreams enabled? (by default) -->
|
||||
<bool name="config_dreamsEnabledByDefault">false</bool>
|
||||
<bool name="config_dozeAlwaysOnDisplayAvailable">true</bool>
|
||||
<bool name="config_displayBlanksAfterDoze">false</bool>
|
||||
<bool name="config_dozePulsePickup">false</bool>
|
||||
<string name="config_mainBuiltInDisplayCutout">M62,0l-3.8,0l-3.9,0.2l-3.9,0.4l-4,0.8l-3.9,1.2l-3.8,1.6l-3.7,2l-3.4,2.4l-3.1,2.8l-2.9,3l-2.7,3.1l-2.6,3.1 l-2.7,2.8C12.5,28,6.2,30.3,0,30.3c-6.3,0-12.5-2.3-17.5-6.8l-2.7-2.8l-2.6-3.1l-2.7-3.1l-2.9-3l-3.2-2.8 L-35,6.2l-3.7-2l-3.8-1.6l-3.9-1.2l-4-0.8L-54.3,0.2L-58.2,0L-62,0Z @dp</string>
|
||||
<bool name="config_supportDoubleTapWake">false</bool>
|
||||
<bool name="config_enableBurnInProtection">false</bool>
|
||||
<bool name="config_enableBurnInProtection">true</bool>
|
||||
<bool name="config_dozeAfterScreenOffByDefault">true</bool>
|
||||
|
||||
<bool name="config_allowAutoBrightnessWhileDozing">true</bool>
|
||||
|
||||
<!-- List of biometric sensors on the device, in decreasing strength. Consumed by AuthService
|
||||
when registering authenticators with BiometricService. Format must be ID:Modality:Strength,
|
||||
where: IDs are unique per device, Modality as defined in BiometricAuthenticator.java,
|
||||
and Strength as defined in Authenticators.java -->
|
||||
<string-array name="config_biometric_sensors" translatable="false" >
|
||||
<item>0:2:15</item> <!-- ID0:Fingerprint:Strong -->
|
||||
</string-array>
|
||||
|
||||
<!-- For performance and storage reasons, limit the number of fingerprints per user -->
|
||||
<integer name="config_fingerprintMaxTemplatesPerUser">4</integer>
|
||||
|
||||
<!-- Specify if the fingerprint hardware support gestures-->
|
||||
<bool name="config_fingerprintSupportsGestures">true</bool>
|
||||
|
||||
<!-- True if the device supports system navigation keys. -->
|
||||
<bool name="config_supportSystemNavigationKeys">true</bool>
|
||||
|
||||
<!-- Limit for the number of face templates per user -->
|
||||
<integer name="config_faceMaxTemplatesPerUser">2</integer>
|
||||
</resources>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,13 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<!-- Height of the status bar in landscape. The height should be
|
||||
Max((status bar content height + waterfall top size), top cutout size) -->
|
||||
<dimen name="status_bar_height_landscape">24.0dip</dimen>
|
||||
|
||||
<!-- Height of the status bar in portrait. The height should be
|
||||
Max((status bar content height + waterfall top size), top cutout size) -->
|
||||
<dimen name="status_bar_height_portrait">31.0dip</dimen>
|
||||
|
||||
<!-- Default radius of the software rounded corners. -->
|
||||
<dimen name="rounded_corner_radius">40px</dimen>
|
||||
</resources>
|
||||
|
|
|
|||
|
|
@ -69,7 +69,8 @@
|
|||
</array>
|
||||
<item name="cpu.idle">3.79</item>
|
||||
<item name="cpu.awake">23</item>
|
||||
<item name="battery.capacity">3300</item>
|
||||
<item name="battery.capacity">3400</item>
|
||||
<item name="battery.typical.capacity">3300</item>
|
||||
<item name="wifi.controller.idle">1</item>
|
||||
<item name="wifi.controller.rx">65</item>
|
||||
<item name="wifi.controller.tx">265</item>
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@ VENDOR=$(cat device/samsung/universal7885-common/vendor_name)
|
|||
if [ ! $VENDOR ]; then
|
||||
VENDOR=aosp;
|
||||
fi
|
||||
|
||||
# Generate AndroidProducts.mk
|
||||
echo "# Auto-Generated by device/samsung/a10/setup.sh" > device/samsung/a10/AndroidProducts.mk
|
||||
echo "PRODUCT_MAKEFILES += \$(LOCAL_DIR)/"$VENDOR"_a10.mk" >> device/samsung/a10/AndroidProducts.mk
|
||||
|
|
@ -20,3 +19,4 @@ echo "" >> device/samsung/a10/"$VENDOR"_a10.mk
|
|||
echo "# Additional Props" >> device/samsung/a10/"$VENDOR"_a10.mk
|
||||
echo "TARGET_FACE_UNLOCK_SUPPORTED := true" >> device/samsung/a10/"$VENDOR"_a10.mk
|
||||
echo "TARGET_BOOT_ANIMATION_RES := 720" >> device/samsung/a10/"$VENDOR"_a10.mk
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue