OSDN Git Service

android-x86/frameworks-base.git
5 years agoFixed that autoheads up were not visible or accidentally visible at times
Selim Cinek [Tue, 23 Jul 2019 00:32:38 +0000 (17:32 -0700)]
Fixed that autoheads up were not visible or accidentally visible at times

We were auto heads upping in the past even when the notification
would be hidden from the lockscreen which created some weird UI

Bug: 137873156
Test: add media notification with silent notifications hidden on lockscreen
Change-Id: Ic8f7d5b89f29b99571bbb905bced5b7880ded68d

5 years agoMerge "Fixed that silent notifications weren't showing on AOD" into qt-r1-dev
TreeHugger Robot [Mon, 22 Jul 2019 21:51:11 +0000 (21:51 +0000)]
Merge "Fixed that silent notifications weren't showing on AOD" into qt-r1-dev

5 years agoMerge "Import translations. DO NOT MERGE" into qt-r1-dev
TreeHugger Robot [Mon, 22 Jul 2019 21:12:34 +0000 (21:12 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-r1-dev

5 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
Bill Yi [Mon, 22 Jul 2019 19:33:23 +0000 (12:33 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: bde6a92a55 -s ours
am skip reason: subject contains skip directive

Change-Id: I2b84532c9db62f7155bd4683d9b0b02484f93271

5 years ago[automerger skipped] Import translations. DO NOT MERGE
Bill Yi [Mon, 22 Jul 2019 19:21:56 +0000 (12:21 -0700)]
[automerger skipped] Import translations. DO NOT MERGE
am: 09da14be40 -s ours
am skip reason: subject contains skip directive

Change-Id: I4c14d343f3b05b4b292b3e7497af042141bf8c98

5 years agoMerge "Increase dequeueBuffer timeout" into qt-r1-dev
John Reck [Mon, 22 Jul 2019 19:18:38 +0000 (19:18 +0000)]
Merge "Increase dequeueBuffer timeout" into qt-r1-dev

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Mon, 22 Jul 2019 19:08:22 +0000 (19:08 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoMerge "Import translations. DO NOT MERGE" into qt-r1-dev
TreeHugger Robot [Mon, 22 Jul 2019 19:03:31 +0000 (19:03 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-r1-dev

5 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 22 Jul 2019 18:01:57 +0000 (11:01 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I8688211f4bb949f51359257a442b81d62e7057bf

5 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 22 Jul 2019 18:00:54 +0000 (11:00 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I9e12ebb9c597b7393a32d78a7b15c830326c2915

5 years agoMerge "docs: Fix broken link." into qt-dev
Nick Cook [Mon, 22 Jul 2019 17:43:27 +0000 (10:43 -0700)]
Merge "docs: Fix broken link." into qt-dev
am: 2aec022fd2

Change-Id: I52cd7a41c34a1f44b427029c651c29912b36da93

5 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 22 Jul 2019 17:27:08 +0000 (10:27 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ia5f78bd2c1d3037818b43b010b5c55c233ff1820

5 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 22 Jul 2019 17:24:23 +0000 (10:24 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I681ca87322a0adb4033884519eb6168470a433c9

5 years agoMerge "docs: Fix broken link." into qt-dev
Nick Cook [Mon, 22 Jul 2019 17:24:07 +0000 (17:24 +0000)]
Merge "docs: Fix broken link." into qt-dev

5 years agoMerge "Add calling package verification for ATM binder calls" into qt-r1-dev
TreeHugger Robot [Mon, 22 Jul 2019 06:07:43 +0000 (06:07 +0000)]
Merge "Add calling package verification for ATM binder calls" into qt-r1-dev

5 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
Bill Yi [Sun, 21 Jul 2019 06:41:36 +0000 (23:41 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: 69d1c9c037 -s ours
am skip reason: subject contains skip directive

Change-Id: I1d0cbda4c87504e483c07fe00330fbff15de4a84

5 years ago[automerger skipped] Import translations. DO NOT MERGE
Bill Yi [Sun, 21 Jul 2019 06:38:09 +0000 (23:38 -0700)]
[automerger skipped] Import translations. DO NOT MERGE
am: 82f1099361 -s ours
am skip reason: subject contains skip directive

Change-Id: I3a6fe7660b8cd24c8069820a7a738a084fe896ae

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Sun, 21 Jul 2019 06:24:29 +0000 (06:24 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sun, 21 Jul 2019 04:47:56 +0000 (21:47 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: If28671c4e7d65d7bd9d79effac18e791fe151028

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sun, 21 Jul 2019 04:30:49 +0000 (21:30 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I9041213adcd88452a12b56e110017a314f7a8139

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 20 Jul 2019 17:14:43 +0000 (10:14 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I5bc0c666b5733a049ecffef86891a1d564bfdfc8

5 years agoFixed that silent notifications weren't showing on AOD
Selim Cinek [Sat, 20 Jul 2019 01:29:56 +0000 (18:29 -0700)]
Fixed that silent notifications weren't showing on AOD

Because we were listening to the tuning value but not
actually handling the null default value, the visibility
of the silent icons would be wrong by default.
Additionally, the whole settings check isn't actually
needed since we are already limited to the visible
notifications in the notification list and therefore
the setting is already automatically applied.

Fixes: 137977737
Test: atest SystemUItests
Change-Id: I93e23b08525c6bb8d2219a4bdaa0bbc64ce55d8d

5 years agoMerge "Fixed a crash with the headsUpManager" into qt-dev
Selim Cinek [Sat, 20 Jul 2019 00:39:24 +0000 (17:39 -0700)]
Merge "Fixed a crash with the headsUpManager" into qt-dev
am: fcd42e9249

Change-Id: I82fedec3d4d6f297a022f42fe29e52bffbdc222a

5 years agoMerge "Use binned brightness sensor instead of prox" into qt-dev
Lucas Dupin [Sat, 20 Jul 2019 00:34:17 +0000 (17:34 -0700)]
Merge "Use binned brightness sensor instead of prox" into qt-dev
am: cdc566dfd6

Change-Id: I85007cffbac76c4cf9e66228ec3abfd4c8e8067d

5 years agoMerge "Fix class initialization issue" into qt-r1-dev
TreeHugger Robot [Sat, 20 Jul 2019 00:07:08 +0000 (00:07 +0000)]
Merge "Fix class initialization issue" into qt-r1-dev

5 years agoMerge "Fixed a crash with the headsUpManager" into qt-dev
TreeHugger Robot [Fri, 19 Jul 2019 23:55:30 +0000 (23:55 +0000)]
Merge "Fixed a crash with the headsUpManager" into qt-dev

5 years agoMerge "resolve merge conflicts of 0e680785e4bc502a0237b716378ccb7322c8c1f8 to qt...
TreeHugger Robot [Fri, 19 Jul 2019 23:47:35 +0000 (23:47 +0000)]
Merge "resolve merge conflicts of 0e680785e4bc502a0237b716378ccb7322c8c1f8 to qt-r1-dev" into qt-r1-dev

5 years agoMerge "Update clock when turning the screen on" into qt-r1-dev
TreeHugger Robot [Fri, 19 Jul 2019 22:57:41 +0000 (22:57 +0000)]
Merge "Update clock when turning the screen on" into qt-r1-dev

5 years agoMerge "Use binned brightness sensor instead of prox" into qt-dev
TreeHugger Robot [Fri, 19 Jul 2019 22:33:20 +0000 (22:33 +0000)]
Merge "Use binned brightness sensor instead of prox" into qt-dev

5 years agoMerge "Import translations. DO NOT MERGE" into qt-r1-dev
TreeHugger Robot [Fri, 19 Jul 2019 21:10:22 +0000 (21:10 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-r1-dev

5 years agoFix class initialization issue
Lucas Dupin [Tue, 16 Jul 2019 22:42:48 +0000 (15:42 -0700)]
Fix class initialization issue

We were getting an NPE because the superclass was
calling an overridden method on its constructor,
before the variable could be initialized.

Test: atest ScrimControllerTest
Fixes: 137665467
Fixes: 137878476
Change-Id: I8914eac86cac19d92a68a2d55d97dfcee4066ed3
(cherry picked from commit 1c72bc21514eb6b76f80cef68be1245fb5d4f423)

5 years agoMerge "Revert "Stop idmap2d after several seconds pass"" into qt-r1-dev
Ryan Mitchell [Fri, 19 Jul 2019 20:55:57 +0000 (20:55 +0000)]
Merge "Revert "Stop idmap2d after several seconds pass"" into qt-r1-dev

5 years agoresolve merge conflicts of 0e680785e4bc502a0237b716378ccb7322c8c1f8 to qt-r1-dev
Dave Mankoff [Fri, 19 Jul 2019 20:29:31 +0000 (16:29 -0400)]
resolve merge conflicts of 0e680785e4bc502a0237b716378ccb7322c8c1f8 to qt-r1-dev

Bug: None
Test: I solemnly swear I tested this conflict resolution.
Change-Id: Idf6ca46cd849b6d363fd5f1633877224141a7943

5 years agoMerge "Enable the BrightLineFalsingManager by default on Q." into qt-dev
Dave Mankoff [Fri, 19 Jul 2019 19:54:03 +0000 (19:54 +0000)]
Merge "Enable the BrightLineFalsingManager by default on Q." into qt-dev

5 years agoMerge "Allow BrightLineFalsingManager settings to be experimented with via Phenotype...
Dave Mankoff [Fri, 19 Jul 2019 19:27:37 +0000 (19:27 +0000)]
Merge "Allow BrightLineFalsingManager settings to be experimented with via Phenotype." into qt-r1-dev

5 years agoUse binned brightness sensor instead of prox
Lucas Dupin [Fri, 19 Jul 2019 19:16:25 +0000 (12:16 -0700)]
Use binned brightness sensor instead of prox

Prox can be noisy and should only be used as a fallback when a more
robust sensor implementation is not available.

Test: manually cover prox sensor
Test: breakpoint
Test: dumpsys
Fixes: 137451005
Change-Id: If0fca42aca36546942930ce76be1353129fc91fc

5 years agoMerge "Fixed the layout of media heads up notifications" into qt-r1-dev
Lucas Dupin [Fri, 19 Jul 2019 18:50:28 +0000 (18:50 +0000)]
Merge "Fixed the layout of media heads up notifications" into qt-r1-dev

5 years agoFixed a crash with the headsUpManager
Selim Cinek [Fri, 19 Jul 2019 18:47:58 +0000 (11:47 -0700)]
Fixed a crash with the headsUpManager

Since the headsUpManager is calling out in various places to
its listeners, the callbacks may query the headsupmanager
in an internally inconsistent state, such that the pinned mode is
true but there is no topEntry. Let's add a null-check for
safety here.

Bug: 137804505
Test: atest SystemUITests
Change-Id: Ibae76b555ca51ccf676228b034a614d59a8b4e8e

5 years agoUpdate clock when turning the screen on
Lucas Dupin [Fri, 19 Jul 2019 18:45:16 +0000 (11:45 -0700)]
Update clock when turning the screen on

Sensors might disable the screen, setting the machine state to
DOZE. We need to update the clock when the screen turns on.

Fixes: 137943236
Test: turn off screen with sensor, wait for a few minutes, come back
Change-Id: I633568294aa24bfea6765accc08ccf23f9c6bec1

5 years agoRevert "Stop idmap2d after several seconds pass"
Ryan Mitchell [Fri, 19 Jul 2019 18:09:52 +0000 (18:09 +0000)]
Revert "Stop idmap2d after several seconds pass"

This reverts commit 2b5140d3e02f75f7da87786f8bed0d989ff8e0f6.

Reason for revert: failing launcher 3 tests

Change-Id: I383a38f34dc81b6b4f7d2960b47c13b4887905bf

5 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 19 Jul 2019 17:57:39 +0000 (10:57 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I49514b3428c41473d516b5889217c241f892be5d

5 years agoMerge "Postpone the shared user checking after Q" into qt-dev
Todd Kennedy [Fri, 19 Jul 2019 17:25:32 +0000 (10:25 -0700)]
Merge "Postpone the shared user checking after Q" into qt-dev
am: 3f124d6463

Change-Id: I28520a9bbdeb71fd4c407fcfe02f0309db63ba69

5 years agoMerge "docs: Fix broken link." into qt-dev
Nick Cook [Fri, 19 Jul 2019 17:15:39 +0000 (10:15 -0700)]
Merge "docs: Fix broken link." into qt-dev
am: a2fe3be17d

Change-Id: I8618dd139fedc0af13bdb6e00b441b237a319784

5 years agoMerge "Postpone the shared user checking after Q" into qt-dev
Todd Kennedy [Fri, 19 Jul 2019 17:13:48 +0000 (17:13 +0000)]
Merge "Postpone the shared user checking after Q" into qt-dev

5 years agoMerge "docs: Fix broken link." into qt-dev
Nick Cook [Fri, 19 Jul 2019 16:58:50 +0000 (16:58 +0000)]
Merge "docs: Fix broken link." into qt-dev

5 years agoEnable the BrightLineFalsingManager by default on Q.
Dave Mankoff [Fri, 19 Jul 2019 15:25:45 +0000 (11:25 -0400)]
Enable the BrightLineFalsingManager by default on Q.

Bug: 71762354
Change-Id: Icfc6e21d50e08c34168f504ec64bf654ba6cb6a4
Test: atest SystemUITests

5 years agoPostpone the shared user checking after Q
SzuWei Lin [Fri, 19 Jul 2019 05:14:48 +0000 (13:14 +0800)]
Postpone the shared user checking after Q

The shared user checking becomes strict. If there is an APK in
vendor partition shared UID with a APK in system partition, the
signatures of these 2 APKs must be equal. Otherwise, framework
will throw an exception and cannot boot.

Postpone the checking from first_api_level 28 to 29.

Bug: 137524152
Test: test on a device with first_api_level=29 and pass the checking
Change-Id: I76d87a6dab35d4d39113cdd16a20706ce2c45093

5 years agoMerge "Biometric HAL death should invoke handleError on the handler" into qt-r1-dev
TreeHugger Robot [Fri, 19 Jul 2019 02:06:40 +0000 (02:06 +0000)]
Merge "Biometric HAL death should invoke handleError on the handler" into qt-r1-dev

5 years agoFixed the layout of media heads up notifications
Selim Cinek [Thu, 18 Jul 2019 23:00:55 +0000 (16:00 -0700)]
Fixed the layout of media heads up notifications

Previously the heads up layout was strangely clipped
because we were using the expanded layout.
We're now using the collapsed layout instead. In order to allow this,
the media notification needs to wrap it's height properly.

Fixes: 136507638
Test: show heads up media notification
Change-Id: Ib091b0e776b5cd1a615c9ea0121a3115817b7f64

5 years agoMerge "Fixed an issue where heads up notifications would overlap" into qt-r1-dev
TreeHugger Robot [Fri, 19 Jul 2019 00:09:53 +0000 (00:09 +0000)]
Merge "Fixed an issue where heads up notifications would overlap" into qt-r1-dev

5 years agoMerge "Disable bypass and bouncer delay when no face auth" into qt-r1-dev
TreeHugger Robot [Thu, 18 Jul 2019 23:58:22 +0000 (23:58 +0000)]
Merge "Disable bypass and bouncer delay when no face auth" into qt-r1-dev

5 years agoMerge "Import translations. DO NOT MERGE" into qt-r1-dev
TreeHugger Robot [Thu, 18 Jul 2019 23:18:51 +0000 (23:18 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-r1-dev

5 years agoMerge "Import translations. DO NOT MERGE" into qt-r1-dev
TreeHugger Robot [Thu, 18 Jul 2019 23:18:22 +0000 (23:18 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-r1-dev

5 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
Bill Yi [Thu, 18 Jul 2019 21:56:38 +0000 (14:56 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: daeb1bb863 -s ours
am skip reason: subject contains skip directive

Change-Id: I98cf4fdb78853f9f7590d72f46372c796b909c67

5 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
Bill Yi [Thu, 18 Jul 2019 21:52:47 +0000 (14:52 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: 465f347c2a -s ours
am skip reason: subject contains skip directive

Change-Id: I0f7a43e64309d3ce82a06bed01a44f3aa01af4f9

5 years agodocs: Fix broken link.
Nick Cook [Thu, 18 Jul 2019 21:30:45 +0000 (21:30 +0000)]
docs: Fix broken link.

Test: make ds-docs

Bug: 132635673
Change-Id: I9e6a493112418f7b1467d9d2926a1b2c106d4ad0

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Thu, 18 Jul 2019 21:27:42 +0000 (21:27 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Thu, 18 Jul 2019 21:26:43 +0000 (21:26 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoDisable bypass and bouncer delay when no face auth
Lucas Dupin [Wed, 17 Jul 2019 23:25:54 +0000 (16:25 -0700)]
Disable bypass and bouncer delay when no face auth

KeyguardUpdateMonitor#isUnlockWithFacePossible was returning true
when the user had disabled face unlock.

This was causing bypass to still be enabled (hiding all notifications)
and bouncer was also being delayed, even though we were not scanning.

Fixes: 134977472
Test: auth with bypass (toggling face auth setting on/off)
Test: auth without bypass (toggling face auth setting on/off)
Change-Id: I234eb303db87fe0dafa2073a9bdf819c665018d6

5 years agoAllow BrightLineFalsingManager settings to be experimented with via Phenotype.
Dave Mankoff [Thu, 18 Jul 2019 21:20:11 +0000 (17:20 -0400)]
Allow BrightLineFalsingManager settings to be experimented with via Phenotype.

This also ensures that the FalsingManagerProxy cleans up its internal instance
whenever a Phenotype flag changes.

Bug: 71762354
Test: atest SystemUITests
Change-Id: I9fa4d1344bb184dea00f92f8d265667f0be11466

5 years agoFixed an issue where heads up notifications would overlap
Selim Cinek [Thu, 18 Jul 2019 21:19:54 +0000 (14:19 -0700)]
Fixed an issue where heads up notifications would overlap

We recently fixed the logic where notifications are being displayed
if multiple huns are showing, however we were not clipping to them.
We're now clipping heads up notifications as well by the clipTopAmount

Fixes: 136914021
Test: add two different sized HUNS, so weird overlap.
Change-Id: I68a4c373eff3952b1a4711858c9ce61684f6ff17

5 years agoBiometric HAL death should invoke handleError on the handler
Kevin Chyn [Thu, 18 Jul 2019 20:37:23 +0000 (13:37 -0700)]
Biometric HAL death should invoke handleError on the handler

All client lifecycle is modified on the handler. When the HAL dies,
serviceDied comes in on the main thread and will race with the rest of
client lifecycle manipulation. We need to guarantee this is in order,
otherwise it's possible for BiometricService to receive the following
order of events
1) BiometricService requests auth
2) Face/FingerprintService is ready to start auth
3) HAL dies in the middle of 2), and sends onError to BiometricService
4) onReadyForAuthentication is sent to BiometricService, causing NPE

With this change, it will guarantee that 3) occurs after 4), which will
avoid A) BiometricService receiving events out of order, and more
importantly B) allow BiometricPrompt to show the HW_UNAVAILABLE error
instead of crashing system server.

Fixes: 137800315

Test: Authentication with BiometricPromptDemo while killing the HAL
Change-Id: Iae2d5b39dd494123f274b47edcc44c3afc1fff8c

5 years agodocs: Fix broken link.
Nick Cook [Thu, 18 Jul 2019 20:34:32 +0000 (20:34 +0000)]
docs: Fix broken link.

Test: make ds-docs

Bug: 79729313
Change-Id: I3f7b90457e9127380f2b8cbaf0f958823ba5488e

5 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 18 Jul 2019 18:37:02 +0000 (11:37 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I7d11de6106b6326b0fcb95fa642faaff6b870371

5 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 18 Jul 2019 18:34:15 +0000 (11:34 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I2b42edaa4a1dc95fefdc4f7ebabf528551b03460

5 years agoMerge "Pad indication text to prevent clipping on side of screen." into qt-r1-dev
TreeHugger Robot [Thu, 18 Jul 2019 18:31:52 +0000 (18:31 +0000)]
Merge "Pad indication text to prevent clipping on side of screen." into qt-r1-dev

5 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 18 Jul 2019 18:31:21 +0000 (11:31 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ib95137b7ade70cbb7184e3d0a7f004fc759bc064

5 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 18 Jul 2019 18:30:29 +0000 (11:30 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I10856a2e242d1c493f514e67884d26e4fd057447

5 years agoMerge "p2p: update documents about EXTRA_WIFI_P2P_GROUP in connection changed event...
Jimmy Chen [Thu, 18 Jul 2019 18:24:31 +0000 (11:24 -0700)]
Merge "p2p: update documents about EXTRA_WIFI_P2P_GROUP in connection changed event" into qt-dev
am: 4bdeefacba

Change-Id: Ic8c05f3cde428c4ff83b550b31ff9e1ff31015ec

5 years ago[automerger skipped] Merge "Do not animate wallpaper when wakeAndUnlock" into qt-dev
Lucas Dupin [Thu, 18 Jul 2019 18:21:02 +0000 (11:21 -0700)]
[automerger skipped] Merge "Do not animate wallpaper when wakeAndUnlock" into qt-dev
am: 39fc29c72a -s ours
am skip reason: change_id I46574609a00712bdde5a4652ab5c9b0c04cbeeec with SHA1 bd6c92b074 is in history

Change-Id: Ibad934b261ea64ccbe85c9e4eca6a77ec5e5cc60

5 years agoMerge "p2p: update documents about EXTRA_WIFI_P2P_GROUP in connection changed event...
TreeHugger Robot [Thu, 18 Jul 2019 18:11:23 +0000 (18:11 +0000)]
Merge "p2p: update documents about EXTRA_WIFI_P2P_GROUP in connection changed event" into qt-dev

5 years agoMerge "Do not animate wallpaper when wakeAndUnlock" into qt-dev
Lucas Dupin [Thu, 18 Jul 2019 18:06:55 +0000 (18:06 +0000)]
Merge "Do not animate wallpaper when wakeAndUnlock" into qt-dev

5 years agoIncrease dequeueBuffer timeout
John Reck [Wed, 17 Jul 2019 18:12:32 +0000 (11:12 -0700)]
Increase dequeueBuffer timeout

Timeout recovery isn't working properly, so increase it
to avoid any false-positives from something like a
slow screen-on

Bug: 137509524
Test: none
Change-Id: Ic4fae04b41f71600479f9557e334f67c27851db4

5 years ago[automerger skipped] Merge "PasswordSlotManager: Fix incorrect string comparison...
David Anderson [Thu, 18 Jul 2019 17:15:32 +0000 (10:15 -0700)]
[automerger skipped] Merge "PasswordSlotManager: Fix incorrect string comparison." into qt-dev
am: 442b09472d -s ours
am skip reason: change_id I2a11dd6dfd44e10400e40ebbaa2ed597de95cdcb with SHA1 d1552e36f4 is in history

Change-Id: I1960e2aa776e8b00a1fd1e50dc017e66049f51ca

5 years agoMerge "PasswordSlotManager: Fix incorrect string comparison." into qt-dev
David Anderson [Thu, 18 Jul 2019 17:00:25 +0000 (17:00 +0000)]
Merge "PasswordSlotManager: Fix incorrect string comparison." into qt-dev

5 years agop2p: update documents about EXTRA_WIFI_P2P_GROUP in connection changed event
Jimmy Chen [Thu, 18 Jul 2019 02:25:26 +0000 (10:25 +0800)]
p2p: update documents about EXTRA_WIFI_P2P_GROUP in connection changed event

This value may be a null, receiver should check before using variable.

Bug: 137618950
Test: make docs
Change-Id: If466dac092fc345482d0456f08a915d1e7ba0010

5 years agoPad indication text to prevent clipping on side of screen.
Robert Snoeberger [Wed, 17 Jul 2019 21:07:18 +0000 (17:07 -0400)]
Pad indication text to prevent clipping on side of screen.

Padding amount is the same as owner_info also shown on AOD screen.

Bug: 137627803
Test: Checked that text with more than 100 characters shown in
indication area wasn't clipped on side of screen. 100 characters was
used because face_acquired_sensor_dirty string has char limit of 100.
Change-Id: I1c4014b4cfbdc2bba84b9974813ca23e6b42cf4c

5 years agoMerge "Do not detach children of starting windows" into qt-r1-dev
Jorim Jaggi [Thu, 18 Jul 2019 13:18:20 +0000 (13:18 +0000)]
Merge "Do not detach children of starting windows" into qt-r1-dev

5 years agoMerge "Only consider gone for layout if parent is gone for layout" into qt-r1-dev
Jorim Jaggi [Thu, 18 Jul 2019 13:17:52 +0000 (13:17 +0000)]
Merge "Only consider gone for layout if parent is gone for layout" into qt-r1-dev

5 years agoMerge "Stop idmap2d after several seconds pass" into qt-r1-dev
TreeHugger Robot [Thu, 18 Jul 2019 07:18:56 +0000 (07:18 +0000)]
Merge "Stop idmap2d after several seconds pass" into qt-r1-dev

5 years agoMerge "Do not animate wallpaper when wakeAndUnlock" into qt-r1-dev
TreeHugger Robot [Thu, 18 Jul 2019 05:26:16 +0000 (05:26 +0000)]
Merge "Do not animate wallpaper when wakeAndUnlock" into qt-r1-dev

5 years agoDo not animate wallpaper when wakeAndUnlock
Lucas Dupin [Wed, 17 Jul 2019 16:49:52 +0000 (09:49 -0700)]
Do not animate wallpaper when wakeAndUnlock

Fixes: 137536016
Test: press power to go to lock scree <-> aod
Test: unlock with fingerprint
Test: trigger AOD2 pulse (look at wallpaper animation)
Test: atest DozeWallpaperStateTest
Change-Id: I46574609a00712bdde5a4652ab5c9b0c04cbeeec
Merged-In: I46574609a00712bdde5a4652ab5c9b0c04cbeeec

5 years agoDo not animate wallpaper when wakeAndUnlock
Lucas Dupin [Wed, 17 Jul 2019 16:49:52 +0000 (09:49 -0700)]
Do not animate wallpaper when wakeAndUnlock

Fixes: 137536016
Test: press power to go to lock scree <-> aod
Test: unlock with fingerprint
Test: trigger AOD2 pulse (look at wallpaper animation)
Test: atest DozeWallpaperStateTest
Change-Id: I46574609a00712bdde5a4652ab5c9b0c04cbeeec
Merged-In: I46574609a00712bdde5a4652ab5c9b0c04cbeeec

5 years agoMerge "Do not play "lock" anim right after showing kg" into qt-r1-dev
TreeHugger Robot [Thu, 18 Jul 2019 01:08:03 +0000 (01:08 +0000)]
Merge "Do not play "lock" anim right after showing kg" into qt-r1-dev

5 years agoMerge "Fix CTS case failed in CtsAutoFillServiceTestCases" into qt-dev
shitian.ma [Thu, 18 Jul 2019 00:59:14 +0000 (17:59 -0700)]
Merge "Fix CTS case failed in CtsAutoFillServiceTestCases" into qt-dev
am: 378702d8a4

Change-Id: I120efb0217d0d0e1a0ae378621ae0aabc0fde408

5 years agoCompute policy for read-external-storage for uid
Philip P. Moltmann [Thu, 18 Jul 2019 00:51:19 +0000 (17:51 -0700)]
Compute policy for read-external-storage for uid
am: f75bb77052

Change-Id: I4519841cf18364b298b3cc127c133ca732a76899

5 years agoMerge "Fix CTS case failed in CtsAutoFillServiceTestCases" into qt-dev
TreeHugger Robot [Thu, 18 Jul 2019 00:19:52 +0000 (00:19 +0000)]
Merge "Fix CTS case failed in CtsAutoFillServiceTestCases" into qt-dev

5 years agoDo not play "lock" anim right after showing kg
Lucas Dupin [Wed, 17 Jul 2019 22:28:18 +0000 (15:28 -0700)]
Do not play "lock" anim right after showing kg

Let's not play the lock icon animation if the keyguard had just
become visible. Otherwise it will look like we're locking the phone,
and it was already locked earlier.

Test: manual
Fixes: 137691015
Change-Id: I2486cfff3efbbb30d23ce4b68962dd352a2e60b7

5 years agoMerge "Don't assume SYSTEM is current user on boot" into qt-r1-dev
TreeHugger Robot [Wed, 17 Jul 2019 20:53:20 +0000 (20:53 +0000)]
Merge "Don't assume SYSTEM is current user on boot" into qt-r1-dev

5 years agoMerge "Reduce duration of AOD headsup" into qt-r1-dev
TreeHugger Robot [Wed, 17 Jul 2019 20:35:30 +0000 (20:35 +0000)]
Merge "Reduce duration of AOD headsup" into qt-r1-dev

5 years agoMerge "Fix sim pin on DSDS" into qt-r1-dev
Jordan Liu [Wed, 17 Jul 2019 20:28:37 +0000 (20:28 +0000)]
Merge "Fix sim pin on DSDS" into qt-r1-dev

5 years agoReduce duration of AOD headsup
Lucas Dupin [Wed, 17 Jul 2019 01:48:59 +0000 (18:48 -0700)]
Reduce duration of AOD headsup

Test: manual
Fixes: 134649305
Change-Id: If8b49e2b3905c463eeab7bb66568b98f708448e2

5 years agoFix CTS case failed in CtsAutoFillServiceTestCases
shitian.ma [Thu, 11 Jul 2019 01:38:31 +0000 (09:38 +0800)]
Fix CTS case failed in CtsAutoFillServiceTestCases

The case failed due to AutofillManager can not find the ResolveInfo of AutofillCompatAccessibilityService.
AutofillCompatAccessibilityService is not visible for instant App.
Cts test process is working at other users. And the calling App is instant App.
So cts test process can’t get service info of AutofillCompatAccessibilityService.

Bug: 137236035
Test: run cts -m CtsAutoFillServiceTestCases
Change-Id: I4dffc615ea1d8290bc02e51a9aa055fa0ead467f

5 years agoCompute policy for read-external-storage for uid
Philip P. Moltmann [Wed, 17 Jul 2019 15:35:47 +0000 (08:35 -0700)]
Compute policy for read-external-storage for uid

So that when sharding a uid all packages have the same policy.

Otherwise one app might want to set the app-op to a different state than
another app in the same uid which will lead to a loop where the two apps
fight.

Test: atest --test-mapping frameworks/base/services/core/java/com/android/server/policy
Fixes: 136129296
Change-Id: I673342f4513b35854faaab993fc4233fe19217d0

5 years agoMerge "Allow System ChooserActivity to start home activity" into qt-r1-dev
TreeHugger Robot [Wed, 17 Jul 2019 14:48:19 +0000 (14:48 +0000)]
Merge "Allow System ChooserActivity to start home activity" into qt-r1-dev

5 years agoMerge "Add cleanup method to FalsingManager to prevent memory leaks." into qt-r1-dev
Dave Mankoff [Wed, 17 Jul 2019 14:21:24 +0000 (14:21 +0000)]
Merge "Add cleanup method to FalsingManager to prevent memory leaks." into qt-r1-dev

5 years agoMerge "Improved the bypass animation" into qt-r1-dev
TreeHugger Robot [Wed, 17 Jul 2019 09:51:27 +0000 (09:51 +0000)]
Merge "Improved the bypass animation" into qt-r1-dev

5 years agoMerge "Synchronize and slow down fade in" into qt-r1-dev
Lucas Dupin [Wed, 17 Jul 2019 07:25:31 +0000 (07:25 +0000)]
Merge "Synchronize and slow down fade in" into qt-r1-dev

5 years agoImproved the bypass animation
Selim Cinek [Sun, 7 Jul 2019 07:40:38 +0000 (00:40 -0700)]
Improved the bypass animation

The lock icon and the scrim now fade with the same quick unlock animation
like the rest of the bypass, which completes the experience

Fixes: 134952761
Change-Id: Id164914e0e8d780e626acb28922c2084257620f9

5 years agoAllow System ChooserActivity to start home activity
Louis Chang [Mon, 15 Jul 2019 02:41:32 +0000 (10:41 +0800)]
Allow System ChooserActivity to start home activity

We should allow the system ChooserActivity [1] to start
home activities as the same reason we did for ResolverActivity.

[1] Ia50e21e2f8c6b6d0ed7207625e3b5aef214396bb.

Bug: 136270213
Test: atest ActivityRecordTests
Change-Id: I8e6db9e156af151e37db2eb6f03332a15e22b0f0