Commit Graph

638988 Commits

Author SHA1 Message Date
Jordan Demeulenaere
8ef4cf5bbb Polish status bar launch animations.
This CL improves the ongoing call animation by:

1. Making sure that the status bar window matches its parent size during
   the animation, so that the expanding view is not clipped.
2. Expanding the view below the other status bar text.

See b/183229367#comment8 and #comment11 for before/after videos.

Bug: 183229367
Test: Create an ongoing call notification, tap it
Change-Id: Idfd8a43109584a4b21ad0a3e5f5e2028a87a9c60
2021-04-30 14:25:10 +02:00
Jordan Demeulenaere
969eda4226 Merge "Fix HUN launch animation." into sc-dev 2021-04-30 07:25:44 +00:00
Zhen Zhang
54df750079 Merge "Clear calling identity before calling into AMS" into sc-dev 2021-04-30 06:53:05 +00:00
Winson Chung
a44256effd Merge "Fix a couple issues with nav bar & rotation button" into sc-dev 2021-04-30 06:29:46 +00:00
Hui Yu
e37fdc9e8a Merge "Do not allow FGS start when temp allowlist reasonCode is REASON_PUSH_MESSAGING_OVER_QUOTA" into sc-dev 2021-04-30 06:26:39 +00:00
TreeHugger Robot
c5f6938ac6 Merge "Fix onClientFinished for generate and revoke challenge" into sc-dev 2021-04-30 05:49:48 +00:00
Treehugger Robot
c6de6e418a Merge "Fix Typo in CellIdentityNr" am: 4e8328c972 am: 6804e518ab am: ae288fc64f
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1691212

Change-Id: Ib5dfac54ecd9bb22a836c4e6b1c0f50e3d6307e7
2021-04-30 04:43:30 +00:00
Treehugger Robot
ae288fc64f Merge "Fix Typo in CellIdentityNr" am: 4e8328c972 am: 6804e518ab
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1691212

Change-Id: Ice68a8603d3413732413f309c84bd62d264afb01
2021-04-30 04:23:44 +00:00
PETER LIANG
42c7ce491e Merge "Fix the GAR issue of all the icons on A11y FM have no meaningful A11y label." into sc-dev 2021-04-30 03:51:13 +00:00
Treehugger Robot
6804e518ab Merge "Fix Typo in CellIdentityNr" am: 4e8328c972
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1691212

Change-Id: Ied7a8404d613c194b957b9664d78db0766467264
2021-04-30 03:40:16 +00:00
TreeHugger Robot
5f0d5d1ee2 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: 02b69dcab3 -s ours am: 81e48b7275 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I69cc9c5bc5271c6e3a1e337867baff7a4f66a60c
2021-04-30 03:24:29 +00:00
Treehugger Robot
4e8328c972 Merge "Fix Typo in CellIdentityNr" 2021-04-30 03:19:46 +00:00
TreeHugger Robot
b34d068142 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod am: bfbd14f76f -s ours
am skip reason: subject contains skip directive

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

Change-Id: I3794fb43f6c6b10783d68ad66585cc22b36ba527
2021-04-30 03:07:11 +00:00
TreeHugger Robot
8e3abedbcc [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod am: 3784bb3314 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I0e07803bca5f8b55e3c2f67bda41f7ec67d7df0a
2021-04-30 03:05:31 +00:00
TreeHugger Robot
81e48b7275 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: 02b69dcab3 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I7f95b55825d228c2fe5470d7abb2314ae7152575
2021-04-30 02:56:16 +00:00
TreeHugger Robot
bfbd14f76f Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod 2021-04-30 02:45:13 +00:00
Cecilia Hong
60cdd91176 Merge "Update Smartspace media recommendation card appearance to match the latest mock." into sc-dev 2021-04-30 02:44:43 +00:00
TreeHugger Robot
3784bb3314 Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod 2021-04-30 02:31:29 +00:00
TreeHugger Robot
02b69dcab3 Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2021-04-30 02:27:39 +00:00
Beth Thibodeau
9773696596 Merge "Update power menu text" into sc-dev 2021-04-30 02:10:15 +00:00
Alexander Dorokhine
9e85c65e03 Merge "Update Framework from Jetpack." into sc-dev 2021-04-30 01:07:39 +00:00
Treehugger Robot
997d0aa82e Merge "Add additional biometric OWNERs" am: 9674d6d6d6 am: 1176cad7f2 am: 3f0c3db187
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1691211

Change-Id: I6d429cf95cdaec8ead1607154efacc972177a03c
2021-04-30 01:02:04 +00:00
Alexander Dorokhine
45bb21c98d Update Framework from Jetpack.
Included changes:
* 4c1b251: Sync AppSearch with google3 update ag/14342999 (8f8b43)
* cdf1913: Add a GenericDocument#toBuilder API.
* 64f80f3: Improve snippeting and matching per API feedback.
* 23dd35c: Move AppSearchEmail out of the prod tree into the test utils.

Bug: 171882200
Bug: 186520196
Bug: 186717514
Test: Presubmit
Change-Id: I9d8e1fb87e6e74c57a38f3a27cdd04a1a3ccf90b
2021-04-29 18:00:32 -07:00
TreeHugger Robot
45997792e1 Merge "Fix 2 LaunchParamsPersister issues" into sc-dev 2021-04-30 00:46:52 +00:00
Treehugger Robot
3f0c3db187 Merge "Add additional biometric OWNERs" am: 9674d6d6d6 am: 1176cad7f2
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1691211

Change-Id: Ie6d4938961f7725cc141dd1a43f69a906b913f24
2021-04-30 00:35:10 +00:00
Matt Pietal
c3fd47a6f0 Merge "Wallet affordance - Fix taps" into sc-dev 2021-04-30 00:32:36 +00:00
Matt Pietal
2aecd8d73d Merge "AOD/LS - Fix 24 hour clock" into sc-dev 2021-04-30 00:32:12 +00:00
Beth Thibodeau
c077ca0ccd Merge "Fix timing issue for flaky tests" into sc-dev 2021-04-30 00:31:24 +00:00
Nate Myren
4399632290 Merge "Add RECORD_INCOMING_PHONE_AUDIO app op" into sc-dev 2021-04-30 00:30:20 +00:00
TreeHugger Robot
ed17f3e2c7 Merge "Change clearEvents() to clear existing events rather than setting mEvents to null to remove possible NPE." into sc-dev 2021-04-30 00:29:02 +00:00
Treehugger Robot
1176cad7f2 Merge "Add additional biometric OWNERs" am: 9674d6d6d6
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1691211

Change-Id: Ic0ec9c3c12571b3405c1b7668528f5c50d083896
2021-04-30 00:13:30 +00:00
Brad Ebinger
984d20822b Merge "Bound Telecom logging recursion" into sc-dev 2021-04-30 00:12:15 +00:00
Amy Zhang
75d890a7f3 Merge "Get media share memory handle only when the filter is not a passthrough media filter" into sc-dev 2021-04-30 00:02:05 +00:00
Zhen Zhang
9ac468fc35 Clear calling identity before calling into AMS
Clear calling identity before calling into AMS in
unhibernatePackageForUser() to make sure we are calling as system user
and avoid security exception

Bug: 186701008
Test: built and flashed to wembley device, then run adb shell cmd
app_hibernation set-state PACKAGE_NAME false. No exceptions found.
Test: atest AppHibernationServiceTest

Change-Id: Icf0c72b85f4c611c84129a6fb9425f4344b4681b
2021-04-29 16:58:56 -07:00
TreeHugger Robot
93203cb1d3 Merge "Update TODO docs in TunerClient on resource id/handle mapping" into sc-dev 2021-04-29 23:57:47 +00:00
TreeHugger Robot
bfc6048a9c Merge "[incremental] don't uninstall on unhealthy" into sc-dev 2021-04-29 23:54:24 +00:00
Treehugger Robot
9674d6d6d6 Merge "Add additional biometric OWNERs" 2021-04-29 23:52:46 +00:00
Automerger Merge Worker
3a1e0aa142 Merge "[automerger skipped] Merge "LockSettingsService: migrate to its own keystore namespace" am: b8e5426266 am: fc7a26cd21 am: 8f2e634505 -s ours" into sc-dev 2021-04-29 23:37:49 +00:00
Treehugger Robot
e25461b6ef [automerger skipped] Merge "LockSettingsService: migrate to its own keystore namespace" am: b8e5426266 am: fc7a26cd21 am: 8f2e634505 -s ours
am skip reason: Merged-In Iac339e64812232875afa9dc6109b848b50b0ef2f with SHA-1 f53bf832bd is already in history

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

Change-Id: I8956c359f9f1cabd6375df5b143ddb71bf2523c3
2021-04-29 23:37:38 +00:00
TreeHugger Robot
50e1340661 Merge "Part of compatibility getRaw() support" into sc-dev 2021-04-29 23:37:34 +00:00
Kelvin Zhang
2e9e91b5bb Merge "Add API to ApexManager for compressed APEX" am: 4890c80904 am: bce6d733a8 am: 9934485847
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1675675

Change-Id: Ief56104fae0b743e9e8a6e8ad169f97e1127c991
2021-04-29 23:36:58 +00:00
cecilia
3f2e85a9c4 Update Smartspace media recommendation card appearance to match the latest mock.
A contextual card header is added, and also the expanded version of recommendation card.

Screenshots:
[Compact]
- http://screen/U3SPZQHPYLyoU4t
- http://screen/8ccMqUqUmBQUvmd
[Expanded]
- http://screen/9ASnXWGHWoyph2B
- http://screen/A6hzbLDjpfsjVkA

Demo: https://drive.google.com/file/d/1iRZBhC81q-HflRQDUgzMbNeBagkAo9aS/view?usp=sharing

Fixes: 186165627
Test: Studio builds
Change-Id: Ib7f65bdcbe7ede1901c7969d04f3efbbc7c2461d
2021-04-29 19:36:52 -04:00
Hui Yu
a6b92260d3 Do not allow FGS start when temp allowlist reasonCode is REASON_PUSH_MESSAGING_OVER_QUOTA
If temp allowlist reasonCode is REASON_PUSH_MESSAGING_OVER_QUOTA, check
DeviceConfig key "push_messaging_over_quota_behavior" to decide if
temp allowlist and FGS start are allowed. Three options:
1. -1, temp allowlist not allowed, FGS start not allowed.
2. 0, temp allowlist allowed, FGS start allowed.
3. 1, temp allowlist allowed, FGS start not allowed. This is default.

The device config command to change the behavior:
adb shell device_config set activity_manager push_messaging_over_quota_behavior <-1|0|1>

If temp allowlist reasonCode is REASON_DENIED, do not allow temp allowlist
at all.

Also, in DeviceIdleController.addPowerSaveTempAllowlistAppInternal(),
there used to be a check if the callingUid is on the mPowerSaveWhitelistSystemAppIds list,
this is unnecessary because upstream callers already checked if callingUid has
 permission CHANGE_DEVICE_IDLE_TEMP_WHITELIST, and this permission is a privileged permission,
so removing the check of mPowerSaveWhitelistSystemAppIds should be safe.

Bug: 182796372
Test: atest cts/tests/app/src/android/app/cts/ActivityManagerFgsBgStartTest.java#testPushMessagingOverQuota
Test: atest cts/tests/app/src/android/app/cts/ActivityManagerFgsBgStartTest.java#testTempAllowListReasonCode

Change-Id: Id34b1c26c819dc4fe07838eb2e3a8f0138cbcf8f
2021-04-29 16:27:41 -07:00
Nate Myren
c05d205e55 Merge "TEMP: note "RECORD_AUDIO_HOTWORD" in SoundTriggerMiddleware" into sc-dev 2021-04-29 23:18:48 +00:00
Abhijoy Saha
b4cea78181 Merge "Add phone call check to app opp usage callback." into sc-dev 2021-04-29 23:15:54 +00:00
George Mount
ee5ed9dfaa Merge "Fling while overscrolled: ScrollView/HorizontalScrollView" into sc-dev 2021-04-29 23:05:32 +00:00
Treehugger Robot
8f2e634505 Merge "LockSettingsService: migrate to its own keystore namespace" am: b8e5426266 am: fc7a26cd21
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1675900

Change-Id: I987c4a882529bf55ba9697889347b6a50b583942
2021-04-29 23:03:32 +00:00
Kelvin Zhang
9934485847 Merge "Add API to ApexManager for compressed APEX" am: 4890c80904 am: bce6d733a8
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1675675

Change-Id: Ic5a2ea0dcecfa4e2e2c470457c5ca3b44c65c23b
2021-04-29 23:02:32 +00:00
TreeHugger Robot
80bd76c77a Merge "Handle STOPPED to PAUSED Usage events" into sc-dev 2021-04-29 23:02:08 +00:00
Mady Mellor
8e29f94a89 Merge "Fix text color for bubble user education screens" into sc-dev 2021-04-29 23:00:20 +00:00