Commit Graph

640958 Commits

Author SHA1 Message Date
TreeHugger Robot
8e2813e52b [automerger skipped] Merge "Adds caller check to getAllPackages()" into oc-mr1-dev am: 835ab4eb82 -s ours am: 38fb80f008 -s ours am: 263adb234a -s ours am: 463477087d -s ours
am skip reason: Merged-In I77460ae19a4d41151577646441f11e2eddbb741a with SHA-1 9b694ef4d4 is already in history

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

Change-Id: Id64697d60c6c378fd325d03fc07973823d14dfee
2021-04-27 21:43:08 +00:00
Patrick Baumann
93b289562b [automerger skipped] Merge "Adds caller check to getAllPackages()" into qt-dev am: 9ecea7a435 -s ours am: e32deee19a -s ours
am skip reason: Merged-In I77460ae19a4d41151577646441f11e2eddbb741a with SHA-1 9b694ef4d4 is already in history

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

Change-Id: I40014620cc76286454c704245a689057b79e3834
2021-04-27 21:42:47 +00:00
TreeHugger Robot
48cb3da792 [automerger skipped] Merge "[RESTRICT AUTOMERGE] Use userId instead of USER_CURRENT in shouldLockKeyguard." into qt-dev am: e086a17e7d am: 67352cf086 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I9ff2e866bcd3f281e99bbf63fb557088dfe1f35a
2021-04-27 21:42:28 +00:00
Jonathan Scott
05bc9eb65d [automerger skipped] [RESTRICT AUTOMERGE] Use userId instead of USER_CURRENT in shouldLockKeyguard. am: bb4eded379 am: 5af044fcf2 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I92e1aa20129d0d706a2b72c42154528928f44b48
2021-04-27 21:42:24 +00:00
TreeHugger Robot
ad4df34c13 [automerger skipped] Merge "[RESTRICT AUTOMERGE] Use userId instead of USER_CURRENT in shouldLockKeyguard." into pi-dev am: d48073491f -s ours am: 65f650b6ac am: d2b2ae912b -s ours
am skip reason: subject contains skip directive

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

Change-Id: I49572c1cca89aac85c3246f3d53883565c650114
2021-04-27 21:42:08 +00:00
TreeHugger Robot
9d21d885df [automerger skipped] Merge "Add pkg target to snoozing alarm" into oc-mr1-dev am: 119ebe193f -s ours am: c5cd3bcbc1 -s ours am: 6c6d48d228 -s ours am: 61534f62ce -s ours
am skip reason: Merged-In I6aaf80a11dcae2eca41d4647411126ed41587027 with SHA-1 c73916229d is already in history

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

Change-Id: I4ce9e427c5f7efb9aec26dfbc50d2749393f3dcd
2021-04-27 21:41:57 +00:00
TreeHugger Robot
1d5cfe1c28 [automerger skipped] Merge "Add pkg target to snoozing alarm" into pi-dev am: 691b6ca55b -s ours am: 6b5ceccc48 -s ours am: 69c672fbc9 -s ours
am skip reason: Merged-In I6aaf80a11dcae2eca41d4647411126ed41587027 with SHA-1 c73916229d is already in history

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

Change-Id: I20a2afe1910851fffebd82979cea75d79e33a084
2021-04-27 21:41:39 +00:00
TreeHugger Robot
34e0644a08 [automerger skipped] Merge "Add pkg target to snoozing alarm" into qt-dev am: 8e75c0526a am: 5079aa86c8 -s ours
am skip reason: Merged-In I6aaf80a11dcae2eca41d4647411126ed41587027 with SHA-1 c73916229d is already in history

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

Change-Id: Ib350bdab59821087f6ad6dd261da4e70a0aff1a7
2021-04-27 21:41:16 +00:00
Patrick Baumann
c6ce643435 [automerger skipped] Merge "Adds caller check to getAllPackages()" into pi-dev am: 7905a07048 am: 9069025b9d am: 21756abd75 -s ours
am skip reason: Merged-In I77460ae19a4d41151577646441f11e2eddbb741a with SHA-1 9b694ef4d4 is already in history

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

Change-Id: I74c5f111621b2ebd8846120a807fe7024ff6451b
2021-04-27 21:40:59 +00:00
TreeHugger Robot
2d41f53291 Merge "Changed createOnDeviceTranslator to be asynchronous with callback." into sc-dev 2021-04-27 21:40:44 +00:00
Winson Chiu
bc0aa4c4a3 Revert "Only allow BROWSABLE && DEFAULT Intents to be always opened" am: ffe45e4497 am: 52e9d8f472 am: 6929314484 am: 721ef1bccb
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13728024

Change-Id: I852f5ccc8acca4fb717abea717a9673154dacef3
2021-04-27 21:40:13 +00:00
TreeHugger Robot
2ebc9c19e3 Merge changes from topic "notif-backport" into qt-dev am: a0f134bd11 am: e9ffefbf4d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13453266

Change-Id: I48b858d068504918c4e051791ba1210260daf1f9
2021-04-27 21:39:39 +00:00
Evan Laird
b0417f5a31 [automerger skipped] DO NOT MERGE: Fix interaction tracking logic am: 0e2acaf0a5 -s ours am: 915b162667 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ie53aae568b2f8c829eb77c28d995470f62990ec8
2021-04-27 21:39:35 +00:00
Julia Reynolds
90ef2704fa Merge "Restrict alarm broadcast" into oc-mr1-dev am: 3b0fc6bd38 am: d749dc3510 am: fd89965284
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14103469

Change-Id: I0d3cb5cadb4e36b1b92c23093794fc6e9d582df8
2021-04-27 21:26:12 +00:00
Louis Chang
aecf7c267d [automerger skipped] Detects all activities for whether showing work challenge am: 6820d70823 -s ours am: 1c750cd367 -s ours am: b64eddc2c9 -s ours
am skip reason: Merged-In I5e09b09be547d04fdfd709cb9cd4bcd4a94bbf21 with SHA-1 69b3a3cd04 is already in history

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

Change-Id: I3fee4d4158a7c4b9048475ec2ed7ec8303392bc6
2021-04-27 21:25:31 +00:00
Louis Chang
62c71ab0fd [automerger skipped] Detects all activities for whether showing work challenge am: fe5e1432cf -s ours am: 850810d0fd -s ours
am skip reason: Merged-In I5e09b09be547d04fdfd709cb9cd4bcd4a94bbf21 with SHA-1 69b3a3cd04 is already in history

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

Change-Id: I7612bca8dc621755090ec51236f5111ba7e4fc51
2021-04-27 21:25:12 +00:00
Louis Chang
d5c18447be Detects all activities for whether showing work challenge am: 69b3a3cd04
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14182408

Change-Id: I96c3433ccfb430ce9dae8c8b1459278f814221a3
2021-04-27 21:24:52 +00:00
Beth Thibodeau
b0d6e6cd57 Merge "Increase maximum allowed size for status bar icons" into pi-dev am: d17b979843 am: e219886035
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14054747

Change-Id: Ie39193babaff73ce39b5d6452868696631ae3a56
2021-04-27 21:24:18 +00:00
Chris Tate
22feb668e8 [automerger skipped] Merge "DO NOT MERGE - Disallow deletion of channels with FGS notifications" into oc-mr1-dev am: 6cc887c00d -s ours am: 2bec84a794 -s ours am: 9cd02f1d7f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13779450

Change-Id: I909b2ca55b95d6c05e51d1cfb0007e93159c1a73
2021-04-27 21:23:42 +00:00
Chris Tate
e0a844da8b [automerger skipped] Merge "DO NOT MERGE - Disallow deletion of channels with FGS notifications" into pi-dev am: 1735cdeea4 -s ours am: 76a15c06f4 -s ours
am skip reason: Merged-In I1c2bb78d86f194585d273661cecf3419f51965df with SHA-1 88380a00d5 is already in history

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

Change-Id: I89e87fd4fd57222a3d4095944791cae8082bfc81
2021-04-27 21:23:19 +00:00
Chris Tate
05dd5f18e3 Merge "DO NOT MERGE - Disallow deletion of channels with FGS notifications" into qt-dev am: 7b0067c950
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13728411

Change-Id: I90ad2ab2355c0872d9e211e5b8abc64a8ee79307
2021-04-27 21:22:43 +00:00
Christopher Tate
3c507386ca DO NOT MERGE - Disallow deletion of channels with FGS notifications am: 88380a00d5
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13728411

Change-Id: I5c649a005fb5ad7bd904b64d03488a6be6ff30f7
2021-04-27 21:22:35 +00:00
Makoto Onuki
cda1730463 Merge "Remove too verbose log" into sc-dev 2021-04-27 21:22:16 +00:00
Beth Thibodeau
8d4ac0f225 Increase maximum allowed size for status bar icons am: 8875da5207 am: cc35c516df am: 39ecfe9aed
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14033398

Change-Id: Iae04e57a70fff8199958372476fa63afe7c3cb87
2021-04-27 21:20:11 +00:00
Beth Thibodeau
fcd571f060 Increase maximum allowed size for status bar icons am: 92106a58df
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14053514

Change-Id: Ide2c48e4eedeb5d15a6a3199b7ad66cec1320338
2021-04-27 21:20:01 +00:00
yawanng
e57bd828a9 [automerger skipped] Adds caller check to getAllPackages() am: 264dea63b0 -s ours am: 2f4ff31a2e -s ours
am skip reason: Merged-In I77460ae19a4d41151577646441f11e2eddbb741a with SHA-1 f7efdb4222 is already in history

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

Change-Id: I218345e6cc83e70df9d18c106373e9eb7b21c532
2021-04-27 21:19:53 +00:00
Patrick Baumann
d1c3879708 [automerger skipped] Revert "Adds caller check to getAllPackages()" am: 8d900812b7 -s ours am: 2db12a46a9 -s ours
am skip reason: Merged-In I77460ae19a4d41151577646441f11e2eddbb741a with SHA-1 f7efdb4222 is already in history. Merged-In was found from reverted change.

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

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

Change-Id: I32a5b2c15e36cfe0ed441e0eeea2336e66b35af2
2021-04-27 21:19:46 +00:00
TreeHugger Robot
dcbef79eb9 Merge "Revoke storage on SDK downgrade or new full storage request" into qt-dev am: d035f1b963
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13546393

Change-Id: Iab1bc49f9207d0758abb0221f4adf34a5769087e
2021-04-27 21:19:00 +00:00
TreeHugger Robot
71f344b36a Merge "Limit maximum allowed size for a status bar icon" into oc-mr1-dev am: 7e6da1776d am: a9aaed5d47 am: cdbee965a7
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13430253

Change-Id: I73060a71106ff46f6489f471a004e500a58eed0f
2021-04-27 21:18:32 +00:00
Beth Thibodeau
6540ebaf5c Merge "Limit maximum allowed size for a status bar icon" into qt-dev am: 81a7a760c8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13430605

Change-Id: I65ea450a79ff6cf07debe1aa63dbd8d59cb4e411
2021-04-27 21:18:19 +00:00
Beth Thibodeau
c7731486df Merge "Limit maximum allowed size for a status bar icon" into pi-dev am: ed7118d8bf am: 04043de40c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13430565

Change-Id: I5d7be58c98debc681c655d8cda5745a449b91e58
2021-04-27 21:18:08 +00:00
TreeHugger Robot
463477087d [automerger skipped] Merge "Adds caller check to getAllPackages()" into oc-mr1-dev am: 835ab4eb82 -s ours am: 38fb80f008 -s ours am: 263adb234a -s ours
am skip reason: Merged-In I77460ae19a4d41151577646441f11e2eddbb741a with SHA-1 f7efdb4222 is already in history

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

Change-Id: I6893cba7bea2d12d7d0d88ecc9dc848a696fe9e8
2021-04-27 21:17:47 +00:00
Patrick Baumann
e32deee19a [automerger skipped] Merge "Adds caller check to getAllPackages()" into qt-dev am: 9ecea7a435 -s ours
am skip reason: Merged-In I77460ae19a4d41151577646441f11e2eddbb741a with SHA-1 f7efdb4222 is already in history

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

Change-Id: I4422758672357ae825efc4d6673ef50efa8ad0fe
2021-04-27 21:17:17 +00:00
TreeHugger Robot
67352cf086 Merge "[RESTRICT AUTOMERGE] Use userId instead of USER_CURRENT in shouldLockKeyguard." into qt-dev am: e086a17e7d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13473565

Change-Id: I0e06fea394a4b37bd892b5809967b0ed9b1f6940
2021-04-27 21:16:08 +00:00
Jonathan Scott
5af044fcf2 [RESTRICT AUTOMERGE] Use userId instead of USER_CURRENT in shouldLockKeyguard. am: bb4eded379
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13473565

Change-Id: I0ec616078dd0a5c2a0b99ad43d8d19169f3a2e1d
2021-04-27 21:16:05 +00:00
TreeHugger Robot
d2b2ae912b [automerger skipped] Merge "[RESTRICT AUTOMERGE] Use userId instead of USER_CURRENT in shouldLockKeyguard." into pi-dev am: d48073491f -s ours am: 65f650b6ac
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13473997

Change-Id: Icefb084d913386d4c131b00464e6a1d5d7903486
2021-04-27 21:15:43 +00:00
TreeHugger Robot
61534f62ce [automerger skipped] Merge "Add pkg target to snoozing alarm" into oc-mr1-dev am: 119ebe193f -s ours am: c5cd3bcbc1 -s ours am: 6c6d48d228 -s ours
am skip reason: Merged-In I6aaf80a11dcae2eca41d4647411126ed41587027 with SHA-1 b341523840 is already in history

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

Change-Id: I4e32359519eb0b157070cef6f327f019ec79eff4
2021-04-27 21:14:54 +00:00
TreeHugger Robot
69c672fbc9 [automerger skipped] Merge "Add pkg target to snoozing alarm" into pi-dev am: 691b6ca55b -s ours am: 6b5ceccc48 -s ours
am skip reason: Merged-In I6aaf80a11dcae2eca41d4647411126ed41587027 with SHA-1 49688ab659 is already in history

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

Change-Id: Icaae5b62eef0ed695766ae7a7a9e04aebb944254
2021-04-27 21:14:36 +00:00
TreeHugger Robot
5079aa86c8 Merge "Add pkg target to snoozing alarm" into qt-dev am: 8e75c0526a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13676688

Change-Id: I284e21b4bd4fefb1f152e29de57b80aadfc46b1f
2021-04-27 21:14:18 +00:00
Patrick Baumann
21756abd75 Merge "Adds caller check to getAllPackages()" into pi-dev am: 7905a07048 am: 9069025b9d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13618271

Change-Id: Ibb65b9ccc6d195ed36ecf9e65e9311f786fb8dcf
2021-04-27 21:13:51 +00:00
Winson Chiu
721ef1bccb Revert "Only allow BROWSABLE && DEFAULT Intents to be always opened" am: ffe45e4497 am: 52e9d8f472 am: 6929314484
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13728024

Change-Id: I405c581fa83c02e2b8215a0afe32fe1f834986cf
2021-04-27 21:13:16 +00:00
TreeHugger Robot
e9ffefbf4d Merge changes from topic "notif-backport" into qt-dev am: a0f134bd11
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13453266

Change-Id: I1229f9889329de39fff252dfcd35569d05c02d97
2021-04-27 21:12:06 +00:00
Evan Laird
915b162667 [automerger skipped] DO NOT MERGE: Fix interaction tracking logic am: 0e2acaf0a5 -s ours
am skip reason: skipped by user evanlaird

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

Change-Id: I9c2b201fae9af03245ccb9180363d28b0ae25e05
2021-04-27 21:11:58 +00:00
Kurt Dresner
2a79b677cb Update UiModeManagerServiceTest to use new value of PROJECTION_TYPE_ALL.
Bug: 175130323
Bug: 186462292
Change-Id: I1e6c197f801f217bfb9421c1e2a18e3d38cdaa8e
2021-04-27 21:05:47 +00:00
Beverly
a95ecb0206 Don't show udfps disabled after biometric auth
The running state of fingerprint/face-auth changes before the keyguard
callbacks get called (ie: isKeyguardGoingAway / isKeyguardShowing), so
we need to double check whether the user has used biometrics to
authenticate to determine whether to show the grey circle.

Remove unused layout disabled_udfps_view.

Test: manual, atest SystemUITests
Fixes: 185951882
Change-Id: I573926059452037a639fd29838f43f277736819c
2021-04-27 16:55:47 -04:00
Li Li
e8317ba820 Exempt apps with INSTALL_PACKAGES from freezer
System applications with INSTALL_PACKAGES permission, like store
apps, have long-running processes in order to keep the system stable
and secure. Don't freeze them even if they are cached.

Bug: 184584402
Test: Verified store apps with the permission won't be frozen.

Change-Id: I4ae45a3688ac6d50c0e7d6ef11ce506b283ee82f
Merged-In: I4ae45a3688ac6d50c0e7d6ef11ce506b283ee82f
Signed-off-by: Li Li <dualli@google.com>
(cherry picked from commit 3527866d8d)
2021-04-27 20:44:36 +00:00
Jing Ji
276ff21ada Support aggregation over association sources per process
Process state association tracks the state via the bindings between
the source and the destination processes, there could be overlaps
from the timeline wise over these bindings, hence the exact duration
that a source process binds to a destination process is unknown.

Now add the support of this, by tracking the association sources per
process, the state changes of these sources will be driven by the
changes from individual source state per association.

The output of 'procstats dump -a; will include a new section
"Aggregated Association Sources" per process.An example:

  * com.android.providers.contacts / u0a122 / v30:
      Process android.process.acore (multi, 2 entries):
        [......]
        Aggregated Association Sources:
          <- com.android.bluetooth/1002 (com.android.bluetooth):
               Active count 271 (ImpFg): +1m0s849ms / 9.2%

Also updated the logic of pulling the procstats data from stastd to
use this new data structure.

Bug: 183101565
Bug: 186438656
Test: atest ProcStatsValidationTests
Test: atest ProcessStatsDumpsysTest
Test: atest CtsIncidentHostTestCases:ProcStatsProtoTest
Test: atest CtsStatsdHostTestCases
Test: Manual - compare statsd proto dump vs. dumpsys procstat -a
Change-Id: I9bf9ba7565761ae3d42046ed4886c8d17f6c18b3
2021-04-27 13:44:28 -07:00
Yuri Lin
2e7c07e699 Merge "Use an iterator in removeChannelNotifications rather than index." into sc-dev 2021-04-27 20:40:09 +00:00
Beverly Tai
0847f5a746 Merge "Support touchExplorationEnabled on udfps" into sc-dev 2021-04-27 20:36:02 +00:00
Alan Hurney
d7d47480fd Merge "Load Constellation FTEU ShortCodes 20201" am: 9974b955e5 am: 97ef4addca am: 8a94148a85
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1679495

Change-Id: I5340424b8f1f79998032d1cdb27a9de3f375f6f2
2021-04-27 20:29:45 +00:00