Commit Graph

754517 Commits

Author SHA1 Message Date
Pavel Grafov
66de8ccfc8 Merge "Simplyfy DPM binder by using WifiSsidPolicy." into tm-dev 2022-03-28 15:32:01 +00:00
Alain Vongsouvanh
0681492cd0 Merge "LockSettingsService: clear gatekeeper state when removing user" into tm-dev 2022-03-28 15:19:06 +00:00
TreeHugger Robot
d8ea5df381 Merge "Disable flaky app launch test" into tm-dev 2022-03-28 12:39:06 +00:00
TreeHugger Robot
7436573ad9 Merge changes from topic "presubmit-am-14c0d0dd1ab9408c8fbd89013e2295b5" into tm-dev
* changes:
  Fix NPE when PiP actions, but no close action set
  Fix gravity issue when enabling expanded PiP (TV)
  Fix orientation change between PiPs when collapsed
2022-03-28 11:26:31 +00:00
TreeHugger Robot
d5d9b3869e Merge "Adds RequiresFeature annotation to ADAS APIs" into tm-dev 2022-03-28 11:10:31 +00:00
Prabir Pradhan
7af8e713d3 Merge "AcessibilityController: Use InputConfig to determine window behavior" into tm-dev 2022-03-28 10:09:07 +00:00
Tony Huang
50faf89e94 Merge "Fix NPE when rotation after split dismissed" into tm-dev 2022-03-28 09:41:26 +00:00
Jernej Virag
18f93518bd Merge "Add an Android Lint check to prevent sendBroadcast calls on Main thread" into tm-dev 2022-03-28 08:23:33 +00:00
Wei Sheng Shih
9a14b7c209 Merge "Adjust branding image layout if needed." into tm-dev 2022-03-28 07:05:56 +00:00
TreeHugger Robot
431bb2e9c1 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-03-28 06:21:32 +00:00
Stanley Wang
0bdead62cc Merge "Fixed the issue that the MainSwitchPreference is invalid after the page is resumed." into tm-dev 2022-03-28 05:57:01 +00:00
Chen Xu
523145c415 Merge "Do not resolve port index for apps not targeting SDK T and beyond" into tm-dev 2022-03-28 05:09:48 +00:00
TreeHugger Robot
31f41f729f Merge "Add read/write perf tests for BlobStore." into tm-dev 2022-03-28 05:03:53 +00:00
TreeHugger Robot
3e4899e111 Merge "Add checks to allow SDK sandbox uids to broadcast certain intents" into tm-dev 2022-03-28 04:26:28 +00:00
TreeHugger Robot
500a0751db Merge "USB: Increase debounce time for DISCONNECT processing (revised)" into tm-dev 2022-03-28 02:44:16 +00:00
Shawn Lin
2b192c53d4 Merge "Fixed cutout not being updated for non hwc layer" into tm-dev 2022-03-28 02:17:43 +00:00
Manjeet Rulhania
617b65e4fb Merge "Fix printing duplicate logs to save on battery" into tm-dev 2022-03-28 01:23:47 +00:00
TreeHugger Robot
d7a314b239 Merge "Update quick switch test to support animations without SnapshotStartingWindow" into tm-dev 2022-03-27 23:48:23 +00:00
TreeHugger Robot
f2843d672a Merge "Fix DeviceFoldStateProviderTest" into tm-dev 2022-03-27 20:44:40 +00:00
Jernej Virag
bb4ff3f645 Add an Android Lint check to prevent sendBroadcast calls on Main thread
This lint check verifies that BroadcastSender is always used in SystemUI for sending broadcasts. It should prevent main thread jank due to broadcast calls.

Bug: 223606115
Test: Included unit test for the linter.
Change-Id: I16b8b3471389ff2c59053c686c94cb9cb694ec42
2022-03-27 18:30:41 +00:00
Nataniel Borges
4cfae2ce8f Disable flaky app launch test
At the moment, when launching an app over the lock screen, the navbar flickers. During the animation it:

- appears
- disappears
- reappears

Bug: 227072573
Test: atest OpenAppNonResizeableTest
Change-Id: I17dd8f8ff70c4c12db97d6f337f1500e0ab177d0
2022-03-27 16:11:43 +02:00
Nataniel Borges
47f3818bd2 Update quick switch test to support animations without SnapshotStartingWindow
Fixes: 227072573
Test: atest QuickSwitchFromLauncherTest
Change-Id: I1e0339a3da0426fcffa5062da859032cecb8724d
2022-03-27 11:07:10 +02:00
Sudheer Shanka
02f0e25661 Add read/write perf tests for BlobStore.
These tests will help us understand the difference
between local reads/writes vs blobstore reads/writes.

Bug: 226954650
Test: atest ./apct-tests/perftests/blobstore/src/com/android/perftests/blob/BlobStorePerfTests.java
Change-Id: Ibcc8497b4c32e90824b89e836716bdeb7490227b
2022-03-26 17:21:38 -07:00
Jing Ji
923eb82c53 Merge "Use the reason code from standby bucketing in bg restriction if needed" into tm-dev 2022-03-26 16:50:42 +00:00
Jack Yu
349361adc3 Merge changes from topic "presubmit-am-b36d3cf7498841d4a684ea497f8526c1" into tm-dev
* changes:
  Document the QNS behavior
  Partially revert ag/17294635
2022-03-26 15:55:43 +00:00
Manjeet Rulhania
efdf00bff9 Fix printing duplicate logs to save on battery
Adding state to remember if a log for missing activity manager
is already printed or not.

Bug: 202092164
Test: Manual
Change-Id: Ia945a7396d06f7e8a3fc12359583970faed06a72
2022-03-26 12:05:34 +00:00
Edgar Wang
13c6ef8e69 Merge "Tweak dialog layout of EditTextPreference" into tm-dev 2022-03-26 09:14:45 +00:00
Christian Göllner
9be9b0336a Merge "[Motion] Split-shade transition on LS: move keyguard even when media is not showing" into tm-dev 2022-03-26 07:50:04 +00:00
Jason Chang
3405ecf55b Merge "Add usb audio device warning dialog message strings for support both Direct USB Access and AoC Offload feature" into tm-dev 2022-03-26 07:05:46 +00:00
Tiger Huang
5b19a1584a Merge "Send InsetsState to the client via IWindow#resized" into tm-dev 2022-03-26 03:50:44 +00:00
Chaohui Wang
ae8254a538 Merge "Set placeholder summary for SettingsInjector" into tm-dev 2022-03-26 03:11:40 +00:00
Hawkwood Glazier
a7ac48b191 Merge "Fix an issue with default background" into tm-dev 2022-03-26 02:35:16 +00:00
TreeHugger Robot
3ab801d3ca Merge "Introduce TaskView.setObscuredTouchRegion." into tm-dev 2022-03-26 02:04:15 +00:00
Bill Yi
14bb957586 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Icc478b22d8abf170dc983e031f05069b2b20cc3c
2022-03-26 01:58:17 +00:00
Lucas Dupin
70928042e6 Merge "Do not relayout window whenn pulling shade" into tm-dev 2022-03-26 01:10:05 +00:00
Jack Yu
d3afcd858b Document the QNS behavior
Clearly defined the QNS behavior to avoid
ambiguity.

Bug: 226267529
Test: atest AccessNetworksManagerTest
Change-Id: I274d88338ac4f15a4458e035af0e5c0b278f9c1b
2022-03-26 00:53:48 +00:00
Jack Yu
5f601c4acb Partially revert ag/17294635
The qualified network service change was accidentally
merged in ag/17294635. It should be merged in a different
CL. Revert back to the previous version.

Bug: 171809764
Test: Build
Change-Id: Id50e376c04141a347ff70cdc7ab7ad1fab661844
2022-03-26 00:53:35 +00:00
Nicolo' Mazzucato
ec295771f7 Fix DeviceFoldStateProviderTest
topActivityType is available directly from taskInfo. In the test, the windowConfiguration was not mocked correctly.

Fixes: 226967913
Test: atest DeviceFoldStateProviderTest
Change-Id: Ia0f2114ff675d943a7e2c2555aa0d11b854883a0
2022-03-26 00:19:12 +00:00
Bill Yi
210a64ff62 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-03-25 23:51:32 +00:00
Joe Bolinger
9b52f33620 Merge "Re-enable biometric prompt tests." into tm-dev 2022-03-25 23:32:53 +00:00
Hawkwood Glazier
acbd2ebe84 Fix an issue with default background
Fixes: 226887516
Test: Manual on phone w/ spotify
Change-Id: Ib1f5e952e4c1d42a0d7bb9ac540896f3b6d90dae
2022-03-25 23:06:00 +00:00
TreeHugger Robot
82100c9d36 Merge "Only clear preferred UID at appropriate times." into tm-dev 2022-03-25 22:12:51 +00:00
Chavi Weingarten
381743d2ee Merge "Remove consumeNextDraw and replace with SurfaceSyncer" into tm-dev 2022-03-25 22:08:17 +00:00
Beverly Tai
e70333a546 Merge "Add lock icon click handler when a11y is enabled" into tm-dev 2022-03-25 22:08:01 +00:00
Aman Gupta
c1f6508897 Merge "Adding maxTargetSdk AndroidS to DATA_ROAMING. This will make sure that beyond S people can not access the DATA_ROAMING API from Settingss.Ideal way to use this is from TelephonyManager." into tm-dev 2022-03-25 22:01:07 +00:00
Xiaowen Lei
73f7aaf537 Merge "Add logging for Dream swipe up to show Bouncer." into tm-dev 2022-03-25 21:57:37 +00:00
Lucas Dupin
3cc59ab8de Do not relayout window whenn pulling shade
Fixes: 226673097
Test: perfetto trace
Test: atest NotificationShadeWindowControllerImplTest
Change-Id: I73de673776957ad8cbb17d0d13b94f0fa28203bd
2022-03-25 14:50:45 -07:00
Xiaowen Lei
c1c53abc45 Add logging for Dream swipe up to show Bouncer.
Tested the behavior both in existing tests and in the new
testSwipeDownPositionAboveThreshold_expandsBouncer_doesNotLog().

Also removed the existing
testExpansionAmount_whenBouncerShown_setsCorrectValue(), because it
duplicates testCollapseAmount(). And updated some of the existing tests
to have more explicit names and comments.

Bug: 213906448
Test: Manually on device via `statsd_testdrive 90`
Test: atest BouncerSwipeTouchHandlerTest

Change-Id: I217025134d7574c3ce1d123688ae0db4ceef848c
2022-03-25 21:50:10 +00:00
Evan Rosky
be2f1eaea9 Merge "Detect "expand to fullscreen" over recents and switch to it" into tm-dev 2022-03-25 21:26:12 +00:00
Xiaowen Lei
aecf90be14 Merge "Remove unnecessary (and potentially problematic) call of notifyDefaultDisplayCallbacks." into tm-dev 2022-03-25 21:18:11 +00:00