Commit Graph

615964 Commits

Author SHA1 Message Date
Lyn Han
3312239f3d Label ExpandableNotificationRow for hierachy snapshot viewer
Bug: 176114165
Test: hsv
Change-Id: I1ccb79b57e51d5e791bac54e59ef3ed6194ebf76
2020-12-21 23:25:08 +00:00
Eric Laurent
a0334be887 Merge "Audio: use preferred device for strategy for communication route" 2020-12-21 10:57:04 +00:00
Anna Zappone
27e15dfd38 Merge "Add birthdays to People Space tiles" 2020-12-21 10:34:15 +00:00
Riddle Hsu
9c209b7349 Merge "Revert "Do not add display area features for untrusted display"" 2020-12-21 08:46:51 +00:00
TreeHugger Robot
69f35b55c2 Merge "Migrate ApkAssets to use NativeAllocationRegistry" 2020-12-21 05:15:37 +00:00
Jeff Sharkey
c6cf559a59 Resolve XML parser used in tests.
We recently pivoted the default XML parser to write a new binary
XML schema, which requires all users to "resolve" to determine the
correct parser.

Bug: 176037390
Test: atest WmTests:DisplayWindowSettingsProviderTests
Change-Id: I2077821f6812a33ff92c97f481b38d01c4ef7ae0
2020-12-20 19:27:07 -07:00
Wei Sheng Shih
612dbde32a Merge "Mirror TaskSnapshotSurface to WMShell(2/N)" 2020-12-21 01:39:04 +00:00
Jeff Sharkey
ea470d5ca8 Merge changes from topic "dec16"
* changes:
  Enable binary XML by default.
  Prepare for binary XML pivot.
  Migrate SettingsProvider to support typed XML.
2020-12-20 18:22:30 +00:00
Nataniel Borges
22d3663b0f Merge "Add test transition ExitSplitScreenFromBottomTest" 2020-12-20 08:46:02 +00:00
Nataniel Borges
6c1663167c Merge "Ignore letterbox in two tests" 2020-12-20 08:44:14 +00:00
Bill Lin
5e1d3dd1be Merge "2/ Clear all recents tasks before running legacysplitscreen tests" 2020-12-19 13:59:34 +00:00
TreeHugger Robot
026102b5c8 Merge "Add SystemBatteryConsumer for the Bluetooth drain type" 2020-12-19 07:36:44 +00:00
Dmitri Plotnikov
8677b4eb5b Add SystemBatteryConsumer for the Bluetooth drain type
Bug: 175644968
Test: mp :BatteryStatsViewer && adb shell am start -n com.android.frameworks.core.batterystatsviewer/.BatteryStatsViewerActivity

Change-Id: I2adde65a63faf18f0120f281ab1fcd5373f25091
2020-12-18 18:10:00 -08:00
TreeHugger Robot
36ca6d3452 Merge "Revert "Use eBPF-based time-in-state monitoring for groups of threads"" 2020-12-18 21:43:43 +00:00
TreeHugger Robot
ada970f473 Merge "Expose enableFullTracking API to public" 2020-12-18 18:28:53 +00:00
Daniel Chapin
2df72fb044 Revert "Do not add display area features for untrusted display"
This reverts commit b87dc233af.

Reason for revert: Regression in SC, tracked in Bug: 175668832

Change-Id: I13387ae4aa89ba4b5d409afd3c5eb78e473a8064
2020-12-18 17:25:33 +00:00
Anna Zappone
9daebe0748 Add birthdays to People Space tiles
Birthdays only appear if no notification content is currently present.
They are removed as a status once no longer returned from the Contacts
DB, meaning if removed from the Contacts DB or if queried the day after
the birthday.

Test: in-progress
Change-Id: I35a6a5e5644de281220b7af7c2779e06f0233c47
2020-12-18 16:51:00 +00:00
Eric Laurent
c78b49af77 Audio: use preferred device for strategy for communication route
Replaced use of forced usage for communication by set preferred device
for strategy to control communication route in audio policy manager.

Also do not use forced usage for record which was redundant with forced
usage for communication.

Bug: 161358428
Test: audio smoke tests

Change-Id: I665257fc5903b663096104b0424781d9799635a5
2020-12-18 16:20:16 +00:00
Eric Laurent
202c7f6472 Merge "AudioManager: Add communication device management APIs" 2020-12-18 16:19:42 +00:00
Galia Peycheva
ffb1e69a6e Merge "Move background blur to Dim layer" 2020-12-18 13:20:57 +00:00
TreeHugger Robot
c103f31eef Merge "Handle process death viz deferred FGS notification" 2020-12-18 11:52:43 +00:00
TreeHugger Robot
f1e5409528 Merge "Pass monitor pid to InputDispatcher" 2020-12-18 11:21:44 +00:00
Antonella Dellanzo
3bc2c00a53 Ignore letterbox in two tests
Two tests in EnterLegacySplitScreen were failing from time to time with letter box layer not showing 2+ times. We are ignoring it also in the assertions and refactoring the assertion to only ignore the app layers used in each corresponding case instead of ignoring all of them.

Test: atest WMShellFlickerTests
Bug: b/171049797
Change-Id: I6212f833c790fb0fa002cae2f7a3efc688168578
2020-12-18 11:23:48 +01:00
Antonella Dellanzo
fbcf6e3253 Add test transition ExitSplitScreenFromBottomTest
Add a new test (only the transition) called ExitSplitScreenFromBottomTest. This test will open an app in splitscreen and then it will exit the split screen by moving the divider to the bottom (similar to SplitScreenToLauncherTest that moves it to the top).

Test: atest WMShellFlickerTests
Bug: b/171049505
Change-Id: I42feb423d346829f829404db13590e70bed16f21
2020-12-18 10:07:12 +00:00
Jason Chang
03bc8d502e Merge "Fix swipe for notification default should be on instead of off" 2020-12-18 09:29:06 +00:00
TreeHugger Robot
17116c1049 Merge "Fix incorrect assertion in StorageUserConnection" 2020-12-18 09:03:02 +00:00
TreeHugger Robot
038758641b Merge "Use allowlist in permission internally." 2020-12-18 07:46:01 +00:00
TreeHugger Robot
d80601a0a5 Merge "For managed profiles, use the parent user's default launcher" 2020-12-18 07:32:54 +00:00
Bill Lin
21cfe8bb58 2/ Clear all recents tasks before running legacysplitscreen tests
Sometimes previous launched activity will affect the order of
current test activity in recents and cause the flicker test flaky.
Trigger openQuickStepAndClearRecentAppsFromOverview() in setup()
to ensure overview/recents is clear before the tests

Bug: 175728979
Test: atest com.android.wm.shell.flicker.legacysplitscreen
Change-Id: I6a6aae362617bb7948473aaafaab8f2c3eec0bc1
2020-12-18 15:32:26 +08:00
TreeHugger Robot
b69feaff0a Merge "Import translations. DO NOT MERGE ANYWHERE" 2020-12-18 07:03:06 +00:00
Kohsuke Yatoh
7bcdf29c37 Merge "Add RESULT_ATTR_DONT_SHOW_UI_FOR_SUGGESTIONS." 2020-12-18 04:15:37 +00:00
Kyunglyul Hyun
d7282857d8 Merge "Inject MediaRouter2Manager in MediaOutputController" 2020-12-18 03:54:38 +00:00
Jason Chang
347bb37fae Merge "Fix screen should not automatically leave one-handed mode when the TalkBack user is exploring" 2020-12-18 03:47:54 +00:00
Hongwei Wang
72ced07393 Merge "Provide vsync id for PiP animation" 2020-12-18 03:13:30 +00:00
Hai Zhang
226c6ccb96 Use allowlist in permission internally.
Now that our new APIs are named properly, clean up our naming
internally as well.

Bug: 158736025
Test: presubmit
Change-Id: If70f8b012dec2d4f80e7fa1d36c47f6fbe370e81
2020-12-17 19:13:24 -08:00
Mehdi Alizadeh
22b8052304 For managed profiles, use the parent user's default launcher
The default launcher for managed users is always the same as their
parent user.

Bug: 173643120
Test: atest com.android.server.pm.ShortcutManagerTest1
            com.android.server.pm.ShortcutManagerTest2
            com.android.server.pm.ShortcutManagerTest3
            com.android.server.pm.ShortcutManagerTest4
            com.android.server.pm.ShortcutManagerTest5
            com.android.server.pm.ShortcutManagerTest6
            com.android.server.pm.ShortcutManagerTest7
            com.android.server.pm.ShortcutManagerTest8
            com.android.server.pm.ShortcutManagerTest9
            com.android.server.pm.ShortcutManagerTest10
            com.android.server.pm.ShortcutManagerTest11
      atest CtsShortcutHostTestCases CtsShortcutManagerTestCases
Change-Id: I30ff608a6ada26006dc1e3d20ee6019751da0518
2020-12-17 18:41:11 -08:00
TreeHugger Robot
df6b6a2858 Merge "Fourth batch of permission in-process API refactoring." 2020-12-18 02:09:58 +00:00
Vishnu Nair
81585a2419 Merge "Revert^4 Flip BLAST for SurfaceView" 2020-12-18 01:02:49 +00:00
Yan Zhu
b8f65bff60 Merge "New DevicePolicyManager operation: WIPE_DATA, LOGOUT_USER, SET_USER_RESTRICTION" 2020-12-17 23:59:52 +00:00
TreeHugger Robot
185e714170 Merge "Allow EJs to set storage-not-low constraint." 2020-12-17 23:12:07 +00:00
Darryl Johnson
c9e9058347 Revert "Use eBPF-based time-in-state monitoring for groups of threads"
This reverts commit a7b599b824.

Reason for revert: Possible cause of b/175685062

Change-Id: If9a4592fa1c8e4c97ae187e45b509c3753d2f47e
2020-12-17 14:48:39 -08:00
Darryl Johnson
110896dfd4 Merge "Revert "Use queue to defer all task events"" 2020-12-17 22:34:31 +00:00
TreeHugger Robot
5fb1b72a44 Merge "Add XMP offset/size to MediaMetadataRetriever" 2020-12-17 22:32:48 +00:00
Antonella Dellanzo
933dfe0646 Merge "Updating split screen tests" 2020-12-17 22:24:41 +00:00
Lee Shombert
c0bf5143bd Merge changes Idb673c94,I44312a68,Ifa4cd756,Ibf6b2b5f,Ifb243cf9
* changes:
  PackageManager lock reduction: server reconfiguration
  PackageManager lock reduction: InstantAppRegistry
  PackageManager lock reduction: AppsFilter
  PackageManager lock reduction: Settings
  PackageManager lock reduction: IntentResolver
2020-12-17 22:20:35 +00:00
Flavio Fiszman
b910c7dab0 Merge "Decorate PeopleSpaceTile with background chars." 2020-12-17 22:17:15 +00:00
Quang Luong
97e9a0ca63 Merge "[WifiCoex] Add @hide API for default coex algorithm enabled or not" 2020-12-17 21:58:07 +00:00
Makoto Onuki
18050cbd01 Merge "Create hardcoded allowlist for FGS-BG-start..." 2020-12-17 21:51:53 +00:00
Darryl Johnson
05d899901a Merge "Revert "Block untrusted touches in enforcing mode"" 2020-12-17 21:42:44 +00:00
Roshan Pius
8a6a757852 Merge "BatterStatsManager: Remove "flag" for wifi IntDef's" 2020-12-17 21:38:07 +00:00