OSDN Git Service

android-x86/frameworks-base.git
6 years ago[automerger skipped] Merge "DO NOT MERGE Truncate newline and tab characters in Bluet...
android-build-team Robot [Fri, 4 May 2018 01:12:05 +0000 (18:12 -0700)]
[automerger skipped] Merge "DO NOT MERGE Truncate newline and tab characters in BluetoothDevice name" into oc-dev am: 8d16d7915d am: eaa6d200b3  -s ours
am: 4d94bf0498  -s ours

Change-Id: I37240064ca3a5c1d7131154bd933e6b4d3e26a60

6 years ago[automerger skipped] Merge "DO NOT MERGE Truncate newline and tab characters in Bluet...
android-build-team Robot [Fri, 4 May 2018 01:06:40 +0000 (18:06 -0700)]
[automerger skipped] Merge "DO NOT MERGE Truncate newline and tab characters in BluetoothDevice name" into oc-dev am: 8d16d7915d
am: eaa6d200b3  -s ours

Change-Id: Icb1b568faee09aa2113c1d832974f37d21ee96b0

6 years agoMerge "DO NOT MERGE Truncate newline and tab characters in BluetoothDevice name"...
android-build-team Robot [Fri, 4 May 2018 00:58:59 +0000 (17:58 -0700)]
Merge "DO NOT MERGE Truncate newline and tab characters in BluetoothDevice name" into oc-dev
am: 8d16d7915d

Change-Id: Ib34226b3ce41e83ae018c86d5a4e53564e207b46

6 years agoMerge "Changed the way the ellipsizing of text is measured" into pi-dev
Selim Cinek [Fri, 4 May 2018 00:54:13 +0000 (00:54 +0000)]
Merge "Changed the way the ellipsizing of text is measured" into pi-dev

6 years agoMerge "DO NOT MERGE Truncate newline and tab characters in BluetoothDevice name"...
android-build-team Robot [Fri, 4 May 2018 00:47:48 +0000 (00:47 +0000)]
Merge "DO NOT MERGE Truncate newline and tab characters in BluetoothDevice name" into oc-dev

6 years ago[automerger skipped] Merge "DO NOT MERGE Truncate newline and tab characters in Bluet...
android-build-team Robot [Fri, 4 May 2018 00:35:56 +0000 (17:35 -0700)]
[automerger skipped] Merge "DO NOT MERGE Truncate newline and tab characters in BluetoothDevice name" into oc-mr1-dev
am: d0e8f1f155  -s ours

Change-Id: Id2d529132100406ca0cefd262d738f498439a8b1

6 years agoMerge "DO NOT MERGE Truncate newline and tab characters in BluetoothDevice name"...
android-build-team Robot [Fri, 4 May 2018 00:28:20 +0000 (00:28 +0000)]
Merge "DO NOT MERGE Truncate newline and tab characters in BluetoothDevice name" into oc-mr1-dev

6 years agoMerge "Add app op for Bluetooth scans" into pi-dev
android-build-team Robot [Fri, 4 May 2018 00:01:53 +0000 (00:01 +0000)]
Merge "Add app op for Bluetooth scans" into pi-dev

6 years agoMerge "Fix issue #77931346: The notification that should not be named appeared" into...
Dianne Hackborn [Fri, 4 May 2018 00:01:01 +0000 (00:01 +0000)]
Merge "Fix issue #77931346: The notification that should not be named appeared" into pi-dev

6 years agoMerge changes from topic "am-01dfab30-af7a-4b8d-97d8-55bde12588f9-nyc-dev" into oc...
android-build-team Robot [Thu, 3 May 2018 23:57:15 +0000 (16:57 -0700)]
Merge changes from topic "am-01dfab30-af7a-4b8d-97d8-55bde12588f9-nyc-dev" into oc-dev am: 96e62bb999 am: d9a2898a88
am: 435b77411b

Change-Id: I258cea0c5c81db769e8bf98c644196571e0dce43

6 years agoMerge changes from topic "am-01dfab30-af7a-4b8d-97d8-55bde12588f9-nyc-dev" into oc...
android-build-team Robot [Thu, 3 May 2018 23:43:46 +0000 (16:43 -0700)]
Merge changes from topic "am-01dfab30-af7a-4b8d-97d8-55bde12588f9-nyc-dev" into oc-dev am: 96e62bb999
am: d9a2898a88

Change-Id: I2d4e8373092b33af5cc41287073842b8637b9e9e

6 years agoMerge changes from topic "am-01dfab30-af7a-4b8d-97d8-55bde12588f9-nyc-dev" into oc-dev
android-build-team Robot [Thu, 3 May 2018 23:31:58 +0000 (16:31 -0700)]
Merge changes from topic "am-01dfab30-af7a-4b8d-97d8-55bde12588f9-nyc-dev" into oc-dev
am: 96e62bb999

Change-Id: I387591c99f211f3e2399eed316cc1eada3a6b7f5

6 years agoMerge changes from topic "am-01dfab30-af7a-4b8d-97d8-55bde12588f9" into oc-dev am...
android-build-team Robot [Thu, 3 May 2018 23:23:41 +0000 (16:23 -0700)]
Merge changes from topic "am-01dfab30-af7a-4b8d-97d8-55bde12588f9" into oc-dev am: a9e5b5dce0 am: 7e01400018
am: 71e0f8ffef

Change-Id: I684ff4f5fdb0891f718c5c54b8dc61b78b73b02a

6 years agoChanged the way the ellipsizing of text is measured
Selim Cinek [Thu, 3 May 2018 02:01:33 +0000 (19:01 -0700)]
Changed the way the ellipsizing of text is measured

This also fixed the paddings for the bigtext layout
by remeasuring it after the initial measure.

Test: runtest systemui
Change-Id: I4b974645606691e6faf2b99b8e52c791e69ee6ea
Fixes: 79111092

6 years agoMerge changes from topic "am-01dfab30-af7a-4b8d-97d8-55bde12588f9-nyc-dev" into oc-dev
android-build-team Robot [Thu, 3 May 2018 23:10:52 +0000 (23:10 +0000)]
Merge changes from topic "am-01dfab30-af7a-4b8d-97d8-55bde12588f9-nyc-dev" into oc-dev

* changes:
  [automerger] DO NOT MERGE Truncate newline and tab characters in BluetoothDevice name am: b6cde9ecc1 am: b906043c81 am: 9822117184 am: 2b41ff76b0 skipped: 4eaa691175
  [automerger] DO NOT MERGE Truncate newline and tab characters in BluetoothDevice name am: b6cde9ecc1 am: b906043c81 am: 9822117184 am: 2b41ff76b0
  [automerger] DO NOT MERGE Truncate newline and tab characters in BluetoothDevice name am: b6cde9ecc1 am: b906043c81 am: 9822117184
  [automerger] DO NOT MERGE Truncate newline and tab characters in BluetoothDevice name am: b6cde9ecc1 am: b906043c81
  [automerger] DO NOT MERGE Truncate newline and tab characters in BluetoothDevice name am: b6cde9ecc1
  DO NOT MERGE Truncate newline and tab characters in BluetoothDevice name

6 years agoMerge changes from topic "am-01dfab30-af7a-4b8d-97d8-55bde12588f9" into oc-dev am...
android-build-team Robot [Thu, 3 May 2018 23:10:17 +0000 (16:10 -0700)]
Merge changes from topic "am-01dfab30-af7a-4b8d-97d8-55bde12588f9" into oc-dev am: a9e5b5dce0
am: 7e01400018

Change-Id: I863476787647ddcb16e5e0587d0c06a755cb0e07

6 years agoMerge changes from topic "am-01dfab30-af7a-4b8d-97d8-55bde12588f9" into oc-dev
android-build-team Robot [Thu, 3 May 2018 22:56:49 +0000 (15:56 -0700)]
Merge changes from topic "am-01dfab30-af7a-4b8d-97d8-55bde12588f9" into oc-dev
am: a9e5b5dce0

Change-Id: Id8fb16f96cd87b7aeb8cf501a70952e877ac0210

6 years agoMerge "WindowManager: Reapply magnification spec when adding windows." into pi-dev
Rob Carr [Thu, 3 May 2018 22:52:55 +0000 (22:52 +0000)]
Merge "WindowManager: Reapply magnification spec when adding windows." into pi-dev

6 years agoMerge "SurfaceControl: Close CloseGuard when destroying surface in transaction."...
Rob Carr [Thu, 3 May 2018 22:52:18 +0000 (22:52 +0000)]
Merge "SurfaceControl: Close CloseGuard when destroying surface in transaction." into pi-dev

6 years agoMerge changes from topic "am-01dfab30-af7a-4b8d-97d8-55bde12588f9" into oc-dev
android-build-team Robot [Thu, 3 May 2018 22:36:11 +0000 (22:36 +0000)]
Merge changes from topic "am-01dfab30-af7a-4b8d-97d8-55bde12588f9" into oc-dev

* changes:
  [automerger] DO NOT MERGE Truncate newline and tab characters in BluetoothDevice name am: 984dfe074c am: 8fbe4bce1e am: 0cd0cef08f skipped: 365fb1c844 am: 1839e70cda am: cdc99a0e87 am: f145e8172c am: d72de1bde1 skipped: 2005cc7070
  [automerger] DO NOT MERGE Truncate newline and tab characters in BluetoothDevice name am: 984dfe074c am: 8fbe4bce1e am: 0cd0cef08f skipped: 365fb1c844 am: 1839e70cda am: cdc99a0e87 am: f145e8172c am: d72de1bde1
  [automerger] DO NOT MERGE Truncate newline and tab characters in BluetoothDevice name am: 984dfe074c am: 8fbe4bce1e am: 0cd0cef08f skipped: 365fb1c844 am: 1839e70cda am: cdc99a0e87 am: f145e8172c
  [automerger] DO NOT MERGE Truncate newline and tab characters in BluetoothDevice name am: 984dfe074c am: 8fbe4bce1e am: 0cd0cef08f skipped: 365fb1c844 am: 1839e70cda am: cdc99a0e87
  [automerger] DO NOT MERGE Truncate newline and tab characters in BluetoothDevice name am: 984dfe074c am: 8fbe4bce1e am: 0cd0cef08f skipped: 365fb1c844 am: 1839e70cda
  [automerger] DO NOT MERGE Truncate newline and tab characters in BluetoothDevice name am: 984dfe074c am: 8fbe4bce1e am: 0cd0cef08f skipped: 365fb1c844
  [automerger] DO NOT MERGE Truncate newline and tab characters in BluetoothDevice name am: 984dfe074c am: 8fbe4bce1e am: 0cd0cef08f
  [automerger] DO NOT MERGE Truncate newline and tab characters in BluetoothDevice name am: 984dfe074c am: 8fbe4bce1e
  [automerger] DO NOT MERGE Truncate newline and tab characters in BluetoothDevice name am: 984dfe074c
  DO NOT MERGE Truncate newline and tab characters in BluetoothDevice name

6 years agoMerge "Fixes a visual issue with the Messaging Layout" into pi-dev
android-build-team Robot [Thu, 3 May 2018 22:20:04 +0000 (22:20 +0000)]
Merge "Fixes a visual issue with the Messaging Layout" into pi-dev

6 years agoMerge "Hide some previously exempt notifications" into pi-dev
Julia Reynolds [Thu, 3 May 2018 21:54:02 +0000 (21:54 +0000)]
Merge "Hide some previously exempt notifications" into pi-dev

6 years agoMerge "Added more logging around failures in overview connecting to launcher" into...
android-build-team Robot [Thu, 3 May 2018 21:45:47 +0000 (21:45 +0000)]
Merge "Added more logging around failures in overview connecting to launcher" into pi-dev

6 years agoFixes a visual issue with the Messaging Layout
Selim Cinek [Thu, 3 May 2018 00:22:20 +0000 (17:22 -0700)]
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

6 years agoMerge "Fix NPE finding target activity after recents animation controller crash"...
Winson Chung [Thu, 3 May 2018 21:07:07 +0000 (21:07 +0000)]
Merge "Fix NPE finding target activity after recents animation controller crash" into pi-dev

6 years agoAdded more logging around failures in overview connecting to launcher
Matthew Ng [Wed, 2 May 2018 23:58:44 +0000 (16:58 -0700)]
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

6 years agoMerge "Fix the line split for LDAC Playback Quality title string" into pi-dev
android-build-team Robot [Thu, 3 May 2018 20:32:15 +0000 (20:32 +0000)]
Merge "Fix the line split for LDAC Playback Quality title string" into pi-dev

6 years agoMerge "Enforce that the user switcher icons are circular" into pi-dev
android-build-team Robot [Thu, 3 May 2018 20:19:39 +0000 (20:19 +0000)]
Merge "Enforce that the user switcher icons are circular" into pi-dev

6 years agoWindowManager: Reapply magnification spec when adding windows.
Robert Carr [Tue, 1 May 2018 00:54:53 +0000 (17:54 -0700)]
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

6 years agoHide some previously exempt notifications
Julia Reynolds [Tue, 1 May 2018 21:05:33 +0000 (17:05 -0400)]
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

6 years agoMerge "Remove unused string for Bluetooth Active device summary" into pi-dev
android-build-team Robot [Thu, 3 May 2018 18:39:16 +0000 (18:39 +0000)]
Merge "Remove unused string for Bluetooth Active device summary" into pi-dev

6 years agoMerge "Preserve custom activity intent on relaunch" into pi-dev
Andrii Kulian [Thu, 3 May 2018 18:26:04 +0000 (18:26 +0000)]
Merge "Preserve custom activity intent on relaunch" into pi-dev

6 years agoFix NPE finding target activity after recents animation controller crash
Winson Chung [Thu, 3 May 2018 17:43:51 +0000 (10:43 -0700)]
Fix NPE finding target activity after recents animation controller crash

Bug: 79156932
Test: Just an NPE fix
Change-Id: Ia8d7b717eea1426e45778d1e0a6da4ea76d815e7

6 years agoMerge "Resets system flags when updating PackageSettings" into pi-dev
android-build-team Robot [Thu, 3 May 2018 17:43:27 +0000 (17:43 +0000)]
Merge "Resets system flags when updating PackageSettings" into pi-dev

6 years agoMerge "Correct night light qs tile time formatting." into pi-dev
android-build-team Robot [Thu, 3 May 2018 17:39:43 +0000 (17:39 +0000)]
Merge "Correct night light qs tile time formatting." into pi-dev

6 years agoMerge "Fixes landscape quickscrub track position of rtl layout" into pi-dev
android-build-team Robot [Thu, 3 May 2018 17:32:16 +0000 (17:32 +0000)]
Merge "Fixes landscape quickscrub track position of rtl layout" into pi-dev

6 years agoMerge "Greylist additions from bugreports, Thursday edition." into pi-dev
android-build-team Robot [Thu, 3 May 2018 16:53:44 +0000 (16:53 +0000)]
Merge "Greylist additions from bugreports, Thursday edition." into pi-dev

6 years agoMerge "Light grey APIs." into pi-dev
Nicolas Geoffray [Thu, 3 May 2018 16:44:32 +0000 (16:44 +0000)]
Merge "Light grey APIs." into pi-dev

6 years agoMerge "In place split install native support" into pi-dev
android-build-team Robot [Thu, 3 May 2018 16:38:54 +0000 (16:38 +0000)]
Merge "In place split install native support" into pi-dev

6 years agoMerge "Use current user for lockdown setting" into pi-dev
android-build-team Robot [Thu, 3 May 2018 16:27:58 +0000 (16:27 +0000)]
Merge "Use current user for lockdown setting" into pi-dev

6 years agoMerge "Fix QS edit accessibility." into pi-dev
android-build-team Robot [Thu, 3 May 2018 16:17:36 +0000 (16:17 +0000)]
Merge "Fix QS edit accessibility." into pi-dev

6 years agoMerge "Make safe label more safe" into pi-dev
android-build-team Robot [Thu, 3 May 2018 15:46:10 +0000 (15:46 +0000)]
Merge "Make safe label more safe" into pi-dev

6 years agoLight grey APIs.
Nicolas Geoffray [Thu, 3 May 2018 14:39:16 +0000 (15:39 +0100)]
Light grey APIs.

bug: 79074635
Test: m
Change-Id: I5013e7e71777357a75cceaba9cddeb7bd622102b

6 years agoMerge "Dismiss systemui QS dialogs on screen off." into pi-dev
android-build-team Robot [Thu, 3 May 2018 15:23:49 +0000 (15:23 +0000)]
Merge "Dismiss systemui QS dialogs on screen off." into pi-dev

6 years agoResets system flags when updating PackageSettings
Patrick Baumann [Wed, 2 May 2018 22:00:59 +0000 (15:00 -0700)]
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

6 years agoMerge "Fix new notification showing timestamp "now" after turning off DND" into pi-dev
Selim Cinek [Thu, 3 May 2018 15:15:42 +0000 (15:15 +0000)]
Merge "Fix new notification showing timestamp "now" after turning off DND" into pi-dev

6 years agoGreylist additions from bugreports, Thursday edition.
Mathew Inwood [Thu, 3 May 2018 15:00:14 +0000 (16:00 +0100)]
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

6 years agoMerge "Docs: noted that DISALLOW_INSTALL_APPS prevents DPCs installing apps." into...
Benjamin Miller [Thu, 3 May 2018 14:08:54 +0000 (14:08 +0000)]
Merge "Docs: noted that DISALLOW_INSTALL_APPS prevents DPCs installing apps." into pi-dev

6 years agoMerge "Add sql methods into light grey." into pi-dev
Nicolas Geoffray [Thu, 3 May 2018 14:08:50 +0000 (14:08 +0000)]
Merge "Add sql methods into light grey." into pi-dev

6 years agoMerge "WIDGET_TYPE_UNSELECTABLE_TEXTVIEW is missing in the WidgetType" into pi-dev
android-build-team Robot [Thu, 3 May 2018 14:05:00 +0000 (14:05 +0000)]
Merge "WIDGET_TYPE_UNSELECTABLE_TEXTVIEW is missing in the WidgetType" into pi-dev

6 years agoMerge "BackgroundFallback: Cover all cases where the fallback is needed" into pi-dev
android-build-team Robot [Thu, 3 May 2018 13:55:38 +0000 (13:55 +0000)]
Merge "BackgroundFallback: Cover all cases where the fallback is needed" into pi-dev

6 years agoMerge "Revert "Update 'dnd is hiding notifications' view"" into pi-dev
android-build-team Robot [Thu, 3 May 2018 13:46:56 +0000 (13:46 +0000)]
Merge "Revert "Update 'dnd is hiding notifications' view"" into pi-dev

6 years agoMerge "old paths contains all entries when updating" into pi-dev
android-build-team Robot [Thu, 3 May 2018 13:26:50 +0000 (13:26 +0000)]
Merge "old paths contains all entries when updating" into pi-dev

6 years agoMerge "Fix leak of WeakReferences on mThemeRefs list." into pi-dev
Richard Uhler [Thu, 3 May 2018 13:02:35 +0000 (13:02 +0000)]
Merge "Fix leak of WeakReferences on mThemeRefs list." into pi-dev

6 years agoRevert "Update 'dnd is hiding notifications' view"
Julia Reynolds [Thu, 3 May 2018 12:40:20 +0000 (12:40 +0000)]
Revert "Update 'dnd is hiding notifications' view"

This reverts commit 85bad9b5bbbf2d974ad597963ae1bab87c60faf0.

Change-Id: Ic68475a8df0ae377c4fc357017b7d2a6b5311433
Fixes: 79155510
Fixes: 79156480

6 years agoMerge "Add IWindowManager.setAnimationScales to light grey." into pi-dev
Nicolas Geoffray [Thu, 3 May 2018 12:08:14 +0000 (12:08 +0000)]
Merge "Add IWindowManager.setAnimationScales to light grey." into pi-dev

6 years agoMerge "More light grey apis." into pi-dev
Nicolas Geoffray [Thu, 3 May 2018 12:04:21 +0000 (12:04 +0000)]
Merge "More light grey apis." into pi-dev

6 years agoDocs: noted that DISALLOW_INSTALL_APPS prevents DPCs installing apps.
Benjamin Miller [Thu, 3 May 2018 10:56:28 +0000 (10:56 +0000)]
Docs: noted that DISALLOW_INSTALL_APPS prevents DPCs installing apps.

Bug: 72428023
Test: make ds-docs and inspect output
Change-Id: Ifc31378b7061d10b73de183e3c64864d608975b1

6 years agoMake safe label more safe
Todd Kennedy [Thu, 3 May 2018 09:05:04 +0000 (10:05 +0100)]
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

6 years agoMerge "Turn on QuickStep onboarding" into pi-dev
android-build-team Robot [Thu, 3 May 2018 10:08:23 +0000 (10:08 +0000)]
Merge "Turn on QuickStep onboarding" into pi-dev

6 years agoold paths contains all entries when updating
Todd Kennedy [Wed, 2 May 2018 09:59:45 +0000 (10:59 +0100)]
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

6 years agoMerge "Fixes non-matching instant app behavior" into pi-dev
android-build-team Robot [Thu, 3 May 2018 09:36:52 +0000 (09:36 +0000)]
Merge "Fixes non-matching instant app behavior" into pi-dev

6 years agoFix leak of WeakReferences on mThemeRefs list.
Richard Uhler [Thu, 26 Apr 2018 14:09:30 +0000 (15:09 +0100)]
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

6 years agoAdd sql methods into light grey.
Nicolas Geoffray [Thu, 3 May 2018 08:32:44 +0000 (09:32 +0100)]
Add sql methods into light grey.

bug: 79147309
Test: m
Change-Id: Ia986d123e1e87489fec98e2d16c94b74119696c4

6 years agoMerge "Add static IpClient logging" into pi-dev
android-build-team Robot [Thu, 3 May 2018 08:19:43 +0000 (08:19 +0000)]
Merge "Add static IpClient logging" into pi-dev

6 years agoMerge "Pass package name to runtime." into pi-dev
Mathew Inwood [Thu, 3 May 2018 08:12:02 +0000 (08:12 +0000)]
Merge "Pass package name to runtime." into pi-dev

6 years agoFix new notification showing timestamp "now" after turning off DND
shawnlin [Wed, 2 May 2018 09:02:54 +0000 (17:02 +0800)]
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

6 years agoMerge "Fix [kv-3]PerformBackupTask using last package status to decide status sent...
Shaowei Shen [Thu, 3 May 2018 02:05:17 +0000 (02:05 +0000)]
Merge "Fix [kv-3]PerformBackupTask using last package status to decide status sent to IBackupObserver." into pi-dev

6 years agoPreserve custom activity intent on relaunch
Andrii Kulian [Thu, 3 May 2018 01:40:59 +0000 (18:40 -0700)]
Preserve custom activity intent on relaunch

An activity can have a custom intent set via Activity#setIntent().
This was lost in ag/3305584

Change-Id: I88f3e164d2cf7f6c62989bba05cd84b9b83befc3
Fixes: 73181785
Test: ActivityThreadTest#testCustomIntentPreservedOnRelaunch

6 years agoRemove unused string for Bluetooth Active device summary
Pavlin Radoslavov [Thu, 3 May 2018 01:07:59 +0000 (18:07 -0700)]
Remove unused string for Bluetooth Active device summary

The string with ID "bluetooth_audio_active_device_summaries" is not
needed anymore. It has been replaced / superseded by strings with IDs
"bluetooth_active_battery_level" and "bluetooth_active_no_battery_level".

Bug: 74134939
Bug: 73007419
Test: make -j40 RunSettingsRoboTests
      make -j40 RunSettingsLibRoboTests

Change-Id: I929221f93806a50e3d61d50ea194d06eeecdbd24

6 years agoMerge "Update QuickScrub tip according to the latest spec." into pi-dev
Tracy Zhou [Thu, 3 May 2018 01:01:58 +0000 (01:01 +0000)]
Merge "Update QuickScrub tip according to the latest spec." into pi-dev

6 years agoAdd app op for Bluetooth scans
Dianne Hackborn [Wed, 2 May 2018 19:51:52 +0000 (12:51 -0700)]
Add app op for Bluetooth scans

Bug: 78480444
Test: manual
Change-Id: I0e747ed5301640af04ec4d6ef2ba5ee6c2de495a
Merged-In: I5a88abc8f26e7505ebfbd76137f13f75be6e5ff9

6 years agoFixes landscape quickscrub track position of rtl layout
Matthew Ng [Thu, 3 May 2018 00:27:38 +0000 (17:27 -0700)]
Fixes landscape quickscrub track position of rtl layout

Since paddingStart is the right side for rtl, it would push the track
away from the home button. Using padding left is more accurate
regardless of rtl.

Change-Id: I05077f3a0430893262d9f99743bc37656f455707
Fixes: 79111948
Test: landscape, with cutout, with rtl and do quickscrub

6 years agoMerge "Fix a condition to reset the current spell checker" into pi-dev
android-build-team Robot [Thu, 3 May 2018 00:14:23 +0000 (00:14 +0000)]
Merge "Fix a condition to reset the current spell checker" into pi-dev

6 years agoMerge "Quickscrub will hide the most right buttons on nav bar" into pi-dev
android-build-team Robot [Wed, 2 May 2018 23:40:06 +0000 (23:40 +0000)]
Merge "Quickscrub will hide the most right buttons on nav bar" into pi-dev

6 years agoMerge "Fix a race in spell checker session handling" into pi-dev
android-build-team Robot [Wed, 2 May 2018 23:31:38 +0000 (23:31 +0000)]
Merge "Fix a race in spell checker session handling" into pi-dev

6 years agoMerge "Add a section flag to bypass failure if a specific path can't be found." into...
Yi Jin [Wed, 2 May 2018 21:36:23 +0000 (21:36 +0000)]
Merge "Add a section flag to bypass failure if a specific path can't be found." into pi-dev

6 years agoUpdate QuickScrub tip according to the latest spec.
Tracy Zhou [Tue, 1 May 2018 23:28:51 +0000 (16:28 -0700)]
Update QuickScrub tip according to the latest spec.

- Treat inreaction to the tip as 1st dismissal.
- Show tip after 1st dismissal based on Overview opened count instead of
app launch count.

Bug: 70180942
Test: manual test
Change-Id: I4410c78ac547ad49bd135dede71e79aaca2e1b10

6 years agoMerge "UserDataPrepare: CE storage property set too early." into pi-dev
Farid Zare Seisan [Wed, 2 May 2018 21:29:17 +0000 (21:29 +0000)]
Merge "UserDataPrepare: CE storage property set too early." into pi-dev

6 years agoQuickscrub will hide the most right buttons on nav bar
Matthew Ng [Thu, 26 Apr 2018 22:23:27 +0000 (15:23 -0700)]
Quickscrub will hide the most right buttons on nav bar

When scrub occurs, it will fade out the container of the navigation bar
menu buttons and animate them back when scrub ends.

Fixes: 77338303
Test: enable magnify in accessibility settings and drag home
Change-Id: Ic5df73b980c2cb20a135b20a9f84002f107db1c0

6 years agoMerge "Return to modifying raw /mnt/media_rw paths." into pi-dev
Jeff Sharkey [Wed, 2 May 2018 21:14:17 +0000 (21:14 +0000)]
Merge "Return to modifying raw /mnt/media_rw paths." into pi-dev

6 years agoMerge "Preventing zombie process creation." into pi-dev
android-build-team Robot [Wed, 2 May 2018 20:58:14 +0000 (20:58 +0000)]
Merge "Preventing zombie process creation." into pi-dev

6 years agoFix issue #77931346: The notification that should not be named appeared
Dianne Hackborn [Wed, 2 May 2018 20:48:30 +0000 (13:48 -0700)]
Fix issue #77931346: The notification that should not be named appeared

Turn off the notification.  This just adds a boolean to
conditionally turn off the generation of the notification...
all of the logic for what is in it and when it is shown is
still there for now, to reduce the amount of change at this
point, continue to have it in bug reports, and I am not sure
if we might want to do some other visualization of this in
the future.

Bug: 77931346
Test: manual
Change-Id: I38663b6defb15ae925c2e6a4df9e2f0a9a023050

6 years agoMerge "Fix incorrect icon alignment on shelf" into pi-dev
Selim Cinek [Wed, 2 May 2018 20:36:24 +0000 (20:36 +0000)]
Merge "Fix incorrect icon alignment on shelf" into pi-dev

6 years agoMerge "AAPT2: Fix quoted text in res/xml assets" into pi-dev
Ryan Mitchell [Wed, 2 May 2018 20:23:49 +0000 (20:23 +0000)]
Merge "AAPT2: Fix quoted text in res/xml assets" into pi-dev

6 years agoCorrect night light qs tile time formatting.
Amin Shaikh [Wed, 2 May 2018 20:20:45 +0000 (16:20 -0400)]
Correct night light qs tile time formatting.

Change-Id: Ia290634c52fb7c02aa5080c8b1bfda1fb37c9279
Fixes: 79157944
Test: visual

6 years agoMerge "Fix NPE when casting" into pi-dev
Lucas Dupin [Wed, 2 May 2018 20:20:51 +0000 (20:20 +0000)]
Merge "Fix NPE when casting" into pi-dev

6 years agoDismiss systemui QS dialogs on screen off.
Amin Shaikh [Wed, 2 May 2018 19:59:44 +0000 (15:59 -0400)]
Dismiss systemui QS dialogs on screen off.

CLOSE_SYSTEM_DIALOGS may not be sent if the user turns off and on the
screen quickly, resulting in systemui dialogs being displayed over the
lock screen. Dismissing these system dialogs when the SCREEN_OFF
broadcast is sent prevents this bug.

Change-Id: I097d0997d1538002b23bdd8f7aa32ecf4d32e0d4
Fixes: 78915648
Test: manual

6 years agoMerge "Invoke create_recording_canvas correctly in macro bench tests" into pi-dev
android-build-team Robot [Wed, 2 May 2018 19:38:43 +0000 (19:38 +0000)]
Merge "Invoke create_recording_canvas correctly in macro bench tests" into pi-dev

6 years agoFix the line split for LDAC Playback Quality title string
Pavlin Radoslavov [Wed, 2 May 2018 01:42:39 +0000 (18:42 -0700)]
Fix the line split for LDAC Playback Quality title string

Previously, the line split was in the wrong place and the
result string wasn't displayed properly.

Bug: 79090703
Test: Manual - examined the result UI
      runtest systemui
      make -j40 RunSettingsRoboTests
      make -j40 RunSettingsLibRoboTests
Change-Id: I31121c5d2377f7b68218f9a9f24a64e7c27adfd0

6 years agoMerge "Use Wi-Fi content description in StatusBarWifiView" into pi-dev
android-build-team Robot [Wed, 2 May 2018 19:22:15 +0000 (19:22 +0000)]
Merge "Use Wi-Fi content description in StatusBarWifiView" into pi-dev

6 years agoMerge changes from topic "ifaceStatsDetail" into pi-dev
android-build-team Robot [Wed, 2 May 2018 19:17:27 +0000 (19:17 +0000)]
Merge changes from topic "ifaceStatsDetail" into pi-dev

* changes:
  Remove the unused file parsing function
  Use eBPF map data for per iface stats

6 years agoMerge "Update Configuration#isScreenWideColorGamut doc" into pi-dev
Chia-I Wu [Wed, 2 May 2018 19:15:11 +0000 (19:15 +0000)]
Merge "Update Configuration#isScreenWideColorGamut doc" into pi-dev

6 years agoFix QS edit accessibility.
Amin Shaikh [Wed, 2 May 2018 17:02:57 +0000 (13:02 -0400)]
Fix QS edit accessibility.

- Announce the correct QS tile positions when moving/adding tiles.
- Only insert a placeholder tile when adding tiles.
- Ensure all tiles are draggable, even if they are currently unavailable.
- Fix off by one error adding tiles into the last position.
- Remove tile remove a11y announcement as it is unnecessary.

Change-Id: Ia0bc1cb1559c2e46f9ddfe0f3ba0f50d5de56868
Fixes: 78608195
Fixes: 78611593
Fixes: 74253408
Test: manual

6 years agoMerge "Fix DemoMode icon spacing" into pi-dev
android-build-team Robot [Wed, 2 May 2018 18:30:13 +0000 (18:30 +0000)]
Merge "Fix DemoMode icon spacing" into pi-dev

6 years agoMerge "Lock the pulling alarm handler." into pi-dev
Yang Lu [Wed, 2 May 2018 18:25:18 +0000 (18:25 +0000)]
Merge "Lock the pulling alarm handler." into pi-dev

6 years agoMerge "Add 'ss' trace category in app launch test." into pi-dev
Gopinath Elanchezhian [Wed, 2 May 2018 18:24:30 +0000 (18:24 +0000)]
Merge "Add 'ss' trace category in app launch test." into pi-dev

6 years agoFix NPE when casting
Lucas Dupin [Wed, 2 May 2018 07:33:17 +0000 (00:33 -0700)]
Fix NPE when casting

We didn't have any tests that guarantee that the keyguard casting flow
wouldn't be broken by updates on KeyguardStatusView.
Such test was created

Test: atest packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/KeyguardPresentationTest.java
Change-Id: I44f66be770ea2263fbf183bc438d1cedaa6f589a
Fixes: 71696859

6 years agoUse Wi-Fi content description in StatusBarWifiView
Evan Laird [Wed, 2 May 2018 17:58:28 +0000 (13:58 -0400)]
Use Wi-Fi content description in StatusBarWifiView

Test: turn on TalkBack, tap Wi-Fi
Change-Id: Ic8bea2c5643ff44dfb042fceba1e87e12462635f
Fixes: 78172399

6 years agoAAPT2: Fix quoted text in res/xml assets
Ryan Mitchell [Fri, 27 Apr 2018 21:53:04 +0000 (14:53 -0700)]
AAPT2: Fix quoted text in res/xml assets

AAPT2 aggressively processed xml nodes and regressed from the behavior
of AAPT. This change restores AAPT's processing of xml nodes with
quotations.

Bug: 71805084
Test: Created tests in XmlFlattener_test.cpp and ran the test in the
Android Studio project given in the bug

Change-Id: Idedb4f1002e9fd705ceb5feae35289235b754b02