- Sep 28, 2023
-
-
Kevin Jeon authored
This change updates the printRow() helper method that ActivityThread.dumpMemInfo() references to include Locale.US, so that numbers will be formatted correctly. This change also replaces an incorrect %s with %d in the format string used for three-column rows. Test: Change the system locale to a different language (Arabic) and verify that dumpsys meminfo produces correctly-formatted values. Bug: 301934161 Change-Id: If814796a1cf0302a54a02fa23e82d21a3213ea10
-
Amith Yamasani authored
package "android.content.pm" namespace "backstage_power" flag name "stay_stopped" Bug: 296644915 Test: N/A Change-Id: Ie21e98d620844a9aef097bd882136afbad981844
-
Fabián Kozynski authored
Using the new API, we check if the Icon passed to a Tile can be loaded by the current user and the app. If not, a default icon is shown. Fixes: 276896619 Test: atest com.android.systemui.qs Test: manual, using test app Test: manual, CustomTile and dialog show correct icon Change-Id: I25e3d390091c5fd290c83287ead3718aa7084edd
-
Fabián Kozynski authored
The new API checks (for URI based Icons) that the Uri can be accessed by the passed callingUid, regardless of the app that is calling loadDrawable. This allows SystemUI to load drawables on behalf of other apps safely. Fixes: 301110522 Test: atest IconTest Change-Id: Iae392277aaf9560536a0b1cf231fa98b577a32d7
-
Daniel authored
Currently, Autofill Manager looks at the view's isCredential attribute to suppress fill dialog. Add a new autofill hint that Autofill Manager will look at to regard in the same manner as the isCredential attribute. This hint will be set by the Credential Manager's support library. The autofill hint has been available for older Android versions while isCredential is only available for U+. In the future, if AwG can support rerouting to CredentialManager based on the autofill hint, we could enable Credman support in Autofill for U-. Bug: 299319802 Test: atest CtsAutoFillServiceTestCases Change-Id: I157735334c4141a78f5743282dd09c32e3200e6a
-
Vadim Caen authored
Creates the API and infrastructure to create a VirtualCamera from VDM. This CL contains the AIDL to enable the communication from client to system-server and from system-servier to the future VirtualCameraService The CL also adds a TestRule for server tests creating VirtualDevices Test: com.android.companion.virtual.VirtualCameraTest Bug: 270352264 Change-Id: I581e2d4bb4f0acd3b0fb0d31609c41ffb8fea570
-
Vladimir Komsiyski authored
Activity allow/blocklisting is handled by the activity policy and allows for dynamic updates of the policy exemptions. Cross-task navigations has never been used, adds a lot of complexity and there are a number of issues whose fixes require a ton of more complexity. Fix: 298298131 Fix: 299053805 Test: presubmit Change-Id: Iac4cda9e3cc252a4ae69871cf5962dcad8ff5eea
-
Anna Zhuravleva authored
Platform_testing large test annotation is for host side tests and restricted, device tests should use androidx annotation. Bug: 293837621 Test: presubmit Change-Id: Ia4201978be6a7617884fa51afe8db8ae64e63c90
-
Zoey Chen authored
Change-Id: I1b35078cbc5f581b6b13daa8afcb6eee1aa2a15f Test: adb shell device_config put grammatical_gender android.app.system_terms_of_address_enabled true Bug: 295826542 Bug: 297798866
-
Jiaming Liu authored
Bug: 284050041 Test: atest TaskFragmentOrganizerControllerTest TaskFragmentTest WindowFlagsTest Change-Id: Ibcc8461d22a8c2bfbe88df388e2a5d432bf33150
-
Yuchen He authored
Bug: 302382476 Change-Id: I4e4793d95c6d1ddc41f8407825c3acfd0c0502c2 Test: presubmit
-
- Sep 27, 2023
-
-
Maciej Żenczykowski authored
changing the field names is much harder due to it going via AIDL Test: TreeHugger Bug: 292404319 Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: I4101caf3b0d2abfadbabf3f389155c29a4d64e0f
-
Faye Yan authored
Bug: 289087412 Change-Id: Ib67a94c812b6ec8f26a9f7dafba124079009e412 Test: presubmit
-
Bill Yi authored
Auto-generated-cl: translation import Change-Id: I842547e32bc9d43536b5f3921e11f1ca96191132
-
Weilin Xu authored
Bug: 302346449 Test: m -j (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:f47e45d322043c4e2e11bb2fbd09c980ffe232b8) Merged-In: Ibbf789889aed57c18f6f7d21736c838a3d069d5b Change-Id: Ibbf789889aed57c18f6f7d21736c838a3d069d5b
-
Maciej Żenczykowski authored
Change-Id: Id1ff659b4a5ae7809804bacda0a77ccf1815480c
-
Maciej Żenczykowski authored
Change-Id: I427112e2986377f37b85d9dfe21620ddd6bb198f
-
Weilin Xu authored
Bug: 302346449 Test: m -j Change-Id: Ibbf789889aed57c18f6f7d21736c838a3d069d5b
-
Thomas Nguyen authored
Bug: 296909779 Test: SMS, MMS, call with live network. atest SatelliteControllerTest atest SatelliteManagerTestOnMockService Change-Id: I797db0df194ec9732db16f3377c0b2e5601c8f23
-
Shane authored
Add a Trunk Stable flag to gate the APIs that use the expected presentation time. Bug: 301713352 Test: atest AnimationUtilsTest Change-Id: Iea31bb48868811e139e813ce195ab59639d45c03
-
Sally authored
This copies the live region documentation and puts it in the announceForAccessibility javadocs, so developers see immediately that they should use error APIs for error UIs. Test: n/a Bug: n/a Change-Id: I9a7819d82b8ffdf779c7a6851e09fa8a9a55d361
-
John Reck authored
Change-Id: Iae30cc12ad3ee46c04094fbe0714d9b1b2a63c2e
-
Matías Hernández authored
This reverts commit 78bc4f4e. Reason for revert: DroidMonitor-triggered revert due to bug 302310558. Change-Id: I3a775d0675993f9df4291014bdbfd54cad7d2965 Bug: 302310558
-
Mårten Kongstad authored
A previous CL added the auto-generated aconfig Flags.FLAG sources to metalava's input when generating core/api/current.txt, so metalava would expand the Flags.FLAG to their values. Do the same for the build targets for the other (system, module-lib, test) API signature files in core/api. Also update the API signature files accordingly. (cherry picked from commit 162ae2a1) Bug: 301859633 Test: m checkapi Merged-In: Id06d77e897ecfddeaa42f75cba4d6d37bee9d1b1 Change-Id: Id06d77e897ecfddeaa42f75cba4d6d37bee9d1b1
-
Sam Cackett authored
Re-landing original change with a fix Original commit message: Move MediaProjection classes into more specific package Fixes: 238424895 Test: Build & Run Flag: None Revert submission 24839693-revert-24831451-b/238424895-move-media-projection-packages-OEITQWMFRL Reason for revert: Re-landing original change with fix for missing package name Reverted changes: /q/submissionid:24839693-revert-24831451-b/238424895-move-media-projection-packages-OEITQWMFRL Change-Id: I60b99bda4c3a18d250ec05dc64f9d0c48b18724f
-
Marvin Ramin authored
Introduces the stream_permissions flag to guard these APIs. VDM introduces VD#getDisplayName (proxied from CDM AssociationInfo#getDisplayName) to enable showing the correct device name in the streamed permission Dialog. VDM offers the stream_permissions flag by blocking any Activity being launched which matches the permission Dialog ComponentName in GWPC Bug: 291737919 Test: atest VirtualDevicePermissionTest AppStreamingPermissionTest Change-Id: I0afa6959944f241e155efc711f4c0d7b23f953bf
-
Jernej Virag authored
setBackground() call was deprecated in API level 29 - however we still keep the background bitmap in memory - both in system server and systemui - if the app decides to set it. This is a rather big contributor to Notification memory use. This change makes setBackground() call a no-op on devices running API 35 or newer. Bug: 270551184 Test: newly created CTS and unit tests run on cheetah Change-Id: I6e50ac2e6c9b009512f0baf5442792c2a3b747ec
-
Mårten Kongstad authored
A previous CL added the auto-generated aconfig Flags.FLAG sources to metalava's input when generating core/api/current.txt, so metalava would expand the Flags.FLAG to their values. Do the same for the build targets for the other (system, module-lib, test) API signature files in core/api. Also update the API signature files accordingly. Bug: 301859633 Test: m checkapi Change-Id: Id06d77e897ecfddeaa42f75cba4d6d37bee9d1b1
-
Piotr Wilczyński authored
The brightness scale 0-255 will now match the slider, i.e. setting brighthess to 0.23 * 255 will set it to 23% on the slider. This will work regardless of the brightness limits (e.g. HBM) - if HBM is on, 255 will still be the max value on the slider, so the max value allowed in HBM mode. This only affects the int scale of the brightness setting. The brightness int values in config files will remain unchanged. Bug: 183655602 Test: atest com.android.server.display Test: atest android.display.cts Change-Id: I8e8ede6fa4ee945899e33a2ba45a290bf704d166
-
Seigo Nonaka authored
Bug: 297336724 Test: atest hwui_unit_tests (with flag on/off) Change-Id: I48018abd68c767c9c7ad08722a8974efc1bfe67c
-
Chen Bai authored
Instead of connecting DisplayOffload with PowerManager, we decided to hook it to DisplayManager. See detailed analysis in comment of ag/23643082. - Add DisplayOffloadSession that associate a internal display with a DisplayOffloader. Its registered by DisplayManager and used to control offloading entry/exit. - Add a feature flag enable_display_offload. Use following command to toggle the displayoffload feature and reboot. ``` adb shell device_config put display_manager com.android.server.display.feature.flags.enable_display_offload <true/false> ``` If cmd above doesn't, try following: ``` adb shell setprop persist.sys.com.android.server.display.feature.flags.enable_display_offload true ``` - Add tests. TEST: atest DisplayServiceTests BUG: 287561002 Change-Id: I7f1d7b70f66cf19a732eed3d96651967d6a21056
-
Coco Duan authored
Add enums for HubModeTutorialState that will be used to show the tutorial indicator on lockscreen and hides it once the tutorial is completed. Bug: b/301269121 Test: flashed device and verified behavior using the states Change-Id: If8f0bbd20943d955131fff4ead7e71fb56003c7c
-
- Sep 26, 2023
-
-
Taran Singh authored
Introduce API for an Editor be able to indicate if it has stylus handwriting enabled on it. Bug: 295269346 Test: atest android.widget android.view.inputmethod Change-Id: I9fb03af1639fd48b76d532c7ca688b248c471bfe
-
Ady Abraham authored
Bug: 281695725 Test: manual using a test app Change-Id: Icd7a998a4e3fef2d3076b6fe4b8ec9272d14315b
-
Ady Abraham authored
This is a tiny refactoting needed for the next CL. Bug: 281695725 Test: manual using a test app Change-Id: I33c840f46978e1cb762beb63feeda37124eb7333
-
Sudheer Shanka authored
With Data saver off and Battery saver on, only Batter saver allowlist will decide whether an app can access network or not. If an app is allowlisted, it would be allowed network access. Otherwise, it would not be allowed network access. Bug: 302172152 Test: n/a Change-Id: I4044c7ea5d8294f93294f3071b56ff278a18c2e9
-
Fabián Kozynski authored
This CL also changes the source of truth of the list of tiles: * Tiles are read once from Settings and kept in memory. * After tiles change, the new value is applied to memory. * Changes to the list are posted to a shared flow and applied to the current list sequentially. * If a change occurs in Settings that makes the list different from what we have, we overwrite it with our value. The same thing is done to AutoAddRepository. The restore is used to trigger a change in the repositories. It's important to note that the restores are tracked starting at the point where we check the setting for the value there (on start of the user). This means that if the restore happens before we get the tiles for the first time, the setting would have the restored values. This is probably the best scenario: restore happening before SystemUI starts interfering. Given that now we don't listen to Settings, a new shell command has been added to StatusBarShellCommands to modify the set of tiles. Fixes: 289502851 Test: atest com.android.systemui.qs.pipeline Test: atest CtsTileServiceTestCases android.host.systemui Test: quicksettings PlatformScenarioTests Test: manual restore using LocalTransport Change-Id: I287bb3c47c3a4181f29f942bcb18bd81c129273c
-
Alex Salo authored
Before: Input type: 540801 After: Input type: 540801(class=1)|Password Most other things are fine as it's easy to convert an integer to the corresponding constant, but computing bit flags in a bugreport is time consuming and error prone. Bug: 288587392 Change-Id: Ic2ae3354b26d7cdbfe0294bb40936e1e75d1967b
-
Brandon Liu authored
go/oms-to-packagemonitor Bug: b/280626834, b/292298615 Test: Updated and verified affected tests pass Change-Id: Ia6c0fb955fd15681e2757cb7e09d54c9c0307efd
-
Nate Myren authored
Bug: 301889547 Test: atest CtsAppOpsTestCases Change-Id: I81dad1ca979552f094b7a475122db2c8b8263800
-