OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Fix NotificaitonPanelView x-axis shift with IME" into pi-dev
TreeHugger Robot [Mon, 18 Jun 2018 18:42:47 +0000 (18:42 +0000)]
Merge "Fix NotificaitonPanelView x-axis shift with IME" into pi-dev

6 years agoMerge "Fade to black without showing system wallpaper" into pi-dev
Lucas Dupin [Mon, 18 Jun 2018 18:08:41 +0000 (18:08 +0000)]
Merge "Fade to black without showing system wallpaper" into pi-dev

6 years agoFix NotificaitonPanelView x-axis shift with IME
felkachang [Mon, 11 Jun 2018 07:56:15 +0000 (15:56 +0800)]
Fix NotificaitonPanelView x-axis shift with IME

IME will trigger the fitSystemWindow. And, there is a difference of
the parameter insets between IME and no IME. The insets.right and
insets.left report 0 without IME but positive number with IME
because IME is a type of system window and trigger fitSystemWindow
and then take the cutout as part of system window.

StatusBarWindowView handle the following condition
cutout > 0 && cutout == systemWindowInset and make its children not
layout on the safe inset both of cut out and system window. In order
to handle that cut out become system window, to take the maximum of
cut out and system window to make sure that the safe inset is
decided in StatusBarWindowView and its view decent only care about
the corner cut out.

Because StatusBarWindowView make both of PhoneStatusBarView's parent
and NotificationPanelView to have the margin for both of cutout and
system window, the counting of the padding and panel translation of
the HeadsUpStatusBarView need to do the relative changes.

Change-Id: Iafdc6a85e0e7d360b1bfc1e820f6e0779c32753f
Fix: 79957419
Fix: 109945733
Fix: 109865908
Test: atest SystemUITests

6 years agoMerge "Fixed an issue where the contentHeight was wrong" into pi-dev
Selim Cinek [Mon, 18 Jun 2018 17:32:20 +0000 (17:32 +0000)]
Merge "Fixed an issue where the contentHeight was wrong" into pi-dev

6 years agoMerge "Pulse animation synchronization" into pi-dev
TreeHugger Robot [Mon, 18 Jun 2018 16:57:24 +0000 (16:57 +0000)]
Merge "Pulse animation synchronization" into pi-dev

6 years agoFade to black without showing system wallpaper
Lucas Dupin [Mon, 11 Jun 2018 23:18:15 +0000 (16:18 -0700)]
Fade to black without showing system wallpaper

When on the lock screen, and going to AOD animated, user would
temporarily see the system wallpaper. That's not what we want,
we want to fade from semi-transparent black to black, on top
of the backdrop - lock screen wallpaper or media art.

Test: press power on the lock screen when playing media
Test: press power on the lock screen after dismissing media
Test: unlock from AOD
Test: atest packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ScrimControllerTest.java
Fixes: 80575770
Change-Id: I6796e844add889ff86be0cd2052db7c5d5073039

6 years agoMerge "DO NOT MERGE Fix crash in case of no overlays" into pi-dev
Jorim Jaggi [Mon, 18 Jun 2018 15:52:09 +0000 (15:52 +0000)]
Merge "DO NOT MERGE Fix crash in case of no overlays" into pi-dev

6 years agoMerge "Prevent showing windows while animating to avoid color mode switch" into pi-dev
Jorim Jaggi [Mon, 18 Jun 2018 15:25:03 +0000 (15:25 +0000)]
Merge "Prevent showing windows while animating to avoid color mode switch" into pi-dev

6 years agoPrevent showing windows while animating to avoid color mode switch
Jorim Jaggi [Fri, 8 Jun 2018 13:25:35 +0000 (15:25 +0200)]
Prevent showing windows while animating to avoid color mode switch

If we switch the color mode during a transition, it's pretty much
guaranteed that SF is going to jank. To work around that, we
disallow showing the real content while an activity with a
non-standard-color mode is animating.

Test: Reopen photos, observe no jank
Bug: 79878256
Change-Id: Id27db483844d9424ccfb9afdebd31325eae0cdd8

6 years agoDO NOT MERGE Fix crash in case of no overlays
Jorim Jaggi [Mon, 18 Jun 2018 12:24:11 +0000 (14:24 +0200)]
DO NOT MERGE Fix crash in case of no overlays

Fixes: 110330180
Test: Rotate a device without overlays/cutout
Change-Id: Ib0701e26893489fcee0de6aaec26901aef0b8348

6 years agoMerge "WiFi: Add configs for SAR support of body sensors" into pi-dev
Ahmed ElArabawy [Mon, 18 Jun 2018 12:26:40 +0000 (12:26 +0000)]
Merge "WiFi: Add configs for SAR support of body sensors" into pi-dev

6 years agoMerge changes from topic "am-aabaca13-84ab-4de5-bfa1-2add13867c06" into oc-dev am...
Bill Yi [Mon, 18 Jun 2018 07:23:36 +0000 (00:23 -0700)]
Merge changes from topic "am-aabaca13-84ab-4de5-bfa1-2add13867c06" into oc-dev am: 3c047ea7fa am: 3cca4e7b06
am: d4a1791bd7

Change-Id: I165a9d006345b6624877fc3b453ceb2b0baa83fb

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: 422582d9c4 skipped...
Bill Yi [Mon, 18 Jun 2018 07:15:09 +0000 (00:15 -0700)]
[automerger skipped] Import translations. DO NOT MERGE skipped: 422582d9c4 skipped: b06ba83b23 am: 437da4c13d  -s ours am: f57c14b641  -s ours
am: bc1dc5c368  -s ours

Change-Id: Ied727ed9887bc299b944611f1caed5896d8e81ce

6 years agoMerge changes from topic "am-aabaca13-84ab-4de5-bfa1-2add13867c06" into oc-dev am...
Bill Yi [Mon, 18 Jun 2018 07:09:08 +0000 (00:09 -0700)]
Merge changes from topic "am-aabaca13-84ab-4de5-bfa1-2add13867c06" into oc-dev am: 3c047ea7fa
am: 3cca4e7b06

Change-Id: Ifaa547b16411e79759647dd9cc53ea76526f5e5d

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: 422582d9c4 skipped...
Bill Yi [Mon, 18 Jun 2018 07:02:54 +0000 (00:02 -0700)]
[automerger skipped] Import translations. DO NOT MERGE skipped: 422582d9c4 skipped: b06ba83b23 am: 437da4c13d  -s ours
am: f57c14b641  -s ours

Change-Id: Id5433baa969e08bd0253cb921bdaa541a1eaad3a

6 years agoMerge changes from topic "am-aabaca13-84ab-4de5-bfa1-2add13867c06" into oc-dev
Bill Yi [Mon, 18 Jun 2018 06:55:44 +0000 (23:55 -0700)]
Merge changes from topic "am-aabaca13-84ab-4de5-bfa1-2add13867c06" into oc-dev
am: 3c047ea7fa

Change-Id: Ie97567da2988d921748f9b4ca86f658a5222f43b

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: 422582d9c4 skipped...
Bill Yi [Mon, 18 Jun 2018 06:53:27 +0000 (23:53 -0700)]
[automerger skipped] Import translations. DO NOT MERGE skipped: 422582d9c4 skipped: b06ba83b23
am: 437da4c13d  -s ours

Change-Id: I8227403ab7fa849fcc096d3a0acfa583843abf3b

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: cbc81e618d skipped...
Bill Yi [Mon, 18 Jun 2018 06:33:25 +0000 (23:33 -0700)]
[automerger skipped] Import translations. DO NOT MERGE skipped: cbc81e618d skipped: 693ad9800b am: cb1a10f5b6  -s ours am: d996012ef5  -s ours
am: 97ee183747  -s ours

Change-Id: I606378e5028548c5189a9fe554a868512112578c

6 years agoMerge changes from topic "am-aabaca13-84ab-4de5-bfa1-2add13867c06" into oc-dev
TreeHugger Robot [Mon, 18 Jun 2018 06:27:04 +0000 (06:27 +0000)]
Merge changes from topic "am-aabaca13-84ab-4de5-bfa1-2add13867c06" into oc-dev

* changes:
  [automerger skipped] Import translations. DO NOT MERGE skipped: 422582d9c4 skipped: b06ba83b23
  [automerger skipped] Import translations. DO NOT MERGE skipped: 422582d9c4
  Import translations. DO NOT MERGE

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: cbc81e618d skipped...
Bill Yi [Mon, 18 Jun 2018 06:26:21 +0000 (23:26 -0700)]
[automerger skipped] Import translations. DO NOT MERGE skipped: cbc81e618d skipped: 693ad9800b am: cb1a10f5b6  -s ours
am: d996012ef5  -s ours

Change-Id: Idcb8df6ed5993f00170408e685080aa525f291e1

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: cbc81e618d skipped...
Bill Yi [Mon, 18 Jun 2018 06:18:56 +0000 (23:18 -0700)]
[automerger skipped] Import translations. DO NOT MERGE skipped: cbc81e618d skipped: 693ad9800b
am: cb1a10f5b6  -s ours

Change-Id: Ib5adcfbe4afabfee3e391ec528272f210b408a10

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: 422582d9c4 skipped...
Android Build Merger (Role) [Sun, 17 Jun 2018 12:14:12 +0000 (12:14 +0000)]
[automerger skipped] Import translations. DO NOT MERGE skipped: 422582d9c4 skipped: b06ba83b23

Change-Id: Iae0ad51f828f91b8211e0671900f2ffa1265c655

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: 422582d9c4
Android Build Merger (Role) [Sun, 17 Jun 2018 12:14:05 +0000 (12:14 +0000)]
[automerger skipped] Import translations. DO NOT MERGE skipped: 422582d9c4

Change-Id: I3f93da28223af89a03736689e7f35a723b864ff5

6 years agoImport translations. DO NOT MERGE
Bill Yi [Sun, 17 Jun 2018 12:13:32 +0000 (05:13 -0700)]
Import translations. DO NOT MERGE

Change-Id: I681a0e79a709f3cabf8b661ec5229480d99dd840
Auto-generated-cl: translation import

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: cbc81e618d skipped...
Android Build Merger (Role) [Sun, 17 Jun 2018 10:03:39 +0000 (10:03 +0000)]
[automerger skipped] Import translations. DO NOT MERGE skipped: cbc81e618d skipped: 693ad9800b

Change-Id: I387f439df9441d64a658344837e4a2bd0f88a128

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: cbc81e618d
Android Build Merger (Role) [Sun, 17 Jun 2018 10:03:31 +0000 (10:03 +0000)]
[automerger skipped] Import translations. DO NOT MERGE skipped: cbc81e618d

Change-Id: I6a3ddad855bdc4ae74eab3e6e2cd42290176aab4

6 years agoImport translations. DO NOT MERGE
Bill Yi [Sun, 17 Jun 2018 10:02:56 +0000 (03:02 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ied5693d3e59e24f43a7a1577471819c269c7d6df
Auto-generated-cl: translation import

6 years agoMerge "Skip null values in Utils.safeForeach" into pi-dev
TreeHugger Robot [Sat, 16 Jun 2018 03:16:06 +0000 (03:16 +0000)]
Merge "Skip null values in Utils.safeForeach" into pi-dev

6 years agoMerge "Don't back up Assist Gesture setup/sensitivity" into pi-dev
TreeHugger Robot [Sat, 16 Jun 2018 00:28:17 +0000 (00:28 +0000)]
Merge "Don't back up Assist Gesture setup/sensitivity" into pi-dev

6 years agoPulse animation synchronization
Lucas Dupin [Wed, 13 Jun 2018 00:45:21 +0000 (17:45 -0700)]
Pulse animation synchronization

Fade in pulsing notification after a delay and
fix clock scale delay.

Fixes: 109809484
Fixes: 110204622
Test: visual
Change-Id: I3b62c4c2508d7b536287020801a58cb317e88ac0

6 years agoMerge "Hiding replied notification icons from AOD" into pi-dev
Selim Cinek [Fri, 15 Jun 2018 20:44:08 +0000 (20:44 +0000)]
Merge "Hiding replied notification icons from AOD" into pi-dev

6 years agoMerge changes I90451c14,I9fb27a0a into pi-dev
Adrian Roos [Fri, 15 Jun 2018 20:28:13 +0000 (20:28 +0000)]
Merge changes I90451c14,I9fb27a0a into pi-dev

* changes:
  DO NOT MERGE WM: correctly draw the rounded corner / cutout overlay during rotation
  WM: Fix seamless rotation

6 years agoMerge "audioservice: fix a2dp connection race condition" into pi-dev
Eric Laurent [Fri, 15 Jun 2018 17:43:42 +0000 (17:43 +0000)]
Merge "audioservice: fix a2dp connection race condition" into pi-dev

6 years agoFixed an issue where the contentHeight was wrong
Selim Cinek [Thu, 14 Jun 2018 01:23:45 +0000 (18:23 -0700)]
Fixed an issue where the contentHeight was wrong

The content height was using the regular topPadding which
factored in the darkAmount, but wasn't updating the contentHeight.
Since updating the contentHeight is pretty expensive, we are
now using the regular topPadding whenever the lock screen
isn't fully dark, which will make sure that everything is
properly positioned and not faded.

Change-Id: Ida9f29443efc1eb80924b0e755ea5338adfe23f7
Fixes: 110091926
Test: adb shell setprop debug.force_no_blanking true and observe proper layout after animations

6 years agoSkip null values in Utils.safeForeach
Beverly [Fri, 15 Jun 2018 15:04:02 +0000 (11:04 -0400)]
Skip null values in Utils.safeForeach

Test: ZenModeControllerImplTest.java
Bug: 110209145
Change-Id: I4234be630c84444a70d8cb380ca6a692a4ff5cbc

6 years agoMerge "Abbreviate permission labels less aggressively" into pi-dev
Philip P. Moltmann [Fri, 15 Jun 2018 17:18:52 +0000 (17:18 +0000)]
Merge "Abbreviate permission labels less aggressively" into pi-dev

6 years agoFix solid circle show on message notification
Tony Huang [Wed, 6 Jun 2018 07:40:47 +0000 (15:40 +0800)]
Fix solid circle show on message notification

Message app or other apps will use some format code or controll
code on SenderName to fit RTL or other design, and symbols will
produced by these code. The special code pattern not include these
code, so it will go charIcon flow.
Although these code is not visible, we should just ignore them to
get symbol strings

Change-Id: I20ef459b10ba7504ec0c997ed815cb485817d2bc
Fixes: 109746235
Test: Check notification form message app on RTL
Test: atest SystemUITests

6 years agoDO NOT MERGE WM: correctly draw the rounded corner / cutout overlay during rotation
Adrian Roos [Thu, 31 May 2018 16:07:28 +0000 (18:07 +0200)]
DO NOT MERGE WM: correctly draw the rounded corner / cutout overlay during rotation

When we freeze the screen, we really don't want the overlay to appear
on the screenshot - otherwise this will lead to it rotating with the
screen content. This means the overlay currently disappears during the
transition. We cannot just draw it over the screenshot, because it
might be in inconsistent state.

We fix this by temporarily undoing the effects of the screen rotation
transform on the overlay's window token. Then, once the window has
performed relayout and is redrawn in the new orientation, we switch to
that representation. This is mostly seamless rotation, with the
difference that we force it always, and it must also work for 180
degree rotation (which regular seamless rotation does not).

Do not merge, because we want to harmonize seamless rotation and the
newly added forced seamless rotation in Q.

Also move the rounded corner overlay from the display overlay layer
to the root of the hierarchy such that it can draw over the screen
off animation's ColorLayer.

Bug: 79112140
Test: Enable display cutout overlay, rotate phone to all orientations, ensure that emulated display cutout never flashes or disappears.
Test: atest CoordinateTransformsTest
Change-Id: I90451c14dc28daa3f90a74c3117548fead25af3f

6 years agoWM: Fix seamless rotation
Adrian Roos [Thu, 7 Jun 2018 13:29:34 +0000 (15:29 +0200)]
WM: Fix seamless rotation

With the introduction of the surface hierarchy, the seamless rotation
behavior in WSA is no longer correct: it also applies the WindowState's
offset, which leads to that being applied twice.

Instead of doing that, we simply rotate the WSA surface within the place
that WindowState dictates now.

Finally, the location of the WindowState itself also needs to be
transformed into the new orientation.

Fixes: 109927566
Test: atest CoordinateTransformsTest
Test: atest 'WindowStateTests#testSeamlesslyRotateWindow'
Change-Id: I9fb27a0a8a2bddc6ec88a4fcce6d6ea00929fb91

6 years agoaudioservice: fix a2dp connection race condition
Eric Laurent [Thu, 14 Jun 2018 02:36:42 +0000 (19:36 -0700)]
audioservice: fix a2dp connection race condition

In case of fast (< 1 second) A2DP disconnect/connect sequence, there
is a potential race condition where the delayed disconnection message
(due to becoming noisy intent) is received after the not delayed
connection message.

- Make sure all messages related to device connection/disconnection
(including MSG_A2DP_DEVICE_CONFIG_CHANGE and MSG_BTA2DP_DOCK_TIMEOUT)
are handled by queueMsgUnderWakeLock().
- Make sure messages are processed in the same order as API calls.
- Add check for null address in makeA2dpDeviceUnavailableNow().

Bug: 109903807
Bug: 78837311
Test: repro steps in bugs. A2DP connection and playback

Change-Id: Ib81b3805f945f7206b1a60de74e9bbeeef89bdd0

6 years agoMerge "Revert "Change quickstep onboarding tip window type to"" into pi-dev
Tracy Zhou [Thu, 14 Jun 2018 23:28:34 +0000 (23:28 +0000)]
Merge "Revert "Change quickstep onboarding tip window type to"" into pi-dev

6 years agoAbbreviate permission labels less aggressively
Philip P. Moltmann [Thu, 14 Jun 2018 18:52:14 +0000 (11:52 -0700)]
Abbreviate permission labels less aggressively

We switched the package installer app to always abbreviate all labels
loaded from foreign packages. This is done so that a foreign app cannot
crorrupt the UI via super-long strings.

The default abbreviation is very aggressive and abbreviates to ~5 cm.

When an app with a targetSDK <= M gets installed, all permissions will
get auto-granted. Hence when a user side-loads such an app, we show the
permissions during install so that the user is aware of this.

Unfortunately most permission labels and restrictions do not fit into a
single line.

This change allows much longer strings for permissions names and
descriptions. It still abbreviates eventually and handles permission
descriptions with weird characters (such as back-space) correctly.

Fixes: 110209410
Test: Side-loaded old app and verified that permission labels and
      descriptions are not abbreviated.

Change-Id: Ie1db240883c9f5cb9c1b74ca7bdcb80625e3f7f2

6 years agoMake testSplitscreenPortraitAppOrientationRequests pass to unblock release
Wale Ogunwale [Thu, 14 Jun 2018 15:55:42 +0000 (08:55 -0700)]
Make testSplitscreenPortraitAppOrientationRequests pass to unblock release

Work around to unblock the release for failing test
ActivityManagerAppConfigurationTests#testSplitscreenPortraitAppOrientationRequests
which shouldn't be failing since home stack shouldn't be visible. We need
to dig deeper to see why it is failing.
NOTE: Not failing on current master...

Bug: 110159357
Test: atest ActivityManagerAppConfigurationTests#testSplitscreenPortraitAppOrientationRequests
Change-Id: I69423eef3661133b2a032a166745157b3e344751

6 years agoMerge "Smoother wake-up animation" into pi-dev
TreeHugger Robot [Thu, 14 Jun 2018 04:18:20 +0000 (04:18 +0000)]
Merge "Smoother wake-up animation" into pi-dev

6 years agoSmoother wake-up animation
Lucas Dupin [Tue, 12 Jun 2018 22:05:28 +0000 (15:05 -0700)]
Smoother wake-up animation

Removed overlapping interpolators and made the "screen off" animation
slower when more than 1 notifications are visible.

Fixes: 110081253
Bug: 109809484
Test: visual
Change-Id: I355ac94d4e6a880f37ce1d68c15c693b6f09f7f8

6 years agoMerge "Config to enable/disable AOD via overlay" into pi-dev
Lucas Dupin [Thu, 14 Jun 2018 01:16:44 +0000 (01:16 +0000)]
Merge "Config to enable/disable AOD via overlay" into pi-dev

6 years agoConfig to enable/disable AOD via overlay
Lucas Dupin [Wed, 13 Jun 2018 19:54:29 +0000 (12:54 -0700)]
Config to enable/disable AOD via overlay

Bug: 109894567
Test: mp droid; fastboot -w
Change-Id: I3fda0bf486ae0c4b795ce34ba6823d8dc36a3796

6 years agoMerge "Avoid showing bouncer when in a launch transition" into pi-dev
Lucas Dupin [Wed, 13 Jun 2018 22:15:29 +0000 (22:15 +0000)]
Merge "Avoid showing bouncer when in a launch transition" into pi-dev

6 years agoMerge "Do not treat EXTRA_SMALL_ICON <int> as Parcelable" into pi-dev
Robin Lee [Wed, 13 Jun 2018 20:56:11 +0000 (20:56 +0000)]
Merge "Do not treat EXTRA_SMALL_ICON <int> as Parcelable" into pi-dev

6 years agoMerge "docs: repaired link to internal section" into pi-dev
Laura Davis [Wed, 13 Jun 2018 18:11:23 +0000 (18:11 +0000)]
Merge "docs: repaired link to internal section" into pi-dev

6 years agoMerge "Enable expanding of status bar just below the notch" into pi-dev
Jorim Jaggi [Wed, 13 Jun 2018 12:36:23 +0000 (12:36 +0000)]
Merge "Enable expanding of status bar just below the notch" into pi-dev

6 years agoDo not treat EXTRA_SMALL_ICON <int> as Parcelable
Robin Lee [Mon, 11 Jun 2018 09:18:55 +0000 (11:18 +0200)]
Do not treat EXTRA_SMALL_ICON <int> as Parcelable

It isn't one, and I should have read the documentation on it properly
before treating it the same as EXTRA_LARGE_ICON (which is indeed a
Parcelable).

This fixes a chronic outpouring of technically-probably-harmless warning
stack traces of the following nature which can be verified by running
the framework tests and grepping logcat for this scary-looking string:

  java.lang.ClassCastException: java.lang.Integer cannot be cast to
  android.os.Parcelable
    at android.os.Bundle.getParcelable(Bundle.java:***)
    at android.app.Notification.fixDuplicateExtra
    at android.app.Notification.fixDuplicateExtras
    at android.app.Notification.readFromParcelImpl

Duplicate Integer objects are harmless compared to the Bitmap so there
is zero sense in recombining the objects after an RPC. We just drop the
line which tries to do that.

Test: make FrameworksCoreTests -j30 && \
Test: adb install -r ${ANDROID_PRODUCT_OUT}/data/app/*/FrameworksCoreTests.apk && \
Test: adb shell am instrument \
Test:   -e class android.app.NotificationTest \
Test:   -w com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner
Change-Id: I2c88ab4e9d5322c05e2e7f68df85ed5b2f296f84
Fix: 79404137
(cherry picked from commit 62eea67846e3817e090031257bae7c42a8407548)

6 years agoRevert "Change quickstep onboarding tip window type to"
Tracy Zhou [Thu, 7 Jun 2018 22:54:29 +0000 (22:54 +0000)]
Revert "Change quickstep onboarding tip window type to"

This reverts commit 4df16fb106fad56e8515da7ea68f6eddf24daf27.

Reason for revert: This change does not really fix the z-layering while this issue is mitigated by the the update of the tip UI. It also causes b/109836271

Fixes: b/73990691
Fixes: b/109836271
Test: Manual test
Change-Id: I6443e7d54e535e353a9ffc71c48ef8b6c3f47972

6 years agoMerge "Use Uppercase instead of Lowercase for PLMN Decode" into pi-dev
Robert Greenwalt [Tue, 12 Jun 2018 22:26:39 +0000 (22:26 +0000)]
Merge "Use Uppercase instead of Lowercase for PLMN Decode" into pi-dev

6 years agoMerge "ScreenDecorations: fix cutout not showing in seascape" into pi-dev
TreeHugger Robot [Tue, 12 Jun 2018 22:17:21 +0000 (22:17 +0000)]
Merge "ScreenDecorations: fix cutout not showing in seascape" into pi-dev

6 years agoAvoid showing bouncer when in a launch transition
Lucas Dupin [Fri, 8 Jun 2018 21:11:41 +0000 (14:11 -0700)]
Avoid showing bouncer when in a launch transition

The panel will collapse but the bouncer should not become visible,
otherwise the IME might be requested.

Test: go/sysui-bouncer-tests
Test: atest packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/StatusBarKeyguardViewManagerTest.java
Change-Id: I0405cf1b956aa239b0684ac357a38cf4b2357cb2
Fixes: 109879604

6 years agoMerge "Allow unsuspending critical packages" into pi-dev
TreeHugger Robot [Tue, 12 Jun 2018 21:06:07 +0000 (21:06 +0000)]
Merge "Allow unsuspending critical packages" into pi-dev

6 years agoMerge "Make rotate nav+qs icon consistent, understandable" into pi-dev
Mike Digman [Tue, 12 Jun 2018 20:27:00 +0000 (20:27 +0000)]
Merge "Make rotate nav+qs icon consistent, understandable" into pi-dev

6 years agoMerge "Keeping the lockdown state in sync with the notification list" into pi-dev
Selim Cinek [Tue, 12 Jun 2018 18:04:01 +0000 (18:04 +0000)]
Merge "Keeping the lockdown state in sync with the notification list" into pi-dev

6 years agoMerge "Revert "Defer stop for all activities becoming invisible"" into pi-dev
Winson Chung [Tue, 12 Jun 2018 06:45:15 +0000 (06:45 +0000)]
Merge "Revert "Defer stop for all activities becoming invisible"" into pi-dev

6 years agoMerge "AudioService: fix deallock setBluetoothScoOn vs setMode" into pi-dev
TreeHugger Robot [Tue, 12 Jun 2018 03:59:07 +0000 (03:59 +0000)]
Merge "AudioService: fix deallock setBluetoothScoOn vs setMode" into pi-dev

6 years agoHiding replied notification icons from AOD
Selim Cinek [Mon, 11 Jun 2018 23:09:00 +0000 (16:09 -0700)]
Hiding replied notification icons from AOD

Previously we would only hide them from the
statusbar, but not from AOD.

Test: add notification, reply, observe no icon on AOD
Change-Id: I10a2aeb1a94aa101f055fbdc2b611477fbe1ac1b
Fixes: 78486801

6 years agoAllow unsuspending critical packages
Suprabh Shukla [Mon, 11 Jun 2018 22:11:01 +0000 (15:11 -0700)]
Allow unsuspending critical packages

PackageManager prevents certain packages from being suspended to ensure
device is in a sane state. It should not disallow unsuspening these
packages for the same reason.

Test: Existing tests:
atest FrameworksServicesTests:SuspendPackagesTest
Manually, changed the default dialer, then
adb shell pm suspend com.android.dialer
change the default dialer to com.android.dialer, then
adb shell pm unsuspend com.android.dialer
should succeeed.

Bug: 79846500
Change-Id: Ie198f61bf3b092e497f978e60a27f9d52cdda9c7

6 years agoKeeping the lockdown state in sync with the notification list
Selim Cinek [Tue, 12 Jun 2018 00:26:34 +0000 (17:26 -0700)]
Keeping the lockdown state in sync with the notification list

Whenever the lockdown was changed, the UI wasn't consistently
updated, but only once another notification / update came
in, which lead to notifications being invisisible or visible
when they shouldn't have been.

Change-Id: I17c1b4e0ef58d6aa05f4404e52e07a098d4fce4e
Fixes: 78020486
Test: manual, hit lockdown observe notification gone, coming back when unlocked

6 years agoRevert "Defer stop for all activities becoming invisible"
Winson Chung [Mon, 11 Jun 2018 23:58:27 +0000 (23:58 +0000)]
Revert "Defer stop for all activities becoming invisible"

This reverts commit b824f87c65216e4dfe5e9ab0e63795466836bc0f (for b/80313326)

Reason for revert: Cts issues (b/110032866)

Bug: 80313326
Bug: 110032866

Change-Id: Iaca3a8650d30b475ef4331e98b4b14377072ee4d

6 years agoDon't back up Assist Gesture setup/sensitivity
Kevin Chyn [Thu, 7 Jun 2018 00:16:50 +0000 (17:16 -0700)]
Don't back up Assist Gesture setup/sensitivity

Fixes: 72715022

Test: With two devices, set up one, back up onto the other.
      SUW for Assist Gesture does not get skipped
Test: atest SettingsBackupTest

Change-Id: Id7348542a618c0366f89c47833af6f66bf52b18f

6 years agoMake rotate nav+qs icon consistent, understandable
Mike Digman [Mon, 11 Jun 2018 18:41:33 +0000 (11:41 -0700)]
Make rotate nav+qs icon consistent, understandable

Now using the same iconography (but different angle) for nav
and qs. Note nav viewport, size and pivot (for motion) change
is intentional to match other navbar icon sizing.

Test: manual
Change-Id: I1abb33130cc724b6e63e008cf7301ebce383c8d1
Fixes: 110052596

6 years agoMerge changes from topic "am-8bf63f1b-ab99-4537-ad90-d648a4dd77b0" into oc-dev am...
Bill Yi [Mon, 11 Jun 2018 22:43:09 +0000 (15:43 -0700)]
Merge changes from topic "am-8bf63f1b-ab99-4537-ad90-d648a4dd77b0" into oc-dev am: c70d882667 am: c262f7a96a
am: ac40bb76a1

Change-Id: Idecbdcc5616a974fe75d99667ec4a5e8d37d97c5

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: 9f043e5e58 skipped...
Bill Yi [Mon, 11 Jun 2018 22:35:45 +0000 (15:35 -0700)]
[automerger skipped] Import translations. DO NOT MERGE skipped: 9f043e5e58 skipped: cc2c91ba39 am: b1615a6d90  -s ours am: 2c56e9b54b  -s ours
am: c37cca5739  -s ours

Change-Id: If954d237d06c522c78198b0fadd8c6394978855a

6 years agoMerge changes from topic "am-8eb97afa-063a-44e2-8d8e-6d5670eb50b6" into oc-dev am...
Bill Yi [Mon, 11 Jun 2018 22:17:06 +0000 (15:17 -0700)]
Merge changes from topic "am-8eb97afa-063a-44e2-8d8e-6d5670eb50b6" into oc-dev am: 836d1db239 am: f527941ec8
am: f4a3d1faf2

Change-Id: I5bff44b8b6e7384eada300a2c904ab11c12e028f

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: 5e25fd88a8 skipped...
Bill Yi [Mon, 11 Jun 2018 22:09:52 +0000 (15:09 -0700)]
[automerger skipped] Import translations. DO NOT MERGE skipped: 5e25fd88a8 skipped: c6a1d32ebe am: 6d30123999  -s ours am: f9efc3043a  -s ours
am: 9e7657c13d  -s ours

Change-Id: Ie100fd774ad3262f3edf1b5b2baaa3786200dccc

6 years agoMerge changes from topic "am-63639373-f180-4cce-87e9-95ef192ab9ec" into oc-dev am...
Bill Yi [Mon, 11 Jun 2018 22:04:23 +0000 (15:04 -0700)]
Merge changes from topic "am-63639373-f180-4cce-87e9-95ef192ab9ec" into oc-dev am: 3bbe3c7c93 am: 24701167ba
am: 689cf0f8a2

Change-Id: I211002b40f5acf9f7ad0a44e4530019df72c3b7c

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: 0be149db42 skipped...
Bill Yi [Mon, 11 Jun 2018 21:57:09 +0000 (14:57 -0700)]
[automerger skipped] Import translations. DO NOT MERGE skipped: 0be149db42 skipped: 3c2edd55ce am: 71f5cfa650  -s ours am: f2ce740a1e  -s ours
am: b10ebef583  -s ours

Change-Id: Ieb35e183766df1fae623f85ccb2c3a3291b35085

6 years agoMerge changes from topic "am-da3e9584-98c5-4975-8207-a77d2301579a" into oc-dev am...
Bill Yi [Mon, 11 Jun 2018 21:51:44 +0000 (14:51 -0700)]
Merge changes from topic "am-da3e9584-98c5-4975-8207-a77d2301579a" into oc-dev am: bd9caf4c6f am: 2b605d89b9
am: 64c1873c30

Change-Id: Ie4a67f372f3a7d187a7c7fe9c5d364c460535376

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: 05238c7743 skipped...
Bill Yi [Mon, 11 Jun 2018 21:44:34 +0000 (14:44 -0700)]
[automerger skipped] Import translations. DO NOT MERGE skipped: 05238c7743 skipped: 5e66cc00a4 am: dafe5854dd  -s ours am: 0c61c9baf6  -s ours
am: 7567755399  -s ours

Change-Id: If1fa2cf8485670184771de6faf7042b7c7b227eb

6 years agoMerge changes from topic "am-8bf63f1b-ab99-4537-ad90-d648a4dd77b0" into oc-dev am...
Bill Yi [Mon, 11 Jun 2018 21:43:19 +0000 (14:43 -0700)]
Merge changes from topic "am-8bf63f1b-ab99-4537-ad90-d648a4dd77b0" into oc-dev am: c70d882667
am: c262f7a96a

Change-Id: If96c64288656012f02de0edfd0d8cf7ff26abae4

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: 9f043e5e58 skipped...
Bill Yi [Mon, 11 Jun 2018 21:36:55 +0000 (14:36 -0700)]
[automerger skipped] Import translations. DO NOT MERGE skipped: 9f043e5e58 skipped: cc2c91ba39 am: b1615a6d90  -s ours
am: 2c56e9b54b  -s ours

Change-Id: I947aee957d91c286204282e84162e9733ace9018

6 years agoMerge changes from topic "am-8eb97afa-063a-44e2-8d8e-6d5670eb50b6" into oc-dev am...
Bill Yi [Mon, 11 Jun 2018 21:31:45 +0000 (14:31 -0700)]
Merge changes from topic "am-8eb97afa-063a-44e2-8d8e-6d5670eb50b6" into oc-dev am: 836d1db239
am: f527941ec8

Change-Id: I641ba8de65451ddfab0bd38dcdb09d98f1039fb1

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: 5e25fd88a8 skipped...
Bill Yi [Mon, 11 Jun 2018 21:25:28 +0000 (14:25 -0700)]
[automerger skipped] Import translations. DO NOT MERGE skipped: 5e25fd88a8 skipped: c6a1d32ebe am: 6d30123999  -s ours
am: f9efc3043a  -s ours

Change-Id: Ia4ef7b14406c4f0f15b9d17d107308f93282684b

6 years agoMerge changes from topic "am-63639373-f180-4cce-87e9-95ef192ab9ec" into oc-dev am...
Bill Yi [Mon, 11 Jun 2018 21:01:09 +0000 (14:01 -0700)]
Merge changes from topic "am-63639373-f180-4cce-87e9-95ef192ab9ec" into oc-dev am: 3bbe3c7c93
am: 24701167ba

Change-Id: I2cc8202e1abaf739a71126665599c3b262f5e7d7

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: 0be149db42 skipped...
Bill Yi [Mon, 11 Jun 2018 20:54:34 +0000 (13:54 -0700)]
[automerger skipped] Import translations. DO NOT MERGE skipped: 0be149db42 skipped: 3c2edd55ce am: 71f5cfa650  -s ours
am: f2ce740a1e  -s ours

Change-Id: Ibcaa1f68b57714de2a7295d93d1875274b750071

6 years agoMerge changes from topic "am-da3e9584-98c5-4975-8207-a77d2301579a" into oc-dev am...
Bill Yi [Mon, 11 Jun 2018 20:49:02 +0000 (13:49 -0700)]
Merge changes from topic "am-da3e9584-98c5-4975-8207-a77d2301579a" into oc-dev am: bd9caf4c6f
am: 2b605d89b9

Change-Id: I1686e2207e5764167e1e75fcbf4d0be08bf4590d

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: 05238c7743 skipped...
Bill Yi [Mon, 11 Jun 2018 20:42:05 +0000 (13:42 -0700)]
[automerger skipped] Import translations. DO NOT MERGE skipped: 05238c7743 skipped: 5e66cc00a4 am: dafe5854dd  -s ours
am: 0c61c9baf6  -s ours

Change-Id: Ie95321f3e530034575a32399abcb3d07f552c0e9

6 years agoMerge changes from topic "am-84e9fe64-a976-466c-a8d7-d25febc3ff42" into oc-dev am...
Bill Yi [Mon, 11 Jun 2018 19:52:45 +0000 (12:52 -0700)]
Merge changes from topic "am-84e9fe64-a976-466c-a8d7-d25febc3ff42" into oc-dev am: 5b882b9dd7 am: 9ce893db7d
am: 053160d965

Change-Id: I372e94fff2918832b307e6e7895636cfe0b218f3

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: 1122b10e7d skipped...
Bill Yi [Mon, 11 Jun 2018 19:44:22 +0000 (12:44 -0700)]
[automerger skipped] Import translations. DO NOT MERGE skipped: 1122b10e7d skipped: ab4ca0c33d am: d82564708f  -s ours am: 2e113959ff  -s ours
am: 5caff8b3ac  -s ours

Change-Id: I23a3341bc16e52343d398489b7e74a7903421cac

6 years agoMerge changes from topic "am-84e9fe64-a976-466c-a8d7-d25febc3ff42" into oc-dev am...
Bill Yi [Mon, 11 Jun 2018 19:34:18 +0000 (12:34 -0700)]
Merge changes from topic "am-84e9fe64-a976-466c-a8d7-d25febc3ff42" into oc-dev am: 5b882b9dd7
am: 9ce893db7d

Change-Id: Ib2119bdd41d9266be01a34281f2b414a9d4d6d32

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: 1122b10e7d skipped...
Bill Yi [Mon, 11 Jun 2018 19:27:12 +0000 (12:27 -0700)]
[automerger skipped] Import translations. DO NOT MERGE skipped: 1122b10e7d skipped: ab4ca0c33d am: d82564708f  -s ours
am: 2e113959ff  -s ours

Change-Id: I4e9f42dca080b08b61f706bb474c31c1ee1db4e5

6 years agoMerge changes from topic "am-8bf63f1b-ab99-4537-ad90-d648a4dd77b0" into oc-dev
Bill Yi [Mon, 11 Jun 2018 19:26:55 +0000 (12:26 -0700)]
Merge changes from topic "am-8bf63f1b-ab99-4537-ad90-d648a4dd77b0" into oc-dev
am: c70d882667

Change-Id: I12e4db4d4d67cac9aa22f9c3fab1d141f29eb54b

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: 9f043e5e58 skipped...
Bill Yi [Mon, 11 Jun 2018 19:24:25 +0000 (12:24 -0700)]
[automerger skipped] Import translations. DO NOT MERGE skipped: 9f043e5e58 skipped: cc2c91ba39
am: b1615a6d90  -s ours

Change-Id: I9f949a268c9c25c19c731269b3299b4ca2d7aa28

6 years agoMerge changes from topic "am-8eb97afa-063a-44e2-8d8e-6d5670eb50b6" into oc-dev
Bill Yi [Mon, 11 Jun 2018 19:19:55 +0000 (12:19 -0700)]
Merge changes from topic "am-8eb97afa-063a-44e2-8d8e-6d5670eb50b6" into oc-dev
am: 836d1db239

Change-Id: I519b06f3c9f41b874d0c1f37f0494bbbd080e50e

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: 5e25fd88a8 skipped...
Bill Yi [Mon, 11 Jun 2018 19:17:38 +0000 (12:17 -0700)]
[automerger skipped] Import translations. DO NOT MERGE skipped: 5e25fd88a8 skipped: c6a1d32ebe
am: 6d30123999  -s ours

Change-Id: I1f2ad23fa8c9975b1be5e089a4001e5871958aee

6 years agoMerge changes from topic "am-f1c23412-1f54-4840-90d6-b3eb7b06fc83" into oc-dev am...
Bill Yi [Mon, 11 Jun 2018 19:10:01 +0000 (12:10 -0700)]
Merge changes from topic "am-f1c23412-1f54-4840-90d6-b3eb7b06fc83" into oc-dev am: 59f13cbb8a am: 34d73a6f77
am: 331b188275

Change-Id: Ie7c5f82c79e8844493bd6dc203f294bc0d645150

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: ce28dfa9fa skipped...
Bill Yi [Mon, 11 Jun 2018 19:01:59 +0000 (12:01 -0700)]
[automerger skipped] Import translations. DO NOT MERGE skipped: ce28dfa9fa skipped: 4f7095b464 am: 124cc34793  -s ours am: b5af202209  -s ours
am: 6c409c2e99  -s ours

Change-Id: I1c2d8f7e5ccffd726c7111bb46e87e74616a28a4

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: faed2889f4 skipped...
Bill Yi [Mon, 11 Jun 2018 19:00:13 +0000 (12:00 -0700)]
[automerger skipped] Import translations. DO NOT MERGE skipped: faed2889f4 skipped: 091681e295 am: 4228af93a7  -s ours am: fcd7cc11c7  -s ours
am: 927396047c  -s ours

Change-Id: Id8ad34a3a125dbe8fc7b19399ace436250ecc3a2

6 years agoMerge changes from topic "am-63639373-f180-4cce-87e9-95ef192ab9ec" into oc-dev
Bill Yi [Mon, 11 Jun 2018 18:56:42 +0000 (11:56 -0700)]
Merge changes from topic "am-63639373-f180-4cce-87e9-95ef192ab9ec" into oc-dev
am: 3bbe3c7c93

Change-Id: I15050b23d75c15ca69d1aeadddef4f8f955276ef

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: 0be149db42 skipped...
Bill Yi [Mon, 11 Jun 2018 18:54:34 +0000 (11:54 -0700)]
[automerger skipped] Import translations. DO NOT MERGE skipped: 0be149db42 skipped: 3c2edd55ce
am: 71f5cfa650  -s ours

Change-Id: Ia5633210e4fced8acfffa5cde6588b3159f1036f

6 years agoMerge changes from topic "am-f1c23412-1f54-4840-90d6-b3eb7b06fc83" into oc-dev am...
Bill Yi [Mon, 11 Jun 2018 18:52:05 +0000 (11:52 -0700)]
Merge changes from topic "am-f1c23412-1f54-4840-90d6-b3eb7b06fc83" into oc-dev am: 59f13cbb8a
am: 34d73a6f77

Change-Id: I92656bba49935224c4b97c8c36aaddeaf7360950

6 years agoMerge changes from topic "am-da3e9584-98c5-4975-8207-a77d2301579a" into oc-dev
Bill Yi [Mon, 11 Jun 2018 18:50:24 +0000 (11:50 -0700)]
Merge changes from topic "am-da3e9584-98c5-4975-8207-a77d2301579a" into oc-dev
am: bd9caf4c6f

Change-Id: I04decd84fba3ec690b6d77d2880b14245810b4fd

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: 05238c7743 skipped...
Bill Yi [Mon, 11 Jun 2018 18:48:00 +0000 (11:48 -0700)]
[automerger skipped] Import translations. DO NOT MERGE skipped: 05238c7743 skipped: 5e66cc00a4
am: dafe5854dd  -s ours

Change-Id: I7f9086ba7bf5a1754e8dd5e46ccf080b0659b3b0

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: ce28dfa9fa skipped...
Bill Yi [Mon, 11 Jun 2018 18:45:09 +0000 (11:45 -0700)]
[automerger skipped] Import translations. DO NOT MERGE skipped: ce28dfa9fa skipped: 4f7095b464 am: 124cc34793  -s ours
am: b5af202209  -s ours

Change-Id: I1a8c18e58b587716dccc478fa188931df79d68c4