OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Turns DEBUG to false in statsd." into pi-dev
android-build-team Robot [Fri, 4 May 2018 02:41:44 +0000 (02:41 +0000)]
Merge "Turns DEBUG to false in statsd." into pi-dev

6 years agoMerge "Metrics for user choices in storage wizard." into pi-dev
android-build-team Robot [Fri, 4 May 2018 02:32:09 +0000 (02:32 +0000)]
Merge "Metrics for user choices in storage wizard." into pi-dev

6 years agoMerge "Reduced the opacity of the ripple when dark" into pi-dev
android-build-team Robot [Fri, 4 May 2018 02:16:22 +0000 (02:16 +0000)]
Merge "Reduced the opacity of the ripple when dark" into pi-dev

6 years agoMerge "Fixed the RTL appearance of messagingStyle" into pi-dev
android-build-team Robot [Fri, 4 May 2018 02:12:22 +0000 (02:12 +0000)]
Merge "Fixed the RTL appearance of messagingStyle" into pi-dev

6 years agoMerge "Correct insets for getNonMinimizedSplitScreenSecondaryBounds" into pi-dev
android-build-team Robot [Fri, 4 May 2018 02:08:23 +0000 (02:08 +0000)]
Merge "Correct insets for getNonMinimizedSplitScreenSecondaryBounds" into pi-dev

6 years agoMerge "Fixed a leak with TransformStates" into pi-dev
android-build-team Robot [Fri, 4 May 2018 01:22:06 +0000 (01:22 +0000)]
Merge "Fixed a leak with TransformStates" into pi-dev

6 years agoMerge "Fix issue where line breaks would be wrong" into pi-dev
Lucas Dupin [Fri, 4 May 2018 01:16:22 +0000 (01:16 +0000)]
Merge "Fix issue where line breaks would be wrong" into pi-dev

6 years agoMerge "Bigger ownerInfo padding" into pi-dev
android-build-team Robot [Fri, 4 May 2018 01:15:47 +0000 (01:15 +0000)]
Merge "Bigger ownerInfo padding" into pi-dev

6 years agoMerge "Update views when next slice is null" into pi-dev
Lucas Dupin [Fri, 4 May 2018 01:14:10 +0000 (01:14 +0000)]
Merge "Update views when next slice is null" into pi-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 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 agoReduced the opacity of the ripple when dark
Selim Cinek [Fri, 4 May 2018 00:57:27 +0000 (17:57 -0700)]
Reduced the opacity of the ripple when dark

It was at 87 before and much reduced now.

Test: visually
Change-Id: I90bfbc6866e4d7399730635c04649b9415f7d598
Fixes: 79219117

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 agoFixed the RTL appearance of messagingStyle
Selim Cinek [Fri, 4 May 2018 00:41:21 +0000 (17:41 -0700)]
Fixed the RTL appearance of messagingStyle

LTR text was still appearing LTR, but we rather use
viewstart

Test: visually
Change-Id: Id95a8422f1a6143b642e5653d201861cdb6d0ca7
Fixes: 79223146

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 agoCorrect insets for getNonMinimizedSplitScreenSecondaryBounds
Matthew Ng [Thu, 3 May 2018 23:10:55 +0000 (16:10 -0700)]
Correct insets for getNonMinimizedSplitScreenSecondaryBounds

Fixed the addition error on seascape and added top insets for launcher
to get correct bounds.

Change-Id: I963e69dcba7b20d138ba01e361f21186b773a264
Fixes: 79209096
Test: manual

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 agoBigger ownerInfo padding
Lucas Dupin [Thu, 3 May 2018 23:05:16 +0000 (16:05 -0700)]
Bigger ownerInfo padding

Change-Id: Ia45fb8cae466ee15d6718608d6df26e6b93da171
Fixes: 77507690
Test: visual

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 agoTurns DEBUG to false in statsd.
Yangster-mac [Wed, 2 May 2018 19:23:17 +0000 (12:23 -0700)]
Turns DEBUG to false in statsd.

Test: statsd test
BUG: b/79161505
Change-Id: Ic6eee527d625b10aa86b2beb4b4c4fc05b051c7d

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 agoFixed a leak with TransformStates
Selim Cinek [Thu, 3 May 2018 18:14:15 +0000 (11:14 -0700)]
Fixed a leak with TransformStates

The states were still referencing the TransformInfo even
when reset, which was leaking the Row.

Test: create notification with progress, remove it, observe no leak
Change-Id: I34750ef5def2adcda02661bcbf37c4c63f52406a
Fixes: 79184192

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 agoFix issue where line breaks would be wrong
Lucas Dupin [Wed, 2 May 2018 23:02:39 +0000 (16:02 -0700)]
Fix issue where line breaks would be wrong

It's not possible to getLayout() after calling setText since the new
layout will only be calculated on the next onMeasure.

Test: visual
Bug: 78891765
Change-Id: I69ba425407e277156b702050a97dbbd29c8d66a9

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 agoMetrics for user choices in storage wizard.
Jeff Sharkey [Wed, 2 May 2018 22:14:43 +0000 (16:14 -0600)]
Metrics for user choices in storage wizard.

These metrics help us understand more about how users in the field
are interacting with adoptable storage.

Bug: 37284068
Test: atest com.android.settings.ui.StorageWizardTest
Change-Id: I96bcebc26b53e680d060ec0c23d1f9d11de939a2

6 years agoUpdate views when next slice is null
Lucas Dupin [Wed, 2 May 2018 21:23:44 +0000 (14:23 -0700)]
Update views when next slice is null

Otherwise invalid content would be presented after switching users

Test: manual, switch users, look at smart clock
Test: atest tests/src/com/android/keyguard/KeyguardSliceViewTest.java
Change-Id: Id3bd5e9cfedd17870d00f7a55386661f5b22ff59
Fixes: 78891765

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