Commit Graph

640958 Commits

Author SHA1 Message Date
Mark Renouf
3a37c9ea0b Merge "Update Javadoc method references" into sc-dev 2021-04-16 16:47:59 +00:00
Lucas Dupin
e228edfdd9 Update background colors of apps
Bug: 185526239
Test: visual
Change-Id: I22eb89347afcfa09aa5827b82fd57739084d79b4
2021-04-16 09:46:12 -07:00
Jay Aliomer
b1474958c7 Merge "Inline notif send button dimentions fix" into sc-dev 2021-04-16 16:39:03 +00:00
TreeHugger Robot
2b15c25095 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-04-16 16:28:40 +00:00
TreeHugger Robot
7c21c82dcb Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-04-16 16:27:54 +00:00
Keun young Park
699cbd988c Use caller's user id for recent caller info
- retrieveServiceLocked used target service's user id and brought
  permission failure for persistent single-user services.

Bug: 185483916
Test: boot up car products and check no bind failure
Change-Id: I9b6ff17201f0cd93e2bb3ad219a5d71db34c98a6
2021-04-16 09:27:24 -07:00
Junyu Lai
7de0a9088f Merge "[VCN20] Change requestBackgroundNetwork argument order" am: 28aca09bbf
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1675630

Change-Id: I73df5528088176070af6e54e01358b1edec27b50
2021-04-16 16:25:55 +00:00
Paul Duffin
444c535a46 Merge "Move hiddenapi sort preupload tools to tools/platform-compat" am: b82853357b am: 89aedd6cb8 am: af77c134d9
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1675867

Change-Id: I35b678f40dbc8643224aec26ba1808da893bb80f
2021-04-16 16:15:32 +00:00
Junyu Lai
28aca09bbf Merge "[VCN20] Change requestBackgroundNetwork argument order" 2021-04-16 16:04:31 +00:00
Bill Yi
05cb3cc0a1 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ibefe086aab5df6fc22fdeb4858049c8f3303fa0c
2021-04-16 16:01:14 +00:00
Junyu Lai
e12ebbb9cc Merge "[VCN19] Rename get/setSubIds to get/setSubscriptionIds" into sc-dev 2021-04-16 15:59:16 +00:00
Paul Duffin
af77c134d9 Merge "Move hiddenapi sort preupload tools to tools/platform-compat" am: b82853357b am: 89aedd6cb8
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1675867

Change-Id: Ib3c4202f8b84d7bce390d72bfde2e4e518c6b2a0
2021-04-16 15:45:18 +00:00
Matt Pietal
dcbfcc5928 Indication area text running into wallet
If the wallet affordance is enabled, add padding to both sides of the
indication area to keep it centered and let the text wrap to the 2nd
line.

Fixes: 185467117
Test: manual (seeing charging message + wallet)
Change-Id: Id44b473faab2acb0f5446cf0ea890c2b2cc74e71
2021-04-16 11:41:14 -04:00
Rubin Xu
cba2ce26c2 Fix LockSettingsServiceTest
Fix mocking of FingerprintManager and FaceManager methods.

Bug: 184664830
Test: atest com.android.server.locksettings
Change-Id: I97c33f3b21ac16d2bb92e1658c222e4d0fd1970e
2021-04-16 16:36:29 +01:00
Jamie Garside
82f1652e35 Move bouncer to bottom of screen when in one handed mode.
If one handed bouncer is enabled, both in the SysUI config (i.e.
sw600dp-land) and in the device config, then use a different gravity for
the keyguard host view. This is used to move the bouncer to the bottom
of the screen when the bouncer is one handed.

Of course, password entry isn't one-handed, but we don't bother checking
which security mode is in use. In that mode, the password line is just
on top of the keyboard anyway, so even using gravity = BOTTOM, it
doesn't render differently.

Bug: 170858298
Test: atest
SystemUITests: com.android.keyguard.KeyguardHostViewControllerTest
Change-Id: Ia24d74ca1993d667c46b8ebb8bde6ea4888a0f97
2021-04-16 16:36:04 +01:00
Greg Kaiser
39d923d7f6 Merge "Revert "Workaround for sysui studio builds"" into sc-dev 2021-04-16 15:24:33 +00:00
Paul Duffin
89aedd6cb8 Merge "Move hiddenapi sort preupload tools to tools/platform-compat" am: b82853357b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1675867

Change-Id: If5f4b280c943a1e6a15821077b5e5997baf55436
2021-04-16 15:21:03 +00:00
Michal Brzezinski
b8836060f3 Fixing QS expanding in split shade when swipe happens on notifications
Now QuickSettings expand only when swipe begins on them, measured by
initial touch X position.
NSSL is receiving touches correctly from NotificationPanelViewController
(shouldn't be intercepted) but then if nothing wants to handle that
internally, it's passing it back to OnOverscrollTopChangedListener where
we are aware of split shade mode and can cancel expansion of quick settings.

Bug: 181235927
Test: manual
Change-Id: Ic288c468770bf199435fed9a0896f757e41fa721
2021-04-16 15:18:45 +00:00
Matt Casey
0edac713f5 Move scroll capture back to ScreenshotController.
Makes timing more flexible for acquisition, allowing for delayed content
loading.

Bug: 173700533
Test: Verify scroll content still loads with longer timeouts
Change-Id: I1cab53a6bda671854fb24203063c780923e34572
2021-04-16 11:11:57 -04:00
Lucas Dupin
cb071176be Merge "Move sparkle animation to RenderThread" into sc-dev 2021-04-16 15:08:52 +00:00
Paul Duffin
b82853357b Merge "Move hiddenapi sort preupload tools to tools/platform-compat" 2021-04-16 15:07:52 +00:00
Matt Pietal
624459fde3 Revert "Workaround for sysui studio builds"
This reverts commit cbe99e87b7.

Reason for revert: Bootlooping with:

```Caused by: java.lang.UnsupportedOperationException: Failed to resolve attribute at index 0: TypedValue{t=0x2/d=0x112002d a=1 r=0x1060276}
04-16 09:17:42.931  7256  7256 E AndroidRuntime: 	at android.content.res.TypedArray.getColor(TypedArray.java:529)
04-16 09:17:42.931  7256  7256 E AndroidRuntime: 	at com.android.keyguard.NumPadAnimator.reloadColors(NumPadAnimator.java:103)```

Change-Id: If23d3b1ce206029b1b45549edbfb9a0a7823e732
2021-04-16 15:05:31 +00:00
Bill Yi
b14fae8bf2 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I5502c6423a240a71f2801fc43f803d2690ef3756
2021-04-16 15:05:11 +00:00
Anton Hansson
50ef8bc004 Don't include protolog-lib in services
It's in framework.jar already, we needn't duplicate this code.

Bug: 155379391
Test: m
Test: atest StrictJavaPackagesTest
Change-Id: I8767b4f06d5646989da3b914e33cce22355e751e
2021-04-16 14:59:26 +00:00
Josh Tsuji
11b83652e9 Merge "Use the existing wallpaper command API to send wake/sleep events to the wallpaper." into sc-dev 2021-04-16 14:59:23 +00:00
Josh Tsuji
bde980759e Use the existing wallpaper command API to send wake/sleep events to the wallpaper.
This is already used for similar events such as icon drops and user taps. Using it to indicate that the user has woken/slept the device (and passing along location information) makes sense!

This does require an API modification to add the new string constants to WallpaperManager. This change is being requested by 1P apps (the Live Wallpapers, which are not bundled with the OS and thus can't use system APIs).

Bug: 169693662
Test: locally with modified wallpaper, it receives events
Change-Id: I0cc1bc70dbea509a049b08f8119ed875ffc2e8d5
2021-04-16 14:58:24 +00:00
Almaz Mingaleev
8533c0b3ca Add copy builder to TimeZoneCapabilities.
This method is added to change capabilities
more easily in Robolectric's TimeManager shadow class.

Bug: 159891384
Test: atest core/tests/coretests/src/android/app/time/*
Change-Id: I10b964666e93af9c2c4ead50088773a77521db65
2021-04-16 14:51:51 +00:00
TreeHugger Robot
4d68ee6b66 Merge "Controls - Restart activity on rotation" into sc-dev 2021-04-16 14:31:21 +00:00
Jason Chang
fbe969c925 Merge "Fix metrics didn't log ONE_HANDED_TRIGGER_GESTURE_OUT logs when NavigationBar type is Gesture Navi" into sc-dev 2021-04-16 14:26:03 +00:00
Martijn Coenen
79b9512c9a Merge "Dump binder proxies interface descriptors on a separate thread." into sc-dev 2021-04-16 14:23:48 +00:00
Rubin Xu
229a149a91 Merge "Fix LockSettingsServiceTest" am: 3ccd60f47e am: 6f59202300 am: cf83069773
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1675899

Change-Id: I2614db2ead6d24e11fa6e3a83ce1e443202610a8
2021-04-16 14:17:42 +00:00
Rubin Xu
cf83069773 Merge "Fix LockSettingsServiceTest" am: 3ccd60f47e am: 6f59202300
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1675899

Change-Id: I42e939c406883463a7be51de7ff152c99fe19849
2021-04-16 13:48:42 +00:00
Yan Han
4999cf0efb Don't update volume in AudioService when SAM is on and ARC is off
This prevents volume from changing on TV panels when a connected
amplifier sends <Report Audio Status>.

Tests omitted because of AOSP incompatibilities.

Test: manual with Isto and Atom
Bug: 182369742

Change-Id: I412ee9d5b1ba7aab382e73deab8ac19546175842
Merged-In: I412ee9d5b1ba7aab382e73deab8ac19546175842
2021-04-16 13:39:16 +00:00
Janis Danisevskis
cbe7e963ab Keystore 2.0: Add key migration API.
The key migration API is required by locksettingsservice to move the
synthetic password key out of AID_SYSTEM to protect it from deletion
when the user removes credentials from AID_SYSTEM.

Bug: 184664830
Test: N/A
Change-Id: I8d0ffb79870affc8ac055574b6f808a984aa5e52
2021-04-16 14:21:40 +01:00
Jordan Demeulenaere
b5f0bcb0e5 Fade in status bar icons during launch animations.
See b/184726377#comment17 for before/after videos.

Bug: 184726377
Test: Manual
Change-Id: If4cc67c622fec6a4f10f74f7432d6d4db20e6ed2
2021-04-16 15:20:16 +02:00
Rubin Xu
6f59202300 Merge "Fix LockSettingsServiceTest" am: 3ccd60f47e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1675899

Change-Id: I9b6a9f20aa087934ce2045e664b9f9d713fbadb2
2021-04-16 13:17:51 +00:00
Mariia Sandrikova
43dfe44a0f Merge "Refactor letterbox logic in separate classes." into sc-dev 2021-04-16 12:53:43 +00:00
Rubin Xu
3ccd60f47e Merge "Fix LockSettingsServiceTest" 2021-04-16 12:53:39 +00:00
Bill Yi
d5a4235d15 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iec9d857c772b3ceb64e1660a1dc6465af1cd25bb
2021-04-16 12:47:13 +00:00
Bill Yi
278e113140 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2d14138a84252d40e8d297f6e88a94c7be25f7da
2021-04-16 12:28:00 +00:00
Naomi Musgrave
cbdd8bdb9f Introduce config for sandboxing
Bug: 184838306
Bug: 185004937
Test: atest WmTests:SizeCompatTests
Change-Id: I031463f4bf8c8d87a829f1f03603e376bd44c082
2021-04-16 13:21:27 +01:00
Bill Yi
d3588352d6 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ic6c358da64628996d3ca72f3837ba1cf2345f9e8
2021-04-16 12:09:21 +00:00
Matt Pietal
0caab1c800 Controls - Restart activity on rotation
The user can get stuck with 2 or 4 controls per row. Let the system
restart the activity to get the proper layout.

Fixes: 185364758
Test: manual, rotate with controls open
Change-Id: I501820c29e556b63363decd5a78769f5d6bb09e9
2021-04-16 11:56:35 +00:00
Cyrus Boadway
650a27bf2a Merge "Add hidden setter for AppWidgetHost's InteractionHandler" into sc-dev 2021-04-16 11:53:34 +00:00
Bill Yi
8b0bed7f24 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I899b2427e27d4ca4af07f99049c5b29da092778f
2021-04-16 11:49:09 +00:00
Jason Chang
6cb7c9515f Fix metrics didn't log ONE_HANDED_TRIGGER_GESTURE_OUT logs when
NavigationBar type is Gesture Navi

Write metrics gesture out event in stopOneHanded() callback.

Bug: 178445384

Test: manual
Test: Westworld metrics logger
Change-Id: Ifd358d2aeda1a518f184216674a304511e251100
Merged-In: Ifd358d2aeda1a518f184216674a304511e251100
(cherry picked from commit 688e89c65d)
2021-04-16 19:38:15 +08:00
TreeHugger Robot
c679bc7383 Merge "Avoid null pointer exception when calling NotificationShadeWindowControllerImpl#dump" into sc-dev 2021-04-16 11:35:57 +00:00
TreeHugger Robot
55aaf688ff Merge "[NS13] Remove the last usage of the legacy int" into sc-dev 2021-04-16 11:09:37 +00:00
TreeHugger Robot
502c75489d Merge "Remove quicksearchbox from home window list" into sc-dev 2021-04-16 10:22:35 +00:00
Jordan Demeulenaere
28946b6bf6 Merge "Animate the "Manage" notification app launch (1/2)" into sc-dev 2021-04-16 10:14:52 +00:00