Commit Graph

479793 Commits

Author SHA1 Message Date
Sean Pont
4e86ce6ee2 Fix testGlobalActions_doesntStealImeControl
GlobalActionsDialogTests was not tearing down correctly for lock screen
tests. Calling showOrHideDialog a second time cleans things up.

Fixes: 158580670
Test: atest GlobalActionsDialogTest
Test: atest SystemUITests
Test: atest com.android.systemui.globalactions.GlobalActionsImeTest

Change-Id: I15fbe1ddc4a1c6d0d5c112c2e066e2c964d0e04b
2020-06-12 15:49:32 -07:00
Beth Thibodeau
a56a27a943 Merge "Remove controls when apps are stopped or removed" into rvc-dev 2020-06-12 19:36:27 +00:00
TreeHugger Robot
b7b425e491 Merge "Make A11yServiceConnection PendingIntent immutable." into rvc-dev 2020-06-12 19:29:09 +00:00
Lyn Han
f3e7dfe156 Merge "Up char limit for dismiss option in manage menu" into rvc-dev 2020-06-12 19:10:26 +00:00
TreeHugger Robot
6bf0b87946 Merge "Internal version of isChangeEnabled." into rvc-dev 2020-06-12 18:54:22 +00:00
Winson Chung
3800919656 Merge "Restore overlay change broadcast handler for secondary users" into rvc-dev 2020-06-12 18:46:51 +00:00
Andy Hung
8cda481f5b Merge "statsd: Add audio device usage protos." into rvc-dev 2020-06-12 18:23:03 +00:00
TreeHugger Robot
12b5186f28 Merge "Notify window manager service that we are switching users" into rvc-dev 2020-06-12 18:21:20 +00:00
Mady Mellor
fe96fa8b19 Merge "Fix an obscure NPE" into rvc-dev 2020-06-12 18:20:44 +00:00
Fabian Kozynski
80e047bcbd Merge "Add multi-user support for AutoTileManager" into rvc-dev 2020-06-12 18:15:38 +00:00
TreeHugger Robot
26bc02ad4d Merge "RebootEscrowManager: service-specific exceptions" into rvc-dev 2020-06-12 18:15:22 +00:00
TreeHugger Robot
f083c15656 Merge "Don't animate reorder/add when we're about to collapse." into rvc-dev 2020-06-12 18:13:43 +00:00
TreeHugger Robot
7775314ff8 Merge "Adding blur supported check to shared lib" into rvc-dev 2020-06-12 17:54:26 +00:00
Mark Chien
322c525e6b Merge "Revert "Pass entitlement configuration to Settings for entitlement check"" into rvc-dev 2020-06-12 17:33:24 +00:00
TreeHugger Robot
d6fb5e2151 Merge "Controls UI - Tap for NO_TEMPLATE" into rvc-dev 2020-06-12 17:21:21 +00:00
TreeHugger Robot
d32c56d24d Merge "Merge "Add mutual exclusion access for addOrUpdateStream and removeStream" am: af108c45d6 am: 760c2bccd2 am: bd580a07b4 am: 91e082a90d am: 7f6cc71fe5" into rvc-dev 2020-06-12 17:21:01 +00:00
Josh Tsuji
d12d46a51e Don't animate reorder/add when we're about to collapse.
Fixes: 158658744
Test: expand the stack, select a different bubble, collapse the stack, observe no weird bubble swapping behavior
Test: add a bubble while expanded, observe the bubbles still animate around as expected
Change-Id: I585c0ed139d38e57e19014971259bc32787b9f35
2020-06-12 12:57:10 -04:00
TreeHugger Robot
7883b53e28 Merge "Settings: make SHOW_IME_WITH_HARD_KEYBOARD TestApi" into rvc-dev 2020-06-12 16:44:44 +00:00
Alex Buynytskyy
6e3c563f07 Internal version of isChangeEnabled.
Do not check permissions when called from within system server. It's up
to PM to make sure it's doing the right thing.

Bug: 157191740
Test: adb reboot; adb logcat | grep "Finished scanning system apps"

Change-Id: Icde2a3d62f7eacfbeb33e102f74d1f2ca06a4439
2020-06-12 09:31:34 -07:00
Beth Thibodeau
7fee1968cd Remove controls when apps are stopped or removed
Listen for app uninstall, suspend, and force quit, and remove all
controls corresponding to that package

Fixes: 157288710
Fixes: 156793169
Test: manual
Change-Id: Ib9bb08e4a696a43f40bb3ebdd1ebd236727d0fc0
2020-06-12 12:31:16 -04:00
Jordan Jozwiak
7048655cbe Merge "DO NOT MERGE - Allow locking with feature or permission" into rvc-dev 2020-06-12 16:21:05 +00:00
TreeHugger Robot
8cf7a51d3d Merge "Don't throw exceptions in NotifCollection when initializing" into rvc-dev 2020-06-12 16:04:58 +00:00
Neil Fuller
a95a24a0a0 Merge "Fix a remove*Listener call that doesn't remove" into rvc-dev 2020-06-12 16:02:43 +00:00
Matt Pietal
733d637879 Controls UI - Tap for NO_TEMPLATE
Allow single taps as well as long press to launch the detail panel
when no template is specified.

Fixes: 158773087
Test: ControlsMockApp, any default type
Change-Id: I4d5451f6a5968d8dd223eb5b10d931ad60aad951
2020-06-12 11:59:57 -04:00
Mark Chien
88f2b816aa Revert "Pass entitlement configuration to Settings for entitlement check"
Original CL has dependencies with unmerged settings change: https://googleplex-android-review.git.corp.google.com/c/platform/packages/apps/Settings/+/11524847
They should be in the same topic, revert it first. Will resume it and put the same with settings part CL.

This reverts commit b1cb53b481.

Reason for revert: This break hotspot because it should merged with settings part together.

Bug: 158836492

Change-Id: I94d3ee25168cfb3d125030654c4bb8ddd670abfc
2020-06-12 15:29:39 +00:00
TreeHugger Robot
b278a5c4e4 Merge "Controls UI - Correctly persist seeding state" into rvc-dev 2020-06-12 15:16:27 +00:00
Eric Laurent
ff373b4676 Merge "AudioService: fix volume group mute" into rvc-dev 2020-06-12 15:12:40 +00:00
Andy Hung
48cffa3f31 statsd: Add audio device usage protos.
MediaMetricsAudioRecordDeviceUsageReported
MediaMetricsAudioThreadDeviceUsageReported
MediaMetricsAudioTrackDeviceUsageReported
MediaMetricsAudioDeviceConnectionReported

Test: adb shell dumpsys stats --metadata (check 294-297)
Test: statsd_testdrive (294-297)
Bug: 149850236
Bug: 158038205
Change-Id: Idf4e324c06ed3586ba71745d110e721d290a5726
2020-06-12 07:06:28 -07:00
Adrian Roos
cb32080a8f Settings: make SHOW_IME_WITH_HARD_KEYBOARD TestApi
Bug: 158637229
Test: atest WindowInsetsAnimationControllerTests
Change-Id: Ic4e1c97e728aa170670356db22d66677710ac2a3
2020-06-12 15:31:20 +02:00
Robert Snoeberger
8140ae8d22 Merge "Reject flings on seek bar" into rvc-dev 2020-06-12 13:15:06 +00:00
Kyunglyul Hyun
93e4930a97 Merge "Handle a pair of hearing aid devcies" into rvc-dev 2020-06-12 12:55:24 +00:00
Issei Suzuki
b749be45c7 Merge "Ensure to trigger Activity#onEnterAnimationComplete" into rvc-dev 2020-06-12 11:31:55 +00:00
Neil Fuller
5fa4955154 Fix a remove*Listener call that doesn't remove
Fix a remove*Listener call that doesn't remove the listener.

Bug: 158819132
Test: Build only
Merged-In: I67b57e8df8a6d39622999634cefdc267fc07ecae
Change-Id: I67b57e8df8a6d39622999634cefdc267fc07ecae
(cherry picked from commit 9a44590efa)
2020-06-12 11:34:34 +01:00
Lyn Han
1c442e559c Up char limit for dismiss option in manage menu
Requested by translators

Fixes: 158764580
Test: no effect
Change-Id: I11a4f86b70f6b524f8f6f13aceea3219e92aca8d
2020-06-12 03:25:54 -07:00
Kyunglyul Hyun
f6d5b3c7c4 Handle a pair of hearing aid devcies
This CL assigns the same ID for a pair of hearing aid devices and
filter out one of them.
It also fixes a potential system crash from BT devices having
the same hardware address.

Bug: 157708273
Test: cts test

Change-Id: Ia60623615ab1f4e931405f839b9f4110b463e51d
2020-06-12 18:53:05 +09:00
TreeHugger Robot
6dca466770 Merge "GnssStats atom entity name change" into rvc-dev 2020-06-12 08:17:59 +00:00
TreeHugger Robot
d4d283e67d Merge "Increase configs per uid limit to 20" into rvc-dev 2020-06-12 08:12:53 +00:00
Remi NGUYEN VAN
0109b8da49 Merge "Remove IpClientCallbacks dependency on DhcpResults" into rvc-dev 2020-06-12 06:38:02 +00:00
TreeHugger Robot
70b9d348eb Merge "Reset app routes when global a2dp state changed" into rvc-dev 2020-06-12 06:37:46 +00:00
Winson Chung
f9ef08d7ff Adding blur supported check to shared lib
Bug: 157946272
Test: Manual
Change-Id: I4b8b63e9096d27a06896058b41c8e2cec271dd0d
2020-06-11 23:10:34 -07:00
Wei Sheng Shih
49ded46160 Merge "Fix task root bounds be overwritten when dismiss split screen." into rvc-dev 2020-06-12 06:09:33 +00:00
Mady Mellor
c1a75a9fbb Fix an obscure NPE
Test: treehugger
Fixes: 157660321
Change-Id: I0ad1b45e277bcbd1a4017de009033291968a7b69
2020-06-11 23:07:29 -07:00
Ned Burns
203f80a0b2 Don't throw exceptions in NotifCollection when initializing
When systemUI is in the process of connecting to system server to
receive notifications, there's a short window in which we might receive
events out of order. These events will violate our otherwise strict
requirements. To solve this, we really need a more robust way to connect
to system server, but in the meantime, we create a "forgiveness window"
that lasts five seconds. During this time, things that would normally
crash the system only log an error.

Bug: 151317347
Test: atest, manual
Change-Id: I9aad4ec94826189efc13433b4cd38f443113fd7e
2020-06-12 01:57:32 -04:00
TreeHugger Robot
cab8a73c6d Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-06-12 05:26:37 +00:00
Hyundo Moon
6d8d91dcfb Merge "MediaRouter2: Prevent printing same logs from different lines" into rvc-dev 2020-06-12 05:23:25 +00:00
TreeHugger Robot
0f8165ffdb Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-06-12 05:19:36 +00:00
TreeHugger Robot
7eb6cf298f Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-06-12 05:17:01 +00:00
Chalard Jean
8aafdcc328 Merge "Document the limitation to a hundred callbacks." into rvc-dev 2020-06-12 04:54:02 +00:00
Frank Li
64a3cb03e7 Merge "Adding NetworkStack Metrics/atoms" into rvc-dev 2020-06-12 04:50:57 +00:00
TreeHugger Robot
70bec8cc36 Merge "Help reduce falsing on the seek bar" into rvc-dev 2020-06-12 04:44:55 +00:00