summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-08-30Merge cherrypicks of [15712549, 15712550, 15712551, 15712641, 15712642, ↵android-12.0.0_r4android12-d1-s1-releaseAndroid Build Coastguard Worker
15712643, 15710166, 15711786, 15711787, 15711788, 15711789, 15712646, 15712631, 15712552, 15712632, 15712633, 15712634, 15712559, 15712560, 15712561] into sc-d1-release Change-Id: I2850a9e1a3d8bd3c15a5b3cb1809017aa9f1f0da
2021-08-30[RESTRICT AUTOMERGE] Workaround to dump error log instead of exceptionChilun
This is a short-term workaround to dump error log instead of throwing the exception to unblock the test. Bug: 197484331 Test: build pass Change-Id: I2ece3b9d85edc1ae43038e6f69b35f59b160a3dd (cherry picked from commit f8fc1326f762012e87f501fb0aeff3adc4c9a9d5)
2021-08-30notification stack scroller doesn't need a11y focusBeverly
Only its contents need to get focus. This was causing the empty space on the lock screen to get a11y focus with the description "no label" Test: manual (large clock - tap in empty space, no focus is given) Fixes: 195614563 Change-Id: If8b8d069ef111a8df1bc659e25dd5c01a79528a2 (cherry picked from commit 755fdb467ac8d92525cef69195c6964e153495d2)
2021-08-30Fix issue when adding existing connections via remote connection services.Tyler Gunn
When an existing connection is added to represent an IMS conference participant, it is added with an associated parent conference specified. This was NOT passed along to the connection manager via the RemoteConnectionService API since there is no equivalent API present for that operation. To work around this, we stash the parent conference's ID into the connection extras. We will use that later so that Telecom can know which conference is the parent of this call. Also, removing restriction in RemoteConnectionService which would ignore conferences with no children. This assumption was incorrect for VOLTE conferences since they will start with no children. As a consequence we would ALWAYS skip adding IMS conferences to the connection manager, which would mean that it had no way of knowing about the conference that the existing connections are associated with. Test: Manual test with connection manager APIS on live network; make conference and verify that the correct objects are being created wrapped by the connection manager. Bug: 188420526 Change-Id: Ie58afed7a3b7eeaa7e329e80479d273e4c50ec82 Change-Id: I4250f9459c7a1b82936583a10e93d049fdfb4c5d (cherry picked from commit fdc4bff3198fcaedfa29f45d92525c0351acd583)
2021-08-30RESTRICT AUTOMERGE Disable the Trusted Hotword requirementAhaan Ugale
The requirement to use a sandboxed HotwordDetectionService to avoid incurring the mic indicator will be added back in a future release. With this change, SoundTrigger events and hotword-source audio do not incur the mid indicator for any process. This change adds back the permissions logic from I3275647d0f9a6e3ce8b97a556f56723b49170c8e, adjusted to account for the changes from I4fc3b3e8defed59a900fd156273e9e695a322b0c (preflight permission checks were made to accept soft denials, so simply reusing enforcePermissionForPreflight does not work anymore - it would pop up a dialog if the mic sensor is muted). We preserve the behavior of showing the indicator when the detected event is delivered from the Trusted Hotword process (no false-positives here, so we can accurately show it). Fix: 197034852 Test: manual - dsp and non-dsp; true and false positives; mute mic sensor - events aren't delivered and no dialog is shown, hotword still works after unmuting; mute mic and restart, unmute after starting reco; Trusted and non-Trusted hotwording Test: atest CameraMicIndicatorsPermissionTest Test: atest HotwordDetectionServiceBasicTest Test: atest android.cts.statsdatom.appops.AppOpsTests#testAppOps Change-Id: I68f2f37b5ce835e7fd8649b382eaee9fc299ec79 (cherry picked from commit 0e7131f3090fc0b7b8c040d09de4d5d4d62c0d19)
2021-08-25Merge cherrypicks of [15671342, 15671402, 15670951, 15671362, 15671363, ↵Android Build Coastguard Worker
15671364, 15671365, 15671366, 15671343, 15671344, 15671345, 15671346, 15671347, 15671367, 15671368, 15671369, 15671370] into sc-d1-release Change-Id: I2832b48a48fbe423e57202e03f28ce5250eb1e30
2021-08-25Fix udfps flicker on camera launch + exitBeverly
Test: atest UdfpsKeyguardViewControllerTest Test: manually trigger double-tap power button for camera and then dismiss the camera Bug: 197160246 Merged-In: Id3aa20662df8cdd6676141f5f70e5eae0cec6215 Change-Id: Id3aa20662df8cdd6676141f5f70e5eae0cec6215 (cherry picked from commit e8f14f48132385f831055efa01dc8178f2482e94)
2021-08-25On keyguard unoccluding, set notif scrim alpha to KEYGUARD_SCRIM_ALPHABeverly
We still want the keyguard notification scrim after the unoccluding transition. Test: manual, atest ScrimControllerTest Bug: 197160246 Change-Id: I210ba3491eb98c30bec121c6119f6dfb1d6aeba7 (cherry picked from commit 7ec73696bde41235a76844c97a5e115c434110be)
2021-08-25Fix flicker when unlocking the screen.Selim Cinek
Fixes: 197113783 Test: atest ScrimControllerTest Test: fp from: shade locked, aod, lock screen Test: switch between light and dark themes, look at scrim anim Change-Id: Iacd46b99c5a86c8f7a7706b91b0b78a3beb4c414 Merged-In: Iacd46b99c5a86c8f7a7706b91b0b78a3beb4c414 (cherry picked from commit c2dda240a72d254df893de857f1d2a76e9940942)
2021-08-25Notification playback: pause on releaseJean-Michel Trivi
When releasing a MediaPlayer outside of a playback completion (back to back notifications), pause and wait 100ms before releasing the player. Bug: 193832902 Test: create back-to-back notifications, check for glitch Change-Id: Ib8baba4bf2b41e75b526e8490b6c2f31c85c193c (cherry picked from commit c69743ea169f8e0c87ecb48d6d9e81a1286605ee)
2021-08-23Merge cherrypicks of [15655787, 15655957, 15655958, 15655667, 15653543, ↵Android Build Coastguard Worker
15655905, 15655932, 15655788, 15654749, 15655933, 15655934, 15655935, 15655959, 15655960, 15655961, 15655962, 15655963, 15656056, 15655906, 15655907, 15655789] into sc-d1-release Change-Id: I6f18d59c9376b79a6d7e32b87c367067a3001cac
2021-08-23Fixes two bright flashes of the notification scrimSelim Cinek
We were previously going to UNLOCKED state if if there was no camera preview leading to a bright flash in light mode. we now only do this when the whole screen is obscured anyway by the camera preview. This also fixes another scrim issue where the unocclusion would flash the notification scrim, because it's expanding, which usually shows the bouncer with a bright background during the expansion. Test: atest SystemUITests Fixes: 197160246 Merged-In: I418e878698c2606856b93faf774cd87830773815 Change-Id: I418e878698c2606856b93faf774cd87830773815 (cherry picked from commit ee48cd0962191e6304a11937e9a80151792bcdfb)
2021-08-20Merge cherrypicks of [15636132, 15634622, 15636419, 15634623, 15635081, ↵Android Build Coastguard Worker
15636346, 15636347, 15635821, 15635822, 15635823, 15635824, 15636496, 15636421, 15635984, 15636005, 15636133, 15635225, 15635189, 15636250, 15636380, 15636422, 15636348, 15636349, 15636350, 15632848, 15636382, 15636383, 15636266, 15636351, 15636423, 15636352, 15635986, 15636220, 15636252] into sc-d1-release Change-Id: I47bcf050a97320291050dbefbeefee426e76ffac
2021-08-20Use an exact alarm for location timeout.Kweku Adams
Use an exact alarm for the location timeout to avoid keeping the GPS active for too long. Bug: 194385761 Test: atest DeviceIdleTest Test: atest FrameworksMockingServicesTests:DeviceIdleControllerTest Change-Id: I52b7ec6d993705ee605e3780a29a484c0d48e633 (cherry picked from commit a7cb583f3a7b13b06e09c4377e0e01145f7e0464)
2021-08-20New blue baseline colorsLucas Dupin
More neutral baseline colors, created from #00BFFF Test: manual Test: atest SystemPalette Fixes: 197143813 Change-Id: I4dcb62962dfb6f674f63bd99cac7582cec72e888 (cherry picked from commit 0140709a2ef16976fb88af3e0c3edef9884107c1)
2021-08-20WaitForNegativeProximity stopped with power button.Santos Cordon
If the device is in a state where it is waiting for negative proximity event to turn the screen back on (as with phone calls), this CL makes it so that power button will also turn the screen back on, even if proximity is still positive. Test: make phone call, cover prox, end call. Previously power button had no effect in this state, now it turns the screen back on. Bug: 190459207 Change-Id: I3ce33fe81e5ee0c0652517a8ce46632519ba73c6 (cherry picked from commit 325cf315e64e7698bee012737b64b3fc53473d23)
2021-08-20Check for forceVisible when updating from a new status eventEvan Laird
In the case where we get a status event update that doesn't trigger a new scheduled event, we also need to check to see if the forceVisible bit flipped, otherwise we will fail to show the persistent dot. Bug: 197025130 Test: manual Change-Id: I261bce40e0a4525e7d1302a983c5fb4622ddc6e2 (cherry picked from commit cc30c17347308af647f413294aaf2dc9355abe8c)
2021-08-19Merge cherrypicks of [15619363, 15619364, 15619365, 15619399, 15619400, ↵Android Build Coastguard Worker
15619401, 15619366, 15619367, 15619368, 15619369, 15619424, 15619425, 15619426, 15619427, 15619428, 15619402, 15619403, 15619404, 15619370, 15619371, 15619372, 15619373, 15618427, 15619429, 15619405, 15619406, 15619407, 15619408, 15619374, 15619375, 15619409] into sc-d1-release Change-Id: I3f325119268052e46c64712ef8ed6b17d4c884f6
2021-08-19Removed strong zoom as shade starts to be pulledLucas Dupin
Removed steep animation curve when the shade is being pulled, such as it's not closer to what exists in other system areas, like all apps drawer and -1. It was necessary to convert ints to floats, given that conversion was causing precision loss, making the wallpaper zoom stutter. Test: pull down drawer over app or launcher Test: launch apps from QS Test: change device brightness from QS Test: atest NotificationShadeDepthControllerTest Fixes: 195667456 Change-Id: Ibe778fbe3811434dd5123a471eec0d21db1fd09a (cherry picked from commit 0d0e40497896fde734c28bf941fa0937164cd99a) (cherry picked from commit 73477ded8ce859ddfa2186039b91a51f69ac5ce4)
2021-08-19Bug Fix: fix NullPointerException while scrolling message appsJoanne Chung
The issue will occur when the view is removed from the hierarchy by the time the translation response returns. Do a null check to make sure the view still exists. Bug: 196933332 Test: atest CtsTranslationTestCases Tese: manual. not see the crash when scrolling the apps. Change-Id: Ifee933a802385750d431800ef50f6f2c306ccc0f (cherry picked from commit 018e3d97d0d5b704c7fbaf6477c35e9b9d93b29d)
2021-08-19Accessibility for privacy status animationsEvan Laird
This CL adds contentDescriptions to the privacy event chip and the ongoing privacy dot views. This is a partial fix which allows talkback for the ongoing privacy chip, and allows talkback scrolling to the privacy dot. However, due to the fact that the dot lives in a different window, the privacy dot shows up in the wrong part of the accesibility tree and still needs to be virtually placed in the status bar. Bug: 187197696 Test: manual Change-Id: I6210e18c75a1aab61cbcf619a9a31c459fffe544 (cherry picked from commit c14dd63160ee9fb303e3cd92ff63825a1303362a)
2021-08-19Fix lint error for those module used in mainline moduleEdgar Wang
Bug: 187861723 Test: rebuild Change-Id: I3a8c9e00f164d0f0dd381b188ecfd0c4a758a277 Merged-In: I3a8c9e00f164d0f0dd381b188ecfd0c4a758a277 (cherry picked from commit d56251bae4a305f5668adce8bfbfa1b31b8dc5e3)
2021-08-18Merge cherrypicks of [15605627, 15607206, 15607301, 15607207, 15606407, ↵Android Build Coastguard Worker
15607147, 15605835] into sc-d1-release Change-Id: I03d6b560c785d72c487821ced689a0ec7b447397
2021-08-18Update icon for BiometricPrompt fingerprint animationsCurtis Belmonte
Use the new fingerprint icon for the fingerprint -> error and error -> fingerprint animations shown on BiometricPrompt. Test: Manual: 1. Enroll a fingerprint 2. Trigger BiometricPrompt (e.g. Internet > Settings > Share) 3. Try authenticating with an unenrolled fingerprint 4. Verify the updated animations are shown Fixes: 196453178 Change-Id: Ief3cf752d12897955886e0787701774bd6a0403e (cherry picked from commit ddf464bc3239e10cf5edd7c166f71a4c71f69ea0)
2021-08-17Snap for 7647318 from b8787c6f80cb01837e644f90c5df0126a777d9f3 to sc-d1-releaseAndroid Build Coastguard Worker
Change-Id: If23c50aff9139bad264428a410dec7b71933f5ea
2021-08-16Merge "Revert "Use StorageManager#isUserKeyUnlocked to determine CE storage ↵Winson Chiu
in PMS"" into sc-dev
2021-08-16Merge "Use layout parameters to determine lock icon location" into sc-devBeverly Tai
2021-08-16Merge "DO NOT MERGE: Register NetworkController to DumpManager" into sc-devNeha Jain
2021-08-16Revert "Use StorageManager#isUserKeyUnlocked to determine CE storage in PMS"Winson Chiu
This reverts commit 76e6f9d221567f5a3b3726e7a67d3551198356f3. Reason for revert: b/196030595 Bug: 196030595 Change-Id: Idf42eee3277ceace275aad3e11c7ee692f1171a6
2021-08-16Merge "Remove Webview Overlays on destroy" into sc-devHuihong Luo
2021-08-16Merge "Preserve certain "Nearby devices" implicit grants." into sc-devJeff Sharkey
2021-08-16Merge "Guard against null info when applying widget RROs" into sc-devRyan Mitchell
2021-08-16DO NOT MERGE: Register NetworkController to DumpManagerEvan Laird
It seems that enough Dependency.get() calls were removed for NetworkController that the dumpsys stopped including NetworkController in it. This CL manually registers NetworkController so we can have those logs back. Test: `adb shell dumpsys activity service com.android.systemui/.SystemUIService | grep NetworkController` Fixes: 196486687 Change-Id: Id8865dd2159a6e3d85ebe80a3d0c4e05d0c16491
2021-08-16Use layout parameters to determine lock icon locationBeverly
So we don't rely on the coordinates coming from centering the view (using gravity). Test: manual Fixes: 196280198 Change-Id: Iee7a7e5732d27a782d51e39e4d52b3601814bec3
2021-08-16Merge "Don't create one-handed-background-panel after rotation" into sc-devSelim Cinek
2021-08-16USB: Correct title bar notificationJames Wei
Change notification in accordance with additional tethering support on NCM Bug: 196240561 Test: Manual test: Switch USB tethering to and from MTP / Charge Only Change-Id: I7a5e1d7066774d60c3ba7f453554dc3a25b0af69
2021-08-14Snap for 7643198 from c9ce62c06bd96f7b1ce915353ef03ec57fe411fb to sc-d1-releaseAndroid Build Coastguard Worker
Change-Id: I0eee1b8eaa4390f26f69ab1716e3ac550b93ac65
2021-08-14Merge "Set CollapsingToolbar Title textColor" into sc-devYu-Ta Lu
2021-08-14Set CollapsingToolbar Title textColorMill Chen
The original title color seems to be set incorrectly for all OEM devices except for Pixel. This change stabilizes the color. Bug: 196106314 Bug: 196614394 Test: manual test Change-Id: I2b9f7ddec17d1d447cb7348e8f96cabb81e2e229
2021-08-14Merge "Add a generic error message for missing vendor error strings." into ↵Joe Bolinger
sc-dev
2021-08-14Snap for 7641964 from 680e13f294dfed236eb43db57ffba8f2a5454b72 to sc-d1-releaseAndroid Build Coastguard Worker
Change-Id: Icd7cf54153d43ca86ae06de9a9a54b241a8ef61f
2021-08-14Merge "Log failures to unlinkToDeath wakelocks." into sc-devTreeHugger Robot
2021-08-14[automerger skipped] Rename android.media.MediaTranscodeManager -> ↵Ray Essick
MediaTranscodingManager am: 243e5ab2b2 -s ours am skip reason: Merged-In I40ab066cd61be8d278f21cc788016f2edd6bb86e with SHA-1 1168d9d014 is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15544047 Change-Id: I137dc117cc9d7fd131c3ca2e221a8fbbc56c439d
2021-08-13Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-devBill Yi
2021-08-13Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-devBill Yi
2021-08-13Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-devBill Yi
2021-08-13[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into ↵TreeHugger Robot
rvc-qpr-dev am: 3229884baf -s ours am skip reason: subject contains skip directive Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15544163 Change-Id: I4f3de0722f388d17aaea46acbe7c382eff226659
2021-08-13Add a generic error message for missing vendor error strings.Joe Bolinger
The message is empty, instead of null, to prevent apps from crashing but it will be changed to a more meaninful string in a future change. Fix: 196176475 Test: N/A Change-Id: I7823084238a87cb1b8892b8550c472cd8b40f556
2021-08-13Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-devBill Yi
2021-08-13[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into ↵TreeHugger Robot
mainline-prod am: 87a0d9ef7e -s ours am skip reason: subject contains skip directive Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15543339 Change-Id: I06c58f640f59ecd616482a9dccee6b77003491de