Commit Graph

647888 Commits

Author SHA1 Message Date
Kweku Adams
596af18f0f Merge "Use an exact alarm for location timeout." into sc-dev 2021-08-20 01:28:28 +00:00
Neha Jain
3393d56d2c Merge "New blue baseline colors" into sc-dev 2021-08-19 22:02:54 +00:00
TreeHugger Robot
11f6a1013f Merge "Prevend user spoofing in isRequestPinItemSupported" into sc-dev 2021-08-19 19:08:37 +00:00
TreeHugger Robot
4c2c1530bf Merge "Filter package visibility in checkExistsAndEnforceCannotModifyImmutablyRestrictedPermission()." into sc-dev 2021-08-19 18:05:35 +00:00
Neha Jain
e77889cb61 Merge "WaitForNegativeProximity stopped with power button." into sc-dev 2021-08-19 17:53:40 +00:00
Santos Cordon
325cf315e6 WaitForNegativeProximity stopped with power button.
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
2021-08-19 13:01:02 +01:00
Joanne Chung
eba4265116 Merge "Update javadoc for UiTranslation functions." into sc-dev 2021-08-19 10:08:52 +00:00
Ahaan Ugale
c0f7c384df Merge "RESTRICT AUTOMERGE Disable the Trusted Hotword requirement" into sc-dev 2021-08-19 06:03:31 +00:00
Joanne Chung
119f044e62 Update javadoc for UiTranslation functions.
1. Provide more detailed information for UiTranslationManager.
2. Clarify the difference for VTC#onClearTranslation and
VTC#onHideTranslation.

Bug: 178044703
Test: n/a. Change javadoc not change code.

Change-Id: I4b2ef1a6c39c3bbbb85d0dcda519d286f10deb25
2021-08-19 05:15:31 +00:00
Nate Myren
ce6e70884e Merge "Check for forceVisible when updating from a new status event" into sc-dev 2021-08-18 23:41:09 +00:00
Lucas Dupin
0140709a2e New blue baseline colors
More neutral baseline colors, created from #00BFFF

Test: manual
Test: atest SystemPalette
Fixes: 197143813
Change-Id: I4dcb62962dfb6f674f63bd99cac7582cec72e888
2021-08-18 13:53:20 -07:00
Lucas Dupin
c1dfb44dd1 Merge "Removed strong zoom as shade starts to be pulled" into sc-dev 2021-08-18 20:50:39 +00:00
Bill Yi
31f749d849 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-08-18 19:21:10 +00:00
Bill Yi
4e84b38e1a Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-08-18 19:20:51 +00:00
Michael Wright
10db7a419c Merge "Only update the display when brightness and state are valid." into sc-dev 2021-08-18 16:28:02 +00:00
Lucas Dupin
73477ded8c Removed strong zoom as shade starts to be pulled
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 0d0e404978)
2021-08-18 15:28:50 +00:00
Ahaan Ugale
0e7131f309 RESTRICT AUTOMERGE Disable the Trusted Hotword requirement
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
2021-08-18 01:01:19 -07:00
Joanne Chung
018e3d97d0 Bug Fix: fix NullPointerException while scrolling message apps
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
2021-08-18 06:50:28 +00:00
TreeHugger Robot
1b5d7b4c2a [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod am: 5055cf48b9 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ic77131441442d3a91a07070b4c31100aed04f150
2021-08-18 02:18:03 +00:00
Bill Yi
96719a61ab Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-08-18 01:56:52 +00:00
Evan Laird
cc30c17347 Check for forceVisible when updating from a new status event
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
2021-08-17 21:55:35 -04:00
TreeHugger Robot
5055cf48b9 Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod 2021-08-18 01:48:18 +00:00
TreeHugger Robot
200905eda2 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod am: d737e95db3 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I92a6a052b98d71e704ef0d9d57723c8def56ecd7
2021-08-18 01:21:59 +00:00
TreeHugger Robot
5d27878551 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: 75706ea008 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I89c275224e7dcb5e4e4ff9bb2c1e5c2156d05b8c
2021-08-18 01:21:23 +00:00
TreeHugger Robot
9413190805 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: 6f743862e9 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I7dd45963420a0f7e8b924ca66731fb974bd45b0c
2021-08-18 01:21:01 +00:00
TreeHugger Robot
75706ea008 Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2021-08-18 01:04:14 +00:00
TreeHugger Robot
6f743862e9 Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2021-08-18 01:04:06 +00:00
TreeHugger Robot
d737e95db3 Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod 2021-08-18 01:03:56 +00:00
TreeHugger Robot
60b7757fb4 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-08-18 01:03:54 +00:00
Bill Yi
8c0686e702 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-08-17 23:31:27 +00:00
TreeHugger Robot
2823a57d51 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: 2415b67ba3 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I04d48084c9440279f36db6530918560ff447ad1d
2021-08-17 23:27:59 +00:00
TreeHugger Robot
2415b67ba3 Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2021-08-17 23:15:05 +00:00
bsears
61a46b1718 Merge "Accessibility for privacy status animations" into sc-dev 2021-08-17 22:20:48 +00:00
Bill Yi
06ca6eedd1 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-08-17 22:04:39 +00:00
Bill Yi
07d2bbd6bb Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I250cc834bb4856e8ccd73c5715a60027b62c1031
2021-08-17 13:49:50 -07:00
TreeHugger Robot
9b2132ad58 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod am: 68e3878944 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I409137a7848ae737059e094b6541f0f4c3139820
2021-08-17 20:48:08 +00:00
TreeHugger Robot
e03f419b66 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod am: e323bfb2bc -s ours
am skip reason: subject contains skip directive

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

Change-Id: If594f4e7931ff85e54fb9d4da8e2536c0285786f
2021-08-17 20:47:47 +00:00
TreeHugger Robot
68e3878944 Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod 2021-08-17 20:39:05 +00:00
TreeHugger Robot
e323bfb2bc Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod 2021-08-17 20:25:25 +00:00
TreeHugger Robot
b009bbc13f [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod am: e3cbdad558 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I751846a01782129638f644e4cb48ccc7eaaa8f0b
2021-08-17 20:21:48 +00:00
TreeHugger Robot
43ec6c8ea6 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: ca24fda21b -s ours
am skip reason: subject contains skip directive

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

Change-Id: Id4c6b6ed42a14d0e324c094f0a2d26d71d1fcf34
2021-08-17 20:21:12 +00:00
TreeHugger Robot
e901fdc011 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: 13fdf59374 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I80e0afee3ffdfabfa681005687580247b543a049
2021-08-17 20:20:48 +00:00
Bill Yi
3cb533e5e5 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I27639ad80e2ec5945d6a2cf9b1c1da604d76f58e
2021-08-17 13:15:43 -07:00
Bill Yi
deaea7154b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I1999293ae475f844f490db80c7d16175949198a2
2021-08-17 13:07:22 -07:00
TreeHugger Robot
ca24fda21b Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2021-08-17 20:03:08 +00:00
TreeHugger Robot
13fdf59374 Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2021-08-17 20:02:09 +00:00
Bill Yi
49814ebe17 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Id2e97c90d9c75b33a82f52a22831f59928b957d6
2021-08-17 12:59:02 -07:00
Bill Yi
e8dda79ee8 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 6b82a396d9 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I899d9e414d2074a4acb2294b501447727eae5405
2021-08-17 19:55:17 +00:00
Bill Yi
25abefbd5f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I64caebe4fdc02b3a3f74e1f3e0b8a87129f356ee
2021-08-17 12:46:19 -07:00
Bill Yi
94f7b89a95 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 8723acd832 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I0f26fa2092e7669f2064582c3b99732064740edc
2021-08-17 19:43:46 +00:00