Commit Graph

366476 Commits

Author SHA1 Message Date
Matthew Ng
1e14e96167 Allow gestures to executed started from deadzone on nav bar
Set slippery to true when gesture starts from deadzone and when finished
set slippery to its correct state.

Change-Id: I035d12f9639ce4af00db9e0d25b514f074b5198c
Fixes: 78886558
Test: swipe up from deadzone on nav bar (just above home button)
2018-05-04 11:25:53 -07:00
Rob Carr
04e1f8e691 Merge "WindowManager: Reapply magnification spec when adding windows." into pi-dev 2018-05-03 22:52:55 +00:00
Rob Carr
625de7758b Merge "SurfaceControl: Close CloseGuard when destroying surface in transaction." into pi-dev 2018-05-03 22:52:18 +00:00
android-build-team Robot
8e4b8ea38a Merge "Fixes a visual issue with the Messaging Layout" into pi-dev 2018-05-03 22:20:04 +00:00
Julia Reynolds
afbc128d57 Merge "Hide some previously exempt notifications" into pi-dev 2018-05-03 21:54:02 +00:00
android-build-team Robot
c0968edde2 Merge "Added more logging around failures in overview connecting to launcher" into pi-dev 2018-05-03 21:45:47 +00:00
Selim Cinek
5572657366 Fixes a visual issue with the Messaging Layout
A messaging group would still look visible if all of its children
were hidden, which is incorrect. We instead regard it as measured too
small.

Test: add message notification with smart reply, click on smart reply
Change-Id: If5174f95038bf16022d935fd05f337969984f0c2
Fixes: 78214933
2018-05-03 14:14:34 -07:00
Winson Chung
ebcfc4bb79 Merge "Fix NPE finding target activity after recents animation controller crash" into pi-dev 2018-05-03 21:07:07 +00:00
Matthew Ng
e3c5af4807 Added more logging around failures in overview connecting to launcher
Added onBindingDied, onNullBinding and logging if the user has not been
setup or if launcher component is disabled. Also added a defered
callback to reconnect after a couple of seconds even if binder says its
bound but has the possiblity of the service not connected.

Change-Id: I59919a66dea3bc61c014759ba03f1949abc055bd
Fixes: 78681054
Test: manual
2018-05-03 13:38:12 -07:00
android-build-team Robot
94862e7699 Merge "Fix the line split for LDAC Playback Quality title string" into pi-dev 2018-05-03 20:32:15 +00:00
android-build-team Robot
52edc7c2ad Merge "Enforce that the user switcher icons are circular" into pi-dev 2018-05-03 20:19:39 +00:00
Robert Carr
24be9ab639 WindowManager: Reapply magnification spec when adding windows.
Previously the magnification spec was effectively reapplied on each
frame when preparing surfaces. Following the migration to the hierarchy
it was thought this wasn't needed since parent hierarchy layers
would be magnified and Surfaces would receive them as they came and went.
It didn't end up quite so hunky-dory. While the app layer is magnified in whole,
the non app layer relies on magnification of individual windows to avoid magnifying
the navigation bar. Simply put this means we need to reapply magnification
when adding windows in addition to when the magnification spec changes.

Bug: 74221620
Test: Manual
Change-Id: Ifd17ecc837a9aa611ddc29e87aa95d2854b2af8e
2018-05-03 12:36:34 -07:00
Julia Reynolds
25926af537 Hide some previously exempt notifications
Some notifications are exempt from DND visual suppression,
like foreground services. If a notification is tagged as a
category that's explicitly mentioned in DND settings (like calls),
exempt that notification from DND exemption, or, hide it.

Test: atest SystemUITests
Change-Id: I661e6d99d09adcb381aef04cccdf93c9810d19b2
Fixes: 78908945
2018-05-03 19:26:18 +00:00
android-build-team Robot
dbeff868c3 Merge "Remove unused string for Bluetooth Active device summary" into pi-dev 2018-05-03 18:39:16 +00:00
Andrii Kulian
1b59867b9f Merge "Preserve custom activity intent on relaunch" into pi-dev 2018-05-03 18:26:04 +00:00
Winson Chung
82389a9333 Fix NPE finding target activity after recents animation controller crash
Bug: 79156932
Test: Just an NPE fix
Change-Id: Ia8d7b717eea1426e45778d1e0a6da4ea76d815e7
2018-05-03 17:46:16 +00:00
android-build-team Robot
f8f6e5af75 Merge "Resets system flags when updating PackageSettings" into pi-dev 2018-05-03 17:43:27 +00:00
android-build-team Robot
6567c65fa1 Merge "Correct night light qs tile time formatting." into pi-dev 2018-05-03 17:39:43 +00:00
android-build-team Robot
979388c224 Merge "Fixes landscape quickscrub track position of rtl layout" into pi-dev 2018-05-03 17:32:16 +00:00
android-build-team Robot
eb43503f19 Merge "Greylist additions from bugreports, Thursday edition." into pi-dev 2018-05-03 16:53:44 +00:00
Nicolas Geoffray
e4cf84138c Merge "Light grey APIs." into pi-dev 2018-05-03 16:44:32 +00:00
android-build-team Robot
f4e0438a46 Merge "In place split install native support" into pi-dev 2018-05-03 16:38:54 +00:00
android-build-team Robot
2b9d205fbb Merge "Use current user for lockdown setting" into pi-dev 2018-05-03 16:27:58 +00:00
android-build-team Robot
60ea45eb67 Merge "Fix QS edit accessibility." into pi-dev 2018-05-03 16:17:36 +00:00
android-build-team Robot
06637b97dd Merge "Make safe label more safe" into pi-dev 2018-05-03 15:46:10 +00:00
Nicolas Geoffray
ff21161136 Light grey APIs.
bug: 79074635
Test: m
Change-Id: I5013e7e71777357a75cceaba9cddeb7bd622102b
2018-05-03 15:34:02 +00:00
android-build-team Robot
31919fb232 Merge "Dismiss systemui QS dialogs on screen off." into pi-dev 2018-05-03 15:23:49 +00:00
Patrick Baumann
a639d14200 Resets system flags when updating PackageSettings
In the case that we're updating a system app, we will in-place
update the PackageSetting object. This works for most fields but
breaks when updating flag fields as we're executing a binary or
on the existing flags, thus not unsetting bits when we should be.

This change resets all system-related flags before setting the new
flag values.

Test: manual - move app from priv-app to app, install update,
               verify that app does not receive priv flag
Fixes: 75993951
Fixes: 78265024

Change-Id: I3c88a3583ddb85c4b6b0e3b4d7b6d1d0db93ac17
2018-05-03 15:17:20 +00:00
Selim Cinek
929ea36157 Merge "Fix new notification showing timestamp "now" after turning off DND" into pi-dev 2018-05-03 15:15:42 +00:00
Mathew Inwood
6da35b964e Greylist additions from bugreports, Thursday edition.
Bug: 72974713
Bug: 75406528
Bug: 75985094
Bug: 77500881
Bug: 78540770
Bug: 79126374
Bug: 79159669
Bug: 79163074
Bug: 79163553
Test: m
Change-Id: I8757a66bf625388e6f6419714ef5bba7af5d93ea
2018-05-03 16:00:14 +01:00
Benjamin Miller
297965f29e Merge "Docs: noted that DISALLOW_INSTALL_APPS prevents DPCs installing apps." into pi-dev 2018-05-03 14:08:54 +00:00
Nicolas Geoffray
0d659e57b6 Merge "Add sql methods into light grey." into pi-dev 2018-05-03 14:08:50 +00:00
android-build-team Robot
d733159b45 Merge "WIDGET_TYPE_UNSELECTABLE_TEXTVIEW is missing in the WidgetType" into pi-dev 2018-05-03 14:05:00 +00:00
android-build-team Robot
0d58b9bb64 Merge "BackgroundFallback: Cover all cases where the fallback is needed" into pi-dev 2018-05-03 13:55:38 +00:00
android-build-team Robot
aeaefe91bc Merge "Revert "Update 'dnd is hiding notifications' view"" into pi-dev 2018-05-03 13:46:56 +00:00
android-build-team Robot
f5cb5e5525 Merge "old paths contains all entries when updating" into pi-dev 2018-05-03 13:26:50 +00:00
Richard Uhler
7790f2a4e1 Merge "Fix leak of WeakReferences on mThemeRefs list." into pi-dev 2018-05-03 13:02:35 +00:00
Julia Reynolds
34f14968b6 Revert "Update 'dnd is hiding notifications' view"
This reverts commit 85bad9b5bb.

Change-Id: Ic68475a8df0ae377c4fc357017b7d2a6b5311433
Fixes: 79155510
Fixes: 79156480
2018-05-03 12:40:20 +00:00
Nicolas Geoffray
91a14dec3c Merge "Add IWindowManager.setAnimationScales to light grey." into pi-dev 2018-05-03 12:08:14 +00:00
Nicolas Geoffray
eb368af5b0 Merge "More light grey apis." into pi-dev 2018-05-03 12:04:21 +00:00
Benjamin Miller
f1c3ed1e81 Docs: noted that DISALLOW_INSTALL_APPS prevents DPCs installing apps.
Bug: 72428023
Test: make ds-docs and inspect output
Change-Id: Ifc31378b7061d10b73de183e3c64864d608975b1
2018-05-03 11:24:44 +00:00
Todd Kennedy
6e40395882 Make safe label more safe
* limit the absolute maximum size of the label to 50000 characters
[which is probably far more than necessary, but, can be dialed down]

* use a string buffer while processing the string [instead of creating
multiple string objects]

Bug: 62537081
Test: Manual. Install APK in bug and see that it can be uninstalled
Change-Id: Ibf63c2691ad7438a123e92110d95b1f50050f8b1
2018-05-03 12:12:04 +01:00
android-build-team Robot
5ab7aa816e Merge "Turn on QuickStep onboarding" into pi-dev 2018-05-03 10:08:23 +00:00
Todd Kennedy
b9656a93aa old paths contains all entries when updating
In certains circumstances, only the base and split APKs were included in
the "old paths" list when updating the application info. Instead, this
list should contain _all_ elements, including any additional libraries
that may be added to the overall classpath.

Bug: 77342775
Test: Manual. Install a package. Install a split with --dont_kill. See that the path doesn't contain duplicate entries
Change-Id: Id9739cce215ab07bff1b17966583c0cf51a0b34a
2018-05-03 11:02:30 +01:00
android-build-team Robot
8d9f844004 Merge "Fixes non-matching instant app behavior" into pi-dev 2018-05-03 09:36:52 +00:00
Richard Uhler
dd6a0dbf2f Fix leak of WeakReferences on mThemeRefs list.
Periodically remove references from the list whose referents have been
garbage collected.

Bug: 73961798
Test: Device boots.
Test: Take a heap dump of systemui and manually check that the state of
      ThemeRefs looks reasonable.

Change-Id: I691027feb5dd217bcb60406b28897b9614e2a845
2018-05-03 10:12:24 +01:00
Nicolas Geoffray
2886f40ffc Add sql methods into light grey.
bug: 79147309
Test: m
Change-Id: Ia986d123e1e87489fec98e2d16c94b74119696c4
2018-05-03 09:32:44 +01:00
android-build-team Robot
5402b60bfa Merge "Add static IpClient logging" into pi-dev 2018-05-03 08:19:43 +00:00
Mathew Inwood
e9db89cc76 Merge "Pass package name to runtime." into pi-dev 2018-05-03 08:12:02 +00:00
shawnlin
ea19d32a9b Fix new notification showing timestamp "now" after turning off DND
DateTimeView won't update timestamp until the view is attached to
window and received TIME_TICK intent.

Update timestamp on onAttachedToWindow().

Test: manual 1) turn on DND 2) send a notification and wait some time 3)
turn off DND and check the timestamp
Fixes: 77970557

Change-Id: Ia8420aacf5b91b0bb9cbec561629ddbfc8de4f67
2018-05-03 11:06:52 +08:00