Commit Graph

751252 Commits

Author SHA1 Message Date
Manjeet Rulhania
bc08ff0490 Merge "Fix bug report user consent dialog on top of settings screen" into tm-dev 2022-03-09 19:03:00 +00:00
Luca Zuccarini
bc4b6762fa Merge "Create a ViewBoundAnimator to animate view layout updates." into tm-dev 2022-03-09 18:47:24 +00:00
Yohei Yukawa
a8fafc5a44 Merge changes from topics "presubmit-am-2762060c253b4c4db3c4db805c2e5b6e", "presubmit-am-3d21c3ff86734d9ba296b2671441db03", "presubmit-am-681cf6c0b8f240f59da390f09a7ef2ed", "presubmit-am-82dac8e1bb1747dcb76dbda3f29e55c9", "presubmit-am-c01cdff8b5e44804ab8a37c5cdc295d5" into tm-dev
* changes:
  Fix remaining lint erros under a.i.navigationbar
  Fix camel-case-related lint erros under a.i.navigationbar
  Fix whitespace-related lint erros under a.i.navigationbar
  Fix modifier-related lint erros under a.i.navigationbar
  Fix Javadoc-related lint erros under a.i.navigationbar
2022-03-09 18:43:54 +00:00
Kweku Adams
279ce138aa Merge "Remove service before adding test mock." into tm-dev 2022-03-09 18:40:57 +00:00
Jing Ji
a3bc30b57e Merge "Add am command to list sysconfig to the bg restriction exemptions" into tm-dev 2022-03-09 18:38:13 +00:00
Treehugger Robot
995166710f Merge "IBinder.transact: clarify return" am: 2794ff0ca8 am: 5e19eaf0e8 am: 83de9444cb
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1990775

Change-Id: Ia92f237101e5e930100a5723651602c7298ac0d9
2022-03-09 18:36:49 +00:00
Jack Yu
5e5df191f2 [automerger skipped] Merge "Create new DataEnabledReasons for for DataSettingsManager" am: e2fd8e3dcf am: 8fe2dd3166 am: 8eb5bda89e -s ours
am skip reason: Merged-In I8d6fd13e319ce165e25f2afd93bf9884fbf22667 with SHA-1 419e4ff03a is already in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2017560

Change-Id: Id2d63b5df23e415ee9c7a4a59335054915897353
2022-03-09 18:36:09 +00:00
Treehugger Robot
b47852347c [automerger skipped] Merge "Unhide ApnType.ENTERPRISE" am: 4ac3fffc94 am: 00f50c6804 am: f00c01a576 -s ours
am skip reason: Merged-In I3ac0ef4b7ee9640f57bfc62e639e4b6a6b89e1ef with SHA-1 52895c12cb is already in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1955196

Change-Id: I6adb9a0e61d901f2e66424b1ac0a0ba674e46224
2022-03-09 18:35:10 +00:00
Taylor Bessette
ddb1e2a09a Merge "Enforce @NonNull within VirtualDeviceParams." into tm-dev 2022-03-09 18:25:22 +00:00
TreeHugger Robot
68c8926a12 Merge "Make LockPatternView dot hit area circular." into tm-dev 2022-03-09 18:21:53 +00:00
Yinglei Wang
1ce3947504 Merge "handle dynamically set AccessibilityServiceInfo.FLAG_INPUT_METHOD_EDITOR" into tm-dev 2022-03-09 18:20:44 +00:00
Treehugger Robot
83de9444cb Merge "IBinder.transact: clarify return" am: 2794ff0ca8 am: 5e19eaf0e8
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1990775

Change-Id: I88bf4aaf5564f009667f69c30b2ecb61bad79ebb
2022-03-09 18:08:40 +00:00
Jack Yu
8eb5bda89e Merge "Create new DataEnabledReasons for for DataSettingsManager" am: e2fd8e3dcf am: 8fe2dd3166
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2017560

Change-Id: Iae766ad3c34f417373cdbba62a54155906b02423
2022-03-09 18:03:33 +00:00
Treehugger Robot
f00c01a576 Merge "Unhide ApnType.ENTERPRISE" am: 4ac3fffc94 am: 00f50c6804
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1955196

Change-Id: I34b2c776016345fef890f4ea09eb0acc86d8a021
2022-03-09 18:02:04 +00:00
Treehugger Robot
5e19eaf0e8 Merge "IBinder.transact: clarify return" am: 2794ff0ca8
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1990775

Change-Id: Ide047078eb7b741fdd977b66e12e30a392427b36
2022-03-09 18:00:14 +00:00
Evan Rosky
288ba245e3 Merge "Annotate shell_transit flag as Keep" into tm-dev 2022-03-09 17:57:06 +00:00
Treehugger Robot
2794ff0ca8 Merge "IBinder.transact: clarify return" 2022-03-09 17:51:26 +00:00
Manjeet Rulhania
013218549a Fix bug report user consent dialog on top of settings screen
SYSTEM_APPLICATION_OVERLAY permission is needed to mark an overlay
trusted, trusted overlay can only be shown on top of settings screen.
Adding this permission to permission controller for showing user
consent dialog in bug report flow (i.e. user is on settings screen,
when bug report is launched).

Fix: 184663722
Test: atest PermissionPolicyTest & manual test for the dialog validation
Change-Id: Idb02ad532fad8ba9fd09bae0a96ef25fc2a4db58
2022-03-09 17:49:34 +00:00
Jack Yu
8fe2dd3166 Merge "Create new DataEnabledReasons for for DataSettingsManager" am: e2fd8e3dcf
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2017560

Change-Id: I31061cd144c380d75ffec615829cc39daac60b6f
2022-03-09 17:44:10 +00:00
Treehugger Robot
00f50c6804 Merge "Unhide ApnType.ENTERPRISE" am: 4ac3fffc94
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1955196

Change-Id: I8a38f7bd32831e5bdc829c61db923527238cd9cd
2022-03-09 17:39:23 +00:00
Jack Yu
e2fd8e3dcf Merge "Create new DataEnabledReasons for for DataSettingsManager" 2022-03-09 17:24:04 +00:00
Treehugger Robot
4ac3fffc94 Merge "Unhide ApnType.ENTERPRISE" 2022-03-09 17:17:40 +00:00
Songchun Fan
4e45ade943 Merge "[pm] refactor mAppIds to be more readable" into tm-dev 2022-03-09 17:12:32 +00:00
Darrell Shi
485e5e223c Merge "Change default showClockAndComplications to false." into tm-dev 2022-03-09 17:00:35 +00:00
TreeHugger Robot
60c89a2fdf Merge "Add fallback media layout for notification actions" into tm-dev 2022-03-09 16:48:36 +00:00
Jernej Virag
10ed7b6dbd Merge "Remove main thread sendBroadcast calls" into tm-dev 2022-03-09 16:37:22 +00:00
Etienne Ruffieux
febe56da78 Merge "[API Review] onCreateUnknownConnection" into tm-dev 2022-03-09 16:28:13 +00:00
Kweku Adams
8d9b93cb7d Remove service before adding test mock.
Bug: 223101827
Change-Id: I45788f4ca7add353135ff3af73de2b5f4997ff14
Test: N/A
2022-03-09 16:23:05 +00:00
Jordan Demeulenaere
0eaf43c719 Merge "Fix crash when showing the media projection dialog on work profile" into tm-dev 2022-03-09 16:02:27 +00:00
TreeHugger Robot
4ff1762d34 Merge "[Provider Model] Fix WiFi reconfiguration issue" into tm-dev 2022-03-09 15:42:00 +00:00
Luca Zuccarini
cb5b5a93ee Create a ViewBoundAnimator to animate view layout updates.
Includes the ability of animating a single upcoming layout or all
following layouts until the animator is detached.

Bug: 221432937
Test: unit tests included, also manual
Change-Id: Ie15ab83b1b06ef4d0b388177682ed51479f37dc1
2022-03-09 15:28:39 +00:00
Beth Thibodeau
5707ad03a1 Merge "Use smallIcon as new layout's app icon" into tm-dev 2022-03-09 15:02:02 +00:00
Khalid Ramadan
fb65642df8 Merge "Send broadcast to SDK verifier." into tm-dev 2022-03-09 14:40:53 +00:00
Kanyinsola Fapohunda
3dcb6342a6 Merge "Reduce NTP polling interval" am: 77da69b764 am: 4c89f808f1 am: 81755b8b4b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2007251

Change-Id: I2c54e916b51a0f34712a0eb36195d9cd4c7d075a
2022-03-09 14:39:08 +00:00
Kanyinsola Fapohunda
81755b8b4b Merge "Reduce NTP polling interval" am: 77da69b764 am: 4c89f808f1
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2007251

Change-Id: I12a979da7ab3259b935632bf809a0c4db57ba1bc
2022-03-09 14:17:49 +00:00
Treehugger Robot
901a507bc1 [automerger skipped] Merge "Forward svc bluetooth to "cmd bluetooth"" am: 199359822e am: 638e111b5b am: cc19a29430 -s ours
am skip reason: Merged-In Icbd0395624585d5a22663472b5897ed4518e2670 with SHA-1 3d43c2345c is already in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1997111

Change-Id: I827b3c2e43e84ea6cf9f5c1b3760ae5a2b4386f2
2022-03-09 14:06:14 +00:00
Beth Thibodeau
f9e74f5fce Add fallback media layout for notification actions
Adds more button slots which are dynamically shown depending on which actions
are supported for the app's media.

When PlaybackState actions are available, the large play/pause button
will appear, along with prev/next on either side of the progress bar.
When Notification actions are used, those buttons will be hidden and up
to 5 actions will be shown to the right of the progress bar instead.

Also refactored view holder classes and test since both templates have 5
generic action buttons now.

Fixes: 218875984
Bug: 218876469
Test: atest MediaControlPanelTest
Change-Id: I464834d2eee53d661f2407f6280e2856c96c63ac
2022-03-09 08:57:16 -05:00
Kanyinsola Fapohunda
4c89f808f1 Merge "Reduce NTP polling interval" am: 77da69b764
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2007251

Change-Id: I0210802f00a385fd749d0ee61dc96ac7ed21dce4
2022-03-09 13:55:19 +00:00
Treehugger Robot
cc19a29430 Merge "Forward svc bluetooth to "cmd bluetooth"" am: 199359822e am: 638e111b5b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1997111

Change-Id: I7340a7feb1a21bd6af2da98c9f6992a8d911b681
2022-03-09 13:44:57 +00:00
Philip Junker
71437d58bf Merge "Move strings used for physical keyboard layout into SettingsLib" into tm-dev 2022-03-09 13:35:26 +00:00
Kanyinsola Fapohunda
77da69b764 Merge "Reduce NTP polling interval" 2022-03-09 13:34:23 +00:00
Jordan Demeulenaere
79faca2203 Fix crash when showing the media projection dialog on work profile
Bug: 222713428
Test: Manual
Change-Id: Ic969b8270162c18227447d79fe55dbfaa75bfb83
2022-03-09 14:33:45 +01:00
Treehugger Robot
87ebc73fbc [automerger skipped] Merge "Do not register Curve25519 as a key factory directly" am: 78255ccf78 am: e74b1930c9 am: f908386b93 -s ours
am skip reason: Merged-In Ibd53070a890955affaff5e4e7213892afd423db7 with SHA-1 7dece49438 is already in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2018115

Change-Id: I86257f98dcd4c6d351a984c1d9c3ee95c74464c9
2022-03-09 13:31:22 +00:00
Treehugger Robot
638e111b5b Merge "Forward svc bluetooth to "cmd bluetooth"" am: 199359822e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1997111

Change-Id: Ic209530be0f8393533fe3218112a1a7f811af6a0
2022-03-09 13:21:06 +00:00
Weng Su
38bf41b7a7 [Provider Model] Fix WiFi reconfiguration issue
- Need to set connectForCaller to be true when WiFi is reconfigured.

- Use a share function to create the internt to avoid different design.

Bug: 218793138
Test: manual test
make RunSettingsLibRoboTests ROBOTEST_FILTER=WifiUtilsTest
atest -c InternetAdapterTest \
         InternetDialogControllerTest

Merged-In: Ia57b4d91320f8e61e94d9ffd47e06648dfc24f3f
Change-Id: Ia57b4d91320f8e61e94d9ffd47e06648dfc24f3f
(cherry picked from commit 2d17fc8d1e)
2022-03-09 13:19:59 +00:00
Michał Brzeziński
08a6e44c67 Merge "Adjusting margins and paddings for portrait shade on large screens" into tm-dev 2022-03-09 13:16:08 +00:00
Treehugger Robot
f908386b93 Merge "Do not register Curve25519 as a key factory directly" am: 78255ccf78 am: e74b1930c9
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2018115

Change-Id: Ie3391c1af5c90938d10f937dec63d81f4c4a5eae
2022-03-09 13:10:15 +00:00
Treehugger Robot
199359822e Merge "Forward svc bluetooth to "cmd bluetooth"" 2022-03-09 12:50:31 +00:00
Treehugger Robot
e74b1930c9 Merge "Do not register Curve25519 as a key factory directly" am: 78255ccf78
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2018115

Change-Id: I1b104e558392aade38b967d518aee37cfea9c8a2
2022-03-09 12:33:28 +00:00
Matt Pietal
e768e3ddfb Merge "Ensure blur radius goes to 0" into tm-dev 2022-03-09 12:23:28 +00:00