755820 Commits

Author SHA1 Message Date
Evan Severson
fe746b1c39 Add logging for package stopped event
Test: statsd_testdrive -p sysui 450
Bug: 201579707
Change-Id: I99d330a19d8dd1ec8858c7c19bfd5c28e1b3d8eb
2022-03-31 21:04:35 +00:00
Beverly
8948273f59 Update brightness sensor registration on AOD_PAUSED changes
So that the binned brightness sensor immediately updates
the brightness rather than using its 2-3 second debouncing logic.
This prevents a delay in reporting brightness updates when the
device's proximity sensor stops being covered.

Test: atest DozeScreenBrightnessTest
Fixes: 200768925
Change-Id: Ib1158894d4f7b303247feacd24664f628663d733
2022-03-31 20:42:31 +00:00
jimblackler
ac10e4a396 Add loading boost intervention for games.
Bug: 207845905
Test: atest com.android.server.app.GameManagerServiceTests
Change-Id: I2d0b4988797fe21bd7aec6d5351273757ae1a3ce
2022-03-31 20:38:29 +00:00
Jernej Virag
6ad5af88f2 Merge "Add code OWNERS to test OWNERS for internal widgets" am: c207bdcf5f am: 04c7193fb1 am: 789701fb45
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2051242

Change-Id: I803f5aabf39fb36d4f1f975de75b22a1789c0df0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-31 20:36:15 +00:00
Sooraj Sasindran
d91b8125f3 rename renounce fine location data
rename renounce fine location data to include location data

Bug: 210923726
Test: cts
Merged-In: Ic2ce84f51bf394031903ae180788216cfa910fc0
Change-Id: Ic2ce84f51bf394031903ae180788216cfa910fc0
2022-03-31 20:15:20 +00:00
Jernej Virag
789701fb45 Merge "Add code OWNERS to test OWNERS for internal widgets" am: c207bdcf5f am: 04c7193fb1
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2051242

Change-Id: Id7458a889e8b084a260b18f56db315ee1317b3a6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-31 19:59:30 +00:00
Zhi Dou
d0e5677884 Revert "Fix shouldControlUnlockedScreenOff."
This reverts commit 8a0497caf98385fe3dfb4eb64ec7df1bff10a92e.

Reason for revert: DroidMonitor: Potential culprit for Bug 222015750 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.

Change-Id: Ie2add444135faf605d11cf770f085b4fc52a01e2
2022-03-31 19:57:03 +00:00
Automerger Merge Worker
0a43517d44 Merge "[automerger skipped] Merge "[DeviceConfig] cherry-pick deleteProperty SystemApi" am: 6ff14106fc am: ab9e828a43 am: f8adc1692b -s ours" into tm-dev 2022-03-31 19:44:56 +00:00
Adrian Roos
424c5a18c1 Merge "VirtualDisplayTest: Rethrow runOnUiThread exceptions on test thread" into tm-dev 2022-03-31 19:44:18 +00:00
Treehugger Robot
1c1670b2b0 [automerger skipped] Merge "[DeviceConfig] cherry-pick deleteProperty SystemApi" am: 6ff14106fc am: ab9e828a43 am: f8adc1692b -s ours
am skip reason: Merged-In I43d7177c509501efd65e32ab3ad000d17d6ffb6c with SHA-1 598a193f7f is already in history

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

Change-Id: I413af93abd089096f814fe11d7a612896d431749
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-31 19:44:14 +00:00
Jernej Virag
04c7193fb1 Merge "Add code OWNERS to test OWNERS for internal widgets" am: c207bdcf5f
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2051242

Change-Id: Id95ed0b6de2aed859ab1069343bf0499353da26d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-31 19:29:03 +00:00
Treehugger Robot
f8adc1692b Merge "[DeviceConfig] cherry-pick deleteProperty SystemApi" am: 6ff14106fc am: ab9e828a43
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2040764

Change-Id: Id0b7cb4f43df62a2a900fc0eab016aeb1a08c89c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-31 19:22:46 +00:00
Jernej Virag
c207bdcf5f Merge "Add code OWNERS to test OWNERS for internal widgets" 2022-03-31 19:11:07 +00:00
Treehugger Robot
ab9e828a43 Merge "[DeviceConfig] cherry-pick deleteProperty SystemApi" am: 6ff14106fc
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2040764

Change-Id: I4cf03283a253a93f793c6ccad088272972d5e048
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-31 19:00:00 +00:00
Hongwei Wang
b1ffb7953c Do not set shadow when leaving PiP mode
Regression from ag/17456722 that setting the shadow radius when leaving
away from PiP would result in screen dimming.

Change to apply shadow radius when entering / moving / resizing PiP only

Bug: 227607130
Test: follow the reproduce steps in bug
Change-Id: Ie4d4dba94a1c66da52825798df60ebf3f971aa32
2022-03-31 18:47:52 +00:00
Joshua Mccloskey
953115987f Merge "Updating UDFPS strings." into tm-dev 2022-03-31 18:47:51 +00:00
eunjeongshin
d968217777 Update user consent dialog for device log access
Consent dialog string update from "Only this time" to "Allow one-time access".

This codebase is the continuity of the implementation ag/16618162 to
obtain user consent.

Bug: 193708292
Test: CtsVerifier
Ignore-AOSP-First: pending fix for logcat privacy issue
Change-Id: I27c16ec89d097d52e649c961b80ffb1284680202
2022-03-31 18:45:49 +00:00
Santos Cordon
b20c5a1d49 Undeprecate LayoutParams.preferredRefreshRate
This was previously deprecated in favor of preferredDisplayModeId.
However, display modes include specific resolutions
so we would still need an API for the valid use-case
of specifying only a preferred refresh rate.

Bug: 227627158
Bug: 224915081
Test: built locally
Change-Id: Ic7c711d03d3ccc7a5193b26ca38159f048777927
2022-03-31 18:43:22 +00:00
Treehugger Robot
6ff14106fc Merge "[DeviceConfig] cherry-pick deleteProperty SystemApi" 2022-03-31 18:39:09 +00:00
Miranda Kephart
a1b21a7cb2 Merge "Make overlay dismiss button color_tertiary" into tm-dev 2022-03-31 18:33:36 +00:00
Jernej Virag
02725bd669 Merge "Fix loaded size of BigPicture bitmap" into tm-dev 2022-03-31 18:31:37 +00:00
Lucas Silva
0681a81f4e Implement dream complication motion/fade when transitionting to bouncer.
The top complications will move first, and then the bottom
complications.

Test: locally on device
Test: atest ComplicationLayoutEngineTest
Bug: 220307939
Change-Id: I0d88caa2c2eb3eb03294379a9356e7ffd8856c30
2022-03-31 14:31:05 -04:00
Simran Basi
f5debd0bf5 Merge "Delete useTargetActivityForQuickAccess." into tm-dev 2022-03-31 18:26:52 +00:00
Simran Basi
ab7ee498bc Merge "Delete attribute useTargetActivityForQuickAccess." into tm-dev 2022-03-31 18:26:52 +00:00
eunjeongshin
62785504f6 Update LogcatManagerService to call getUidProcessState to retrieve
process state

Bug fix to retrieve process state by calling getUidProcessState() rather
than calling getUidImportance()

This codebase is the continuity of the implementation ag/16618162 to
obtain user consent.

Bug: 193708292
Test: CtsVerifier
Ignore-AOSP-First: pending fix for logcat privacy issue
Change-Id: I55afc2a11744eeb5da83222b953b539c1bc60b05
2022-03-31 18:26:38 +00:00
Edgar Wang
d410029469 Update TabLayout background to align the latest spec
Bug: 226554352
Test: visual
Change-Id: Ibe54586033332e8d793fb1d6bd5cc858bd03ac4b
2022-04-01 02:18:35 +08:00
Kweku Adams
e8ef2d8dea Make sure to stop EJs when quota is finished.
If a job is started as an EJ, we should stop it once the EJ quota is
finished, regardless of remaining regular quota. If we don't, then the
job would get EJ privileges even though the app shouldn't be getting
them anymore.

Bug: 224533485
Test: atest CtsJobSchedulerTestCases:JobThrottlingTest#testRestrictingStopReason_ExpeditedQuota_noCharging
Test: atest CtsJobSchedulerTestCases:JobThrottlingTest#testRestrictingStopReason_ExpeditedQuota_startOnCharging
Test: atest CtsJobSchedulerTestCases
Change-Id: Ib11023c4e3c05f2b3512bd069bda953fdd9bd0b9
2022-03-31 18:15:43 +00:00
Lais Andrade
30deaa8bf8 Merge "Fix VibratorManager cmd for on-off waveforms" into tm-dev 2022-03-31 18:10:51 +00:00
Edgar Wang
dd99260942 Merge "Update ActivityEmbeddingUtils" into tm-dev 2022-03-31 17:42:26 +00:00
TreeHugger Robot
9172a68c1a Merge "Don't allow an external service to be an A11y service" into tm-dev 2022-03-31 17:36:47 +00:00
Xiaowen Lei
16ba50d5f5 Merge "Add dream component name to dream start/stop events logging." into tm-dev 2022-03-31 17:24:59 +00:00
Hui Yu
8509bfd238 Merge "Fix timing issue on the second or later Service.startForeground()." into tm-dev 2022-03-31 17:21:07 +00:00
William Loh
037432221f Merge "Default to all users in pm list packages shell command" into tm-dev 2022-03-31 17:18:08 +00:00
William Leshner
963615c766 Merge "Fetch active notifications on a background thread." into tm-dev 2022-03-31 17:04:40 +00:00
Miranda Kephart
daa7263f1f Add ClipData to clipboard REMOTE_COPY intent
Propagate the clipData from the clipboard URI to the app receiving
the REMOTE_COPY intent (including URI permissions). Also limits
to a configurable component.

Bug: 217724692
Bug: 217739484
Test: manual, using test app implementing REMOTE_COPY
Change-Id: Ie9f700c2dc546960334c3a0f5051f75d08b897cb
2022-03-31 12:51:28 -04:00
Nathalie Le Clair
121a209ae9 Merge changes I46fb8cfe,I4181b465,I99e1ca1d,I66b09693 into tm-dev
* changes:
  Only invoke listener once physical address becomes known
  Don't remove devices on onHotplug()
  Assign local device portId 0
  Set device type on first message received
2022-03-31 16:45:49 +00:00
Lucas Lin
7e943a04c5 Merge "Clear mInterface before calling resetIkeState()" am: 1d5282f4dd am: a093773ca5 am: c5bdf9b7a4
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2049444

Change-Id: Ie7be19d0bdf79049bdb124e60da62561bbd6c201
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-31 16:38:53 +00:00
Lucas Lin
c5bdf9b7a4 Merge "Clear mInterface before calling resetIkeState()" am: 1d5282f4dd am: a093773ca5
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2049444

Change-Id: Ie2fb4a49195574ac91609d269fc72585674e33d5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-31 16:17:54 +00:00
Beverly
c89796fd60 Separate out bouncer updates
Some callbacks want to know when the bouncer
starts transitioning to show (ie: UDFPS animations)
while other callbacks only care if the bouncer
actually fully showed (ie: running face auth).

We want to make sure we don't over-trigger
face auth, so only request face auth when
we know the bouncer is fully shown rather
than in the middle of a transition to potentially
showing the bouncer (sometimes it can be quickly
cancelled).

Test: atest SystemUITests
Fixes: 226967764
Change-Id: Ifca6fb1861992a78815066571019226322260279
2022-03-31 16:14:38 +00:00
Yu-Han Yang
a66381ab2d Merge "Log GNSS PSDS downloads" into tm-dev 2022-03-31 16:11:15 +00:00
Neil Fuller
be140917c6 [automerger skipped] Merge "Add Shell permission to support manual testing" am: a2b92f89ec am: 40bb89325f am: aff1739e5d -s ours
am skip reason: Merged-In I377cab85a1b39ef2887b452d1ffcdc5b00a8d5ab with SHA-1 c55590c810 is already in history

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

Change-Id: I7a5305e6060aa0d601e922f0cc829105d3065b2a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-31 16:10:41 +00:00
Lucas Lin
a093773ca5 Merge "Clear mInterface before calling resetIkeState()" am: 1d5282f4dd
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2049444

Change-Id: Ibc1311f6db11c72eef82633661edab8e6dfee2d4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-31 15:51:51 +00:00
Jernej Virag
6a1ca2ff49 Fix loaded size of BigPicture bitmap
Right now the big picutre bitmap was loaded at 480px from URI and unrestricted from any other source. This adjusts that size to always consistently restrict it to 358dp, which is the maximum size of notifications.

Bug:210690571
Bug:218845090

Test: Manually on device
Change-Id: I9586488ba307e19bdc8c1af6f8c99cd369cd94c9
2022-03-31 15:51:40 +00:00
Neil Fuller
aff1739e5d Merge "Add Shell permission to support manual testing" am: a2b92f89ec am: 40bb89325f
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2047905

Change-Id: Id865b55300c2128d42a8296fc6d6cd0a812d17dc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-31 15:45:31 +00:00
Lucas Lin
1d5282f4dd Merge "Clear mInterface before calling resetIkeState()" 2022-03-31 15:35:53 +00:00
TreeHugger Robot
5b6ba1cfde Merge "Only allow the system server to connect to sync adapters" into tm-dev 2022-03-31 15:35:08 +00:00
Jernej Virag
590fb801d3 Move ClipboardOverlayController broadcast handling to background thread
BroadcastDispatcher and BroadcastSender will handle this on background threads and avoid jank.

Bug: 224545601
Test: Tested ScreenshotView functionality on a physical device
Change-Id: I3b1c0d3f14dc4e1010a2e8754aac57755ce726cc
2022-03-31 15:33:38 +00:00
Luca Zuccarini
4896c9224b Merge "Add animateAddition() to the ViewBoundAnimator API." into tm-dev 2022-03-31 15:30:02 +00:00
Neil Fuller
40bb89325f Merge "Add Shell permission to support manual testing" am: a2b92f89ec
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2047905

Change-Id: I441cec38fb750e2d9492860873ee9f5b331c4747
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-31 15:24:40 +00:00
Steven Moreland
ec56973eb7 Merge "Parcel: recycle recycles" into tm-dev 2022-03-31 15:21:35 +00:00