OSDN Git Service

android-x86/frameworks-base.git
4 years agoMerge "Using the keyguard fading away duration for the scrim" into qt-r1-dev
TreeHugger Robot [Mon, 12 Aug 2019 22:44:56 +0000 (22:44 +0000)]
Merge "Using the keyguard fading away duration for the scrim" into qt-r1-dev

4 years agoMerge "Disable falsing manager when face-authed." into qt-r1-dev
Dave Mankoff [Mon, 12 Aug 2019 15:17:39 +0000 (15:17 +0000)]
Merge "Disable falsing manager when face-authed." into qt-r1-dev

4 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
Bill Yi [Mon, 12 Aug 2019 04:31:51 +0000 (21:31 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: 8931739c16 -s ours
am skip reason: subject contains skip directive

Change-Id: I968bb1d6987ac3baab44a20b642ef4196026a408

4 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Mon, 12 Aug 2019 04:00:48 +0000 (04:00 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

4 years agoUsing the keyguard fading away duration for the scrim
Selim Cinek [Sat, 10 Aug 2019 00:19:57 +0000 (17:19 -0700)]
Using the keyguard fading away duration for the scrim

Previously we were using a fixed duration and as a result the
scrims duration was much shorter right after boot when the
fading away duration takes 2 seconds. We're now always using
the fading away duration which simplifies also the bypass
transition.

Fixes: 138305791
Test: atest SystemUITests
Change-Id: I2eba68c75c9777ab1ba6ffadadafed3836eb74e3

4 years ago[automerger skipped] Merge "Ensure isTopBucket() gets set when there is just one...
Ned Burns [Fri, 9 Aug 2019 22:38:03 +0000 (15:38 -0700)]
[automerger skipped] Merge "Ensure isTopBucket() gets set when there is just one notification" into qt-dev
am: 68f3bb1305 -s ours
am skip reason: change_id I615b2f7fddca30dae67dbaab0e5d54a824a4c441 with SHA1 2d35980e72 is in history

Change-Id: I37cdb13b72ac7c4da5df1db6ee07209ed20353db

4 years agoMerge "Ensure isTopBucket() gets set when there is just one notification" into qt-dev
Ned Burns [Fri, 9 Aug 2019 22:21:45 +0000 (22:21 +0000)]
Merge "Ensure isTopBucket() gets set when there is just one notification" into qt-dev

4 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 9 Aug 2019 22:06:46 +0000 (15:06 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ibb92c8650e8f63fd70e7a23dcbde26ce19868d4a

4 years agoDisable falsing manager when face-authed.
Dave Mankoff [Fri, 9 Aug 2019 21:58:56 +0000 (17:58 -0400)]
Disable falsing manager when face-authed.

Bug: 139202921
Test: manual
Change-Id: Icc24dfaa2958443d0927567c1e90184059fc7ae7

4 years agoMerge "Hide the home handle in lock task home when home and overview are disabled...
TreeHugger Robot [Fri, 9 Aug 2019 21:51:03 +0000 (21:51 +0000)]
Merge "Hide the home handle in lock task home when home and overview are disabled" into qt-r1-dev

4 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
Bill Yi [Fri, 9 Aug 2019 19:26:12 +0000 (12:26 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: fe2d421fab -s ours
am skip reason: subject contains skip directive

Change-Id: I2b7c8c005bb0d174a451243b9f0b4148f6c427bb

4 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Fri, 9 Aug 2019 18:42:27 +0000 (18:42 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

4 years agoMerge "Fade from black when reach" into qt-r1-dev
TreeHugger Robot [Fri, 9 Aug 2019 17:39:40 +0000 (17:39 +0000)]
Merge "Fade from black when reach" into qt-r1-dev

4 years agoEnsure isTopBucket() gets set when there is just one notification
Ned Burns [Thu, 8 Aug 2019 17:43:57 +0000 (13:43 -0400)]
Ensure isTopBucket() gets set when there is just one notification

My descendants will vilify this CL for generations to come. We'll
clean it up for R, but this is our last, best hope for fixing things
in Q.

Bug: 138775282

Test: manual
Change-Id: I615b2f7fddca30dae67dbaab0e5d54a824a4c441
Merged-In: I615b2f7fddca30dae67dbaab0e5d54a824a4c441
(cherry picked from commit 2d35980e7201e042e253fadd0eb55e1866fc28d9)

4 years agoMerge "Ensure isTopBucket() gets set when there is just one notification" into qt...
Ned Burns [Fri, 9 Aug 2019 17:27:58 +0000 (17:27 +0000)]
Merge "Ensure isTopBucket() gets set when there is just one notification" into qt-r1-dev

4 years agoMerge "Import translations. DO NOT MERGE" into qt-r1-dev
TreeHugger Robot [Fri, 9 Aug 2019 16:52:31 +0000 (16:52 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-r1-dev

4 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 9 Aug 2019 04:48:16 +0000 (21:48 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I68fcda4e1f4d0abaebf711f96f3770411b85fb5d

4 years agoMerge "Make the back longpress timeout a system property" into qt-r1-dev
Adam Cohen [Fri, 9 Aug 2019 03:37:37 +0000 (03:37 +0000)]
Merge "Make the back longpress timeout a system property" into qt-r1-dev

4 years agoEnsure isTopBucket() gets set when there is just one notification
Ned Burns [Thu, 8 Aug 2019 17:43:57 +0000 (13:43 -0400)]
Ensure isTopBucket() gets set when there is just one notification

My descendants will vilify this CL for generations to come. We'll
clean it up for R, but this is our last, best hope for fixing things
in Q.

Bug: 138775282

Test: manual
Change-Id: I615b2f7fddca30dae67dbaab0e5d54a824a4c441

4 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 9 Aug 2019 01:58:21 +0000 (18:58 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: If8df5134da53280a8a52b21df9d4769d31230d0a

4 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
Bill Yi [Fri, 9 Aug 2019 01:25:06 +0000 (18:25 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: 801d177995 -s ours
am skip reason: subject contains skip directive

Change-Id: I71e66cacaa799e8bcb1f2d994862290644fd47c5

4 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Fri, 9 Aug 2019 01:08:59 +0000 (01:08 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

4 years agoFade from black when reach
Lucas Dupin [Thu, 8 Aug 2019 23:58:50 +0000 (16:58 -0700)]
Fade from black when reach

Previously, we were fading from the previous state, which could
be transparent. The screen would seem to flash if the wallpaper
were light.

Test: manual
Fixes: 138097741
Change-Id: Ic86024b8970e01ed405e90bf12ef2dc27acf1c29

4 years agoMerge "Add carrier config for allowing merge of RTT calls" into qt-r1-dev
Hall Liu [Thu, 8 Aug 2019 23:47:58 +0000 (23:47 +0000)]
Merge "Add carrier config for allowing merge of RTT calls" into qt-r1-dev

4 years agoHide the home handle in lock task home when home and overview are disabled
Sunny Goyal [Thu, 8 Aug 2019 23:36:14 +0000 (16:36 -0700)]
Hide the home handle in lock task home when home and overview are disabled

Bug: 137626984
Test: Verified the home handle is hidden with CtsVerifier app
Change-Id: I0c21ae5b6f0d094e84b2ba4200a93fd9c4295a55

4 years agoMake the back longpress timeout a system property
Adam Cohen [Wed, 7 Aug 2019 22:29:34 +0000 (15:29 -0700)]
Make the back longpress timeout a system property

issue 138944380

Test: manual

Change-Id: I9cebea1f7f44298a8723d04df17349cc3cb03067

4 years agoMerge "Add a blacklist for preinstalled carrier apps." into qt-dev
Andrew Sapperstein [Thu, 8 Aug 2019 21:30:33 +0000 (14:30 -0700)]
Merge "Add a blacklist for preinstalled carrier apps." into qt-dev
am: aa3689c4d9

Change-Id: I4a9898f5a205b7ff13ef8631870cbe3f8451923b

4 years agoMerge "Add a blacklist for preinstalled carrier apps." into qt-dev
Andrew Sapperstein [Thu, 8 Aug 2019 20:50:09 +0000 (20:50 +0000)]
Merge "Add a blacklist for preinstalled carrier apps." into qt-dev

4 years agoMerge "Avoid using secondary displays as launch params when not support" into qt-dev
bsears [Thu, 8 Aug 2019 18:02:43 +0000 (11:02 -0700)]
Merge "Avoid using secondary displays as launch params when not support" into qt-dev
am: c5568f9aac

Change-Id: I28c1abc4eea843fdbffc95d9bccde910e415a468

4 years agoMerge "Avoid using secondary displays as launch params when not support" into qt-dev
bsears [Thu, 8 Aug 2019 17:51:11 +0000 (17:51 +0000)]
Merge "Avoid using secondary displays as launch params when not support" into qt-dev

4 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 8 Aug 2019 17:30:47 +0000 (10:30 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I1fc9b1dc26f21604c06de951f0bfc0ec4e5e1155

4 years agoMerge "Cleans up sharedUser regardless of creation logic" into qt-dev
Patrick Baumann [Thu, 8 Aug 2019 16:56:08 +0000 (09:56 -0700)]
Merge "Cleans up sharedUser regardless of creation logic" into qt-dev
am: a1bf282e43

Change-Id: Ic721f31332bbcbb9d64e501b3b94b6b457c8af51

4 years agoMerge "Cleans up sharedUser regardless of creation logic" into qt-dev
TreeHugger Robot [Thu, 8 Aug 2019 16:18:33 +0000 (16:18 +0000)]
Merge "Cleans up sharedUser regardless of creation logic" into qt-dev

4 years agoAdd a blacklist for preinstalled carrier apps.
Andrew Sapperstein [Wed, 7 Aug 2019 22:04:35 +0000 (15:04 -0700)]
Add a blacklist for preinstalled carrier apps.

Allows an OEM to specify that a preinstalled carrier app, even if
TelephonyManager says it should have carrier privileges, does not
get granted the default permissions and does not get enabled when
a compatible SIM is inserted.

Bug: 138150105
Test: verified locally
Change-Id: I0afec28f1f18227947c1fe9e6bb5fd0dad3b5dac
Merged-In: I0afec28f1f18227947c1fe9e6bb5fd0dad3b5dac

4 years agoCleans up sharedUser regardless of creation logic
Patrick Baumann [Thu, 8 Aug 2019 00:56:58 +0000 (17:56 -0700)]
Cleans up sharedUser regardless of creation logic

Prior to this change, we were not updating the shared user a package
setting belongs to if the package setting was not deep copied. In the
case that shared users didn't match, we were not deep copying and so
were not updating later. There is a more fundamental change to be made
here, but we're limiting risk by keeping this change as small as
possible.

Bug: 138919405
Test: atest AppSecurityTests
Test: manual; flash P then flash this build: observe consistent PackageSettings
Change-Id: Ib22f9e6a1fb3104bec4eb3e5b1de983e19d49dce

4 years agoAdd carrier config for allowing merge of RTT calls
Hall Liu [Mon, 29 Jul 2019 23:18:30 +0000 (16:18 -0700)]
Add carrier config for allowing merge of RTT calls

Add a carrier config key that specifies whether merging an RTT call is
allowed.

Bug: 136035168
Test: manual

Change-Id: I8cfdf68c69b50abed88d7c835db0480a53755f5a

4 years agoMerge "docs: Removed dates in obsolete field messages." into qt-dev
Kevin Hufnagle [Wed, 7 Aug 2019 22:23:39 +0000 (15:23 -0700)]
Merge "docs: Removed dates in obsolete field messages." into qt-dev
am: 45855214b5

Change-Id: I549026ea364645a8d60a1a06df9b20886a6df97a

4 years agoMerge "docs: Removed dates in obsolete field messages." into qt-dev
Kevin Hufnagle [Wed, 7 Aug 2019 22:05:16 +0000 (22:05 +0000)]
Merge "docs: Removed dates in obsolete field messages." into qt-dev

4 years agoMerge "Stop idmap2d after several seconds pass" into qt-r1-dev
Ryan Mitchell [Wed, 7 Aug 2019 16:50:33 +0000 (16:50 +0000)]
Merge "Stop idmap2d after several seconds pass" into qt-r1-dev

4 years agoMerge "GestureNav: Fix AbsSeekBar thumb exclusion" into qt-r1-dev
TreeHugger Robot [Wed, 7 Aug 2019 16:33:36 +0000 (16:33 +0000)]
Merge "GestureNav: Fix AbsSeekBar thumb exclusion" into qt-r1-dev

4 years agoGestureNav: Fix AbsSeekBar thumb exclusion
Adrian Roos [Tue, 6 Aug 2019 14:43:31 +0000 (16:43 +0200)]
GestureNav: Fix AbsSeekBar thumb exclusion

Fix two issues that caused the exclusion for SeekBar thumbs to be to small and offset
from the thumb:

Account for padding and thumb offset; the thumb drawable is drawn with an offset
from the View's Canvas; the same offset must be applied when udpating the exclusion
rects.

The thumb is typically much smaller than the drag zone; the thumb rect alone doesn't
provide an appropriately large exclusion for reliably hitting it, so it is enlarged
to the height of the seek bar (up to 48dp).

Bug: 138992366
Test: manual, show exclusion zones with: adb shell setprop debug.pointerlocation.showexclusion 150 && adb shell settings put system pointer_location 1
Test: atest android.widget.AbsSeekBarTest
Change-Id: I2b670c6f3f33451bdccdfd3d75a75e90260257ff

4 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
Bill Yi [Wed, 7 Aug 2019 05:53:39 +0000 (22:53 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: 6aa3f38983 -s ours
am skip reason: subject contains skip directive

Change-Id: I9bb07364b95726b5e1b1f447f83ec5f9443706d6

4 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Wed, 7 Aug 2019 05:28:25 +0000 (05:28 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

4 years agoMerge "Import translations. DO NOT MERGE" into qt-r1-dev
TreeHugger Robot [Wed, 7 Aug 2019 03:26:38 +0000 (03:26 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-r1-dev

4 years agodocs: Removed dates in obsolete field messages.
Kevin Hufnagle [Wed, 7 Aug 2019 01:17:11 +0000 (18:17 -0700)]
docs: Removed dates in obsolete field messages.

Notices about obsolete fields and methods now mention the publish
location (Google Play Store) or Android version (Q and higher).

Test: make ds-docs

Bug: 122482744
Change-Id: Idb60fef711401d43af8eb71343f157590c311571

4 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 6 Aug 2019 21:17:57 +0000 (14:17 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I177c5cfe63c60448882e1849f76a96d9103ed305

4 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 6 Aug 2019 21:07:31 +0000 (14:07 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ic7853a4d8574d496f1ee03a8163fff2671cafafd

4 years agoMerge "Stop timer when notification is not visible" into qt-r1-dev
Beth Thibodeau [Tue, 6 Aug 2019 20:11:27 +0000 (20:11 +0000)]
Merge "Stop timer when notification is not visible" into qt-r1-dev

4 years agoStop timer when notification is not visible
Beth Thibodeau [Thu, 1 Aug 2019 14:57:29 +0000 (10:57 -0400)]
Stop timer when notification is not visible

This combines ag/8888937 and ag/9019277 into one CL, plus fixes another issue
where the timer could restart if the user had removed a notification and then
restarted the stream

Fixes: 138261464
Test: manual, atest NotificationMediaTemplateViewWrapperTest

Also checked the changes on the master branch since that had very
obvious issues when locking / unlocking the phone before

Change-Id: I6a0bbc675d33a5c7d4ce7f0884aec19606bff4fa

4 years agoMerge "docs: Clarified when onRestoreInstanceState() executes" into qt-dev
Kevin Hufnagle [Tue, 6 Aug 2019 16:09:56 +0000 (09:09 -0700)]
Merge "docs: Clarified when onRestoreInstanceState() executes" into qt-dev
am: c80fe63001

Change-Id: I332332fc88e565a3842297b04769778ee1c344ca

4 years agoMerge "docs: Clarified when onRestoreInstanceState() executes" into qt-dev
Kevin Hufnagle [Tue, 6 Aug 2019 15:53:40 +0000 (15:53 +0000)]
Merge "docs: Clarified when onRestoreInstanceState() executes" into qt-dev

4 years agoMerge "[RESTRICT AUTOMERGE] CameraServiceProxy: More granularity to NFC / Camera...
TreeHugger Robot [Tue, 6 Aug 2019 08:45:23 +0000 (08:45 +0000)]
Merge "[RESTRICT AUTOMERGE] CameraServiceProxy: More granularity to NFC / Camera interaction" into qt-r1-dev

4 years ago[RESTRICT AUTOMERGE] CameraServiceProxy: More granularity to NFC / Camera interaction
Eino-Ville Talvala [Fri, 2 Aug 2019 19:14:05 +0000 (12:14 -0700)]
[RESTRICT AUTOMERGE] CameraServiceProxy: More granularity to NFC / Camera interaction

Instead of disabling NFC active polling on all camera use, or never
disabling NFC active polling, support disabling based on camera facing.

Test: 'adb shell dumpsys nfc' while trying all 4 possible NFC options and
   using front/back cameras via default camera and via face authentication.
Bug: 138851393

Change-Id: I81eb014f0c2058258384538dce7c01b575c44df4

4 years agoMerge "Only show the thermal shutdown warning when thermal reboot" into qt-r1-dev
TreeHugger Robot [Tue, 6 Aug 2019 02:08:23 +0000 (02:08 +0000)]
Merge "Only show the thermal shutdown warning when thermal reboot" into qt-r1-dev

4 years agoMerge "Import translations. DO NOT MERGE" into qt-r1-dev
TreeHugger Robot [Tue, 6 Aug 2019 01:32:23 +0000 (01:32 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-r1-dev

4 years agoOnly show the thermal shutdown warning when thermal reboot
Sherry Huang [Fri, 2 Aug 2019 18:36:44 +0000 (02:36 +0800)]
Only show the thermal shutdown warning when thermal reboot

showThermalShutdownWarning() is on the path where systemui starts
and restarts. Previously, we just checked the boot reason in
determining whether to show the warning, which makes it unexpectedly
seen when systemui restarts from crashes.

This CL caches the last boot count and compares with the current one
to ensure that there is a thermal reboot before the warning is shown.

Test: atest PowerUITest
Bug: 138089094
Change-Id: I0a51d00703d291ba10a6ab4f348308a14000a20e

4 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 5 Aug 2019 22:27:32 +0000 (15:27 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ief52f624ef932c1941ae4bb5a8264e57bd0495f5

4 years agoMerge "Add a documentation in EmergencyNumber#getNumber" into qt-r1-dev
TreeHugger Robot [Mon, 5 Aug 2019 22:23:20 +0000 (22:23 +0000)]
Merge "Add a documentation in EmergencyNumber#getNumber" into qt-r1-dev

4 years agoGestureNav: Log exclusion rect heights
Adrian Roos [Wed, 3 Jul 2019 16:31:46 +0000 (18:31 +0200)]
GestureNav: Log exclusion rect heights

Logs the rejected and requested exclusion rect heights.

Test: adb shell device_config put android:window_manager key_system_gesture_exclusion_log_debounce_millis 1000
Bug: 135152789
Change-Id: Ie12640f4bf0a8b40b666e604188a0bedd85e8981
Exempt-From-Owner-Approval: DeviceConfig.java: Adding constant to WindowManager namespace.

4 years agoMerge "Fix overlapping remote and recents animations" into qt-r1-dev
Jorim Jaggi [Mon, 5 Aug 2019 18:12:56 +0000 (18:12 +0000)]
Merge "Fix overlapping remote and recents animations" into qt-r1-dev

4 years agoFix overlapping remote and recents animations
Jorim Jaggi [Tue, 30 Jul 2019 14:50:13 +0000 (16:50 +0200)]
Fix overlapping remote and recents animations

Test: Open app and immediately swipe up while opening. Verify
Thread prioties in systrace

Test: WindowProcessControllerTests
Fixes: 137881181
Change-Id: Ic1d7403d2a648e6f1d1b6a3d55b56bf37bc57a2c

4 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
Bill Yi [Sun, 4 Aug 2019 08:20:37 +0000 (01:20 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: ab6ef4f0df -s ours
am skip reason: subject contains skip directive

Change-Id: I6ddd3a2f1d738ea3b49e746ff102fe7515c9d50a

4 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Sat, 3 Aug 2019 23:17:27 +0000 (23:17 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

4 years agoMerge "Import translations. DO NOT MERGE" into qt-r1-dev
TreeHugger Robot [Sat, 3 Aug 2019 21:21:18 +0000 (21:21 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-r1-dev

4 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 3 Aug 2019 19:30:38 +0000 (12:30 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: If0461bd95a9668d8582a37a65d9c37f3450723be

4 years agoMerge "Acquire display suspend blocker for DozeService" into qt-r1-dev
Santos Cordon [Sat, 3 Aug 2019 16:29:20 +0000 (16:29 +0000)]
Merge "Acquire display suspend blocker for DozeService" into qt-r1-dev

4 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 3 Aug 2019 10:46:32 +0000 (03:46 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I13841d4c409aed2b5192f6d5bf132a71f76da519

4 years agoMerge "create ExclusionRectStateChanged/BackGesture atom" into qt-r1-dev
Hyunyoung Song [Sat, 3 Aug 2019 05:12:17 +0000 (05:12 +0000)]
Merge "create ExclusionRectStateChanged/BackGesture atom" into qt-r1-dev

4 years agoMerge "DO NOT MERGE Fix PermissionManagerService throwing exception for unknown packa...
TreeHugger Robot [Sat, 3 Aug 2019 04:57:27 +0000 (04:57 +0000)]
Merge "DO NOT MERGE Fix PermissionManagerService throwing exception for unknown package." into qt-r1-dev

4 years agoMerge "Responsiveness improvement for BrightnessObserver" into qt-r1-dev
Long Ling [Fri, 2 Aug 2019 22:00:21 +0000 (22:00 +0000)]
Merge "Responsiveness improvement for BrightnessObserver" into qt-r1-dev

4 years agoMerge "Add documentation in TelephonyManager#getNetworkCountryIso" into qt-r1-dev
Shuo Qian [Fri, 2 Aug 2019 21:43:53 +0000 (21:43 +0000)]
Merge "Add documentation in TelephonyManager#getNetworkCountryIso" into qt-r1-dev

4 years agoMerge "Keep IME above starting window." into qt-r1-dev
TreeHugger Robot [Fri, 2 Aug 2019 21:25:29 +0000 (21:25 +0000)]
Merge "Keep IME above starting window." into qt-r1-dev

4 years agoAcquire display suspend blocker for DozeService
Santos Cordon [Thu, 1 Aug 2019 17:33:20 +0000 (18:33 +0100)]
Acquire display suspend blocker for DozeService

If DozeService explicitly requests the display state to be on,
then PowerManager needs to acquire the display suspend blocker even
while in DOZE mode to prevent the system from constantly trying
to suspend.

Bug: 138195405
Test: atest PowerManagerServiceTest
Change-Id: I05f5b86789ced084d0814480b2fe89d74f96a54e

4 years agoResponsiveness improvement for BrightnessObserver
Long Ling [Fri, 26 Jul 2019 21:23:53 +0000 (14:23 -0700)]
Responsiveness improvement for BrightnessObserver

Forget the history to get immediate response when entering lower
brightness environment.

The sensor may not report event if there is no change since last report.
BrightnessObserver should keep refreshing the filter's estimation when last
sensor value is in a higher zone.

Bug: 138404221
Exempt-From-Owner-Approval: Santos is designated by Michael
Change-Id: I4ab37c067826c36eda26b435e83258d9af8783ab

4 years agoKeep IME above starting window.
Tarandeep Singh [Tue, 30 Jul 2019 20:30:03 +0000 (13:30 -0700)]
Keep IME above starting window.

While app window is animating-in, IME window is child of aboveAppContainers.
If app requests IME on activity resume, IME will start animating-in
above Snapshot during app window animation.
However when app window animation finishes, IME's parent is no
longer aboveAppContainers, thereby making snapshot occlude
IME briefly. This results in flashing.

The fix is to keep IME in aboveAppContainers as long as startingWindow
is not removed from hierarchy.

Bug: 137534359
Test: Manual and atest ZOrderingTests AppWindowTokenTests
Change-Id: I78c939e8d1f23144162ba9eb8d834150fdd08ae8

4 years agoMerge "Fixes breaking test" into qt-r1-dev
Selim Cinek [Fri, 2 Aug 2019 17:58:49 +0000 (17:58 +0000)]
Merge "Fixes breaking test" into qt-r1-dev

4 years agoMerge "Fix "Invalid card" text on CarrierTextController" into qt-r1-dev
Fabian Kozynski [Fri, 2 Aug 2019 17:48:59 +0000 (17:48 +0000)]
Merge "Fix "Invalid card" text on CarrierTextController" into qt-r1-dev

4 years agoMerge "Don't tell Assistant to hide on gesture completion or cancel" into qt-r1-dev
James O'Leary [Fri, 2 Aug 2019 17:11:22 +0000 (17:11 +0000)]
Merge "Don't tell Assistant to hide on gesture completion or cancel" into qt-r1-dev

4 years agoFixes breaking test
Selim Cinek [Fri, 2 Aug 2019 16:35:28 +0000 (09:35 -0700)]
Fixes breaking test

Fixes: 138812624
Test: atest SystemUiTests
Change-Id: If289ea1c2a0eaa2332d1328f3eb50acd71aaf354

4 years agoFix issue where SIM PIN message would be visible
Lucas Dupin [Wed, 31 Jul 2019 23:36:43 +0000 (16:36 -0700)]
Fix issue where SIM PIN message would be visible

We're resetting the view state when a config change happens, but
they can arrive even after the view is not visible anymore.

Let's not update the message area if we're GONE, since the message
area is shared with the Pattern and PIN pad views.

Test: manual
Fixes: 138751729
Change-Id: Idb4877f8ed22e8b640670bb9da66bb124a2f8166

4 years agodocs: Clarified when onRestoreInstanceState() executes
Kevin Hufnagle [Thu, 18 Jul 2019 21:37:36 +0000 (21:37 +0000)]
docs: Clarified when onRestoreInstanceState() executes

This method executes only after onDestroy() is called.

Change-Id: I4880cc98ea08945f30b16baa7ae400a5bbe3e439
Test: make ds-docs
Bug: 136241777

4 years agoMerge "GestureNav: Clarify javadoc in regards to exclusion limits" into qt-dev
Adrian Roos [Fri, 2 Aug 2019 12:42:10 +0000 (05:42 -0700)]
Merge "GestureNav: Clarify javadoc in regards to exclusion limits" into qt-dev
am: c9f4bcae57

Change-Id: I0581305f01ebdaa121ce0e70ab9d44f142c9f99f

4 years agoMerge "GestureNav: Clarify javadoc in regards to exclusion limits" into qt-dev
Adrian Roos [Fri, 2 Aug 2019 12:17:11 +0000 (12:17 +0000)]
Merge "GestureNav: Clarify javadoc in regards to exclusion limits" into qt-dev

4 years agocreate ExclusionRectStateChanged/BackGesture atom
Hyunyoung Song [Tue, 9 Jul 2019 16:19:25 +0000 (09:19 -0700)]
create ExclusionRectStateChanged/BackGesture atom

Bug: 135152789
Test: manual
Test: m statsd_testdrive -j31
Test: out/host/linux-x86/bin/statsd_testdrive [223|224]
Change-Id: Id4b36c89ed5bf3330795107fb6cd6750edcd0dbf
Merged-In: Id4b36c89ed5bf3330795107fb6cd6750edcd0dbf

4 years agoMerge "Fix the race between entitlement start/stop" into qt-r1-dev
Mark Chien [Fri, 2 Aug 2019 02:11:41 +0000 (02:11 +0000)]
Merge "Fix the race between entitlement start/stop" into qt-r1-dev

4 years agoAdd documentation in TelephonyManager#getNetworkCountryIso
sqian [Thu, 1 Aug 2019 22:45:48 +0000 (15:45 -0700)]
Add documentation in TelephonyManager#getNetworkCountryIso

In multi-sim, returns a shared emergency network country iso
 from other subscription if the subscription used to create the
 TelephonyManager doesn't camp on a network due to some reason
 (e.g. pin/puk locked), or sim is absent in the corresponding slot.

Test: unit test
Bug: 137236159
Bug: 137235431
Change-Id: I311e690d1f79ebefbc068c486d9bed814c129aab

4 years agoMerge "Debug when pulses are dropped" into qt-r1-dev
Lucas Dupin [Thu, 1 Aug 2019 21:46:54 +0000 (21:46 +0000)]
Merge "Debug when pulses are dropped" into qt-r1-dev

4 years agoMerge "Add retry logic for UNABLE_TO_PROCESS" into qt-r1-dev
Kevin Chyn [Thu, 1 Aug 2019 21:34:35 +0000 (21:34 +0000)]
Merge "Add retry logic for UNABLE_TO_PROCESS" into qt-r1-dev

4 years agoDebug when pulses are dropped
Lucas Dupin [Fri, 26 Jul 2019 01:56:12 +0000 (18:56 -0700)]
Debug when pulses are dropped

Test: adb shell dumpsys activity service com.android.systemui
Test: adb logcat | grep NotificationInterruptionStateProvider
Bug: 138336424
Change-Id: I57c0d059e139991a67bdb85dba6f1e81382806dc

4 years agoMerge changes from topic "dynamic_privacy_fixes" into qt-r1-dev
TreeHugger Robot [Thu, 1 Aug 2019 20:46:56 +0000 (20:46 +0000)]
Merge changes from topic "dynamic_privacy_fixes" into qt-r1-dev

* changes:
  Avoid strange animation when dynamic privacy changes
  Improved the experience with bypass and dynamic privacy

4 years agoAvoid strange animation when dynamic privacy changes
Selim Cinek [Thu, 1 Aug 2019 03:00:26 +0000 (20:00 -0700)]
Avoid strange animation when dynamic privacy changes

The dynamic privacy state would briefly switch during
unlocking, leading to the view appearing even though
it was already visible.

Fixes:  138620551
Test: enable dynamic privacy, unlock with face, then unlock by dragging down, observe no weird animation
Change-Id: I3cc0945af0b83ee18cd173545a099af45b442e56

4 years agoImproved the experience with bypass and dynamic privacy
Selim Cinek [Wed, 31 Jul 2019 00:14:50 +0000 (17:14 -0700)]
Improved the experience with bypass and dynamic privacy

The user can now use the expand buttons and also clear
all is invisible while locked down.
The can also drag down normally to reveal the
contents of a notification.
Also, the section clear button is also properly updated
once dynamic privacy changes.

Fixes: 138671060
Fixes: 138669307
Test: drag down with notif hidden and bypass on on a sensitive notification
Change-Id: I8743400d0b46583802a8663f6723dfa6beee95c9

4 years agoMerge "DO NOT MERGE Fix migration for default browser." into qt-r1-dev
TreeHugger Robot [Thu, 1 Aug 2019 19:53:46 +0000 (19:53 +0000)]
Merge "DO NOT MERGE Fix migration for default browser." into qt-r1-dev

4 years agoMerge "Use alpha instead of show/hide when creating animation leashes." into qt-r1-dev
Chavi Weingarten [Thu, 1 Aug 2019 19:53:05 +0000 (19:53 +0000)]
Merge "Use alpha instead of show/hide when creating animation leashes." into qt-r1-dev

4 years agoMerge "Sync up Home Handle and Assistant Handle fade" into qt-r1-dev
TreeHugger Robot [Thu, 1 Aug 2019 19:41:11 +0000 (19:41 +0000)]
Merge "Sync up Home Handle and Assistant Handle fade" into qt-r1-dev

4 years agoMerge "Add carrier config for data roaming notification" into qt-r1-dev
Xiangyu/Malcolm Chen [Thu, 1 Aug 2019 18:30:41 +0000 (18:30 +0000)]
Merge "Add carrier config for data roaming notification" into qt-r1-dev

4 years agoMerge "Remove icon name from NR dump" into qt-r1-dev
TreeHugger Robot [Thu, 1 Aug 2019 18:22:23 +0000 (18:22 +0000)]
Merge "Remove icon name from NR dump" into qt-r1-dev

4 years agoSync up Home Handle and Assistant Handle fade
Govinda Wasserman [Wed, 31 Jul 2019 19:26:33 +0000 (15:26 -0400)]
Sync up Home Handle and Assistant Handle fade

Test: Tested locally
BUG:135948401
FIX:135948401
Change-Id: I38917bf16000e723987ca835aa1784b16787a0b4

4 years agoMerge changes from topic "remap-code" into qt-r1-dev
Tyler Gunn [Thu, 1 Aug 2019 14:40:39 +0000 (14:40 +0000)]
Merge changes from topic "remap-code" into qt-r1-dev

* changes:
  Add disconnect causes for WFC use cases.
  Add MEDIA_TIMEOUT error for RTCP timeout

4 years agoMerge "Mitigate IPC calls from MultiUserSwitcher" into qt-r1-dev
Fabian Kozynski [Thu, 1 Aug 2019 12:58:34 +0000 (12:58 +0000)]
Merge "Mitigate IPC calls from MultiUserSwitcher" into qt-r1-dev