Commit Graph

640958 Commits

Author SHA1 Message Date
Bill Yi
222e66b31b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia7abc39c9d9c206ebf70c123653aea25e757fc9e
2021-04-19 15:19:49 +00:00
Bill Yi
70a33f047c Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I5976317db63a764d02e22b32df87e8649757160b
2021-04-19 15:17:01 +00:00
Bill Yi
13d52b8e02 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I38491ea70f1e01a398e8f50c729e112c745b5c53
2021-04-19 15:14:16 +00:00
TreeHugger Robot
e0b7f6bcc6 Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2021-04-19 15:09:03 +00:00
Bill Yi
a285c787fd Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I65d01c73ec5b06945321f228dceac905c309492d
2021-04-19 15:06:02 +00:00
Bill Yi
508cadb10a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9db9fd88f584b1bc001bc7038d8c365450b2968c
2021-04-19 15:01:20 +00:00
Bill Yi
7a1281353a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I3e8bf42b9d0e73cfc8efd243604f852213bc798d
2021-04-19 14:56:23 +00:00
Caitlin Cassidy
4b537e9170 Merge "[Ongoing Call Chip] Keep chip displayed on theme change." into sc-dev 2021-04-19 14:53:07 +00:00
Caitlin Cassidy
69d0455b32 Merge "[Ongoing Call Chip] Add a click handler using ActivityLaunchAnimator." into sc-dev 2021-04-19 14:50:38 +00:00
Caitlin Cassidy
39dec41a02 [Ongoing Call Chip] Keep chip displayed on theme change.
Test: atest and manual
Bug: 183229367
Change-Id: Ie9617e21ea78c6eea8b241e436830ad2ced548cf
2021-04-19 14:48:12 +00:00
Bill Yi
74357c9c9d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2b77691bb5d9d686362fe5cafb549d06f11a6c39
2021-04-19 14:46:57 +00:00
Bill Yi
8bc30aff26 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia7b91835326f1268f52fee3792b0cac9d53e5569
2021-04-19 14:41:33 +00:00
TreeHugger Robot
f5925bd7fc Merge "Fix not invoke setImeWindowStatus when unlocked by PIN lock" into sc-dev 2021-04-19 14:37:09 +00:00
Bill Yi
34c713c691 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: If0e00aacfe505a6476755b4037eca9f03c5695f3
2021-04-19 14:32:13 +00:00
Saumya Pathak
b46e5f57f0 Renaming sharesMediaWithParent on API feedback
Test: atest android.multiuser.cts.UserManagerTest#testCloneUser, atest com.android.server.pm.UserManagerTest#testCloneUser
Bug: 185365969

Change-Id: I44a28bc6ed3e73674d77db497a15ec33b8244b05
2021-04-19 14:11:51 +00:00
Bill Yi
21d7ac18de Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie760c59a45ebc9e3165858ec6888cd8db95c8c74
2021-04-19 14:08:52 +00:00
Mathew Inwood
c89513ac27 API changes as requested by API council.
Bug: 183512729
Test: m
Merged-In: Ie465c49ff02065e78a2e8e211a13350a0ff7f0a4
Change-Id: Ie465c49ff02065e78a2e8e211a13350a0ff7f0a4
2021-04-19 14:02:52 +00:00
Neil Fuller
3c3c68eff8 Add server flag for the lower bound
Add a server flag for the lower bound time used by the time_detector to
validate times in suggestions. This can be used during tests to confirm
that suggestions are properly compared against the lower bound before
being used, and to bypass the lower bound check when running tests with
historical data.

Note: Currently, the lower bound is used to validate / filter
suggestions when they are received. Invalid suggestions are discarded,
leaving old suggestions. Changing the lower bound will not cause the
time_detector to discard / ignore already accepted suggestions if they
now fall below the lower bound.

Testing:

adb shell dumpsys time_detector # Look at reported lower bound
adb shell device_config put system_time \
    time_detector_lower_bound_millis_override 0
adb shell dumpsys time_detector # Look at reported lower bound
adb shell device_config delete system_time \
    time_detector_lower_bound_millis_override
adb shell dumpsys time_detector # Look at reported lower bound

Bug: 172229867
Test: See above
Change-Id: If1d5fd1aa09732c05808cc13dd257f2daeea6220
2021-04-19 15:00:34 +01:00
Anna Zappone
0dd99e0c3c Merge "Update on shortcut changes and statuses cleared" into sc-dev 2021-04-19 14:00:05 +00:00
Bill Yi
393ad201dc Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iabd29520f21204e736c64d20b841450b554f225b
2021-04-19 13:53:40 +00:00
easoncylee
f994d1229b Move FrameworksServicesTests to group presubmit-large
The test config takes longer than 15mins to run. Move it to a dedicated
group for running slow presubmit Test Mapping test.

Some more context is in the referenced bug, e.g, b/174495337
The group will work exactly the same as presubmit for now.

Bug: 174654670
Bug: 174495337
Test: none
Change-Id: Ifefd791b8dc24d5fda12affac0c99787da3d5086
2021-04-19 13:32:12 +00:00
Sergey Volnov
f421bf17fc Allow HotwordDetectionService to obtain ContentCaptureManager.
This would allow pushing data into sandboxed ContentCaptureService.

Bug: 168305377
CTS-Coverage-Bug: 183425641
Test: atest CtsVoiceInteractionTestCases
Change-Id: I798b4f525a5707d4c97ae525ed69bd3864cb261d
2021-04-19 14:23:40 +01:00
Flavio Fiszman
5a96ceafa7 Merge "Handle width and height options in Tile previews" into sc-dev 2021-04-19 13:16:01 +00:00
Ming-Shin Lu
c66dd0af02 Fix not invoke setImeWindowStatus when unlocked by PIN lock
CL[1] removed setImeWindowStatatus call in showSoftInput()
since showWindow() has a call.

Howerver, the call invokes only when the IME visibility has changed.
It overlooked the case that when the screen unlocked by PIN
lock, since the focused app and IME visiblity is the same, so
the setImeWindowStatus in showWindow() doesn't invoked.

When then keyguard shown, IMMS side will invoke updateSystemUiLocked to
update navbar icon as invisible, so after the user unlocked, user won't
see the navbar icon set visible back.

As the result, we still need setImeWindowStatus called in showSoftInput
to fix this case.

[1]: I0b0750f146634d8e90e0b0ac46e9208675626d0a

Fix: 181294561
Test: manual as below steps:
  0) setup PIN lock for the device
  1) launch an app (e.g. Messaging) and show IME
  2) turn-off the screen and unlock the screen with PIN
  3) verify if the keyboard is visible and the navbar icon is visible
Change-Id: I168fda76c1c7bdcabe94f7c2550c6b5c7c41e5e0
2021-04-19 13:06:35 +00:00
Bill Yi
2ce1b81420 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Id403d9c9f4ebcd5404b1b42840e886c976cb2ce7
2021-04-19 12:48:52 +00:00
Nikita Ioffe
c28f00cbf1 [automerger skipped] Merge "Prevent apk-in-apex from being registered under wrong apex" into rvc-qpr-dev am: 21d910e042 am: 1ea67b0c98 -s ours
am skip reason: skip tag Change-Id Idc989ac84777589b4bdd72012833cdbdab7e872c with SHA-1 c45a426e8e is already in history

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

Change-Id: I43711ad22c4c102f2a325324b0a9ce30c6070008
2021-04-19 12:33:45 +00:00
Bill Yi
882dacff19 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6dfed28be5ba431a0568d1abf3e421eb7ec56022
2021-04-19 12:09:20 +00:00
Nikita Ioffe
1ea67b0c98 Merge "Prevent apk-in-apex from being registered under wrong apex" into rvc-qpr-dev am: 21d910e042
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14211761

Change-Id: I296b1d98f4268773f712c4b7167cd291d4731c94
2021-04-19 11:57:58 +00:00
Anton Hansson
0b8ee9ae50 Merge "Don't include protolog-lib in services" into sc-dev 2021-04-19 11:57:44 +00:00
Bill Yi
a118e94cc6 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ic63379f0d88f1db6d70683292f22083fae58bc33
2021-04-19 11:52:28 +00:00
Nikita Ioffe
21d910e042 Merge "Prevent apk-in-apex from being registered under wrong apex" into rvc-qpr-dev 2021-04-19 11:40:07 +00:00
Neil Fuller
05ccc44cb4 Merge "Add the ability to override time origin priorities" into sc-dev 2021-04-19 11:19:43 +00:00
Treehugger Robot
24f475b502 Merge "CEC: Drop TODOs marked as fixed/obsolete" am: 6e7f16ac1e am: 59cb50e06a am: 8380a16e8e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1676434

Change-Id: I8cfd3fc1e3287ec2cef799d008dc5bcbcc1881a9
2021-04-19 10:55:33 +00:00
TreeHugger Robot
29f7ff1aa6 Merge "Replace unaudited PendingIntents with FLAG_IMMUTABLE" into sc-dev 2021-04-19 10:40:25 +00:00
Treehugger Robot
8380a16e8e Merge "CEC: Drop TODOs marked as fixed/obsolete" am: 6e7f16ac1e am: 59cb50e06a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1676434

Change-Id: I88c22d703fdf77f59a480017060c50f7ed19e50b
2021-04-19 10:31:33 +00:00
Siim Sammul
eebade3ca5 Merge "Add buckets params to the binder latency atom" into sc-dev 2021-04-19 10:26:40 +00:00
Siim Sammul
cceed4f3dc Add buckets params to the binder latency atom
Original change: gerrit/14019215

Test: n/a - no functionality change
Bug: 180584913
Change-Id: I20d8f5632f76774cad64af30a6aa1f1ab172152f
2021-04-19 10:25:36 +00:00
Treehugger Robot
24731368d5 [automerger skipped] Merge "Add missing synchronized(mLock) into Autofill onServiceDied" am: 5e7d4961e6 am: 591ae1c7b4 am: c69b41b6b0 -s ours
am skip reason: skip tag Change-Id Ic16ed5e4ac507f02e56f9e9cd94d4b4cfb028d69 with SHA-1 476cacb011 is already in history

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

Change-Id: I0207b595c82f4170a79ed6375055bbdc83279b46
2021-04-19 10:11:47 +00:00
Treehugger Robot
59cb50e06a Merge "CEC: Drop TODOs marked as fixed/obsolete" am: 6e7f16ac1e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1676434

Change-Id: I09f86f2409cfdd3299fa453b1059fed490d623bd
2021-04-19 10:10:46 +00:00
Treehugger Robot
6e7f16ac1e Merge "CEC: Drop TODOs marked as fixed/obsolete" 2021-04-19 09:46:37 +00:00
Treehugger Robot
c69b41b6b0 Merge "Add missing synchronized(mLock) into Autofill onServiceDied" am: 5e7d4961e6 am: 591ae1c7b4
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1607953

Change-Id: I0d4fb773a07818975b03d4e00b090f009b2f6e29
2021-04-19 09:45:52 +00:00
junyulai
d6b1d4b355 [VCN19] Rename get/setSubIds to get/setSubscriptionIds
Test: atest FrameworksNetTests FrameworksVcnTests
Fix: 185215036
Merged-In: I9d90df5fc13b36d2cdc4920b456dcc87fcd2b3a7
Change-Id: I9d90df5fc13b36d2cdc4920b456dcc87fcd2b3a7
  (cherry-picked from ag/14198665)
2021-04-19 17:41:01 +08:00
Louis Chang
27a2a5f986 Detects all activities for whether showing work challenge
Work challenge did not show when a work activity is not on top, but
still visible after screen turns on.

Also show work challenge even if the work activity is behind a top
fullscreen activity of another profile because the user can still
navigate back to the work activity when top activity finishes.

Bug: 177457096
Test: RootWindowContainerTests

Change-Id: I5e09b09be547d04fdfd709cb9cd4bcd4a94bbf21
Merged-In: I5e09b09be547d04fdfd709cb9cd4bcd4a94bbf21
2021-04-19 09:26:46 +00:00
Louis Chang
69b3a3cd04 Detects all activities for whether showing work challenge
Work challenge did not show when a work activity is not on top, but
still visible after screen turns on.

Also show work challenge even if the work activity is behind a top
fullscreen activity of another profile because the user can still
navigate back to the work activity when top activity finishes.

Bug: 177457096
Test: RootActivityContainerTests

Change-Id: I5e09b09be547d04fdfd709cb9cd4bcd4a94bbf21
Merged-In: I5e09b09be547d04fdfd709cb9cd4bcd4a94bbf21
2021-04-19 09:21:55 +00:00
Treehugger Robot
591ae1c7b4 Merge "Add missing synchronized(mLock) into Autofill onServiceDied" am: 5e7d4961e6
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1607953

Change-Id: I103e6a0ca533ffbc84fed21307e96a86931447a2
2021-04-19 09:20:16 +00:00
Louis Chang
fe5e1432cf Detects all activities for whether showing work challenge
Work challenge did not show when a work activity is not on top, but
still visible after screen turns on.

Also show work challenge even if the work activity is behind a top
fullscreen activity of another profile because the user can still
navigate back to the work activity when top activity finishes.

Bug: 177457096
Test: ActivityStackSupervisorTests

Change-Id: I5e09b09be547d04fdfd709cb9cd4bcd4a94bbf21
Merged-In: I5e09b09be547d04fdfd709cb9cd4bcd4a94bbf21
2021-04-19 09:20:04 +00:00
Jordan Demeulenaere
18e2c4c5d6 Use correct alpha interpolator for notification animation.
Bug: 181654098
Test: Tap a notification
Change-Id: I4e75a6f5c89170e95cd6c93cd80611e22b0b4127
2021-04-19 11:18:16 +02:00
Louis Chang
6820d70823 Detects all activities for whether showing work challenge
Work challenge did not show when a work activity is not on top, but
still visible after screen turns on.

Also show work challenge even if the work activity is behind a top
fullscreen activity of another profile because the user can still
navigate back to the work activity when top activity finishes.

Bug: 177457096
Test: ActivityStackSupervisorTests

Change-Id: I5e09b09be547d04fdfd709cb9cd4bcd4a94bbf21
Merged-In: I5e09b09be547d04fdfd709cb9cd4bcd4a94bbf21
2021-04-19 09:17:19 +00:00
Treehugger Robot
5e7d4961e6 Merge "Add missing synchronized(mLock) into Autofill onServiceDied" 2021-04-19 08:58:17 +00:00
Jackal Guo
c5a303f4a8 Apply package visibility to AppWidgetManager#getInstalledProviders
Package visibility should be applied to #getInstalledProviders as
what we did for similar APIs in PackageManager.

Bug: 180104057
Test: atest AppEnumerationTests
Change-Id: I50f471e6f71613e36cc1b137456a3ee0b23f6a38
2021-04-19 16:35:24 +08:00