Commit Graph

646160 Commits

Author SHA1 Message Date
TreeHugger Robot
647c5d86cb Merge "resolve merge conflicts of 8f21448a7a to sc-v2-dev" into sc-v2-dev 2021-06-22 14:54:47 +00:00
TreeHugger Robot
6f129c3ef0 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-06-22 13:53:28 +00:00
TreeHugger Robot
d1633e8007 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-06-22 13:50:27 +00:00
TreeHugger Robot
a1d00f5b68 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-06-22 13:48:37 +00:00
Bill Yi
1d31ffd0b3 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iefba21bdf23a7e61402a1505e47d83d58fa5d147
2021-06-22 11:28:53 +00:00
Bill Yi
df6785ce23 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie2b80133e5c72b6de2967c0e99e203ebcbb002d2
2021-06-22 11:27:23 +00:00
Charles Chen
4a20c9425a Merge "Move initialization from onCreate to attachBaseContext" into sc-v2-dev 2021-06-22 09:24:34 +00:00
TreeHugger Robot
2e8baa1078 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-06-22 07:46:21 +00:00
Bill Yi
3c3ab9a584 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I5155d7e28e8bdd1aefd246e356f94d040831de03
2021-06-22 07:24:45 +00:00
Charles Chen
dd4a748af0 Move initialization from onCreate to attachBaseContext
Previously we initialize WindowManager and associate DisplayArea in onCreate,
but apps may use WindowManager before WindowProviderService#onCreate.
The code may be like:
```
public void onCreate() {
    WindowManager wm = getSystemService(Windowmanager.class);
    wm.getCurrentWindowMetrics().getBounds(); // <--- crash here
    super.onCreate()
    ...
}
```
This CL move the initialization step to attachBaseContext to prevent
the crash.

Test: atest WindowContextTests
Test: run gsi_avd/boot_health/vendor_img_rvc on ABTD
Bug: 191635763
Change-Id: Id8bad73a749813a90b307ac2b4d020f740631ea3
2021-06-22 13:55:12 +08:00
Bill Yi
b1577d712a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I3577229065b633c85f9de3db28bff97e27e2443c
2021-06-22 03:36:05 +00:00
TreeHugger Robot
859ef211a6 Merge "Register binder-depth per remote animation" into sc-v2-dev 2021-06-22 02:10:57 +00:00
TreeHugger Robot
84e98dfd76 Merge "MotionEvent: Add relative X and Y fields to PointerCoords" into sc-v2-dev 2021-06-22 00:41:37 +00:00
Chavi Weingarten
d54e3940f5 resolve merge conflicts of 8f21448a7a to sc-v2-dev
Change-Id: I494b81f172c869f247e5aa110987424948a0a3a5
Bug: 177864415
2021-06-21 20:15:49 +00:00
Winson Chung
89da3fbc74 Merge "Remove display policy references while waiting for window animation to complete" into sc-dev am: 37f493f566
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14951219

Change-Id: I194c494a464c7d1be0ea83bbb19740e93200c9b4
2021-06-21 20:00:06 +00:00
TreeHugger Robot
403f6ceb32 Merge "Hook WakefulnessLifecycle for best timing of LockedDisabled" into sc-dev am: aadedc76b6
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15002670

Change-Id: I9fbc141b015c34d026e7f17b7d11bece5628e6f8
2021-06-21 19:57:19 +00:00
Yuanjia Hsu
24c28a092b Revert "Exports API to allow RULE_MATCH_UID support both RECORDE..."
Revert submission 14702753-audio_injection_by_uid

Reason for revert: moving API work to master.
Reverted Changes:
I92775675e:Add Gts test for audio injection with UID-based mi...
I8eebfc8c1:Exports API to allow RULE_MATCH_UID support both R...

Bug: 183693610
Change-Id: I4e448e9a1215eeddcd4d93b5e7389c6d428ffde3
2021-06-21 17:17:58 +00:00
TreeHugger Robot
8f21448a7a Merge "Accessibility fix for ShellRoot" into sc-dev 2021-06-21 16:56:38 +00:00
Winson Chung
37f493f566 Merge "Remove display policy references while waiting for window animation to complete" into sc-dev 2021-06-21 16:46:18 +00:00
TreeHugger Robot
aadedc76b6 Merge "Hook WakefulnessLifecycle for best timing of LockedDisabled" into sc-dev 2021-06-21 16:42:36 +00:00
Amith Yamasani
fd7c786e1d Merge "Mark all published authorities for a provider as ready" into sc-dev am: d39b5f032c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15019800

Change-Id: Ib63f630c6ee65fa22697bebdcb1f21a261c92882
2021-06-21 16:31:40 +00:00
Amith Yamasani
d39b5f032c Merge "Mark all published authorities for a provider as ready" into sc-dev 2021-06-21 16:31:09 +00:00
Fabian Kozynski
77699db75b Merge "Statically map tile spec to array res id" into sc-dev am: 648711dad7
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15028271

Change-Id: I35119759e56ce674ec8dec865528942aa9816dae
2021-06-21 16:31:01 +00:00
Fabian Kozynski
648711dad7 Merge "Statically map tile spec to array res id" into sc-dev 2021-06-21 16:28:23 +00:00
chaviw
5b09e3c19a Accessibility fix for ShellRoot
Ensure ShellRoot layers are ordered correctly with other windows in the
system. This means placing the Shell Root layers z ordered based on the
window type

Bug: 177864415
Test: adb shell dumpsys accessibility
Change-Id: Iee982e9f17b496d413d4733f0a99997f81cee527
Merged-In: Iee982e9f17b496d413d4733f0a99997f81cee527
2021-06-21 10:50:37 -05:00
Anton Hansson
0c8ec087f9 Merge "Add more owners of API directory" into sc-dev am: dcbd9aa879
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15042820

Change-Id: I9ae7077cb5660fab43b424b4580784496f259d09
2021-06-21 15:35:31 +00:00
Rubin Xu
97fdd9f018 Merge "DPM.isUsbDataSignalingEnabled() callable on unmanaged device" into sc-dev am: 3c0f63ab97
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15042814

Change-Id: I126b354fd9a4ddb81163457d62843212fdd45e71
2021-06-21 15:35:12 +00:00
TreeHugger Robot
f799c09845 Merge "Execute app transition if starting window is drawn" into sc-dev am: e8db079138
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14934413

Change-Id: I9a58b9c45b6f3d8441264fec8201a925d1293a0b
2021-06-21 15:34:56 +00:00
Lais Andrade
199693453b Merge "Add receiver to user switch to VibrationSettings" into sc-dev am: acb73e2d7b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15027754

Change-Id: I500b76fa187b4fc5b7b2e5e74c729d26abb6e236
2021-06-21 15:34:29 +00:00
Anton Hansson
dcbd9aa879 Merge "Add more owners of API directory" into sc-dev 2021-06-21 15:30:38 +00:00
Rubin Xu
3c0f63ab97 Merge "DPM.isUsbDataSignalingEnabled() callable on unmanaged device" into sc-dev 2021-06-21 15:19:40 +00:00
TreeHugger Robot
e8db079138 Merge "Execute app transition if starting window is drawn" into sc-dev 2021-06-21 15:19:19 +00:00
Lais Andrade
acb73e2d7b Merge "Add receiver to user switch to VibrationSettings" into sc-dev 2021-06-21 15:10:19 +00:00
Jeff DeCew
e70573d182 Merge "Dim background when group notification expanded" into sc-dev am: 9c4b4c34b0
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15022247

Change-Id: I716115944b037b2aff5057d576e2414a587f4b48
2021-06-21 14:44:47 +00:00
Jeff DeCew
fbfd76f71c Merge "Re-add dividers when expanding notifications." into sc-dev am: e6b421ae73
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15017662

Change-Id: I52f240e39e7670a73b26184d1139108ffd87dfac
2021-06-21 14:44:45 +00:00
Fabian Kozynski
8ada758ea3 Statically map tile spec to array res id
That way, we don't need to use Resources#getIdentifier

Test: atest QSTileViewImpl TilesStatesTextTest
Test: microbenchmark jank test
Fixes: 191483200
Change-Id: I0d92c6e5b9861e5001df5e2ffb7f80734b2b9ff8
2021-06-21 10:40:00 -04:00
Jeff DeCew
9c4b4c34b0 Merge "Dim background when group notification expanded" into sc-dev 2021-06-21 14:28:25 +00:00
Jeff DeCew
e6b421ae73 Merge "Re-add dividers when expanding notifications." into sc-dev 2021-06-21 14:28:25 +00:00
Lais Andrade
290eb284c6 Add receiver to user switch to VibrationSettings
The current user settings held by the vibrator manager service
is not updating on user switch. Adding a receiver to trigger settings
update on that broadcast.

Fix: 186142123
Test: VibrationSettingsTest
Change-Id: I177bc6fd0c12185526ce82faf066a76901520468
2021-06-21 15:00:53 +01:00
Julia Reynolds
3ebf8ce0ba Merge "Update notification blocking ui theming" into sc-dev am: d6f7eb33e3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15030176

Change-Id: I96d76ee4b34a8e1a004714c5535aa793f897db9d
2021-06-21 13:57:08 +00:00
Anton Hansson
f5da22e711 Add more owners of API directory
This dir is home of the modularized SDK now. Add hansson and
modularization team as explicit owners so that we can e.g. approve new
modules being added.

Bug: 184125529
Test: No
Change-Id: I97802b98d24309759f9cf5d3192da6b80dc7657b
2021-06-21 14:45:35 +01:00
Julia Reynolds
d6f7eb33e3 Merge "Update notification blocking ui theming" into sc-dev 2021-06-21 13:36:25 +00:00
Ming-Shin Lu
8e3022c158 Merge "Consolidate disabling fixed-rotation when IME may visible on activity" into sc-dev am: 5c095fbc28
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14920751

Change-Id: I753b937b5c69b17cdc0e8f87adf3a4080151e6d3
2021-06-21 13:04:33 +00:00
Ming-Shin Lu
5c095fbc28 Merge "Consolidate disabling fixed-rotation when IME may visible on activity" into sc-dev 2021-06-21 12:51:10 +00:00
Rubin Xu
b4fe247823 DPM.isUsbDataSignalingEnabled() callable on unmanaged device
Fix an issue in existing implementation where the API will
throw exception when called on a device without DO or PO: a
slight tweak of semantics such that when the API is called by
a regular app, return the device-wide policy regardless which
user the caller is from.

Bug: 190024751
Test: manual with modifed TestDPC on unmanaged device.
Change-Id: I227d01ec275bc0a074a3789bab194c76fc72b5b8
2021-06-21 13:39:11 +01:00
Anna Zappone
bd350dfcac Merge "Update on reboots, package uninstalls" into sc-dev am: c331d562db
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15000272

Change-Id: I75ed932e999d1e961fd79907dd066e461449696f
2021-06-21 12:30:06 +00:00
Anna Zappone
c331d562db Merge "Update on reboots, package uninstalls" into sc-dev 2021-06-21 12:27:13 +00:00
Jamie Garside
44dc1633d6 Merge "Slide in volume rocker in natural rotation only." into sc-v2-dev 2021-06-21 12:22:09 +00:00
Miranda Kephart
89cf7e02fb Merge "Implement "shared element" SS->LSS transition in screenshots" into sc-dev am: 070852ed44
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15005300

Change-Id: I997b2b89fefbe2aea3f8818ed7cd01df4cb2a515
2021-06-21 12:21:24 +00:00
Edgar Wang
ca0a0662d6 Fix build broken am: fce3f0fd2b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15026548

Change-Id: I10bf8304b7414aade8e20f73d19c4de3620bb0a9
2021-06-21 12:21:03 +00:00