633202 Commits

Author SHA1 Message Date
TreeHugger Robot
3136beb68a [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: 64a3810ba0 -s ours am: dcb3c5b185 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I08790aec9ceaa407ba50a775c0ee069c3414edb0
2021-03-31 05:57:31 +00:00
Bill Yi
455ccd412f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I24bedab5ddefe2c5904e4c12777b33ec3d8f9bf4
2021-03-31 05:41:19 +00:00
TreeHugger Robot
342a8ffad0 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: da0264d945 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I170431e858acfe8b76a4943a58f65fc9093ce632
2021-03-31 05:28:03 +00:00
TreeHugger Robot
dcb3c5b185 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: 64a3810ba0 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Iec23883c99a5eaf89b8cba92302fa578c3306ae1
2021-03-31 05:27:30 +00:00
TreeHugger Robot
bd0beafef0 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-03-31 05:21:51 +00:00
Bill Yi
5b209d5d07 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I42c473ec6984eb2a286bc39915b60fe0ca272bc3
2021-03-31 05:19:43 +00:00
TreeHugger Robot
da0264d945 Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2021-03-31 05:04:20 +00:00
Bill Yi
0ddfe2c9e3 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ic03774e1893389aa7a690437d13a265135aab0e5
2021-03-31 04:58:00 +00:00
TreeHugger Robot
64a3810ba0 Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2021-03-31 04:56:58 +00:00
Winson Chung
59415ea448 Fix some issues with pinch to resize
- Tweak calculation of resize bounds, calculate the scale from the change
  in distance between the pointers, and scale about the centroid of the
  pip
- Fix issue with rotation not being about the center of the pip
- Fix issue with jumping rotation on start of gesture
- Fix issue with animating to top when max bounds are used
- Fix issue with resizing while the menu is open not actually resizing
  for a brief period (the menu fading was triggering another pip
  animation)

http://recall/-/g6hkB0pXjyQSvfA8STqRAT/cW6W0tdqDzisBndgU2JnM7

Bug: 178881304
Test: Pinch to resize in the cases above
Change-Id: I3bdf535cda64b9ce1926c7081f6cc40d4d79ab69
2021-03-30 21:55:25 -07:00
Bill Yi
63bedd2542 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I15017f0dbebf0572b34451a271993f5be7808172
2021-03-30 21:52:43 -07:00
Louis Chang
1192afbc0d Fixes few corner issues of multi-window windowing mode split-screen
- Updates the preferred top focused root task when a root task was
  added on top.

- Also updates the resumed activity (so as the focused app) while
  root task position changed.

- Do not resume the top activities of the tasks that are visible, but is
  behind other visible tasks (TASK_VISIBILITY_VISIBLE_BEHIND_TRANSLUCENT).

Bug: 177190100
Test: ActivityLifecycleLegacySplitScreenTests
Test: MultiWindowTests#testLaunchToSideAndBringToFront
Change-Id: Ied5041f3987a964931cdab508955759671336af4
2021-03-31 12:34:15 +08:00
James Mattis
69dd983129 Merge "Change the const for the unreachable network" am: 07ff79a595 am: 185c54c983 am: 649914a095
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1653190

Change-Id: Id50d1e06f18830025eb30b420b4f6817028cf5c8
2021-03-31 04:23:02 +00:00
Bill Yi
b2d67f863c Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I8719bdaeb02ea7be5a59e9e0878c87d1cbf91b49
2021-03-30 21:19:15 -07:00
Bill Yi
27754254b8 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iea42ca005925b728c7fc9cc5eae4e988ad53c1ac
2021-03-31 03:58:13 +00:00
Joanne Chung
72cf07d1cc Merge "Bug fix: allow to create ViewTranslationRequest for virtual AutofillId." into sc-dev 2021-03-31 03:41:39 +00:00
James Mattis
649914a095 Merge "Change the const for the unreachable network" am: 07ff79a595 am: 185c54c983
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1653190

Change-Id: I848bc411f919991eb795372b64023f951e310e6a
2021-03-31 03:40:16 +00:00
Bill Yi
4c5df9f411 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Id158bea8432c030b0cb0cdd7ebf8838138c81ce1
2021-03-31 03:37:36 +00:00
wilsonshih
e697b8176c Prevent the decor view to be visible again after exit animation finish.
Fix the flicker when WindowState#removeIfPossible apply exit animation.

Test: atest SplashscreenTests SplashscreenTests
Bug: 183004107
Bug: 182815506
Change-Id: I3ac4ad98ab9e9c295f78ba6f86e1e02f2067163b
2021-03-31 11:30:55 +08:00
Svet Ganov
623ff43bda Fix NPE in PermsissionChecker
Also added some logging for runtime permissions with no app op

bug: 184093962

Test: Setting up device with work account

Change-Id: I85787367b11d57ed1240fcf484ad7d2efa13d406
2021-03-31 03:27:51 +00:00
Kevin Han
062ab64ffb Add last time unhibernated to dumped info
Add the last time a package was unhibernated to app hibernation dump.
This can be used in bug reports or dumps to know that an app was
recently unhibernated.

Bug: 183142988
Test: adb shell dumpsys app_hibernation
Change-Id: I5bc1969d9385206b43e73b42d9d2067a66e9b609
2021-03-30 20:15:54 -07:00
James Mattis
185c54c983 Merge "Change the const for the unreachable network" am: 07ff79a595
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1653190

Change-Id: I1e63766f07f3976abd36df117ffd3bf5ae1a8af4
2021-03-31 03:03:27 +00:00
Ming-Shin Lu
57f2f51eb6 Merge "Add a test for verifying switching IME app with gesture" into sc-dev 2021-03-31 03:01:33 +00:00
Kevin Han
8071948f8d Merge "Add OEM-configurable flag for OAT artifact deletion" into sc-dev 2021-03-31 03:01:02 +00:00
Lucas Dupin
19f026c222 Merge "Do not scale down sparkles" into sc-dev 2021-03-31 02:43:53 +00:00
James Mattis
07ff79a595 Merge "Change the const for the unreachable network" 2021-03-31 02:39:15 +00:00
Bill Yi
3ded075e2b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie38ba1607c5ba757267b37874de9b3cc1380c6b8
2021-03-31 02:38:00 +00:00
Pinyao Ting
4dedfc8ba3 Fixes an issue in shortcut persistence.
Currently after reboot the shortcuts previously saved in AppSearch could
be lost since ShortcutService never calls AppSearchSession#close.
Closing the session upon device shutdown fixes the issue.

Also, removes the exception where calling AppSearchSession#close gives
rise to IllegalArgumentException when the call wasn't made from a binder
thread. Since ShortcutService runs in the system process, it is expected
that calling AppSearchSession#close doesn't goes through binder.

Bug: 183982287
Test: flash, pin shortcuts, reboot, observe
Test: atest ShortcutManagerTest1 ShortcutManagerTest2
ShortcutManagerTest3 ShortcutManagerTest4 ShortcutManagerTest5
ShortcutManagerTest6 ShortcutManagerTest7 ShortcutManagerTest8
ShortcutManagerTest9 ShortcutManagerTest10 ShortcutManagerTest11
Test: atest CtsShortcutManagerTestCases

Change-Id: I61bc4354735770630965ca4f81314d23671165d0
2021-03-30 19:31:09 -07:00
Yohei Yukawa
12e4fde793 Merge "Avoid IME restart for configChanges" into sc-dev 2021-03-31 02:28:22 +00:00
Bill Yi
f3fa78390a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I42cf688e7cb8a76b1ef93a347c95c7bd12589bac
2021-03-30 19:27:46 -07:00
Bill Yi
7fbe7869b5 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib998bd9f64648cd7a5285989d85f3db43ec69a97
2021-03-31 02:17:37 +00:00
Svet Ganov
7d058d62e5 Addressing comments from commit:8d2ed5
bug:158792096
bug:180647319
bug:184051153
bug:184027531

Test:atest CtsPermissionTestCases
     atest CtsPermission2TestCases
     atest CtsPermission3TestCases
     atest CtsPermission4TestCases
     atest CtsPermission5TestCases
     atest CtsAppOpsTestCases
     atest CtsAppOps2TestCases
     atest CtsAlarmManagerTestCases

Change-Id: Id324ed0e2a653dface6ba273bba27e92bea14f99
2021-03-31 02:11:46 +00:00
Weng Su
c2da105ad9 [Provider Model] Enable Provider Model by default
Bug: 183671325
Test: manual test
Change-Id: I1a3d2da39a6f278fa852827d6730ad3303970eeb
2021-03-31 10:08:18 +08:00
Jing Ji
6564529264 Merge "Add an am command to disable service restart backoff policy." into sc-dev 2021-03-31 02:06:59 +00:00
Kweku Adams
b2b41b2825 Ensure UidStats is not null when needed.
We're sometimes being told that an app has been uninstalled before the
process has stopped. That puts JS and especially ConnectivityController
in an inconsistent state. Make sure we don't crash because of the
inconsistency.

Bug: 183921387
Bug: 184098842
Test: atest frameworks/base/services/tests/servicestests/src/com/android/server/job
Test: atest frameworks/base/services/tests/mockingservicestests/src/com/android/server/job
Test: atest CtsJobSchedulerTestCases
Change-Id: Ied17a461a47160c81042676f43d7f8defe1c4466
2021-03-31 02:01:40 +00:00
Mady Mellor
c5561c9c5c API: Expose whether bubbles are enabled or not
There's no way for devs to check whether the user has
disabled or enabled bubbles at the feature level. This
adds an API for devs to make this query.

Test: atest NotificationManagerTest NotificationManagerServiceTest
Bug: 171162184
Change-Id: I3b201e8267f36b45473987db773c08663b8d8126
2021-03-30 18:59:11 -07:00
TreeHugger Robot
88d3722232 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-03-31 01:56:56 +00:00
Bill Yi
8cbf22761b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: If4349f29193676374aeb5db8604d1487951e07d8
2021-03-30 18:54:21 -07:00
Rob Carr
2b434b28b0 Merge "Expose API for using SurfaceControl with ViewRootImpl" into sc-dev 2021-03-31 01:35:49 +00:00
Lucas Dupin
0ad02d4213 Merge "Update biometric prompt icon colors" into sc-dev 2021-03-31 01:28:59 +00:00
Lucas Dupin
c836f193dc Merge "Move OM calls to the background" into sc-dev 2021-03-31 01:27:37 +00:00
Seigo Nonaka
df1fcdadd0 Merge "Use separate XML for update config in system" into sc-dev 2021-03-31 01:15:44 +00:00
Lucas Dupin
9b1bcd73b0 Do not scale down sparkles
Doing so creates artifacts on PenTile displays.

Test: visual
Fixes: 184074874
Change-Id: I11d90d2fb9c1d21c96a7cc7383452fa7d184c7f2
2021-03-30 18:03:11 -07:00
Michael Wright
ab7e61e87b Actually report resonant frequency and Q factor for vibrators.
This got plumbed all the way through except for the final step of
reporting this from the Vibrator object. Doh.

Bug: 182612056
Test: manual
Change-Id: I4282ff7914266589f0f61246fe42e8ef58e70460
2021-03-31 01:48:37 +01:00
Shuzhen Wang
4b27be69b8 Merge "Camera: Fix a removal-while-iterate bug" into rvc-qpr-dev am: c1082ad34d am: d959ea6f8c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14038043

Change-Id: I0040bfdf11b37c4eed9e51da1a0bc625dcd67fae
2021-03-31 00:40:46 +00:00
TreeHugger Robot
47a81589a2 [automerger skipped] Merge "Ensure the next activity of non-focusable task to be visible" into rvc-qpr-dev am: b33de1f64b am: bf41100f50 -s ours
am skip reason: skip tag Change-Id I4f02758287ca4ef0e710bb556b5910600e725e40 with SHA-1 fc165b971c is already in history

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

Change-Id: Id6a94922bd38370fb4cb8a326662730fccc65543
2021-03-31 00:40:29 +00:00
Henry Fang
96529876e7 Merge "support changing audio-hw-sync-id during playback." am: 507764f6a8 am: 2dd3576872 am: 0abd962e42
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1648069

Change-Id: Ic60a0a502de6297278e253547321d782026564c5
2021-03-31 00:39:42 +00:00
Jorge Gil
68a6b1a97b Merge "Check that the PiPParams are not null before getting seamless flag" into sc-dev 2021-03-31 00:22:54 +00:00
James Mattis
4a12466678 Change the const for the unreachable network
Changing the const used for the unreachable network for per-app
functionality for those apps whose traffic for the default network we
wish to lose connectivity as dictated by per app network preferences.
This is being done as per changes in https://r.android.com/1643182.

Bug: 181579204
Test: atest FrameworksNetTests
Change-Id: I1bffadfa03a6221096100c9e0457ea00f94027a3
2021-03-30 17:16:44 -07:00
Shuzhen Wang
d959ea6f8c Merge "Camera: Fix a removal-while-iterate bug" into rvc-qpr-dev am: c1082ad34d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14038043

Change-Id: I0a6633ab3c40171fbe4c1a3b1b9978e10b4e638b
2021-03-31 00:16:35 +00:00