From 354bade9b69af2d2a26ee877b1dc96c9c7b802eb Mon Sep 17 00:00:00 2001 From: Aaron Tsai Date: Tue, 3 May 2022 17:19:25 +0800 Subject: [PATCH 1/6] Enable Early Send Device Info for C10/P10 This is for supporting Softbank requirement OTR-CORE_GEN-000305, UE shall delete the GUTI when performing software update. Bug: 229207853 Test: manual test Change-Id: I613ed05ad808c166368f67f7c3c9335c59be04b2 --- device.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/device.mk b/device.mk index 26f804d5..e530c9cd 100644 --- a/device.mk +++ b/device.mk @@ -881,6 +881,8 @@ SUPPORT_NR := true SUPPORT_NR_DS := true # Using IRadio 2.0 USE_RADIO_HAL_2_0 := true +# Using Early Send Device Info +USE_EARLY_SEND_DEVICE_INFO := true #$(call inherit-product, vendor/google_devices/telephony/common/device-vendor.mk) #$(call inherit-product, vendor/google_devices/gs201/proprietary/device-vendor.mk) From 3f56fd7e7d612924232a6df400322e94c8179cf6 Mon Sep 17 00:00:00 2001 From: yihsiangpeng Date: Fri, 13 May 2022 16:26:44 +0800 Subject: [PATCH 2/6] Health: write wireless capacity write the capacity as 101 when battery status is full Bug: 230541480 Signed-off-by: yihsiangpeng Change-Id: I6f52a91ede40c88aec5fa65c7a65185e9874da29 --- health/Health.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/health/Health.cpp b/health/Health.cpp index 453c151a..b69b7845 100644 --- a/health/Health.cpp +++ b/health/Health.cpp @@ -145,6 +145,7 @@ void private_healthd_board_init(struct healthd_config *hc) { } int private_healthd_board_battery_update(HealthInfo *health_info) { + int batt_level; deviceHealth.update(health_info); battThermalControl.updateThermalState(*health_info); battMetricsLogger.logBatteryProperties(*health_info); @@ -153,8 +154,9 @@ int private_healthd_board_battery_update(HealthInfo *health_info) { ChargerDetect::onlineUpdate(health_info); battDefender.update(health_info); + batt_level = (health_info->batteryStatus == ::aidl::android::hardware::health::BatteryStatus::FULL) ? 101 : health_info->batteryLevel; if (needs_wlc_updates && - !android::base::WriteStringToFile(std::to_string(health_info->batteryLevel), kWlcCapacity)) + !android::base::WriteStringToFile(std::to_string(batt_level), kWlcCapacity)) LOG(INFO) << "Unable to write battery level to wireless capacity"; return 0; From 06a3640fc950a241df4c3f1d617914ad4b02f17f Mon Sep 17 00:00:00 2001 From: jonerlin Date: Thu, 31 Mar 2022 20:02:47 +0800 Subject: [PATCH 3/6] Enable IBluetoothExt interface feature Bug: 228943442 Test: Manually Change-Id: I4669873fb316187a322422e1663370265b7a07c4 --- device_framework_matrix_product.xml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/device_framework_matrix_product.xml b/device_framework_matrix_product.xml index 3d77f573..12b30513 100644 --- a/device_framework_matrix_product.xml +++ b/device_framework_matrix_product.xml @@ -171,6 +171,14 @@ default + + hardware.google.bluetooth.ext + 1.0 + + IBluetoothExt + default + + hardware.google.bluetooth.ccc 1.1 From 150f6aafeab81220717178dc4919a7331b7f8246 Mon Sep 17 00:00:00 2001 From: eddielan Date: Tue, 26 Apr 2022 15:41:13 +0800 Subject: [PATCH 4/6] manifest: Use fpc42 version for FPS extension Bug: 229685137 Test: make check-vintf-all -j112 Change-Id: I4a8272a44420ff11cf368e99996f2eabf63b6d0c --- device_framework_matrix_product.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/device_framework_matrix_product.xml b/device_framework_matrix_product.xml index b5aea588..5ebf1184 100644 --- a/device_framework_matrix_product.xml +++ b/device_framework_matrix_product.xml @@ -49,7 +49,7 @@ - com.fingerprints35.extension + com.fingerprints42.extension 1.0 IFingerprintAuthenticator From 8a5a00e0c3ef22ca6954c72b65a9773d44a623a2 Mon Sep 17 00:00:00 2001 From: Jiakai Zhang Date: Fri, 20 May 2022 14:04:06 +0000 Subject: [PATCH 5/6] Preopt SystemUI for AOSP builds. Bug: 232860596 Change-Id: Id00362b2dfaa7e0e4ba868988c19d215b26216ba Test: See no dex2oat invocation on the first boot. --- device.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/device.mk b/device.mk index 58e9e151..1cc0d032 100644 --- a/device.mk +++ b/device.mk @@ -1113,8 +1113,8 @@ PRODUCT_PACKAGES_DEBUG += BatteryStatsViewer DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE := device/google/gs201/device_framework_matrix_product.xml # Preopt SystemUI -PRODUCT_DEXPREOPT_SPEED_APPS += \ - SystemUIGoogle +PRODUCT_DEXPREOPT_SPEED_APPS += SystemUIGoogle # For internal +PRODUCT_DEXPREOPT_SPEED_APPS += SystemUI # For AOSP # Compile SystemUI on device with `speed`. PRODUCT_PROPERTY_OVERRIDES += \ From aa81635cad78472c51383d8c8ece26cfe53cbc45 Mon Sep 17 00:00:00 2001 From: Allen Xu Date: Fri, 20 May 2022 00:06:52 +0000 Subject: [PATCH 6/6] Add notification pregrant for SCONE Bug: 233243584 Change-Id: Id18a36486e012ce5e6749da16c51f88afa5ff278 Test: manual --- default-permissions.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/default-permissions.xml b/default-permissions.xml index cfb25f5a..3abb866b 100644 --- a/default-permissions.xml +++ b/default-permissions.xml @@ -63,6 +63,8 @@ + +