OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "DisplayModeDirector: make settings higher priority than app request" into...
TreeHugger Robot [Thu, 13 Jun 2019 18:08:25 +0000 (18:08 +0000)]
Merge "DisplayModeDirector: make settings higher priority than app request" into qt-r1-dev

5 years agoMerge "Always re-enable the fallback WebView if needed." into qt-dev
Torne (Richard Coles) [Thu, 13 Jun 2019 17:47:13 +0000 (10:47 -0700)]
Merge "Always re-enable the fallback WebView if needed." into qt-dev
am: 4c510c08da

Change-Id: Ie935a947113b360d97a2d5af938b92d53190308c

5 years agoMerge "Always re-enable the fallback WebView if needed." into qt-dev
TreeHugger Robot [Thu, 13 Jun 2019 17:25:32 +0000 (17:25 +0000)]
Merge "Always re-enable the fallback WebView if needed." into qt-dev

5 years agoMerge "Add keylayout for Xbox One USB controller" into qt-dev
Siarhei Vishniakou [Thu, 13 Jun 2019 17:08:05 +0000 (10:08 -0700)]
Merge "Add keylayout for Xbox One USB controller" into qt-dev
am: 77c1c938a5

Change-Id: I783281baeac2d10437826b2b21c5c086835ec677

5 years agoMerge "Add keylayout for Xbox One USB controller" into qt-dev
TreeHugger Robot [Thu, 13 Jun 2019 16:51:03 +0000 (16:51 +0000)]
Merge "Add keylayout for Xbox One USB controller" into qt-dev

5 years agoMerge "Game Driver: Add support for prerelease channel" into qt-dev
Yiwei Zhang [Thu, 13 Jun 2019 15:45:37 +0000 (08:45 -0700)]
Merge "Game Driver: Add support for prerelease channel" into qt-dev
am: ba3f191bd5

Change-Id: I73ec6c30adf0b084a3bbb191eaf66193b2151a47

5 years agoMerge "Game Driver: Add support for prerelease channel" into qt-dev
TreeHugger Robot [Thu, 13 Jun 2019 15:38:54 +0000 (15:38 +0000)]
Merge "Game Driver: Add support for prerelease channel" into qt-dev

5 years agoMerge "Set channel dialog switches to 48dp height" into qt-dev
Evan Laird [Thu, 13 Jun 2019 14:36:19 +0000 (07:36 -0700)]
Merge "Set channel dialog switches to 48dp height" into qt-dev
am: 3e83e8ee65

Change-Id: Iac825bf2f52b3bff59b522b57a71e30af1de2bd9

5 years agoMerge "Set channel dialog switches to 48dp height" into qt-dev
TreeHugger Robot [Thu, 13 Jun 2019 14:29:12 +0000 (14:29 +0000)]
Merge "Set channel dialog switches to 48dp height" into qt-dev

5 years agoMerge "Invalidate SignalDrawable on level change." into qt-dev
Amin Shaikh [Thu, 13 Jun 2019 14:26:15 +0000 (07:26 -0700)]
Merge "Invalidate SignalDrawable on level change." into qt-dev
am: fb5526ce13

Change-Id: I681e8c822dfcf612c949f1e92ff9120401bf49cb

5 years agoMerge "Invalidate SignalDrawable on level change." into qt-dev
TreeHugger Robot [Thu, 13 Jun 2019 14:14:43 +0000 (14:14 +0000)]
Merge "Invalidate SignalDrawable on level change." into qt-dev

5 years agoMerge "Move legacy obb data migration to a handler thread." into qt-dev
Narayan Kamath [Thu, 13 Jun 2019 09:34:06 +0000 (02:34 -0700)]
Merge "Move legacy obb data migration to a handler thread." into qt-dev
am: 6d371e092e

Change-Id: I3d2ac607aa678ea7947b27d3b86a6bff9300100d

5 years agoMerge "Move legacy obb data migration to a handler thread." into qt-dev
Narayan Kamath [Thu, 13 Jun 2019 09:23:59 +0000 (09:23 +0000)]
Merge "Move legacy obb data migration to a handler thread." into qt-dev

5 years agoMerge "Fixes an issue where the padding to the clock was wrong" into qt-r1-dev
TreeHugger Robot [Thu, 13 Jun 2019 02:36:41 +0000 (02:36 +0000)]
Merge "Fixes an issue where the padding to the clock was wrong" into qt-r1-dev

5 years agoMerge "Reconfigure GNSS HAL NFW proxy app list on GNSS service crash" into qt-dev
Anil Admal [Thu, 13 Jun 2019 02:34:15 +0000 (19:34 -0700)]
Merge "Reconfigure GNSS HAL NFW proxy app list on GNSS service crash" into qt-dev
am: 2bc56a820a

Change-Id: I85337c7e7ee2316bb90a72a9792134a347593895

5 years agoMerge "Hide album art when face bypass" into qt-r1-dev
TreeHugger Robot [Thu, 13 Jun 2019 02:32:20 +0000 (02:32 +0000)]
Merge "Hide album art when face bypass" into qt-r1-dev

5 years agoMerge "Reconfigure GNSS HAL NFW proxy app list on GNSS service crash" into qt-dev
Anil Admal [Thu, 13 Jun 2019 02:13:25 +0000 (02:13 +0000)]
Merge "Reconfigure GNSS HAL NFW proxy app list on GNSS service crash" into qt-dev

5 years agoMerge "Revert "Add extra debug to capture system state"" into qt-dev
Todd Kennedy [Thu, 13 Jun 2019 01:58:54 +0000 (18:58 -0700)]
Merge "Revert "Add extra debug to capture system state"" into qt-dev
am: 3abd182c39

Change-Id: Icd7cf75211b00a50be6ebda0eca2d1397e5519af

5 years agoMerge "Revert "Add extra debug to capture system state"" into qt-dev
TreeHugger Robot [Thu, 13 Jun 2019 01:40:41 +0000 (01:40 +0000)]
Merge "Revert "Add extra debug to capture system state"" into qt-dev

5 years agoUpdate dirty-image-objects
Mathieu Chartier [Thu, 13 Jun 2019 01:15:37 +0000 (18:15 -0700)]
Update dirty-image-objects
am: 4c7291f76c

Change-Id: I84f133ee9ebd1670ea9e3c5f4b9512f088bfdb4b

5 years agoMerge "Game Driver: Add settings global for prerelease driver opt in option" into...
Yiwei Zhang [Thu, 13 Jun 2019 01:13:40 +0000 (18:13 -0700)]
Merge "Game Driver: Add settings global for prerelease driver opt in option" into qt-dev
am: ca354f308d

Change-Id: I62ade6ba3b577080b32165c7c03ce61a66448bb3

5 years agoMerge "Fix setPositionListener race condition" into qt-dev
John Reck [Thu, 13 Jun 2019 01:10:47 +0000 (18:10 -0700)]
Merge "Fix setPositionListener race condition" into qt-dev
am: 2c52298236

Change-Id: Iea1515f11646a38bf7252ac7ee547296aeddced1

5 years agoMerge "Updated string." into qt-r1-dev
Joshua Mccloskey [Thu, 13 Jun 2019 01:09:12 +0000 (01:09 +0000)]
Merge "Updated string." into qt-r1-dev

5 years agoGame Driver: Add support for prerelease channel
Yiwei Zhang [Mon, 10 Jun 2019 06:29:59 +0000 (23:29 -0700)]
Game Driver: Add support for prerelease channel

Bug: 134881329
Test: Manual test with prerelease driver.
Change-Id: I4865bbf0126df9c470aa7f1c163910eb58fb1a8b

5 years agoUpdate dirty-image-objects
Mathieu Chartier [Wed, 12 Jun 2019 18:45:52 +0000 (11:45 -0700)]
Update dirty-image-objects

Numbers 60s after boot on taimen, saves ~4MB of RAM system wide.

Obtained on apps:
system_server
com.android.systemui
com.android.phone
com.android.nfc
com.google.android.networkstack
com.android.bluetooth
com.google.android.apps.nexuslauncher
com.google.android.gms.persistent
com.google.android.as
com.google.process.gservices
com.google.android.gms
com.google.android.inputmethod.latin

Before (measured processes):
                PSS     Private Dirty
    .Boot art     2538     2300        0        0
    .Boot art     2663     2428        0        0
    .Boot art     1962     1676        0        0
    .Boot art      816      540        0        0
    .Boot art     1297     1032        0        0
    .Boot art     1234      968        0        0
    .Boot art     1751     1496        0        0
    .Boot art     2227     1984        0        0
    .Boot art     1114      844        0        0
    .Boot art      772      492        0        0
    .Boot art     2215     1972        0        0
    .Boot art     1213      912        0        0
System wide
     71,282K: .art mmap
         66,418K: .Boot art
          4,864K: .App art

After:
                PSS     Private Dirty
    .Boot art     2447     2216        0        0
    .Boot art     2477     2256        0        0
    .Boot art     1717     1444        0        0
    .Boot art      799      540        0        0
    .Boot art     1268     1020        0        0
    .Boot art     1196      948        0        0
    .Boot art     1703     1464        0        0
    .Boot art     2094     1864        0        0
    .Boot art     1055      804        0        0
    .Boot art      749      484        0        0
    .Boot art     2096     1868        0        0
    .Boot art     1058      772        0        0
System wide
    67,138K: .art mmap
         62,274K: .Boot art
          4,864K: .App art

Bug: 134776403
Test: Reboot and inspect RAM usage
Change-Id: I5c056565a10b0becc4257f051aecc05cef6247dd

5 years agoMerge "Game Driver: Add settings global for prerelease driver opt in option" into...
TreeHugger Robot [Thu, 13 Jun 2019 00:31:24 +0000 (00:31 +0000)]
Merge "Game Driver: Add settings global for prerelease driver opt in option" into qt-dev

5 years agoMerge "Fix setPositionListener race condition" into qt-dev
John Reck [Thu, 13 Jun 2019 00:24:08 +0000 (00:24 +0000)]
Merge "Fix setPositionListener race condition" into qt-dev

5 years agoReconfigure GNSS HAL NFW proxy app list on GNSS service crash
Anil Admal [Wed, 12 Jun 2019 20:55:42 +0000 (13:55 -0700)]
Reconfigure GNSS HAL NFW proxy app list on GNSS service crash

Fixes: 134729449
Test: 1. Killed GNSS service several times and verified that the
         GNSS HAL is reconfigured.
      2. Verified on reboot the GNSS service is configured correctly.

Change-Id: Ic8b40ef2a907deef07d01ecb190291035069264d

5 years agoMerge "Revert "Prevent dismissing starting window when reopening app"" into qt-dev
Elisa Pascual Trevino [Wed, 12 Jun 2019 23:48:35 +0000 (16:48 -0700)]
Merge "Revert "Prevent dismissing starting window when reopening app"" into qt-dev
am: 4cd89f0332

Change-Id: I390155862eaf764ae49e7393b67d2a55050a69e0

5 years agoMerge "Create String before bundling AsyncTask" into qt-dev
Paul Crowley [Wed, 12 Jun 2019 23:46:17 +0000 (16:46 -0700)]
Merge "Create String before bundling AsyncTask" into qt-dev
am: 3d0fbc98f8

Change-Id: If2610098bef68780782e0a11014b97efd0f38a70

5 years agoFixes an issue where the padding to the clock was wrong
Selim Cinek [Wed, 12 Jun 2019 23:39:43 +0000 (16:39 -0700)]
Fixes an issue where the padding to the clock was wrong

Because I moved around where the padding was set and there
was also setting the same padding programmically, we ended
up with double the padding after an event came in that
never went away anymore. This is now fixed.
I also adjusted the paddings slightly to adjust it back to
the spec again, since the calculation was off by 1dp before.

Fixes: 134927633
Test: atest SystemUITests
Change-Id: I67395cb9b7bf54a95ceee51c3384539c4d53578e

5 years agoMerge "Revert "Prevent dismissing starting window when reopening app"" into qt-dev
TreeHugger Robot [Wed, 12 Jun 2019 23:42:24 +0000 (23:42 +0000)]
Merge "Revert "Prevent dismissing starting window when reopening app"" into qt-dev

5 years agoMerge "Create String before bundling AsyncTask" into qt-dev
TreeHugger Robot [Wed, 12 Jun 2019 23:35:30 +0000 (23:35 +0000)]
Merge "Create String before bundling AsyncTask" into qt-dev

5 years agoHide album art when face bypass
Lucas Dupin [Wed, 12 Jun 2019 22:52:31 +0000 (15:52 -0700)]
Hide album art when face bypass

Test: play song and unlock with and without LS wallpaper
Fixes: 135049122
Change-Id: Ic47d84cabe21de47261e6cfeb4c84d5b7d5dbf6e

5 years agoRevert "Add extra debug to capture system state"
Todd Kennedy [Wed, 12 Jun 2019 22:39:56 +0000 (22:39 +0000)]
Revert "Add extra debug to capture system state"

This reverts commit bca1229305be2e8e6631f9212898856f3ae2a6b7.

Reason for revert: Logs are no longer beneficial and leading
to confusion when looking at bug reports.

Change-Id: Ib1abdddf5fee473e89bada83568b3a5de3171a20
Fixes: 135143061
Test: Manual. Builds and runs without spurious logs.

5 years agoFix setPositionListener race condition
John Reck [Wed, 12 Jun 2019 22:01:51 +0000 (15:01 -0700)]
Fix setPositionListener race condition

Fixes: 131625115
Test: atest android.view.cts.SystemGestureExclusionRectsTest android.view.cts.SurfaceViewSyncTest android.uirendering.cts.testclasses.SurfaceViewTests

Change-Id: Ia357ff6fa5d5fe1e152abc23bbd6d8051cfd7aa7

5 years agoRevert "Prevent dismissing starting window when reopening app"
Elisa Pascual Trevino [Wed, 12 Jun 2019 22:10:23 +0000 (22:10 +0000)]
Revert "Prevent dismissing starting window when reopening app"

This reverts commit 7c88cf83035e331bb4c4ccb519c8200f2e9d083f.
Original bug: b/134561008

Reason for revert: b/135084202

Change-Id: Ib4c17f98d66c9efb10d800d9ba585d14be4ac878

5 years agoMerge "Added test coverage to Context.startActivityAsUser" into qt-dev
Nate Myren [Wed, 12 Jun 2019 22:23:37 +0000 (15:23 -0700)]
Merge "Added test coverage to Context.startActivityAsUser" into qt-dev
am: 471a664375

Change-Id: I1fe9849c4b5244291ab84234eabd4570da94bf0e

5 years agoMerge "Added test coverage to Context.startActivityAsUser" into qt-dev
TreeHugger Robot [Wed, 12 Jun 2019 22:08:35 +0000 (22:08 +0000)]
Merge "Added test coverage to Context.startActivityAsUser" into qt-dev

5 years agoMerge "Decrease amount of getAuthenticatorId invocations to the HAL" into qt-r1-dev
Kevin Chyn [Wed, 12 Jun 2019 22:04:03 +0000 (22:04 +0000)]
Merge "Decrease amount of getAuthenticatorId invocations to the HAL" into qt-r1-dev

5 years agoDecrease amount of getAuthenticatorId invocations to the HAL
Kevin Chyn [Wed, 12 Jun 2019 21:50:35 +0000 (14:50 -0700)]
Decrease amount of getAuthenticatorId invocations to the HAL

The HIDL contract is to update the authenticatorID when a new template
is enrolled. Thus, only update the authenticatorId cache when

1) the user is actually switching, which is infrequent
2) a user has enrolled a new biometric

Fixes: 133578311

Test: Authenticator ID is updated when new enrollment occurs
Change-Id: If79cb43ac1f42676995c955203653cb5fae0f10f

5 years agoMerge "Merge "Remove settings to relax device ID access restrictions" into qt-dev...
Android Build Merger (Role) [Wed, 12 Jun 2019 21:21:46 +0000 (21:21 +0000)]
Merge "Merge "Remove settings to relax device ID access restrictions" into qt-dev am: 692a68133b" into qt-r1-dev

5 years agoMerge "Remove settings to relax device ID access restrictions" into qt-dev
Michael Groover [Wed, 12 Jun 2019 21:20:22 +0000 (14:20 -0700)]
Merge "Remove settings to relax device ID access restrictions" into qt-dev
am: 692a68133b

Change-Id: I3312fae325c593aef750c80cbd4365dfd2669f6c

5 years agoMerge "Reduce overlap of analog clock with smart space." into qt-r1-dev
Robert Snoeberger [Wed, 12 Jun 2019 21:15:02 +0000 (21:15 +0000)]
Merge "Reduce overlap of analog clock with smart space." into qt-r1-dev

5 years agoMerge "Remove stopship for IdmapManager vendor sdk" into qt-dev
Ryan Mitchell [Wed, 12 Jun 2019 20:37:22 +0000 (13:37 -0700)]
Merge "Remove stopship for IdmapManager vendor sdk" into qt-dev
am: 034670e90b

Change-Id: Ic7c9b396023e89ca681a2748ac62519137e28c11

5 years agoMerge "Set app-op for restricted pre-22 apps" into qt-dev
Philip P. Moltmann [Wed, 12 Jun 2019 20:31:58 +0000 (13:31 -0700)]
Merge "Set app-op for restricted pre-22 apps" into qt-dev
am: 26a896ecc8

Change-Id: I8d5d3b844a0291a12191c15af03c1da388ab4ef9

5 years agoMerge "Remove settings to relax device ID access restrictions" into qt-dev
Michael Groover [Wed, 12 Jun 2019 20:31:16 +0000 (20:31 +0000)]
Merge "Remove settings to relax device ID access restrictions" into qt-dev

5 years agoMerge "Reduces Assist Handle fade out duration" into qt-dev
Govinda Wasserman [Wed, 12 Jun 2019 20:29:33 +0000 (13:29 -0700)]
Merge "Reduces Assist Handle fade out duration" into qt-dev
am: 0972aa6a60

Change-Id: I68bb45ff82f84d81e273d893a71b5fa5cf4b91c7

5 years agoMerge "Disabled items shouldn't also be marked as unactionable." into qt-dev
Qasid Ahmad Sadiq [Wed, 12 Jun 2019 20:26:09 +0000 (13:26 -0700)]
Merge "Disabled items shouldn't also be marked as unactionable." into qt-dev
am: 0963cc2418

Change-Id: I990a85b223694123bbf9114e038373253fd4f25f

5 years agoMerge "Do not get setting if targetUserId == UserHandle.USER_NULL" into qt-r1-dev
Kevin Chyn [Wed, 12 Jun 2019 20:23:10 +0000 (20:23 +0000)]
Merge "Do not get setting if targetUserId == UserHandle.USER_NULL" into qt-r1-dev

5 years agoMerge "Remove stopship for IdmapManager vendor sdk" into qt-dev
TreeHugger Robot [Wed, 12 Jun 2019 20:20:04 +0000 (20:20 +0000)]
Merge "Remove stopship for IdmapManager vendor sdk" into qt-dev

5 years agoMerge "Set app-op for restricted pre-22 apps" into qt-dev
Philip P. Moltmann [Wed, 12 Jun 2019 20:18:23 +0000 (20:18 +0000)]
Merge "Set app-op for restricted pre-22 apps" into qt-dev

5 years agoMerge "Reduces Assist Handle fade out duration" into qt-dev
TreeHugger Robot [Wed, 12 Jun 2019 20:18:17 +0000 (20:18 +0000)]
Merge "Reduces Assist Handle fade out duration" into qt-dev

5 years agoMerge "Fixes a crash with KeyguardStatusView in tests" into qt-r1-dev
TreeHugger Robot [Wed, 12 Jun 2019 20:14:51 +0000 (20:14 +0000)]
Merge "Fixes a crash with KeyguardStatusView in tests" into qt-r1-dev

5 years agoMerge "Disabled items shouldn't also be marked as unactionable." into qt-dev
TreeHugger Robot [Wed, 12 Jun 2019 20:10:31 +0000 (20:10 +0000)]
Merge "Disabled items shouldn't also be marked as unactionable." into qt-dev

5 years agoMerge "Removes unused code from the SystemServer/Zygote classes." into qt-dev
Christian Wailes [Wed, 12 Jun 2019 20:09:40 +0000 (13:09 -0700)]
Merge "Removes unused code from the SystemServer/Zygote classes." into qt-dev
am: 7983bfb3e6

Change-Id: If63d2cbe8b3ba2061276826f88496db8ea283510

5 years agoMerge "Refresh face auth when invoking global actions" into qt-r1-dev
TreeHugger Robot [Wed, 12 Jun 2019 20:06:08 +0000 (20:06 +0000)]
Merge "Refresh face auth when invoking global actions" into qt-r1-dev

5 years agoMerge "Not bypassing the lockscreen anymore when the user has pulled down" into qt...
Selim Cinek [Wed, 12 Jun 2019 20:01:50 +0000 (20:01 +0000)]
Merge "Not bypassing the lockscreen anymore when the user has pulled down" into qt-r1-dev

5 years agoDo not get setting if targetUserId == UserHandle.USER_NULL
Kevin Chyn [Wed, 12 Jun 2019 19:52:16 +0000 (12:52 -0700)]
Do not get setting if targetUserId == UserHandle.USER_NULL

Fixes: 135061626

Test: Builds
Change-Id: Ib5b667d1de0c112d198db853ed0767fc08e00fbf

5 years agoMerge "Removes unused code from the SystemServer/Zygote classes." into qt-dev
Christian Wailes [Wed, 12 Jun 2019 19:45:41 +0000 (19:45 +0000)]
Merge "Removes unused code from the SystemServer/Zygote classes." into qt-dev

5 years agoMerge "Add cache to AppOpsController" into qt-r1-dev
Fabian Kozynski [Wed, 12 Jun 2019 19:18:41 +0000 (19:18 +0000)]
Merge "Add cache to AppOpsController" into qt-r1-dev

5 years agoMerge "Fix SysUI / AoD leaking content observers" into qt-dev
Lucas Dupin [Wed, 12 Jun 2019 19:09:21 +0000 (12:09 -0700)]
Merge "Fix SysUI / AoD leaking content observers" into qt-dev
am: b755a7c16b

Change-Id: I5afc68f072e818ca09e33ea1157a7558d1414a9d

5 years agoReduces Assist Handle fade out duration
Govinda Wasserman [Wed, 12 Jun 2019 18:41:36 +0000 (14:41 -0400)]
Reduces Assist Handle fade out duration

This matches home handle behavior and ensures that the handles are gone
when the screen fades.

Test: Tested locally
BUG:133767295
Change-Id: Ib8a5ee8c2a408cdf6f0f0741047b3f9f2d3bddff
FIX:133767295

5 years agoMerge "Fix SysUI / AoD leaking content observers" into qt-dev
Lucas Dupin [Wed, 12 Jun 2019 18:41:12 +0000 (18:41 +0000)]
Merge "Fix SysUI / AoD leaking content observers" into qt-dev

5 years agoMerge "Draw legacy nav bar background directly" into qt-dev
Jorim Jaggi [Wed, 12 Jun 2019 18:22:27 +0000 (11:22 -0700)]
Merge "Draw legacy nav bar background directly" into qt-dev
am: 324cdd4ae0

Change-Id: I3291e2788df951510c5abf3a23df226d5174a5c5

5 years agoMerge "Preventing keyguard dismissal when screen is off." into qt-dev
Jovana Knezevic [Wed, 12 Jun 2019 18:20:13 +0000 (11:20 -0700)]
Merge "Preventing keyguard dismissal when screen is off." into qt-dev
am: ffd598557d

Change-Id: I6f673d413abfe9b773ada6029a1f7c1290ca9cfe

5 years agoSet app-op for restricted pre-22 apps
Philip P. Moltmann [Tue, 11 Jun 2019 16:01:59 +0000 (09:01 -0700)]
Set app-op for restricted pre-22 apps

For these apps the permission is always granted and the grant state is
encoded into the app-op.

Also, unify syncOps* for restricted and foreground permissions into one.

Test: atest RestrictedPermissionsTest
            SplitPermissionTest
Bug: 134500512
Change-Id: I2250a52d2250752c74907b3a9789ed45a4c75390

5 years agoMerge "SoundTriggerService: Track model stats" into qt-r1-dev
TreeHugger Robot [Wed, 12 Jun 2019 18:14:23 +0000 (18:14 +0000)]
Merge "SoundTriggerService: Track model stats" into qt-r1-dev

5 years agoMerge "Draw legacy nav bar background directly" into qt-dev
TreeHugger Robot [Wed, 12 Jun 2019 18:08:05 +0000 (18:08 +0000)]
Merge "Draw legacy nav bar background directly" into qt-dev

5 years agoMerge "Preventing keyguard dismissal when screen is off." into qt-dev
Jovana Knezevic [Wed, 12 Jun 2019 18:01:23 +0000 (18:01 +0000)]
Merge "Preventing keyguard dismissal when screen is off." into qt-dev

5 years agoMerge changes from topic "face-challenge-bug" into qt-r1-dev
Kevin Chyn [Wed, 12 Jun 2019 17:59:02 +0000 (17:59 +0000)]
Merge changes from topic "face-challenge-bug" into qt-r1-dev

* changes:
  Make recalibration notification VISIBILITY_SECRET
  Unlocking children profile must pass on existing challenge
  LSS must check canAuthenticate(userId) for correct user/profile
  Add much needed logging for face auth challenge / lockout path

5 years agoMake recalibration notification VISIBILITY_SECRET
Kevin Chyn [Wed, 12 Jun 2019 02:09:27 +0000 (19:09 -0700)]
Make recalibration notification VISIBILITY_SECRET

See context of b/134834442

Test: Notification is only seen when device is unlocked

Fixes: 134834442
Change-Id: I977c23192b41d2a0484d03d25eee4db87ac68ba2

5 years agoUnlocking children profile must pass on existing challenge
Kevin Chyn [Tue, 11 Jun 2019 19:52:17 +0000 (12:52 -0700)]
Unlocking children profile must pass on existing challenge

The challenge must be passed on, otherwise LSS will generate, invalidate,
and revoke the challenge that's passed from places like FaceSettings.

Bug: 134834442

Test: duplicate generate/revoke challenge not seen anymore
Test: with work profile enrolled and owner profile non-enrolled,
      trying to enroll for owner profile works now

Change-Id: I0d38390bd5e0ee38a615d17f44d18ffa410904aa

5 years agoLSS must check canAuthenticate(userId) for correct user/profile
Kevin Chyn [Tue, 11 Jun 2019 18:43:33 +0000 (11:43 -0700)]
LSS must check canAuthenticate(userId) for correct user/profile

Bug: 134834442

Test: With unified challenge enabled and work profile non-enrolled,
      resetLockout is not invoked for work profile anymore

Change-Id: Ifb91df0ea66dbcd29d7f5fb648295b154074392c

5 years agoAdd much needed logging for face auth challenge / lockout path
Kevin Chyn [Mon, 10 Jun 2019 23:14:22 +0000 (16:14 -0700)]
Add much needed logging for face auth challenge / lockout path

Bug: 134834442

Test: Builds, logs seen
Change-Id: I299c36f0fbd1041567a5c13936a8d63aa0d38150

5 years agoMerge "Wrap legacyExtra generation in targetsdk check" into qt-dev
Julia Reynolds [Wed, 12 Jun 2019 17:50:22 +0000 (10:50 -0700)]
Merge "Wrap legacyExtra generation in targetsdk check" into qt-dev
am: 11110b74ac

Change-Id: Ib61cb192c4e0ec8c06261575d64745a5cdb1f406

5 years agoMerge "Add feature flag to enable skip direction mapping" into qt-r1-dev
TreeHugger Robot [Wed, 12 Jun 2019 17:49:26 +0000 (17:49 +0000)]
Merge "Add feature flag to enable skip direction mapping" into qt-r1-dev

5 years agoMerge "Catch SecurityException thrown from job binding" into qt-dev
Christopher Tate [Wed, 12 Jun 2019 17:42:00 +0000 (10:42 -0700)]
Merge "Catch SecurityException thrown from job binding" into qt-dev
am: b15ce5ac96

Change-Id: I373c3f71ad72720bd27993779e7ccb3b94af9032

5 years agoMerge "Fix missing overlay values" into qt-dev
Winson Chung [Wed, 12 Jun 2019 17:40:00 +0000 (10:40 -0700)]
Merge "Fix missing overlay values" into qt-dev
am: a2046c0576

Change-Id: I2b7cb6b8bf2e35f597cf2f06c2f324d5a2dbc414

5 years agoMerge "Wrap legacyExtra generation in targetsdk check" into qt-dev
TreeHugger Robot [Wed, 12 Jun 2019 17:39:37 +0000 (17:39 +0000)]
Merge "Wrap legacyExtra generation in targetsdk check" into qt-dev

5 years ago[automerger skipped] Merge "Fixes an issue where the wrong icons where ambient" into...
Selim Cinek [Wed, 12 Jun 2019 17:38:09 +0000 (10:38 -0700)]
[automerger skipped] Merge "Fixes an issue where the wrong icons where ambient" into qt-dev
am: 95a633d653 -s ours
am skip reason: change_id I2e571353735efb0d763ecc236f60aefe4c2b51d4 with SHA1 da330ff413 is in history

Change-Id: I2f5d9d65a73f5ee618a770ce5fe60631b3da621f

5 years agoMerge "Catch SecurityException thrown from job binding" into qt-dev
TreeHugger Robot [Wed, 12 Jun 2019 17:31:20 +0000 (17:31 +0000)]
Merge "Catch SecurityException thrown from job binding" into qt-dev

5 years agoMerge "Fix missing overlay values" into qt-dev
Winson Chung [Wed, 12 Jun 2019 17:28:58 +0000 (17:28 +0000)]
Merge "Fix missing overlay values" into qt-dev

5 years agoMerge "Fixes an issue where the wrong icons where ambient" into qt-dev
TreeHugger Robot [Wed, 12 Jun 2019 17:25:27 +0000 (17:25 +0000)]
Merge "Fixes an issue where the wrong icons where ambient" into qt-dev

5 years agoFixes a crash with KeyguardStatusView in tests
Selim Cinek [Wed, 12 Jun 2019 17:00:47 +0000 (10:00 -0700)]
Fixes a crash with KeyguardStatusView in tests

Fixes: 135104079
Change-Id: Idb0b745e50d72ddf23e98582b6a93f1dd56ec9e7

5 years agoNot bypassing the lockscreen anymore when the user has pulled down
Selim Cinek [Tue, 11 Jun 2019 23:23:23 +0000 (16:23 -0700)]
Not bypassing the lockscreen anymore when the user has pulled down

Previously we would bypass the lockscreen even if the user has
already pulled down.

Bug: 134094877
Test: atest SystemUITests
Change-Id: Ic86f345a53da83a111ace2ede86648596c3ad982

5 years agoInvalidate SignalDrawable on level change.
Amin Shaikh [Wed, 12 Jun 2019 14:31:46 +0000 (10:31 -0400)]
Invalidate SignalDrawable on level change.

This regression was introduced by ag/7248138. Previously, changes to the
level always caused drawable invalidation, but currently invalidation
only occurs on signal level changes (not cutout or carrier change state
changes). This change fixes this behavior to invalidate the signal
drawable on all level changes.

Fixes: 134621165
Test: sysui demo mode
Change-Id: I5e14480a61fde5a0f7fdce781ae4a42a97e5d88a

5 years agoMerge "Whitelist all restricted permissions on sideload" into qt-dev
Svetoslav Ganov [Wed, 12 Jun 2019 16:25:42 +0000 (09:25 -0700)]
Merge "Whitelist all restricted permissions on sideload" into qt-dev
am: 04cb6d1ccc

Change-Id: I28a4353dfeeeda31774e72a6c59c36d3c966e8f2

5 years agoAdded test coverage to Context.startActivityAsUser
Nate Myren [Wed, 15 May 2019 18:07:03 +0000 (11:07 -0700)]
Added test coverage to Context.startActivityAsUser

Test: atest ContextTest
Fixes: 127711435
Change-Id: I7629da8d15ded1b2ac0907f2284289fdb07879ec
(cherry picked from commit 7c491a534a2f70dd4ce0bb76eccc57b8b188c90c)

5 years agoMerge "Fix empty stacks leaked after blocking background activity launches." into...
Louis Chang [Wed, 12 Jun 2019 16:21:46 +0000 (09:21 -0700)]
Merge "Fix empty stacks leaked after blocking background activity launches." into qt-dev
am: 9291a5af50

Change-Id: Ifa24664b7139aa679ab3fb415f01e8b3a227ce14

5 years agoDraw legacy nav bar background directly
Jorim Jaggi [Tue, 11 Jun 2019 15:54:07 +0000 (17:54 +0200)]
Draw legacy nav bar background directly

If we only use a view for it, it may not be visible depending on
what the app will do with the DecorView, i.e. set a weird clip
region. To fix that, we also draw the legacy navigation bar
background separately in a post-draw callback.

Test: TikTok
Test: Material app is still able to set bar color
Fixes: 131211797
Change-Id: Id744b98780f8f7f6dcd3482803a680a8f93be4c5

5 years agoRemove stopship for IdmapManager vendor sdk
Ryan Mitchell [Mon, 10 Jun 2019 19:30:36 +0000 (12:30 -0700)]
Remove stopship for IdmapManager vendor sdk

Idmap now checks if the version of the vendor partition is greater than
or equal to 29 or a development code name to enable enforcement of
overlayable resources.

Bug: 119390857
Test: manual
Change-Id: Iff224b9fae4b74848bd59fedd58236f93a5d7a9a

5 years agoMerge "Whitelist all restricted permissions on sideload" into qt-dev
Svetoslav Ganov [Wed, 12 Jun 2019 16:13:03 +0000 (16:13 +0000)]
Merge "Whitelist all restricted permissions on sideload" into qt-dev

5 years agoMerge "Fix empty stacks leaked after blocking background activity launches." into...
TreeHugger Robot [Wed, 12 Jun 2019 16:12:39 +0000 (16:12 +0000)]
Merge "Fix empty stacks leaked after blocking background activity launches." into qt-dev

5 years agoWrap legacyExtra generation in targetsdk check
Julia Reynolds [Tue, 11 Jun 2019 19:09:41 +0000 (15:09 -0400)]
Wrap legacyExtra generation in targetsdk check

Newer listeners don't need that information!

Test: atest
Fixes: 134964922
Change-Id: I1eb2fe4d339a7ae4950d905d62bd34eebbdb5657

5 years agoMove legacy obb data migration to a handler thread.
Narayan Kamath [Wed, 12 Jun 2019 12:06:30 +0000 (13:06 +0100)]
Move legacy obb data migration to a handler thread.

The operation can potentially take a long time to complete
depending on the volume of data to be copied, so move it off
the ActivityManager handler thread that needs to be available
for other operations.

Bug: 134570017
Test: manual; set a 1 minute sleep in migrate_legacy_obb_data.sh

Change-Id: I3d2c52e8b012ed71c53810e6919d11be9a97cc6c

5 years agoMerge "Fix NPE in NSSL test" into qt-dev
Lucas Dupin [Wed, 12 Jun 2019 09:38:11 +0000 (02:38 -0700)]
Merge "Fix NPE in NSSL test" into qt-dev
am: c5e858a2c2

Change-Id: I09312fc9149321df7e5630aed79f369b27bdf002

5 years agoMerge "Fix NPE in NSSL test" into qt-dev
TreeHugger Robot [Wed, 12 Jun 2019 09:27:12 +0000 (09:27 +0000)]
Merge "Fix NPE in NSSL test" into qt-dev

5 years agoMerge "Fix race condition caused by fd reused for DnsResolver" into qt-dev
Luke Huang [Wed, 12 Jun 2019 08:22:07 +0000 (01:22 -0700)]
Merge "Fix race condition caused by fd reused for DnsResolver" into qt-dev
am: 7187dbc4e0

Change-Id: I4f954890cbcc20736fdefb2d85fd9a2912f5be40

5 years agoMerge "Fix race condition caused by fd reused for DnsResolver" into qt-dev
Luke Huang [Wed, 12 Jun 2019 08:07:26 +0000 (08:07 +0000)]
Merge "Fix race condition caused by fd reused for DnsResolver" into qt-dev