755845 Commits

Author SHA1 Message Date
Ling Ma
eb897b1d85 Merge changes from topic "truncate operator name" am: ffa0f982b6 am: 9cf73e369d
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2004810

Change-Id: Ic3985aab30f06ce02ec01e43ce8a6c05abd419a2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-01 22:36:38 +00:00
Benedict Wong
bd14581e6b Merge "Trigger revalidation of VCN, underlying networks" 2022-04-01 22:33:00 +00:00
Treehugger Robot
82e2afb277 Merge "Add context to error message." am: 0754714469
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2052076

Change-Id: I310956878bc02bbf5c0641b6cdc728212ea17946
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-01 22:19:55 +00:00
Treehugger Robot
0754714469 Merge "Add context to error message." 2022-04-01 22:14:12 +00:00
Ling Ma
4cd991467f Merge "setProperty check for byte limit" am: 18b4802337
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2004952

Change-Id: Ia43944b29bc5da26590057e67aaa99b3bd4b7819
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-01 22:14:02 +00:00
Ling Ma
9cf73e369d Merge changes from topic "truncate operator name" am: ffa0f982b6
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2004810

Change-Id: I53d217c4e57a62fc7a4039af16e7e780af5c87f2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-01 22:13:59 +00:00
Joe Bolinger
c9d2193fdc Merge "Add destroy method to metric probes." into tm-dev 2022-04-01 21:54:33 +00:00
Hui Wu
b061e2e60e Merge "Adds more roles to the protectionlevel" into tm-dev 2022-04-01 21:50:00 +00:00
Ling Ma
18b4802337 Merge "setProperty check for byte limit" 2022-04-01 21:43:23 +00:00
Ling Ma
ffa0f982b6 Merge changes from topic "truncate operator name"
* changes:
  Truncate operator name to fit into SystemProp size
  Add truncateStringForUtf8Storage()
2022-04-01 21:43:23 +00:00
Treehugger Robot
a0fd4b8bbb [automerger skipped] Merge "Added command line tool to enable/disable new data stack" am: bdf20659d3 am: 0aeb6102ce am: e414bdfad2 -s ours
am skip reason: Merged-In I9f95e7424e6e74af12a0f6780a58fb5732df7300 with SHA-1 abbaf55198 is already in history

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

Change-Id: I5347008b8d204db7382dbfb90b046cd6e2f9d62e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-01 21:35:14 +00:00
Varun Shah
fdd65f1c74 Merge "Add initial logging for App Background Restrictions metrics." into tm-dev 2022-04-01 21:32:22 +00:00
Songchun Fan
ed6aebc4fc [SettingsProvider] update API javadoc
Address comments from API review

BUG: 227781337
Test: N/A
Change-Id: I3042be0671728d06bf1c7ae09baee538bb82fbe7
Merged-In: I3042be0671728d06bf1c7ae09baee538bb82fbe7
2022-04-01 21:29:24 +00:00
Hui Wu
b20414b8bd Adds more roles to the protectionlevel
MANAGE_CLOUDSEARCH is and will be wanted by many applications. privileged/role should be able to cover most use cases.

Bug: 227041245
Test: atest
Change-Id: Idfb85f9e181968df935c4f27490bae2babadd0d9
2022-04-01 14:25:26 -07:00
Chavi Weingarten
fc5865f69f Merge "Add ScopedLocalFrame in functions that hold Java objects" into tm-dev 2022-04-01 21:18:56 +00:00
Treehugger Robot
e414bdfad2 Merge "Added command line tool to enable/disable new data stack" am: bdf20659d3 am: 0aeb6102ce
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2051831

Change-Id: Icb2dca6d713737eef8cc4a5eb9e235bde71fb774
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-01 21:15:07 +00:00
Brian Lindahl
2dcae95133 Merge "Rename DensityMap to DensityMapping per API review" into tm-dev 2022-04-01 21:05:24 +00:00
Xin Li
4b9118275b Fixup OWNERS file merge conflicts.
Change-Id: I8948b1361211825cc45f049f6484dc290620801b
2022-04-01 21:00:58 +00:00
Treehugger Robot
0aeb6102ce Merge "Added command line tool to enable/disable new data stack" am: bdf20659d3
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2051831

Change-Id: Ie064d0ab40340e4b862a12a73aee4b257b1eaf50
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-01 20:56:31 +00:00
Dmitri Plotnikov
431f988122 Merge "Truncate battery history tags and remove Log.wtf" into tm-dev 2022-04-01 20:54:17 +00:00
Treehugger Robot
bdf20659d3 Merge "Added command line tool to enable/disable new data stack" 2022-04-01 20:40:00 +00:00
Winson
d9aa57e156 Migrate AppDataHelper reconcileAppsData to snapshot
To avoid lock contention when starting a user, migrate
the reconcile calls to use the snapshot and hopefully
avoid taking the lock.

Bug: 220249728

Test: presubmit

Change-Id: I7d893fedbada66d911310c0feed87a77facd10ce
2022-04-01 13:34:43 -07:00
Xin Li
0bb254bd3f Merge Android 12 QPR3 ab/8391262
Bug: 226662282
Merged-In: Id7458a889e8b084a260b18f56db315ee1317b3a6
Change-Id: I4819065c2c2adb24d08fb1e32eefd6f335a1ec48
2022-04-01 20:32:30 +00:00
Shan Huang
69a3984aae Remove OnBackInvokedDispatcherOwner interface.
Test: m -j update-api. Build and flash and test back behavior throughout
the system.
Bug: 227500290

Change-Id: Ibdb13d02e044741d05d99f1cad96e43dc0129fe4
2022-04-01 20:27:34 +00:00
Vadim Caen
d0923a2197 Merge "Split animation methods out of OnBackInvokedCallback" into tm-dev 2022-04-01 20:13:30 +00:00
Vadim Caen
c627777dda Split animation methods out of OnBackInvokedCallback
This makes OnBackInvokedCallback SAM compatible

Bug: 227789359
Test: atest \
        CtsWindowManagerDeviceTestCases:android.server.wm.BackNavigationLegacyTest \
        CtsWindowManagerDeviceTestCases:android.server.wm.BackNavigationTests \
        WmTests:com.android.server.wm.BackNavigationControllerTests \
        FrameworksCoreTests:android.window.BackNavigationTest \
        FrameworksCoreTests:android.window.WindowOnBackInvokedDispatcherTest \
        CtsViewTestCases:android.view.cts.OnBackInvokedDispatcherTest
Change-Id: Iab86b0488f1b3048eb02042191acaeb6a645a0bc
2022-04-01 20:09:26 +00:00
Gaurav Bhola
be5abebe9f Merge "Add the insets visibilities requested by the focussed window in topFocussedWindowChanged() api." into tm-dev 2022-04-01 19:57:58 +00:00
Joe Bolinger
eab24acdb4 Run biometric cleanup on user switch.
This will force the new to user start on the scheduler, open a new session, and close the old user's session in the HAL.

Add a similar user swtich hook to keyguard to refresh the lockout state. Note that lockout behavior is still ill-defined (b/225986544) and HALs may not support a lockout state per user.

Bug: 205908931
Test: manual (unlock, cause lockout, & switch users)
Test: atest KeyguardUpdateMonitorTest

Change-Id: I89d3d7454894bc5caa0cac33e96d7fd0d61e9083
2022-04-01 12:56:35 -07:00
TreeHugger Robot
2a2931d93f Merge "Add logging for package stopped event" into tm-dev 2022-04-01 19:54:17 +00:00
Rafael Higuera Silva
ce7867d377 Fix include location data to check for coarse location first.
Bug: 222766399
Test: make, atest TelephonyLocationTests, manual
Change-Id: Id277d16aceb58324ec70eadfcd3fb871821707c9
Merged-In: Id277d16aceb58324ec70eadfcd3fb871821707c9
(cherry picked from commit 22ca59c42b52d8b8c02429cfbc4717bb55a58fda)
2022-04-01 19:39:55 +00:00
TreeHugger Robot
97dabec966 Merge "Move out PermissionController allowlist entries" into tm-dev 2022-04-01 19:39:20 +00:00
Prabir Pradhan
baf0f20718 Merge "Remove injectInputAfterTransactionsApplied from WMS" into tm-dev 2022-04-01 19:39:15 +00:00
Sarah Chin
43d5f07670 [automerger skipped] Merge "Add PROTOCOL_UNKOWN" am: e5e9a5c339 am: 235c3b6316 am: 228f933f63 -s ours
am skip reason: Merged-In I5bd0351925d27bb2178d4cd0cc93197f463236cd with SHA-1 7319c5f3fd is already in history

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

Change-Id: Ic44cd9f45c3f0a50f352e0ced964d6e478d0a8e6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-01 19:33:01 +00:00
Lucas Silva
01a93ea1e4 Merge "Implement dream complication motion/fade when transitionting to bouncer." into tm-dev 2022-04-01 19:32:34 +00:00
Beverly
f024fc1a8e Trigger face auth on udfps-fingerdown, even on AOD
Test: manual
Fixes: 209924058
Change-Id: Ie6fe439c6d3cd4ed07cbf84e1547d08e2368cd5a
2022-04-01 19:19:48 +00:00
Sarah Chin
228f933f63 Merge "Add PROTOCOL_UNKOWN" am: e5e9a5c339 am: 235c3b6316
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2052598

Change-Id: Ie17d28198fe3b0dd2edf88986550e3cd183f7986
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-01 19:13:22 +00:00
Eric Biggers
e4dcbf5af9 Merge "Remove FDE warning from AccessibilityShortcutChooserActivity" am: db9ea17177 am: b548de7856 am: cd42593479
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2045979

Change-Id: Id302758aa15d64b8d7e00628f90b13782213fb9a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-01 19:03:39 +00:00
Sarah Chin
235c3b6316 Merge "Add PROTOCOL_UNKOWN" am: e5e9a5c339
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2052598

Change-Id: Id55ff9221c025a93ce0e0a73753c82d65a646320
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-01 18:57:39 +00:00
Lucas Silva
07c54de32d Merge "Prevent the bouncer from showing over dreams when swiping down the shade." into tm-dev 2022-04-01 18:50:17 +00:00
Josh Tsuji
432e035300 Fix issue where cold-start launching an activity from the shade while an occluding activity is visible would result in an inescapable black screen.
Fixes: 227341125
Test: use Notify.apk (go/notify-apk) to post a notification that'll launch an activity, then force close Notify, open a Meet call (or other SHOW_WHEN_LOCKED activity), lock the phone, press the power button, pull down the shade, tap the Notify notification, UDFPS, note no inescapable black screen
Change-Id: I57c57cbb156dae79fa46e917285330f07ff7edce
2022-04-01 14:46:09 -04:00
Eric Biggers
cd42593479 Merge "Remove FDE warning from AccessibilityShortcutChooserActivity" am: db9ea17177 am: b548de7856
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2045979

Change-Id: I3fbe51313843c63950cb0e3d8141b88f79d41d77
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-01 18:42:11 +00:00
TreeHugger Robot
f14e35e47d Merge "Move call to captureDisplay outside of the synchronized block." into tm-dev 2022-04-01 18:38:45 +00:00
Miranda Kephart
111177e96b Merge "Fix screenshot actions scrolling" into tm-dev 2022-04-01 18:35:38 +00:00
Fabian Kozynski
3377c4eeba Fix unregisterReceiver in ClipboardOverlayController
We are registering broadcasts using BroadcastDispatcher, so we should
use that to unregister.

Test: atest FrameworksCoreTests:ChooserActivityTest
Test: atest SystemUITests
Fixes 227760347

Change-Id: Ic84140671214787ac3a44fdb9ebb54e88ac6eb7c
2022-04-01 14:34:00 -04:00
Sarah Chin
e5e9a5c339 Merge "Add PROTOCOL_UNKOWN" 2022-04-01 18:32:50 +00:00
Beverly
8fd6efd76d Update UDFPS "press to unlock" strings
To make it clear to the user that we're asking
that they press on the unlock icon.

Fixes: 227501872
Test: trigger face auth, see message
Test: enable a trust agent, then tap empty space on LS,
see message

Change-Id: I4f0d5c9e3be2870a038276944e3e2b3e9ae77630
2022-04-01 18:32:45 +00:00
Beverly Tai
7db16524cf Merge "WAKE_AND_UNLOCK when FP is auth'd while animating screen off" into tm-dev 2022-04-01 18:30:56 +00:00
Eric Biggers
b548de7856 Merge "Remove FDE warning from AccessibilityShortcutChooserActivity" am: db9ea17177
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2045979

Change-Id: I4bc898e73ec0a23b60f3cf365302690f63da5c46
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-01 18:26:05 +00:00
Evan Laird
7809404637 Merge "Use 60Hz frame calculations instead of magic numbers" into tm-dev 2022-04-01 18:20:55 +00:00
Aaron Liu
a9143bf7bd Bouncer: Add style in sim pin view.
We have this style in the normal pin view but not the sim pin view. This
should set the text to primary.

Bug: 224895279
Test: Manual
Change-Id: I61751d5c6afc352c616f8be8c9e82fbfb832c420
2022-04-01 18:20:25 +00:00