OSDN Git Service

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

4 years agoMerge "Update WebSettings.setSaveFormData deprecated doc" into qt-dev
Tao Bai [Thu, 1 Aug 2019 01:48:23 +0000 (18:48 -0700)]
Merge "Update WebSettings.setSaveFormData deprecated doc" into qt-dev
am: 7bb64fcf27

Change-Id: Ife82891152d177e108db79f42fbe768fe8fb905a

4 years agoMerge "Update WebSettings.setSaveFormData deprecated doc" into qt-dev
Tao Bai [Thu, 1 Aug 2019 01:17:10 +0000 (01:17 +0000)]
Merge "Update WebSettings.setSaveFormData deprecated doc" into qt-dev

4 years agoMerge "docs: Added missing comma in RectF class description." into qt-dev
Kevin Hufnagle [Thu, 1 Aug 2019 01:04:56 +0000 (18:04 -0700)]
Merge "docs: Added missing comma in RectF class description." into qt-dev
am: 0c77665c37

Change-Id: I1450636a7ee9d59b75d95ec4e973813319f92d44

4 years agoMerge "Add carrier config for hiding TTY HCO and VCO" into qt-r1-dev
TreeHugger Robot [Thu, 1 Aug 2019 00:44:06 +0000 (00:44 +0000)]
Merge "Add carrier config for hiding TTY HCO and VCO" into qt-r1-dev

4 years agoMerge "docs: Added missing comma in RectF class description." into qt-dev
TreeHugger Robot [Thu, 1 Aug 2019 00:25:05 +0000 (00:25 +0000)]
Merge "docs: Added missing comma in RectF class description." into qt-dev

4 years agoMerge "Fixed issue where camera wouldn't launch" into qt-r1-dev
Lucas Dupin [Thu, 1 Aug 2019 00:09:52 +0000 (00:09 +0000)]
Merge "Fixed issue where camera wouldn't launch" into qt-r1-dev

4 years agoMerge "Fix application overlay visibility bug" into qt-r1-dev
TreeHugger Robot [Wed, 31 Jul 2019 23:09:23 +0000 (23:09 +0000)]
Merge "Fix application overlay visibility bug" into qt-r1-dev

4 years agoAdd carrier config for data roaming notification
Jordan Liu [Tue, 23 Jul 2019 22:52:08 +0000 (15:52 -0700)]
Add carrier config for data roaming notification

This config, when enabled, shows the user a notification when the device
switches to data roaming and the user has data roaming on.

Bug: 133358875
Test: manual
Change-Id: Ia091575ff0fa7e02f0c6a98bae0e66ef73beff81

4 years agoMerge "Use shell package name when starting activities" into qt-r1-dev
TreeHugger Robot [Wed, 31 Jul 2019 22:53:31 +0000 (22:53 +0000)]
Merge "Use shell package name when starting activities" into qt-r1-dev

4 years agoFixed issue where camera wouldn't launch
Lucas Dupin [Wed, 31 Jul 2019 20:33:01 +0000 (13:33 -0700)]
Fixed issue where camera wouldn't launch

keyguardIsShowing, passed to NPV#canCameraGestureBeLaunched had the
wrong value because it was checking if SB was expanded visible
but ignoring the fact that bouncer would make it collapse.

Test: manual
Fixes: 138269798
Change-Id: Id259d42cbd7802614318d8f69c80470419f3b54b
Merged-In: Id259d42cbd7802614318d8f69c80470419f3b54b

4 years agoMerge "Import translations. DO NOT MERGE" into qt-r1-dev
TreeHugger Robot [Wed, 31 Jul 2019 21:50:56 +0000 (21:50 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-r1-dev

4 years agoFix application overlay visibility bug
Robert Berry [Wed, 31 Jul 2019 14:24:57 +0000 (10:24 -0400)]
Fix application overlay visibility bug

System UI components may set the
SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS flag in
WindowManager.LayoutParams to force application overlays to be
invisible. StatusBarViewController is responsible for setting this when
the user locks their phone, and then removing it when the user unlocks
their phone.

Currently there is a bug where, while StatusBar removes this flag, the
update is not propagated through WindowManagerService. This causes
application overlays to be invisible when they should not be. This
affects all application overlays.

Repro steps:

1) Enable rotation if disabled
2) Enable an application overlay (e.g. Live Caption)
3) In portrait orientation, open e.g. YouTube.
4) Rotate to landscape orientation
5) Turn off the phone screen
6) Rotate to portrait orientation
7) Turn on the phone screen and unlock the phone

Application overlays are now invisible. Rotating again fixes it.

This CL fixes the logic error that was causing this bug.

Bug: 133747592
Test: go/wm-smoke
Change-Id: Idab0629765cbe048fc1eb4413e529464cad876ff

4 years agoMerge "Treat SysUI as top application when GlobalActions is shown" into qt-r1-dev
TreeHugger Robot [Wed, 31 Jul 2019 21:24:36 +0000 (21:24 +0000)]
Merge "Treat SysUI as top application when GlobalActions is shown" into qt-r1-dev

4 years agoMerge "Revert "Stop timer when notification isn't visible"" into qt-dev
Beth Thibodeau [Wed, 31 Jul 2019 21:14:40 +0000 (14:14 -0700)]
Merge "Revert "Stop timer when notification isn't visible"" into qt-dev
am: 628f975c22

Change-Id: If351a368f5a1132e61dab1e7a1b1d5e290b092f7

4 years agoDO NOT MERGE Fix migration for default browser.
Hai Zhang [Wed, 31 Jul 2019 19:48:26 +0000 (12:48 -0700)]
DO NOT MERGE Fix migration for default browser.

Fixes: 124382812
Test: manual
Change-Id: I211e0dbba40b393d0827467ba4a9c979eb46131f

4 years agoMerge "Revert "Stop timer when notification isn't visible"" into qt-dev
Beth Thibodeau [Wed, 31 Jul 2019 20:31:53 +0000 (20:31 +0000)]
Merge "Revert "Stop timer when notification isn't visible"" into qt-dev

4 years agoRevert "Stop timer when notification isn't visible"
Beth Thibodeau [Wed, 31 Jul 2019 20:23:44 +0000 (20:23 +0000)]
Revert "Stop timer when notification isn't visible"

This reverts commit 3c4a8e48d404649bd03ee8e6e377dcf9a65afee9.

Reason for revert: NPE errors
Fixes: b/138697134

Change-Id: Ic89eb58cd68485dcc5e7c5a3ef48d7ed79c303ca

4 years agoMerge "Do not set AccessPoint.ssid to config.SSID for Passpoint networks" into qt...
TreeHugger Robot [Wed, 31 Jul 2019 20:05:26 +0000 (20:05 +0000)]
Merge "Do not set AccessPoint.ssid to config.SSID for Passpoint networks" into qt-r1-dev

4 years agoMerge "Do not gate bypass on isHardwareAvailable" into qt-r1-dev
TreeHugger Robot [Wed, 31 Jul 2019 19:56:21 +0000 (19:56 +0000)]
Merge "Do not gate bypass on isHardwareAvailable" into qt-r1-dev

4 years agoMerge "Separate out sysui state updating" into qt-r1-dev
TreeHugger Robot [Wed, 31 Jul 2019 19:39:36 +0000 (19:39 +0000)]
Merge "Separate out sysui state updating" into qt-r1-dev

4 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 31 Jul 2019 19:35:59 +0000 (12:35 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ifa499e736c7a4e42fe9ddfb6f32a5f7eefd8b6ac

4 years agoMerge "syncInputWindows for mouse events" into qt-dev
Siarhei Vishniakou [Wed, 31 Jul 2019 19:20:01 +0000 (12:20 -0700)]
Merge "syncInputWindows for mouse events" into qt-dev
am: 2774eb6635

Change-Id: I8c392689f632c50c3e18cbc1a1846c3c028c5f91

4 years agoTreat SysUI as top application when GlobalActions is shown
Steve Elliott [Tue, 30 Jul 2019 19:09:54 +0000 (15:09 -0400)]
Treat SysUI as top application when GlobalActions is shown

This is done in order to reduce jank when showing GlobalActions.

Fixes: 136794922
Test: manual - launch GlobalActions, verify reduced jank
Change-Id: I2fe26dbb2aeb6d0fffd3b488a73370458b111cac

4 years agoMerge "syncInputWindows for mouse events" into qt-dev
TreeHugger Robot [Wed, 31 Jul 2019 18:14:57 +0000 (18:14 +0000)]
Merge "syncInputWindows for mouse events" into qt-dev

4 years agoMerge "Switch preffered display mode on lock screen" into qt-r1-dev
TreeHugger Robot [Wed, 31 Jul 2019 18:10:57 +0000 (18:10 +0000)]
Merge "Switch preffered display mode on lock screen" into qt-r1-dev

4 years agoMitigate IPC calls from MultiUserSwitcher
Fabian Kozynski [Tue, 30 Jul 2019 18:36:52 +0000 (14:36 -0400)]
Mitigate IPC calls from MultiUserSwitcher

Reduce the calls to UserManager#hasUserRestriction when checking if the
switcher should be shown by reordering the conditions. In most cases,
the switcher is disabled (from settings) and it will short circuit.

TODO: actually remove the call from main thread

Test: manual, when device does not have multiple users, there are no
calls to UserManager
Bug: 138640355
Bug: 138661450

Change-Id: I35905d4d8a7194866f55009b86dff0a2a4214e1a

4 years agoAdd disconnect causes for WFC use cases.
Tyler Gunn [Mon, 29 Jul 2019 21:46:36 +0000 (14:46 -0700)]
Add disconnect causes for WFC use cases.

Add new disconnect cause used when an attempt is made to place an
emergency call over WFC but the service is unavailable.
Add new disconnect cause when WFC is not available in an area.

Bug: 128993720
Test: Unit tests added to confirm remapping.
Change-Id: I15dcff8fabc06b5d469d083b0970fe0e77e7d318

4 years agoMerge "[DO NOT MERGE] AudioService: fix disconnect/connect of A2DP device" into qt...
TreeHugger Robot [Wed, 31 Jul 2019 16:06:28 +0000 (16:06 +0000)]
Merge "[DO NOT MERGE] AudioService: fix disconnect/connect of A2DP device" into qt-r1-dev

4 years ago[DO NOT MERGE] AudioService: fix disconnect/connect of A2DP device
Jean-Michel Trivi [Mon, 24 Jun 2019 17:39:19 +0000 (10:39 -0700)]
[DO NOT MERGE] AudioService: fix disconnect/connect of A2DP device

 Due to the expected BECOMING_NOISY behavior associated
with a device disconnection, the disconnection is handled
asynchronously after a fixed delay. This delay caused an
inversion of commands in the processing order of the
disconnection of a device closely followed by connection
of the same device.
 The fix consists in:
- overriding the equals() operator for BtDeviceConnectionInfo
 so messages for a given device in the message queue
 can be checked / removed.
- when AudioDeviceBroker receives a command for A2DP
 connection or disconnection, remove all upcoming connection
 and disconnection commands in the queue for this device
 (see postBluetoothA2dpDeviceConnectionStateSuppressNoisyIntent)
- remove AudioDeviceBroker.handleSetA2dpSinkConnectionState, which
 was only used in BtHelper.onA2dpProfileConnected() with
 a CONNECTED state, and have this method perform a regular device
 connection (just like when coming from AM->AS).
- in AudioDeviceInventory.onSetA2dpSinkConnectionState(), support
 receiving a connection event for an already connected device,
 to support codec changes.

This change also includes modifications to the classes involved
in the device connection to make them support mocking/spying
to reproduce the bug conditions (see AudioDeviceBrokerTest).

Bug: 134932649
Test: atest AudioDeviceBrokerTest
Change-Id: If2b3b41409c77467a181a2f9b42310db9b9de8c5

4 years agoDo not gate bypass on isHardwareAvailable
Lucas Dupin [Tue, 30 Jul 2019 22:47:04 +0000 (15:47 -0700)]
Do not gate bypass on isHardwareAvailable

This is wrong for a few reasons:
- IPC can fail
- FaceManager can return false even when the device supports face auth
- UX should not change based on hardware problems

Fixes: 138658108
Test: manual
Change-Id: Ic736650ebcac3feacc360672242a0648ebe551ed

4 years agoMade the drag down anywhere on lockscreen go to the shade locked
Selim Cinek [Tue, 30 Jul 2019 20:57:01 +0000 (13:57 -0700)]
Made the drag down anywhere on lockscreen go to the shade locked

Previously we would allow going to the expanded qs first.

Fixes: 137552697
Test: drag down on top while bypassing
Change-Id: Ia4a31e1ce4e8a85f5c23b4dd2db2f6de2d2c112e

4 years agoSeparate out sysui state updating
Winson Chung [Tue, 30 Jul 2019 20:51:27 +0000 (13:51 -0700)]
Separate out sysui state updating

- Only update the disabled/screen pinning states when the disabled flags
  change, and not when the status bar panel height changes since that may
  be called frequently

Bug: 138640355
Test: Manual, lock/unlock, ensure that we don't get extra calls
Change-Id: Icbb03f1fef67e1254f03d85e4293f3b1a0ec4d6e

4 years agoMerge "Send ChannelDialogController finish message on dismiss" into qt-r1-dev
TreeHugger Robot [Tue, 30 Jul 2019 20:06:47 +0000 (20:06 +0000)]
Merge "Send ChannelDialogController finish message on dismiss" into qt-r1-dev

4 years agoMerge "Only clipping heads up that are not the first ones" into qt-r1-dev
Selim Cinek [Tue, 30 Jul 2019 19:44:03 +0000 (19:44 +0000)]
Merge "Only clipping heads up that are not the first ones" into qt-r1-dev

4 years agoMerge "Unset the notification expansion state when fully hidden" into qt-r1-dev
Selim Cinek [Tue, 30 Jul 2019 19:42:11 +0000 (19:42 +0000)]
Merge "Unset the notification expansion state when fully hidden" into qt-r1-dev

4 years agodocs: Added missing comma in RectF class description.
Kevin Hufnagle [Tue, 30 Jul 2019 18:57:35 +0000 (18:57 +0000)]
docs: Added missing comma in RectF class description.

Test: make ds-docs -j32

Bug: 132942874
Change-Id: I8e9d2bfa620be35ef66bd9b05c4a0b9e4727cafa

4 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
Bill Yi [Tue, 30 Jul 2019 18:45:52 +0000 (11:45 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: 8292b6bb44 -s ours
am skip reason: subject contains skip directive

Change-Id: I60ed49dd67f2d8964530d2960865c5e0503bb95c

4 years agoMerge "Import translations. DO NOT MERGE" into qt-r1-dev
TreeHugger Robot [Tue, 30 Jul 2019 18:26:30 +0000 (18:26 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-r1-dev

4 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Tue, 30 Jul 2019 18:08:35 +0000 (18:08 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

4 years agoAdd MEDIA_TIMEOUT error for RTCP timeout
Youming Ye [Wed, 10 Apr 2019 21:50:19 +0000 (14:50 -0700)]
Add MEDIA_TIMEOUT error for RTCP timeout

Bug: 130167535
Test: Build
Change-Id: I7498072a1c6a9ecf084308e91db07f3731969106

4 years agoSwitch preffered display mode on lock screen
Lucas Dupin [Mon, 29 Jul 2019 20:51:35 +0000 (13:51 -0700)]
Switch preffered display mode on lock screen

To save power, now it's possible to specify a preferred refresh rate for
the lock screen. It's -1 by default, and should be configured on a
device overlay whenever required.

Test: manual
Test: atest StatusBarWindowControllerTest
Fixes: 138303350
Change-Id: I4d1ca210b50d32d937b0fea2fcb9e28a7c50c0b3

4 years agoMerge "Allow resume of parent activity that launches PiP" into qt-r1-dev
Hongwei Wang [Tue, 30 Jul 2019 16:07:13 +0000 (16:07 +0000)]
Merge "Allow resume of parent activity that launches PiP" into qt-r1-dev

4 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 30 Jul 2019 12:58:52 +0000 (05:58 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Icf5704a7dc24d1d608128f21d0e4aeb8fb1ccc73

4 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 30 Jul 2019 12:27:50 +0000 (05:27 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ibf6c04dc31f46bff1ad2077478de96bcdd2f7440

4 years agoUnset the notification expansion state when fully hidden
Selim Cinek [Tue, 30 Jul 2019 01:38:12 +0000 (18:38 -0700)]
Unset the notification expansion state when fully hidden

If the bouncer is showing after dragging down with locked
notifications and the screen locked, the visibleForExpansion
state wasn't properly reset. Even though we don't ask for
the bouncer when bypassing anymore, we're adding a
safeguard in case we change out minds. Whenever the notifications
are fully hidden, we unset the visibleForExpansion state.

Fixes:  138261144
Test: drag down with bypass on, redaction and enforcing bouncer, turn off, then reach. No shelf should be visible
Change-Id: I2d237ce67da0e8fd3bf9e8d40e146f3a478ac5ce

4 years agoAdd carrier config for hiding TTY HCO and VCO
Hall Liu [Tue, 30 Jul 2019 00:30:12 +0000 (17:30 -0700)]
Add carrier config for hiding TTY HCO and VCO

Add a carrier config option that will hide the HCO and VCO options for
TTY if RTT is available on the device.

Fixes: 137672992
Test: manual
Change-Id: I7a2ca247a3bf06e6a2b244656add78bb0449674b

4 years agoMerge "Also apply freeze-task-list when starting an activity" into qt-r1-dev
Winson Chung [Mon, 29 Jul 2019 23:41:33 +0000 (23:41 +0000)]
Merge "Also apply freeze-task-list when starting an activity" into qt-r1-dev

4 years agoMerge "Tweak home handle animation" into qt-r1-dev
Winson Chung [Mon, 29 Jul 2019 23:37:00 +0000 (23:37 +0000)]
Merge "Tweak home handle animation" into qt-r1-dev

4 years agoOnly clipping heads up that are not the first ones
Selim Cinek [Mon, 29 Jul 2019 23:33:48 +0000 (16:33 -0700)]
Only clipping heads up that are not the first ones

Previously we would clip even the first heads up
notification which would lead to the notification being
clipped. This would happen if a notification would be
before the first heads up which could happen temporarily.

Fixes:  138467810
Test: Add 2 heads up notifications that are not dismissable, swipe away the first, observe no clipping
Change-Id: I13f681a0a09a9de8e948fb666ee99718df3bae02

4 years agoMerge "Fix regression in PFD#fromData" into qt-r1-dev
John Reck [Mon, 29 Jul 2019 21:23:57 +0000 (21:23 +0000)]
Merge "Fix regression in PFD#fromData" into qt-r1-dev

4 years agoMerge "Fixed the shadows on the lockscreen for bypass" into qt-r1-dev
TreeHugger Robot [Mon, 29 Jul 2019 21:22:30 +0000 (21:22 +0000)]
Merge "Fixed the shadows on the lockscreen for bypass" into qt-r1-dev

4 years agoMerge "Fixed an issue where the notification wouldn't collapse" into qt-dev
Selim Cinek [Mon, 29 Jul 2019 21:21:22 +0000 (14:21 -0700)]
Merge "Fixed an issue where the notification wouldn't collapse" into qt-dev
am: 8ba52400f5

Change-Id: I635e6725083529cf6ae24d29e9c35f388afa379f

4 years ago[automerger skipped] Merge "Showing the notification icon properly now when the pulse...
Selim Cinek [Mon, 29 Jul 2019 21:17:38 +0000 (14:17 -0700)]
[automerger skipped] Merge "Showing the notification icon properly now when the pulse is suppressed" into qt-dev
am: bb94263ca2 -s ours
am skip reason: change_id I8f7bd7a6a0562942ed3e12f28705043722d177e8 with SHA1 65c96f2fd4 is in history

Change-Id: If8cd296781afafedeb4910fe87a83889a6ba2ec5

4 years agoMerge "Stop timer when notification isn't visible" into qt-dev
Beth Thibodeau [Mon, 29 Jul 2019 21:13:58 +0000 (14:13 -0700)]
Merge "Stop timer when notification isn't visible" into qt-dev
am: 7256c379df

Change-Id: If8705c20723e5ee725399e9377f0c6e33e997429

4 years agoMerge "Made sure the the lock icon hides again when dragging down" into qt-r1-dev
TreeHugger Robot [Mon, 29 Jul 2019 21:11:07 +0000 (21:11 +0000)]
Merge "Made sure the the lock icon hides again when dragging down" into qt-r1-dev

4 years agoMerge "Fixed an issue where the notification wouldn't collapse" into qt-dev
Selim Cinek [Mon, 29 Jul 2019 20:35:36 +0000 (20:35 +0000)]
Merge "Fixed an issue where the notification wouldn't collapse" into qt-dev

4 years agoMerge "Showing the notification icon properly now when the pulse is suppressed" into...
TreeHugger Robot [Mon, 29 Jul 2019 20:33:42 +0000 (20:33 +0000)]
Merge "Showing the notification icon properly now when the pulse is suppressed" into qt-dev

4 years agoMerge "Stop timer when notification isn't visible" into qt-dev
TreeHugger Robot [Mon, 29 Jul 2019 20:30:46 +0000 (20:30 +0000)]
Merge "Stop timer when notification isn't visible" into qt-dev

4 years agoMerge "Add phenotype flags for transcription speed" into qt-r1-dev
Miranda Kephart [Mon, 29 Jul 2019 19:46:21 +0000 (19:46 +0000)]
Merge "Add phenotype flags for transcription speed" into qt-r1-dev

4 years agoMerge "Fix handles redrawing when not visible" into qt-r1-dev
James O'Leary [Mon, 29 Jul 2019 19:09:25 +0000 (19:09 +0000)]
Merge "Fix handles redrawing when not visible" into qt-r1-dev

4 years agoMerge "Fixed some issues when expanding from the launcher" into qt-r1-dev
Selim Cinek [Mon, 29 Jul 2019 19:00:59 +0000 (19:00 +0000)]
Merge "Fixed some issues when expanding from the launcher" into qt-r1-dev

4 years agoMerge "support limited sim function notification under dsds" into qt-r1-dev
Chen Xu [Mon, 29 Jul 2019 18:22:56 +0000 (18:22 +0000)]
Merge "support limited sim function notification under dsds" into qt-r1-dev

4 years agoTweak home handle animation
Winson Chung [Mon, 22 Jul 2019 23:25:43 +0000 (16:25 -0700)]
Tweak home handle animation

Bug: 135948401
Test: Just an interpolator and duration change
Change-Id: Ic12736819995f65c3cc3fba56a9642d02aa3119e

4 years agoMerge "Revert "Do not notify SS change with invalid subId"" into qt-r1-dev
Amit Mahajan [Mon, 29 Jul 2019 17:35:38 +0000 (17:35 +0000)]
Merge "Revert "Do not notify SS change with invalid subId"" into qt-r1-dev

4 years agoMerge "Add the defination of Intent - WIFI_NETWORK_SETTINGS_RESET_ACTION" into qt...
Steven Liu [Mon, 29 Jul 2019 15:25:47 +0000 (15:25 +0000)]
Merge "Add the defination of Intent - WIFI_NETWORK_SETTINGS_RESET_ACTION" into qt-r1-dev

4 years agoMerge "Use per user method when writing or reading Live Caption secure setting" into...
TreeHugger Robot [Mon, 29 Jul 2019 14:20:15 +0000 (14:20 +0000)]
Merge "Use per user method when writing or reading Live Caption secure setting" into qt-r1-dev

4 years agoMerge "ResetLockout should be scheduled on FaceService's handler" into qt-r1-dev
Kevin Chyn [Sun, 28 Jul 2019 23:27:56 +0000 (23:27 +0000)]
Merge "ResetLockout should be scheduled on FaceService's handler" into qt-r1-dev

4 years agoMerge "Only supports ambient mode when necessary." into qt-dev
bsears [Sun, 28 Jul 2019 17:49:37 +0000 (10:49 -0700)]
Merge "Only supports ambient mode when necessary." into qt-dev
am: 10a9fde8b5

Change-Id: I730338a57ee3c73f77dc7951ae45d6ad4f6246ee

4 years agoMerge "Only supports ambient mode when necessary." into qt-dev
bsears [Sun, 28 Jul 2019 17:29:03 +0000 (17:29 +0000)]
Merge "Only supports ambient mode when necessary." into qt-dev

4 years agoMerge "Tweak home handle colors to have some opacity" into qt-r1-dev
TreeHugger Robot [Sun, 28 Jul 2019 08:30:35 +0000 (08:30 +0000)]
Merge "Tweak home handle colors to have some opacity" into qt-r1-dev

4 years agoUse per user method when writing or reading Live Caption secure setting
Nadav Bar [Sun, 28 Jul 2019 06:17:07 +0000 (09:17 +0300)]
Use per user method when writing or reading Live Caption secure setting

Change-Id: Ib86af1a84f0791b8779dae96afd948eabbcf770e
Bug: 138493870.
Test: Manually.

4 years agoTweak home handle colors to have some opacity
Winson Chung [Fri, 26 Jul 2019 23:35:35 +0000 (16:35 -0700)]
Tweak home handle colors to have some opacity

Bug: 138145469
Test: Just updating some colors
Change-Id: I20f79c487df86af18d54d232da09af55907a9f1a

4 years agoAdding quick settings flag to sysui state
Winson Chung [Fri, 26 Jul 2019 23:38:08 +0000 (16:38 -0700)]
Adding quick settings flag to sysui state

- We were previously ignoring the QS state for notifications expanded since
  we were only using that flag for gating whether to allow back. But since
  we also use the state for gating swipe up, we should be explicit and
  check that both notifications are hidden and we are not in QS.

Bug: 135969043
Test: Swipe into QS, ensure the state is set
Change-Id: Ia284938e32f54998bf7aba3a051de2b30cdc0e26

4 years ago[DO NOT MERGE] Don't drop restricted permissions on upgrade
Svet Ganov [Sun, 28 Jul 2019 04:41:55 +0000 (21:41 -0700)]
[DO NOT MERGE] Don't drop restricted permissions on upgrade
am: 0b41c8940a

Change-Id: I717e5aedbc47b010cec5699bf864875aba76a4e7

4 years agoResetLockout should be scheduled on FaceService's handler
Kevin Chyn [Sun, 28 Jul 2019 00:50:33 +0000 (17:50 -0700)]
ResetLockout should be scheduled on FaceService's handler

Fixes: 138501368

Test: Reject 5 times and get locked out
      Enter password
      Go back to lockscreen, no longer locked out

Change-Id: I23e3022bcca533f3cacb03aa79bf0a68a9e01de2

4 years ago[DO NOT MERGE] Don't drop restricted permissions on upgrade
Svet Ganov [Sat, 27 Jul 2019 00:45:56 +0000 (17:45 -0700)]
[DO NOT MERGE] Don't drop restricted permissions on upgrade

Restricted permissions cannot be held until whitelisted. In
a P -> Q upgrade we grandfather all restricted permissions.
However, the whitelisting code runs after the internal update
of permission happens for the first time resulting in a
revocation of the restricted permissions we were about to
grandfather.

The fix is to not deal with restricted permission when updating
the permissions state until the permission controller has run
the grandfathering logic and once the latter happens we do run
the permission update logic again to properly handle the
restricted permissions.

Bug: 138263882

Test: atest CtsPermissionTestCases
      atest CtsPermission2TestCases
      atest CtsAppSecurityHostTestCases:android.appsecurity.cts.PermissionsHostTest
      P -> Q upgrade preserves grandfathered restricted permissions
      P -> Bad Q build -> Q fixes up broken fixed restricted permissions

Change-Id: Iaef80426bf50181df93d1380af1d0855340def8e

4 years agoAlso apply freeze-task-list when starting an activity
Winson Chung [Thu, 18 Jul 2019 20:43:23 +0000 (13:43 -0700)]
Also apply freeze-task-list when starting an activity

- We previously only did this for startActivityFromRecents(), but for 3p
  launchers, we need to start the RecentsActivity mid-gesture and don't
  want to punt the excluded task from the front of the list

Bug: 137199105
Test: Install 3p Launcher, force-enable gesture nav, swipe up from
      exclude-from-recents activity

Change-Id: I7881ea103e83d28df1ec94d1874295188bed1064

4 years ago[automerger skipped] Merge "Do not allow the FalsingManager sesion to start when...
Dave Mankoff [Sat, 27 Jul 2019 11:45:29 +0000 (04:45 -0700)]
[automerger skipped] Merge "Do not allow the FalsingManager sesion to start when AOD is showing." into qt-dev
am: 000415be6e -s ours
am skip reason: change_id I6d14db66d53a668b7cf8dd15ebb489fb3ebf4c7c with SHA1 622eeaf0d5 is in history

Change-Id: I68e908f8495b1dcaa5a248867b8c059ed0cab4cc

4 years agoMerge "Do not allow the FalsingManager sesion to start when AOD is showing." into...
Dave Mankoff [Sat, 27 Jul 2019 11:28:16 +0000 (11:28 +0000)]
Merge "Do not allow the FalsingManager sesion to start when AOD is showing." into qt-dev

4 years agoMerge "oomAdjuster: Change default demotion of renderthreads to default graphics...
Thierry Strudel [Sat, 27 Jul 2019 06:51:00 +0000 (06:51 +0000)]
Merge "oomAdjuster: Change default demotion of renderthreads to default graphics priority" into qt-r1-dev

4 years agoMade sure the the lock icon hides again when dragging down
Selim Cinek [Sat, 27 Jul 2019 05:25:49 +0000 (22:25 -0700)]
Made sure the the lock icon hides again when dragging down

Previously we were requiring a heads up to be present
but that's not necessary and would lead to issues
when dragging down

Fixes: 138469678
Test: get notification / drag down, observe normal lock icon
Change-Id: I1bfa7c1f9fb6b0bb0a76eb1ed15f25be6da2fab3

4 years agoFixed an issue where the notification wouldn't collapse
Selim Cinek [Sat, 27 Jul 2019 04:47:19 +0000 (21:47 -0700)]
Fixed an issue where the notification wouldn't collapse

When clicking on a notification with an activity that
wouldn't start an opening animation, the panel could
remain open. We're now closing it in that case.

Fixes: 138468703
Test: follow test on bug and observe normal closing
Change-Id: I0b867302d616c017d82f944ee983d4ba4356701a

4 years agoFixed the shadows on the lockscreen for bypass
Selim Cinek [Sat, 27 Jul 2019 02:49:08 +0000 (19:49 -0700)]
Fixed the shadows on the lockscreen for bypass

The shadows were clipped before which made them appear
very jarringly. They now appear smoother.
Also, the shelf wasn't actually hidden when it was fully
clipped leading to an ugly remainder on the lockscreen

Fixes: 138258095
Test: atest SystemUITests
Change-Id: I070c307119572aa41423d1370a55010b2f428be4

4 years agoDo not allow the FalsingManager sesion to start when AOD is showing.
Dave Mankoff [Fri, 26 Jul 2019 17:50:08 +0000 (13:50 -0400)]
Do not allow the FalsingManager sesion to start when AOD is showing.

Bug: 138220274
Test: manual

Change-Id: I6d14db66d53a668b7cf8dd15ebb489fb3ebf4c7c
Merged-In: I6d14db66d53a668b7cf8dd15ebb489fb3ebf4c7c

4 years agoMerge "Do not allow the FalsingManager sesion to start when AOD is showing." into...
TreeHugger Robot [Sat, 27 Jul 2019 01:43:23 +0000 (01:43 +0000)]
Merge "Do not allow the FalsingManager sesion to start when AOD is showing." into qt-r1-dev