Commit Graph

646687 Commits

Author SHA1 Message Date
TreeHugger Robot
bf09a9fac0 Merge "Show the generic bouncer on remote input" into sc-dev 2021-07-17 00:11:25 +00:00
Winson Chung
00d2556f71 Merge "Fix a couple more issues with canceling the recents animation w/ screenshots" into sc-dev 2021-07-16 23:47:27 +00:00
Sergey Volnov
c648d0f4b7 Merge "speech: queryIntentService-AsUser-" into sc-dev 2021-07-16 23:47:14 +00:00
Winson Chung
5af8fe680b Merge "Account for recents animation when reporting client visibility" into sc-dev 2021-07-16 23:44:41 +00:00
Benedict Wong
dd6c887985 Merge "Limit VCNs to one running at a given time" into sc-dev 2021-07-16 23:23:09 +00:00
TreeHugger Robot
c82b9ce1b3 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod am: d46444a65c -s ours
am skip reason: subject contains skip directive

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

Change-Id: I9ef4882b3be3f9b16606518eaadece4d3077794b
2021-07-16 22:31:21 +00:00
TreeHugger Robot
3529cbf6c6 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-07-16 22:25:17 +00:00
Winson Chung
c4f76dd523 Account for recents animation when reporting client visibility
- While the current app is still resumed and running in overview, the
  start of a new activity will trigger the current app to pause and be
  added to the stopping list while the new app is passed to the
  existing recents animation via onTaskAppeared() callback. We don't
  actually process the stopping activities until the recents animation
  is done, but pausing will trigger the report client visibility to
  the app if the animation is complete (which triggers the SurfaceView
  to destroy the surface).  This check needs to also account for the
  recents animation that is driving the launching app as well.

Fixes: 184211875
Test: Open an app with a SurfaceView in overview and then launch the
      next app (repeat until you see a blank area where the SV is)
Change-Id: I35d1947795f529b701af22586b23441d5ac55313
Merged-In: I35d1947795f529b701af22586b23441d5ac55313
2021-07-16 22:17:56 +00:00
TreeHugger Robot
71436876c2 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: 88d66e7869 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ic83b61c18684ce14f53f82a8fed4e7bd96e0d70c
2021-07-16 22:15:02 +00:00
TreeHugger Robot
d46444a65c Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod 2021-07-16 22:12:53 +00:00
Benedict Wong
e53cbf4df3 Limit VCNs to one running at a given time
This change ensures that there is only ever one VCN running at a given
point in time, and that if the device has switched to using a
subscription in a different subscription group, the VCN will immediately
tear down.

This ensures that when on a DSDS device, when the VCN-enabled
subscription is not the default/active subscription, the other
subscription's network will never be outscored by the VCN, and thus get
torn down.

Bug: 190761448
Test: atest FrameworksVcnTests
Test: Manual testing to ensure common functionality
Original-Change: https://android-review.googlesource.com/1767050
Merged-In: I8031fab7502880d38420058451df41f47567c458
Change-Id: I8031fab7502880d38420058451df41f47567c458
2021-07-16 22:03:37 +00:00
Kevin Chyn
a7b91a1c27 Merge changes from topic "biometric-haptic" into sc-dev
* changes:
  2/n: Update fingerprint vibration logic
  1/n: Move UDFPS enroll haptics back to system_server
2021-07-16 21:59:18 +00:00
TreeHugger Robot
88d66e7869 Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2021-07-16 21:59:12 +00:00
TreeHugger Robot
f560a753fd Merge "In VuklanManager make sure we have a valid semaphore context before destroying it." into sc-dev 2021-07-16 21:26:53 +00:00
Erik Wolsheimer
defab5707c Merge "Prevent fatal exception at AppOpsService$InProgressStartOpEvent#finish" into sc-dev 2021-07-16 21:20:45 +00:00
Jing Ji
72a09019a0 Merge "Perform oomAdjUpdate prior to scheduling service transactions" into sc-dev 2021-07-16 21:12:29 +00:00
Kate Montgomery
831f52e0d5 Merge "Do not specify a workSource when setting a delayed alarm so that the alarm can still wake the device up when the device is idle as the AlarmManager.FLAG_ALLOW_WHILE_IDLE_UNRESTRICTED flag indicates." into sc-dev 2021-07-16 20:36:18 +00:00
TreeHugger Robot
91ec11ddad Merge "Update kg lock icon logic" into sc-dev 2021-07-16 20:06:22 +00:00
Beverly
126e94e2c2 Update kg lock icon logic
- don't animate fp => unlock unless udfps was enrolled
- show a static unlock icon if the device wasn't previously locked

Test: manual
  - swipe to unlock
  - face only
  - fp only
  - co-ex
  - removing biometric auth => swipe to unlock
Bug: 193878791
Change-Id: I35d393383674acb03f06ea58fb8aabc2a820ad7c
2021-07-16 19:50:42 +00:00
Bill Yi
3c653e82b7 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I41984668136c0940f9b386d4d94b1352563dbcba
2021-07-16 19:25:00 +00:00
Dave Mankoff
8981a5e756 Merge "Use Provider for EdgeBackGestureHandler" into sc-dev 2021-07-16 19:23:08 +00:00
Kevin Chyn
2c904ea562 2/n: Update fingerprint vibration logic
1) adds "mShouldVibrate" as a property for AcquisitionClient.
   Philosophically, all clients that inherit this class should be able
   to decide if haptics occur in onAuthentication*
2) UDFPS AIDL enroll haptic occurs when ACQUIRED_GOOD is received
3) UDFPS AIDL auth haptic continues to happen when success/reject is
   known (documenting reason in the bug below)

Test: manual enroll+auth
Test: atest com.android.server.biometrics
Test: adb shell dumpsys vibrator_manager

Bug: 193089985

Change-Id: I8ae60f99d36a4f49985411001670df3ee108768f
2021-07-16 12:20:43 -07:00
Bill Yi
d7256be96f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iaf8d5b3ee40bbc9dabfc617c3a21ed9e12114392
2021-07-16 18:58:52 +00:00
Bill Yi
3d371e4d09 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I918a15a270f0122ea9666add1c659d67881185e2
2021-07-16 18:25:44 +00:00
Jeff DeCew
d1bd8119c4 Merge "Reduce double header spacing in Conversation and Call notifications." into sc-dev 2021-07-16 18:19:06 +00:00
Brad Ebinger
c3e6fc7a05 Merge "Gate CDMA Supplementary Services on a CarrierConfig item" into sc-dev 2021-07-16 18:04:16 +00:00
TreeHugger Robot
5235bc493d Merge "Fix NPE when calling PasswordViewEntry.getWindowInsetsController().hide()" into sc-dev 2021-07-16 17:29:46 +00:00
Sally Yuen
ea5ce681f3 Merge "Don't query a null AccessibiiltyNodeInfo when populating ViewStructure" into sc-dev 2021-07-16 16:53:17 +00:00
TreeHugger Robot
717af18b7e Merge "Null check color_space_ptr in draw functor" into sc-dev 2021-07-16 16:52:59 +00:00
Nate Myren
0abd07b3fb Merge "Null safe package name in AppOps writeState" into sc-dev 2021-07-16 16:41:28 +00:00
Nate Myren
0669fb0bfa Merge "Correctly set trusted AttributionSource in RecognitionService" into sc-dev 2021-07-16 16:37:57 +00:00
Beverly
8bcd04b7df Show the generic bouncer on remote input
Instead of directly showing the pin/pattern/password bouncer.

Test: manual, atest StatusBarRemoteInputCallbackTest
Fixes: 192869012
Change-Id: Ia38a6b5569d63ca37f4cdba922f60f0359c38dd7
2021-07-16 12:18:40 -04:00
TreeHugger Robot
e850823da0 Merge "Use '!' instead of 'x' in signal drawable" into sc-dev 2021-07-16 15:30:34 +00:00
Bill Yi
8cacd78125 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 8a8efcd553 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Id11eea0595acc371622ec03ee595b7f214760e78
2021-07-16 15:25:36 +00:00
Bill Yi
4edf7c6ad0 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 01d6753e99 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I6689bafc7ca24341da9af163fa1fe6f169e83fd4
2021-07-16 15:05:25 +00:00
Jeff DeCew
86650152de Reduce double header spacing in Conversation and Call notifications.
Fixes: 189723284
Test: Post conversation and call notifs; adjust display size to largest, allow expander to appear, validate that caller name shows 2 letters ans an ellipsis.
Change-Id: I336e2b01654da255358a5b608556608955f2335d
2021-07-16 10:59:29 -04:00
Dave Mankoff
78fd4b2303 Use Provider for EdgeBackGestureHandler
Ensures that EdgeBackGestureHandler is not a singleton.

Fixes: 193758967
Test: atest SystemUITests
Change-Id: I13f0130b57cf19d2ec8c3c4285a6785aba076486
Merged-In: I13f0130b57cf19d2ec8c3c4285a6785aba076486
2021-07-16 10:04:52 -04:00
Ming-Shin Lu
120ae3dbed Fix NPE when calling PasswordViewEntry.getWindowInsetsController().hide()
As PasswordViewEntry didn't always attached to KeyguardPasswordView,
check if the view is attached in case NPE happen when getting null
WindowInsetsController

Fix: 192644416
Test: manual test as issue steps
Test: 1) make a security lock
      2) unlocked to go to launcher
      3) turn off screen
      4) check the log and make sure no crash log.
Change-Id: I13897f05576150b2f5e867c43d20efb02e681cef
2021-07-16 21:49:43 +08:00
Kriti Dang
0077afd88a Merge "Make AudioManager.getReportedSurroundFormats a TestApi" into sc-dev 2021-07-16 08:03:05 +00:00
Bill Yi
01d6753e99 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I83eeff1db894c0073f3f2df197e0d81d1a41c6cf
2021-07-16 07:56:49 +00:00
Bill Yi
8a8efcd553 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ic34f83d52511efa1e54a5c2c9cfa8664033dab88
2021-07-16 07:48:54 +00:00
Chris Li
e032c8face Merge "Clean up previous DA organizer when registering" into sc-dev 2021-07-16 06:53:18 +00:00
Tony Huang
f4690485e1 Merge "Prevent having empty task added back into TDA" into sc-dev 2021-07-16 05:56:08 +00:00
TreeHugger Robot
28a77d5846 Merge "Make ImePerfTest wait for animation end" into sc-dev 2021-07-16 05:40:45 +00:00
Ming-Shin Lu
efda0f9277 Merge "Using WindowInsets API to hide keyboard on LockScreen when screen-off" into sc-dev 2021-07-16 04:51:23 +00:00
Winson Chung
cbcf2ca232 Fix a couple more issues with canceling the recents animation w/ screenshots
- There are a couple scenarios that were exposed in further testing of
  cancelling the recents animation with screenshots:
1) ensure that we force-cancel the recents animation (ie. continue
   cancel when deferred) if the process dies, the failsafe occurs
   or starting a new animation.  Previous the failsafe was not
   continuing since it was already canceled
2) Add a failsafe when deferring cancelling. This is a catch-all for
   cases where launcher fails to return promptly, the system won't
   be stuck in a pending state waiting for the cleanup
3) Always finish the animation when requested by the runner even if
   there is a deferred cancel. Launcher was assuming that this was
   the case, but we were actually skipping the finish (which also
   causes the controller on the launcher side to be cleared) which
   prevents the cleanupScreenshot() from happening.

Bug: 192564669
Test: atest RecentsAnimationControllerTest

Change-Id: I8952a0c404bb17056c03f2bc8e78f51fc5bd0a1e
2021-07-16 04:13:50 +00:00
Erik Wolsheimer
f4148eafe5 Prevent fatal exception at AppOpsService$InProgressStartOpEvent#finish
Bug: 193757138
Test: Manual
Change-Id: I6187e6c1e12fbda0d646a288a7e7fad20832a568
2021-07-16 04:02:30 +00:00
Sally
3b548655fd Don't query a null AccessibiiltyNodeInfo when populating ViewStructure
Chrome may crash with an NPE

Bug: 193839657
Test: builds
Change-Id: I106bdf80678f9edd6fbd5193d3a79a48c95a1d7a
2021-07-16 01:07:13 +00:00
Kevin Chyn
62e3e3aecf 1/n: Move UDFPS enroll haptics back to system_server
The last enrollment step no longer requires special treatment.
This also allows us to consolidate haptic logic (eventually)
into one place (system_server)

Bug: 193089985
Test: enroll
Change-Id: Ib71e05c37c607a04673b139708df80f7a037c123
2021-07-15 17:56:02 -07:00
Bo Liu
f267de7625 Null check color_space_ptr in draw functor
Assume sRGB if null.

Bug: 187798471
Test: Checked webview still starts up and draws.
Change-Id: Idf8c8291bde0ce0624085afd143096c357246672
2021-07-15 20:46:26 -04:00