- Oct 23, 2023
-
-
Sumedh Sen authored
* changes: Recycle the original bitmap after scaling down Resize large app icons before adding them in a parcel Make AppSnippet parcelable
-
Anton Hansson authored
-
Eric Biggers authored
-
Ioana Alexandru authored
-
Jordan Silva authored
-
Ioana Alexandru authored
Added the people missing from the Notifications team to the main SysUI owners file, and created an OWNERS file for our tests. Change-Id: Iaf371f1e56ba6874d4eb7cd298a20e4e56e9eced
-
Pavel Grafov authored
-
Roshan Pius authored
-
Roshan Pius authored
-
Jordan Silva authored
Revert submission 2745215-npmsbpf DroidMonitor: Potential culprit for Bug 307256512 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted. Reason for revert: 307256512 Reverted changes: /q/submissionid:2745215-npmsbpf Change-Id: I0ad98a7b4798676d6cf1150ecc98c996627e18ee
-
Felix Oghina authored
-
Junyu Lai authored
-
Adrian Roos authored
(cherry pick of 7da1d255 and 38dd161e) Bug: 297362755 Test: make checkapi Merged-In: If7333ead86d9028ab0a1cc8f25fc534cb13a1858 Merged-In: I4d384efac8a8d3b183d9b207b195ad5489db9e55 Change-Id: I4d384efac8a8d3b183d9b207b195ad5489db9e55
-
- Oct 21, 2023
-
-
Roshan Pius authored
-
- Oct 20, 2023
-
-
Sumedh Sen authored
This will free the memory used by the original bitmap Bug: 290862169 Bug: 304567418 Test: Manual. Install the APK attached in b/290862169#comment18 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:74d9576bec1fd0f0ef25936eb672b9e733b0e3e7) Merged-In: I94f5a9a4313c13375062fdade0e672d51eb5dc55 Change-Id: I94f5a9a4313c13375062fdade0e672d51eb5dc55 NOTE FOR REVIEWERS - errors occurred while applying the patch. PLEASE REVIEW CAREFULLY. Errors: Error applying patch in packages/PackageInstaller/src/com/android/packageinstaller/PackageUtil.java, hunk HunkHeader[172,7->172,7]: Hunk cannot be applied Original patch: From 74d9576b Mon Sep 17 00:00:00 2001 From: Sumedh Sen <sumedhsen@google.com> Date: Thu, 12 Oct 2023 10:13:35 -0700 Subject: [PATCH] Recycle the original bitmap after scaling down This will free the memory used by the original bitmap Bug: 290862169 Bug: 304567418 Test: Manual. Install the APK attached in b/290862169#comment18 Change-Id: I94f5a9a4313c13375062fdade0e672d51eb5dc55 ---
-
Sumedh Sen authored
If an app icon is too large, scale the icon down so that it can be parcelled and sent in an intent. Bug: 290862169 Bug: 304567418 Test: Manual. Install the APK attached in b/290862169#comment18 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:2fc482f6fd8ba4217a4f9c956dfdb45c6494974e) Merged-In: I5feafea491208c8fd6bbdc6b2b655d46b6964d95 Change-Id: I5feafea491208c8fd6bbdc6b2b655d46b6964d95 Original patch: From 2fc482f6 Mon Sep 17 00:00:00 2001 From: Sumedh Sen <sumedhsen@google.com> Date: Wed, 11 Oct 2023 12:19:50 -0700 Subject: [PATCH] Resize large app icons before adding them in a parcel If an app icon is too large, scale the icon down so that it can be parcelled and sent in an intent. Bug: 290862169 Bug: 304567418 Test: Manual. Install the APK attached in b/290862169#comment18 Change-Id: I5feafea491208c8fd6bbdc6b2b655d46b6964d95 ---
-
Roshan Pius authored
-
Sumedh Sen authored
AppSnippet is used in Pia in 4 activities. Each time, it is expensive to parse the app's logo and label from PackageManager and the APK file of the app being installed. Thus, lets compute the AppSnippet once and pass it as an intent extra to whichever activity needs it. This also solves the bug where InstallSuccess showed an activity's name in place of the app label since the temporary directory used to create AppSnippet is already destroyed after app installation. Bug: 290862169 Test: Manually install an APK and observe the app install / update dialog (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:719d00a979005e1b5919694305b015e1970992d9) Merged-In: I2095b092e1a7b3186ff4cdc4c81effce51377b19 Change-Id: I2095b092e1a7b3186ff4cdc4c81effce51377b19 Original patch: From 719d00a9 Mon Sep 17 00:00:00 2001 From: Sumedh Sen <sumedhsen@google.com> Date: Tue, 18 Jul 2023 15:00:59 -0700 Subject: [PATCH] Make AppSnippet parcelable AppSnippet is used in Pia in 4 activities. Each time, it is expensive to parse the app's logo and label from PackageManager and the APK file of the app being installed. Thus, lets compute the AppSnippet once and pass it as an intent extra to whichever activity needs it. This also solves the bug where InstallSuccess showed an activity's name in place of the app label since the temporary directory used to create AppSnippet is already destroyed after app installation. Bug: 290862169 Test: Manually install an APK and observe the app install / update dialog Change-Id: I2095b092e1a7b3186ff4cdc4c81effce51377b19 ---
-
Eric Biggers authored
This flag will need to be accessed from keystore2, which is started before the DeviceConfig-based flag infrastructure is available. Also, LockSettingsService in system_server will need to vary its start-up behavior depending on this flag, so toggling this flag at runtime won't work properly anyway (unless the device is immediately rebooted). Bug: 296464083 Test: build Change-Id: I22327798e0fe804144bbedb3e57f57b60b85e72a
-
Treehugger Robot authored
-
Eric Biggers authored
-
Roshan Pius authored
Bug: 306695176 Test: atest CtsStrictJavaPackagesTestCases:android.compat.sjp.cts. StrictJavaPackagesTest#testBootClasspathAndSystemServerClasspath_nonDuplicateClasses -- --abi x86_64 Change-Id: If62cad7d5c0abede6a96d680b4df72fedcca05f0
-
Roshan Pius authored
This is an API that has been unsupported for almost 10 years (see ag/443092). But, this API has not been formally deprecated. Use reflection to access @hide APIs from NfcAdapter class. Bug: 303286040 Test: Compiles Change-Id: I7cac9a4e1bca3fea220b5ac3d7d1cb2d63652485
-
Peiyong Lin authored
Now that ANGLE starts to become part of the platform, remove the code that takes ANGLE as an intervention. Bug: b/283781993 Test: atest CtsAngleDeveloperOptionHostTest -c Change-Id: I9fca1eab03f5804f52e09fb51e08a806b0fc9972 Merged-In: I9fca1eab03f5804f52e09fb51e08a806b0fc9972
-
Matt Pietal authored
-
Shunkai Yao authored
-
Shunkai Yao authored
-
Shunkai Yao authored
Test: atest SpatializerHelperTest & AudioDeviceBrokerTest Bug: 278265907 Change-Id: Ie023442a56bcd2640da33f5edade33953be5bf05
-
Vlad Popa authored
The idea is to have a device state catalog for all the known devices. Also refactored the name of the Settings.Secure key entry for persistence. The current code will check the legacy key first, erase it and update the new key. Test: atest SpatializerHelperTest & AudioDeviceBrokerTest Bug: 278265907 Change-Id: Idabcc84cb0f5f6f88ba5aebc435511ab95016ef3 Merged-In: Idabcc84cb0f5f6f88ba5aebc435511ab95016ef3
-
Peiyong Lin authored
-
Roshan Pius authored
Classes like AidGroup will not be part of NFC mainline module, so it should not be accessing utility @hide methods from classes which are part of mainline module. Bug: 303286040 Test: Compiles Change-Id: I5ab7d48c121b27f442c1e72687e0b24d994e1138
-
Eric Biggers authored
Make it possible for rust code such as keystore2 to check android.security flags. Bug: 296464083 Test: Tested accessing flag from keystore2 Change-Id: I52c6803ab712c76573a1ac70eb7734eb5f7f8f73
-
Roshan Pius authored
-
Jihoon Kang authored
Merge "Fix discrepancy between from text vs source android_test_frameworks_core_stubs_current" into main
-
Anton Hansson authored
-
Roshan Pius authored
This reverts commit da8a5ebb. Reason for revert: Reland with fix for build failure. Bug: 303286040 Change-Id: I1083a805e34f63424680045734c94389f78a124d Test: Compiles
-
Anton Hansson authored
The reason certain checks are disabled in doclava is that they have been implemented in metalava instead. Clarify that. Test: presubmit Change-Id: I32c32783dea59a63d95d14b4ad636159536c2944
-
Roshan Pius authored
-
Roshan Pius authored
This reverts commit 869155b8. Reason for revert: Causes build failure Bug: 306523602 Change-Id: Ib3fffa498d1e645fc1b38eb61084564534fef72e Test: N/A
-
Roshan Pius authored
Bug: 303286040 Test: adb shell svc nfc enable Change-Id: I678d01c7c86defb7eb071d66cb2aede4983ab506
-