OSDN Git Service

android-x86/frameworks-base.git
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 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

5 years agoMerge "NotificationManager: Fix notifications in VoIP call" into qt-r1-dev
Eric Laurent [Wed, 17 Jul 2019 02:48:49 +0000 (02:48 +0000)]
Merge "NotificationManager: Fix notifications in VoIP call" into qt-r1-dev

5 years agoSynchronize and slow down fade in
Lucas Dupin [Tue, 16 Jul 2019 18:56:53 +0000 (11:56 -0700)]
Synchronize and slow down fade in

Use slower animation when turning on the display, and request
a black frame when going to sleep.

Fixes: 137398766
Test: Wake up with presence sensor
Test: Wake up by uncovering prox sensor
Test: Wake up by pressing power (with AOD on or off)
Test: Receive notification from AOD
Change-Id: Ic3201e4c6b9de3d1322c9473897bca21fe63f773

5 years agoMerge "Dismiss bouncer properly on SHADE_LOCKED" into qt-r1-dev
Lucas Dupin [Wed, 17 Jul 2019 00:23:53 +0000 (00:23 +0000)]
Merge "Dismiss bouncer properly on SHADE_LOCKED" into qt-r1-dev

5 years agoNotificationManager: Fix notifications in VoIP call
Eric Laurent [Sat, 13 Jul 2019 01:26:29 +0000 (18:26 -0700)]
NotificationManager: Fix notifications in VoIP call

Also take VoIP call into account in addition to voice calls in the
logic overriding playback of notification sounds while in call.

Bug: 133533134
Test: place a Duo call and receive notifications
Change-Id: Idd70b62b439e9f6ec87e15838e2017223fb0865e

5 years agoMerge "Add ability to select composition color space for a given color mode" into...
Daniel Solomon [Tue, 16 Jul 2019 22:28:00 +0000 (22:28 +0000)]
Merge "Add ability to select composition color space for a given color mode" into qt-r1-dev

5 years agoMerge "GestureNav: make reportSystemGestureExclusionChanged oneway" into qt-dev
Adrian Roos [Tue, 16 Jul 2019 22:00:35 +0000 (15:00 -0700)]
Merge "GestureNav: make reportSystemGestureExclusionChanged oneway" into qt-dev
am: d4a50e6e72

Change-Id: I9f837989727c263517aa0d2f3dfd47a830f6170c

5 years agoMerge "GestureNav: make reportSystemGestureExclusionChanged oneway" into qt-dev
TreeHugger Robot [Tue, 16 Jul 2019 21:27:54 +0000 (21:27 +0000)]
Merge "GestureNav: make reportSystemGestureExclusionChanged oneway" into qt-dev

5 years agoDismiss bouncer properly on SHADE_LOCKED
Lucas Dupin [Tue, 16 Jul 2019 20:46:25 +0000 (13:46 -0700)]
Dismiss bouncer properly on SHADE_LOCKED

Test: atest BiometricsUnlockControllerTest
Test: dismiss bouncer after hitting reply button
Test: hit back on bouncer on shade_locked
Test: tap on padlock on camera app, swipe up to retry
Bug: 134096479
Fixes: 137517676
Change-Id: I12e5bbd2c5ceac642a281fc16c5398e09e65ca9d

5 years agoGestureNav: make reportSystemGestureExclusionChanged oneway
Adrian Roos [Tue, 16 Jul 2019 16:35:15 +0000 (18:35 +0200)]
GestureNav: make reportSystemGestureExclusionChanged oneway

When the WindowManager lock is contended, reportSystemGestureExclusionChanged can cause
jank. Making it oneway avoids this.

Fixes: 137650591
Test: make droid
Change-Id: I5d96b7e2225745b146014ad11cafaf0ad9a1b734
Merged-In: I5d96b7e2225745b146014ad11cafaf0ad9a1b734

5 years agoAdd cleanup method to FalsingManager to prevent memory leaks.
Dave Mankoff [Tue, 16 Jul 2019 19:07:01 +0000 (15:07 -0400)]
Add cleanup method to FalsingManager to prevent memory leaks.

When the FalsingManager gets reloaded (due to plugins) it can
leak its listeners and callbacks. This change fixes that.

Bug: 136351609
Test: manual
Change-Id: I2b52d018d478dbcad4ecb7d8a5b361638d5c5877
Merged-In: I2b52d018d478dbcad4ecb7d8a5b361638d5c5877

5 years agoMerge "Fix issue where sensors wouldn't be reregistered" into qt-r1-dev
TreeHugger Robot [Tue, 16 Jul 2019 18:53:45 +0000 (18:53 +0000)]
Merge "Fix issue where sensors wouldn't be reregistered" into qt-r1-dev

5 years agoAdd ability to select composition color space for a given color mode
Daniel Solomon [Thu, 11 Jul 2019 23:29:33 +0000 (16:29 -0700)]
Add ability to select composition color space for a given color mode

Add the ability to specify a desired display composition color space
(sRGB, P3, etc.) for a given color mode (Natural, Boosted, etc.).
If no composition color space is specified, the composition color space
is unchanged.

Bug: 137140317
Bug: 137053654
Test: atest FrameworksMockingServicesTests:DisplayTransformManagerTest
Test: atest FrameworksServicesTests:ColorDisplayServiceTest
Change-Id: I37b01fa160d3965cea341781c0aa656f57e0f68f

5 years agoMerge "WiredAccessoryManager: fix connected state logic for Extcon" into qt-r1-dev
Eric Laurent [Tue, 16 Jul 2019 17:08:55 +0000 (17:08 +0000)]
Merge "WiredAccessoryManager: fix connected state logic for Extcon" into qt-r1-dev

5 years agoMerge "Don't hold lock when dumping activities of app side" into qt-r1-dev
TreeHugger Robot [Tue, 16 Jul 2019 16:47:00 +0000 (16:47 +0000)]
Merge "Don't hold lock when dumping activities of app side" into qt-r1-dev

5 years agoFix issue where sensors wouldn't be reregistered
Lucas Dupin [Mon, 15 Jul 2019 22:49:54 +0000 (15:49 -0700)]
Fix issue where sensors wouldn't be reregistered

Test: manual
Test: atest DozeTriggersTest
Fixes: 137220997
Change-Id: Ic983b64745fd1fa171059d08557e92ed52060f9e

5 years agoMerge "AM: make isHighEndGfx TestApi" into qt-dev
Adrian Roos [Tue, 16 Jul 2019 16:30:16 +0000 (09:30 -0700)]
Merge "AM: make isHighEndGfx TestApi" into qt-dev
am: 2ac934280c

Change-Id: I6a9c2ce91b4971cab32cabdd5d25e9edc29e64b5

5 years agoMerge "Do not let device sleep after successful auth" into qt-r1-dev
Lucas Dupin [Tue, 16 Jul 2019 16:27:23 +0000 (16:27 +0000)]
Merge "Do not let device sleep after successful auth" into qt-r1-dev

5 years agoMerge "AM: make isHighEndGfx TestApi" into qt-dev
TreeHugger Robot [Tue, 16 Jul 2019 16:11:19 +0000 (16:11 +0000)]
Merge "AM: make isHighEndGfx TestApi" into qt-dev

5 years agoDon't hold lock when dumping activities of app side
Riddle Hsu [Tue, 16 Jul 2019 10:19:01 +0000 (18:19 +0800)]
Don't hold lock when dumping activities of app side

Although TransferPipe has a 5s timeout, there may have
several activities take long time do dump that may lead
to system no response.

Fix: 135770637
Test: Launch an activity which overrides Activity#dump
      and sleeps 5s in the dump method. Enter command:
      "adb shell dumpsys activity all", then check the
      interaction with system UI is still responsive.

Change-Id: Id81463eee0178065a0fb982a6e599bee5f15dd81

5 years agoPasswordSlotManager: Fix incorrect string comparison.
David Anderson [Sat, 13 Jul 2019 01:41:19 +0000 (18:41 -0700)]
PasswordSlotManager: Fix incorrect string comparison.

Bug: 135721162
Test: cts-on-gsi -m CtsWindowManagerDeviceTestCases
Change-Id: I2a11dd6dfd44e10400e40ebbaa2ed597de95cdcb
Merged-In: I2a11dd6dfd44e10400e40ebbaa2ed597de95cdcb

5 years ago60hz only when ambient or display brightness is low
Long Ling [Wed, 3 Jul 2019 23:43:15 +0000 (16:43 -0700)]
60hz only when ambient or display brightness is low

Due to hardware limitation, flickers are seen when switching between 60
and 90hz at low display and ambient brightness. Force the display to stay
at 60hz when ambient and display brightness are low.

Bug: 136461712
Exempt-From-Owner-Approval: Santos is designated by Michael
Change-Id: I931288c46fc658e25b25249a160904b3e2dcfb94

5 years agoWiredAccessoryManager: fix connected state logic for Extcon
Eric Laurent [Fri, 21 Jun 2019 18:39:28 +0000 (11:39 -0700)]
WiredAccessoryManager: fix connected state logic for Extcon

Bug: 134120683
Test: make
Change-Id: I618031968a4131ee153994deca55d192cbc598b3
(cherry picked from commit a1f05cc479a73f991793ff587119b3e56daf2c5c)

5 years agoaudioservice: re send BT_SCO parameter to HAL when audioserver restarts
Eric Laurent [Sat, 13 Jul 2019 01:19:27 +0000 (18:19 -0700)]
audioservice: re send BT_SCO parameter to HAL when audioserver restarts

Fix omission in AudioDeviceBroker.onAudioServerDied() where parameter
"BT_SCO=on|off" must be send to HAL according to current forced usage
for communication.

Bug: 135512789
Test: killaudio server during call over BT SCO
Change-Id: I1039748db5591321869f70c3dc589fbc62d41c31

5 years agoMerge "audioservice: fix hasMediaDynamicPolicy() for loopback and render policies...
Eric Laurent [Mon, 15 Jul 2019 15:18:46 +0000 (15:18 +0000)]
Merge "audioservice: fix hasMediaDynamicPolicy() for loopback and render policies" into qt-r1-dev

5 years agoMerge "Import translations. DO NOT MERGE" into qt-r1-dev
Bill Yi [Mon, 15 Jul 2019 13:18:50 +0000 (13:18 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-r1-dev

5 years agoAM: make isHighEndGfx TestApi
Adrian Roos [Mon, 15 Jul 2019 10:05:54 +0000 (12:05 +0200)]
AM: make isHighEndGfx TestApi

Bug: 136784434
Test: n/a
Change-Id: Ie26de8dcf64a02b7757d4f705485cdcb7470f511

5 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
Bill Yi [Mon, 15 Jul 2019 09:52:51 +0000 (02:52 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: 1f6fbcdef3 -s ours
am skip reason: subject contains skip directive

Change-Id: I2d97a327111c9aaf4da6490962ede90dadc8cbe5

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

5 years agoMerge "Import translations. DO NOT MERGE" into qt-r1-dev
Bill Yi [Mon, 15 Jul 2019 05:49:55 +0000 (05:49 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-r1-dev

5 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 15 Jul 2019 05:13:49 +0000 (22:13 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I43773e15dc0c3d572b791e1ee7aae6353b918f5d

5 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
Bill Yi [Mon, 15 Jul 2019 04:36:53 +0000 (21:36 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: c26bc89520 -s ours
am skip reason: subject contains skip directive

Change-Id: Id017885d9e75d86c34c23bcd0568cc585d1aa157

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
Bill Yi [Mon, 15 Jul 2019 04:23:22 +0000 (04:23 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoMerge "Import translations. DO NOT MERGE" into qt-r1-dev
Bill Yi [Mon, 15 Jul 2019 04:22:04 +0000 (04:22 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-r1-dev

5 years agoMerge "Made sure the headsup doesn't disappear after bypassing" into qt-r1-dev
Selim Cinek [Mon, 15 Jul 2019 03:00:13 +0000 (03:00 +0000)]
Merge "Made sure the headsup doesn't disappear after bypassing" into qt-r1-dev

5 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 15 Jul 2019 02:49:17 +0000 (19:49 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Iead3ad19af56e9a6e2fef89a946b5f69c4b4674c

5 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 15 Jul 2019 02:25:52 +0000 (19:25 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I55ae03d482913f3d4fb8911853bcc882181ef7f9

5 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
Bill Yi [Mon, 15 Jul 2019 00:56:42 +0000 (17:56 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: a76086102b -s ours
am skip reason: subject contains skip directive

Change-Id: I9c03bebeb45ab0334e24d33fef0c93da23f9da64

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

5 years agoMerge "Import translations. DO NOT MERGE" into qt-r1-dev
TreeHugger Robot [Sun, 14 Jul 2019 23:27:31 +0000 (23:27 +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 [Sun, 14 Jul 2019 22:28:27 +0000 (15:28 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: 2d016d1b44 -s ours
am skip reason: subject contains skip directive

Change-Id: Ic3e648121dcf4f59ce92ab8dc874733ebe56261a

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

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sun, 14 Jul 2019 19:29:36 +0000 (12:29 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I64618ec898312471b12a7ce6cfba0d5668a7c1af

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sun, 14 Jul 2019 19:09:37 +0000 (12:09 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I4d6b4d43d9fa21ba8f799ae34650439dc5498acb

5 years ago[automerger skipped] Import translations. DO NOT MERGE
Bill Yi [Sun, 14 Jul 2019 18:02:34 +0000 (11:02 -0700)]
[automerger skipped] Import translations. DO NOT MERGE
am: d258871dcf -s ours
am skip reason: subject contains skip directive

Change-Id: Iac57959ce70a16ca4f3952463ef969c2e68064df

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

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ib19f01fa0ff2376e7db5168cc45d5da4321b28d8

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sun, 14 Jul 2019 14:40:31 +0000 (07:40 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I382b136a55db6b38eb364f6f4934129b05411a53

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sun, 14 Jul 2019 08:31:37 +0000 (01:31 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I424bc1a910c09f141985edcc4375202046ef50a4

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sun, 14 Jul 2019 08:13:46 +0000 (01:13 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I166c16c2b9dc34c74780e41b1ac73612e79f46f7

5 years agoDo not let device sleep after successful auth
Lucas Dupin [Sun, 14 Jul 2019 04:23:24 +0000 (13:23 +0900)]
Do not let device sleep after successful auth

Retrying auth, or succeeding is a strong signal that the user
is present. The device should not sleep, otherwise the keyguard
will be dismissed (as it should) but not automatically locked,
since screen timaeouts don't lock instantly.

Test: Manual
Fixes: 135967964
Change-Id: I9a8bcf0ddb80536719d093aab9e00c76d87ad24b

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sun, 14 Jul 2019 02:20:53 +0000 (19:20 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ia6e49e4d3b169b2023503fffc7104604463819a1

5 years agoMerge "Fixed a crash with remote input" into qt-r1-dev
TreeHugger Robot [Sat, 13 Jul 2019 02:15:10 +0000 (02:15 +0000)]
Merge "Fixed a crash with remote input" into qt-r1-dev

5 years agoMerge "Dump bypass controller state for debugging" into qt-r1-dev
TreeHugger Robot [Sat, 13 Jul 2019 01:46:39 +0000 (01:46 +0000)]
Merge "Dump bypass controller state for debugging" into qt-r1-dev

5 years agoMerge "Fix issue where bouncer won't be dismissed when being dragged" into qt-r1-dev
Lucas Dupin [Sat, 13 Jul 2019 01:43:42 +0000 (01:43 +0000)]
Merge "Fix issue where bouncer won't be dismissed when being dragged" into qt-r1-dev

5 years agoaudioservice: fix hasMediaDynamicPolicy() for loopback and render policies
Eric Laurent [Fri, 12 Jul 2019 17:31:51 +0000 (10:31 -0700)]
audioservice: fix hasMediaDynamicPolicy() for loopback and render policies

Exclude mixes with LOOPBACK + RENDER flags when looking for dynamic
policies matching media usage. As this is only used in the context
of sending becoming noisy intent we want to send the intent when playback
capture is active.

Bug: 137055231
Test: enable live caption and disconnect headset while music is playing
Change-Id: Ib3cd38f58c2ff78a2f2f13c5c22b637f9701e345

5 years agoMerge "Adding method to check if a task is running in home stack" into qt-r1-dev
TreeHugger Robot [Sat, 13 Jul 2019 00:17:29 +0000 (00:17 +0000)]
Merge "Adding method to check if a task is running in home stack" into qt-r1-dev

5 years agoMerge "Pass EXTRA_CALLING_PACKAGE for legacy change default dialer/SMS intents."...
Hai Zhang [Fri, 12 Jul 2019 23:23:48 +0000 (16:23 -0700)]
Merge "Pass EXTRA_CALLING_PACKAGE for legacy change default dialer/SMS intents." into qt-dev
am: 0cdc7e9b98

Change-Id: Id0fc7bf8f846f084f346740c30924676e6bb8a33

5 years agoMerge "Pass EXTRA_CALLING_PACKAGE for legacy change default dialer/SMS intents."...
TreeHugger Robot [Fri, 12 Jul 2019 23:02:47 +0000 (23:02 +0000)]
Merge "Pass EXTRA_CALLING_PACKAGE for legacy change default dialer/SMS intents." into qt-dev

5 years agoMerge "Import translations. DO NOT MERGE" into qt-r1-dev
TreeHugger Robot [Fri, 12 Jul 2019 22:53:26 +0000 (22:53 +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 [Fri, 12 Jul 2019 21:33:41 +0000 (14:33 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: 1feb0dfde8 -s ours
am skip reason: subject contains skip directive

Change-Id: I9de11f339446e4c75d659bbb6e31ddd277b4aca3

5 years agoDon't persist new night mode setting in car mode
Beverly [Fri, 12 Jul 2019 21:29:59 +0000 (14:29 -0700)]
Don't persist new night mode setting in car mode
am: 98288b3e0f

Change-Id: I1cbcf33174ccb419da99d5c2679f29e657c18ff0

5 years agoAdding method to check if a task is running in home stack
Sunny Goyal [Fri, 12 Jul 2019 17:38:37 +0000 (10:38 -0700)]
Adding method to check if a task is running in home stack

Bug: 137197916
Test: Verified on Launcher
Change-Id: I0260fa63e19bf7a22d81f44b56bd7e9818b19d16

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Fri, 12 Jul 2019 20:55:41 +0000 (20:55 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoMerge "Add metrics logging to BrightLineFalsingManager." into qt-r1-dev
TreeHugger Robot [Fri, 12 Jul 2019 18:57:50 +0000 (18:57 +0000)]
Merge "Add metrics logging to BrightLineFalsingManager." into qt-r1-dev

5 years agoDon't persist new night mode setting in car mode
Beverly [Thu, 11 Jul 2019 14:13:43 +0000 (10:13 -0400)]
Don't persist new night mode setting in car mode

Keep persist.sys.theme in sync with the primary user's
setting value UI_NIGHT_MODE

Test: manual
Fixes: 137174308
Change-Id: I8df67e0734b08bd82418e381d153d9012ecf99e4
(cherry picked from commit 47a775b67de77317f6ad357a9c4a3d88da846253)

5 years agoMerge "Use TM SubId in getDataState and getDataActivity" into qt-r1-dev
Jordan Liu [Fri, 12 Jul 2019 18:29:05 +0000 (18:29 +0000)]
Merge "Use TM SubId in getDataState and getDataActivity" into qt-r1-dev

5 years agoMerge "Check Carrier Privilege on Hidden Subs" into qt-r1-dev
TreeHugger Robot [Fri, 12 Jul 2019 18:00:48 +0000 (18:00 +0000)]
Merge "Check Carrier Privilege on Hidden Subs" into qt-r1-dev

5 years agoMerge changes from topic "135105735" into qt-r1-dev
Xiangyu/Malcolm Chen [Fri, 12 Jul 2019 17:19:48 +0000 (17:19 +0000)]
Merge changes from topic "135105735" into qt-r1-dev

* changes:
  Use new API to get mergedSubscriberIds based on grouping.
  Provide @hide API to return merged IMSIs from grouping.

5 years agoMerge "Autoenabling gesture mode only is the device is unmanaged" into qt-r1-dev
TreeHugger Robot [Fri, 12 Jul 2019 15:47:36 +0000 (15:47 +0000)]
Merge "Autoenabling gesture mode only is the device is unmanaged" into qt-r1-dev

5 years agoFix issue where bouncer won't be dismissed when being dragged
Lucas Dupin [Fri, 12 Jul 2019 08:46:11 +0000 (17:46 +0900)]
Fix issue where bouncer won't be dismissed when being dragged

Because the animation might have finished but bouncer is not fully visible yet.

Test: start dragging, wait for animation, then auth with face
Fixes: 132846921
Change-Id: I0155d0ddffb628c94c9d427826f54995bc9b3671

5 years agoMerge changes Ia3307593,I43126ce1 into qt-r1-dev
Kevin Chyn [Fri, 12 Jul 2019 05:14:04 +0000 (05:14 +0000)]
Merge changes Ia3307593,I43126ce1 into qt-r1-dev

* changes:
  Reset mSecureCameraLaunched when bouncer is shown
  Do task stack work on handler to ensure in-order execution

5 years agoMerge "Read the high refresh rate blacklist from DeviceConfig." into qt-r1-dev
TreeHugger Robot [Fri, 12 Jul 2019 03:22:35 +0000 (03:22 +0000)]
Merge "Read the high refresh rate blacklist from DeviceConfig." into qt-r1-dev

5 years agoFixed a crash with remote input
Selim Cinek [Fri, 12 Jul 2019 03:02:40 +0000 (20:02 -0700)]
Fixed a crash with remote input

Fixes: 137156529
Test: use remote input on hun
Change-Id: Ib1adc090346d7a90283053725e0038494b326528

5 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 12 Jul 2019 02:53:04 +0000 (19:53 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: If6d1fbbe8fb5560661f607deecf6168b7a4ccd01

5 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 12 Jul 2019 02:34:56 +0000 (19:34 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I22c679764a454425947c3e0bd3949b18fa6678d4

5 years agoPass EXTRA_CALLING_PACKAGE for legacy change default dialer/SMS intents.
Hai Zhang [Fri, 12 Jul 2019 00:30:45 +0000 (17:30 -0700)]
Pass EXTRA_CALLING_PACKAGE for legacy change default dialer/SMS intents.

So that RequestRoleActivity can always know the calling package. This
is required to keep supporting pre-Q apps calling with
startActivity().

Also fixed application info retrieval to be aware of multi-user.

Bug: 137054465
Test: manual
Change-Id: I686a97b543a0218837ee08291ef6fd9579a551d1

5 years agoReset mSecureCameraLaunched when bouncer is shown
Kevin Chyn [Thu, 11 Jul 2019 23:25:36 +0000 (16:25 -0700)]
Reset mSecureCameraLaunched when bouncer is shown

Whenever the bouncer is shown, face auth should start again.

Fixes: 137228869

Test: Install test camera app that's available on lockscreen, double tap
      power to launch camera on lock screen. Bouncer is shown, and face
      unlock works

Change-Id: Ia33075935c6d8413ab7c9351739cca67bb81c377

5 years agoMerge "Ensure permissions granted for correct SIM" into qt-r1-dev
Leland Miller [Fri, 12 Jul 2019 00:13:13 +0000 (00:13 +0000)]
Merge "Ensure permissions granted for correct SIM" into qt-r1-dev

5 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
Bill Yi [Thu, 11 Jul 2019 22:22:25 +0000 (15:22 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: 0d2a5f94ba -s ours
am skip reason: subject contains skip directive

Change-Id: I0c8629b4901da29af669faa0f441e1e2e8643780

5 years agoDo task stack work on handler to ensure in-order execution
Kevin Chyn [Thu, 11 Jul 2019 22:01:26 +0000 (15:01 -0700)]
Do task stack work on handler to ensure in-order execution

The rest of the ClientMonitor work is done on a handler to guarantee
in-order execution. e.g. setting to null when auth completes, updating
mCurrentClient when new client is requested, etc. Put this work on the
same handler.

Fixes: 137237140

Test: BiometricPromptDemo, go home while authenticating multiple times;
      no crash observed

Change-Id: I43126ce13fb88d751571d0d52fe594c0293f794c

5 years agoAdd metrics logging to BrightLineFalsingManager.
Dave Mankoff [Thu, 11 Jul 2019 21:44:54 +0000 (17:44 -0400)]
Add metrics logging to BrightLineFalsingManager.

This metric was logged in the old manager but not the new one.

Bug: 71762354
Change-Id: Ieca5d4659fc8eb60ba481c6daf495a69f8e0e9e6
Test: manual.

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

5 years agoUse new API to get mergedSubscriberIds based on grouping.
Malcolm Chen [Wed, 3 Jul 2019 05:29:35 +0000 (22:29 -0700)]
Use new API to get mergedSubscriberIds based on grouping.

In addition, make mMergedSubscriberIds a list to fit usage of multi-SIM
devices.

Bug: 135105735
Bug: 137137221
Test: manual
Change-Id: I364262559789112f35b88f4c298463bf4af2e82a

5 years agoProvide @hide API to return merged IMSIs from grouping.
Malcolm Chen [Mon, 1 Jul 2019 23:32:21 +0000 (16:32 -0700)]
Provide @hide API to return merged IMSIs from grouping.

Bug: 135105735
Test: test app. Apply grouping and call the new API, to make sure
it returns correct values.

Change-Id: I99586976d3421d4b35be465201ee33cbb2dfd1d9

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

5 years agoMerge "Don't persist new night mode setting in car mode" into qt-r1-dev
TreeHugger Robot [Thu, 11 Jul 2019 20:01:50 +0000 (20:01 +0000)]
Merge "Don't persist new night mode setting in car mode" into qt-r1-dev

5 years agoMerge "Adjust window rounded corners" into qt-r1-dev
TreeHugger Robot [Thu, 11 Jul 2019 20:01:41 +0000 (20:01 +0000)]
Merge "Adjust window rounded corners" into qt-r1-dev

5 years agoUse TM SubId in getDataState and getDataActivity
Nathan Harold [Fri, 14 Jun 2019 23:56:05 +0000 (16:56 -0700)]
Use TM SubId in getDataState and getDataActivity

-Update getDataState() API to use the SubId specified
 by the TelephonyManager instance.

-Update the getDataActivity() API to use the SubId
 specified by the TelephonyManager instance.

(This CL is an un-revert of aosp/984377)

Bug: 135205433
Test: manual (automated test is infeasible)
Change-Id: I035f2c44a7955e88608b1c336acb72fb68c3e450
Merged-In: I035f2c44a7955e88608b1c336acb72fb68c3e450

5 years agoMerge "Do not notify SS change with invalid subId" into qt-r1-dev
Jordan Liu [Thu, 11 Jul 2019 19:06:34 +0000 (19:06 +0000)]
Merge "Do not notify SS change with invalid subId" into qt-r1-dev

5 years agoMerge "MobileSignalController listen to ACTIVE DATA SIM changes" into qt-r1-dev
Fabian Kozynski [Thu, 11 Jul 2019 18:58:05 +0000 (18:58 +0000)]
Merge "MobileSignalController listen to ACTIVE DATA SIM changes" into qt-r1-dev

5 years agoDo not notify SS change with invalid subId
Jordan Liu [Mon, 24 Jun 2019 18:27:34 +0000 (11:27 -0700)]
Do not notify SS change with invalid subId

If a service state change is reported as a subscription is becoming
invalid (i.e. no longer connected to a phone), the current behavior can
sometimes notify this change to all PhoneStateListeners regardless of
which subId they registered to listen on (namely this happens when the
subscription was attached to the default phone).

This change removes that behavior so that no listeners are notified if
the subscription is invalid.

Test: manually verified on DSDS that when
  1. erasing eSIM when it is default and
  2. removing pSIM when it is default,
  the service state triangle for the other SIM is unaffected
Bug: 133140128
Merged-In: I906147b2d13be0bc26f8d31ec361fcd016c2cda0
Change-Id: I906147b2d13be0bc26f8d31ec361fcd016c2cda0
(cherry picked from commit 02ce78681fc1c9860abc4a68a9e77886963258a0)

5 years agoMerge "Disable testEnableRollbackTimeoutFailsRollback test." into qt-dev
Richard Uhler [Thu, 11 Jul 2019 17:21:53 +0000 (10:21 -0700)]
Merge "Disable testEnableRollbackTimeoutFailsRollback test." into qt-dev
am: 4dd2a01430

Change-Id: Icedd678266fc505d4545865b3431f5606f8f73ad

5 years agoMerge "Disable testEnableRollbackTimeoutFailsRollback test." into qt-dev
TreeHugger Robot [Thu, 11 Jul 2019 17:03:07 +0000 (17:03 +0000)]
Merge "Disable testEnableRollbackTimeoutFailsRollback test." into qt-dev

5 years agoMerge "Do not report AOD as showing when fading away" into qt-r1-dev
TreeHugger Robot [Thu, 11 Jul 2019 16:03:26 +0000 (16:03 +0000)]
Merge "Do not report AOD as showing when fading away" into qt-r1-dev