- Aug 24, 2021
-
-
Android Build Coastguard Worker authored
Change-Id: I72175e5b94e14894e2cfc898720f439c277e4be8
-
Pavan Kumar M authored
Add version support for uce feature tags Bug: 175092320 Bug: 193992611 Bug: 193543670 Change-Id: I8b62b9b9d7ae271bc623764d545db1320b4dc64f (cherry picked from commit 6624e2aa)
-
- Aug 20, 2021
-
-
Android Build Coastguard Worker authored
Merge cherrypicks of [15633344, 15633345, 15633457, 15633423, 15633424, 15633425, 15633095, 15633401, 15632569, 15633426, 15633427, 15633402, 15633346, 15633347, 15633403, 15633458] into sc-release Change-Id: If324c46091cedb24582f468faa6e57447877ca0d
-
Lucas Dupin authored
More neutral baseline colors, created from #00BFFF Test: manual Test: atest SystemPalette Fixes: 197143813 Change-Id: I4dcb62962dfb6f674f63bd99cac7582cec72e888 (cherry picked from commit 0140709a)
-
Santos Cordon authored
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 325cf315)
-
Ahaan Ugale authored
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 0e7131f3)
-
- Aug 19, 2021
-
-
Android Build Coastguard Worker authored
Merge cherrypicks of [15617994, 15618969, 15618970, 15617995, 15618032, 15618033, 15618190, 15620097, 15618565, 15620098, 15617967, 15619902, 15620257, 15619392] into sc-release Change-Id: I49b012d583b48473f4439abe394aed1c2c371f18
-
Evan Laird authored
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 cc30c173)
-
Emilian Peev authored
Allow 'IRequestProcessorImpl' to return the camera sequence id in response to capture requests. Bug: 196090349 Test: atest -c cts/tests/camera/src/android/hardware/camera2/cts/CameraExtensionSessionTest.java Change-Id: I3d67e4ba1b4503cf71c31751920e916d014ef3ab (cherry picked from commit 5cf033cc)
-
- Aug 17, 2021
-
-
Android Build Coastguard Worker authored
Merge cherrypicks of [15601928, 15601978, 15601929, 15602376, 15602372, 15601960, 15601961, 15601962, 15601963, 15601964, 15602416, 15602437, 15602438, 15602440, 15602441, 15602443, 15602444, 15602445, 15602446, 15602447, 15601006, 15601007, 15601008, 15601009, 15601010, 15601011, 15601932, 15601933, 15601934, 15601935, 15602456, 15602457, 15602458, 15602459, 15601981, 15601982, 15601983, 15601984, 15602417, 15602418, 15602419, 15602420, 15602421, 15602422, 15602423, 15602379, 15602380, 15602381, 15602382, 15602383, 15602384, 15602385, 15602386, 15601012, 15601013, 15601014, 15601015, 15602476, 15602477] into sc-release Change-Id: I98d27d05acafe24ad2fe37a9f092f6907e8ed3c7
-
Evan Laird authored
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 c14dd631)
-
Edgar Wang authored
Bug: 187861723 Test: rebuild Change-Id: I3a8c9e00f164d0f0dd381b188ecfd0c4a758a277 Merged-In: I3a8c9e00f164d0f0dd381b188ecfd0c4a758a277 (cherry picked from commit d56251ba)
-
Winson Chiu authored
This reverts commit 76e6f9d2. Reason for revert: b/196030595 Bug: 196030595 Change-Id: Idf42eee3277ceace275aad3e11c7ee692f1171a6 (cherry picked from commit 864538dd)
-
Ryan Mitchell authored
Add null checks to applyResourceOverlaysToWidgetsLocked to protect against a widget provider component info being null. Fixes: 196231621 Fixes: 196331791 Test: none Change-Id: Ia762694523404ac508eb49600306048037f13658 (cherry picked from commit 8c86f395)
-
Joe Bolinger authored
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 (cherry picked from commit 5d5d9eb8)
-
Android Build Coastguard Worker authored
Merge cherrypicks of [15589380, 15589521, 15589522, 15589273, 15589503, 15589504, 15589505, 15589506, 15589507, 15589508, 15589509, 15589510, 15589511, 15589274, 15589562, 15589523, 15589405, 15589406, 15589581, 15589524, 15589525, 15589526, 15589276, 15589277, 15589565, 15589566, 15589528, 15589407, 15589255, 15589516, 15589530, 15589531, 15589569, 15589258] into sc-release Change-Id: Ie51dfebad33c817c1df839f5e364f751e25976c0
-
Evan Laird authored
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 (cherry picked from commit 2b79873e)
-
Jeff Sharkey authored
We're willing to preserve an implicit "Nearby devices" permission grant if this app was already able to interact with nearby devices via background location access. If the app doesn't have background location access, then the implicit "Nearby devices" grant will be revoked as normal. If the "Nearby devices" permission had already been revoked through some other means, it will remain revoked. Bug: 195931693 Test: atest CtsPermission2TestCases CtsPermission3TestCases Change-Id: I7d8df91954525da6473f70cb1759d9507e6a5606 (cherry picked from commit e2e6e67b)
-
Bill Lin authored
From code flow, when onConfigurationChanged() by rotating OneHandedBackgroundPanelOrganizer#showBackgroundPanelLayer() will be invoked and then create one-handed-background-panel even though OHM is not activated. Besides, this could introduce overhead on SF. Test: manual rotate and dumpsys check HWC layers Test: atest WMShellUnitTests Bug: 196306312 Change-Id: Ia766078d5c76b08ab5b24e0ce965ad1d085e4686 (cherry picked from commit 27da5b04)
-
Fabian Kozynski authored
This adds it to the ignored icons in QuickStatusBarHeaderController iconContainer. Test: manual, create managed profile, icon doesn't show. Fixes: 196243622 Change-Id: Ib97b9d947318b09d289076c63995327d356cb5fc (cherry picked from commit 1c785319)
-
Ahaan Ugale authored
When a view is partially visible on the screen, ContentCapture reports only the visible portion (+ a few additional lines). The offsets calculated for this can be out of bounds if the view's displayed text is longer from the original text. Fix: 196414491 Test: manual - translate app to lang with more characters and trigger a relayout (by scrolling for an app with ListView) Test: atest CtsContentCaptureServiceTestCases Change-Id: Iae98133c48cc67a0b00f1b0ab8b93e5adb293423 (cherry picked from commit 273a0eab)
-
Emilian Peev authored
Some preview extensions of the image processor type expect to recevive 'onOutputSurface' calls before the session is enabled by 'onEnableSession'. Bug: 187341271 Test: atest -c cts/tests/camera/src/android/hardware/camera2/cts/CameraExtensionSessionTest.java Change-Id: I67147ec24553cf87d23e33c63692fa7e59c57e5f (cherry picked from commit a0ced2aa)
-
Jayant Chowdhary authored
Bug: 195987968 1) Document mininum pixel array size restriction for ultra high resolution sensors. 2) Add docs explaining mandatory stream combinations for ultra high resolution sensors. Change-Id: Ic630259a57906c475210465588eda1a5cc3f68ec Signed-off-by: Jayant Chowdhary <jchowdhary@google.com> (cherry picked from commit 1f3071d5)
-
Joe Bolinger authored
Bug: 196103931 Test: manual (enroll via settings) Change-Id: I35aae96e4ebb0c13bc567bb926f2e7a549f554ba (cherry picked from commit 6c582e97)
-
Ray Essick authored
renamed to avoid conflict with existing copy in the R framework.jar. The framework.jar copy was removed during S development Bug: 195608856 Test: build Test: cts-tradefed run cts -m CtsMediaTranscodingTestCases Change-Id: I40ab066cd61be8d278f21cc788016f2edd6bb86e (cherry picked from commit 1168d9d0)
-
- Aug 13, 2021
-
-
Android Build Coastguard Worker authored
Merge cherrypicks of [15560884, 15560845, 15560903, 15560904, 15560905, 15560906, 15560769, 15560755, 15557357, 15557358] into sc-release Change-Id: I0d3297dea2e7b755df16d443dd441cff44792f83
-
Matt Pietal authored
When casting or on other displays, the keyguard has always limited the information shown when locked. Don't show the smartspace and icons on these alternate displays Fixes: 196175396 Test: manual (cast to nest display device) Change-Id: Ied1ecff9103d8539f075785409d2951a1be21ab2 (cherry picked from commit 893286a5)
-
Philip Junker authored
Note that this will not prevent currently running apps from accessing usb devies to which a connection has already been established. Removed isCameraDevicePresent() as this has been implemented as well in UsbDevice#getHasVideoCapture(). Bug: 189915399 Test: Install nExt Camera - USB app, verify that camera is not accessible when camera privacy toggle is disabled. Change-Id: Ie60adfe9fc667d883ad4a6b8d7582a4bc17d1549 Merged-In: Ie60adfe9fc667d883ad4a6b8d7582a4bc17d1549 (cherry picked from commit f063780d) (cherry picked from commit 79023f08)
-
Jeff Sharkey authored
As part of introducing AttributionSource across the Bluetooth stack earlier this year, each BluetoothAdapter instance is now associated with a specific AttributionSource, and several instances of shared static code were made BluetoothAdapter-specific so they could be augmented with the relevant AttributionSource. However, processes that create many BluetoothAdapter instances can overload the system, since a IBluetoothManagerCallback was registered for each instance. This change mitigates this by only registering a single IBluetoothManagerCallback for the entire process, and it then reuses the existing sProxyServiceStateCallbacks list for dispatching events to all active adapters within the process. Since it's so late in the release, we keep both mService and sService intact to minimize the size of this CL; future work should refactor to a more robust design, such as Supplier<IBluetooth>. Bug: 195286998, 172022978 Test: atest BluetoothInstrumentationTests Change-Id: I012f3f65e61eaf55e40436486806e56506c928ee (cherry picked from commit f0fa7f9b)
-
Hui Yu authored
In ActivityManagerConstants, add key "fgs_start_allowed_log_sample_rate" for the "allowed" WTF log sample rate, default sample rate is 25%; add key "fgs_start_denied_log_sample_rate" for the "denied" WTF log sample rate, default sample rate is 100%. In ActiveServices.java, use these two sample rates for the FGS start WTF log messages. Bug: 195672687 Test: build and run. Change-Id: I21cd83552b2988f7e5233094d93f93ba1b6af04a (cherry picked from commit d4db713d)
-
- Aug 12, 2021
-
-
Android Build Coastguard Worker authored
Merge cherrypicks of [15548052, 15548053, 15548731, 15548784, 15548801, 15548711, 15548732, 15548733] into sc-release Change-Id: I7e4035112dc704b50d137494297280376b44d54f
-
Evan Severson authored
Also add new testcase for sensor privacy service boot. Test: atest SensorPrivacyServiceMockingTest CtsSensorPrivacyTestCases Manually test booting with old file version Fixes: 195913883 Change-Id: I9d8791e5f27c881afd9e23f94fb5fb9dc891fda4 (cherry picked from commit 4fa06df1)
-
Shinru Han authored
Bug: 195934893 Test: atest ctsLocationPrivilegedTestCases Change-Id: I255e118cabf274811b57e88a35faf8c9e697d8ae (cherry picked from commit e19a11cf)
-
Android Build Coastguard Worker authored
Change-Id: I59d1aa9bf89cf29d59e72207d4e8e5900c4d5666
-
- Aug 11, 2021
-
-
Rob Carr authored
-
Makoto Onuki authored
-
TreeHugger Robot authored
-
Rhed Jao authored
[automerger skipped] Merge "DO NOT MERGE Apply a maximum char count to the load label api" into rvc-dev am: 1c93d677 -s ours am: 37739a5f -s ours am skip reason: subject contains skip directive Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15443820 Change-Id: I9b3d46426a94de80ee45bd72dd8d008b253b81cf
-
Rhed Jao authored
[automerger skipped] Merge "DO NOT MERGE Apply a maximum char count to the load label api" into rvc-dev am: 1c93d677 -s ours am: 586644a9 -s ours am skip reason: subject contains skip directive Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15443820 Change-Id: Id4da740c2b74e35aeffe5f9f2b2f4355f194a18d
-
Rhed Jao authored
[automerger skipped] Merge "DO NOT MERGE Apply a maximum char count to the load label api" into rvc-dev am: 1c93d677 -s ours am skip reason: Merged-In Ia4d768cc93a47cfb8b6f7c4b6dc73abd801809bd with SHA-1 61722016 is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15443820 Change-Id: I98f42b34dafbb4a16ebb265b7dc18b275390b94e
-