OSDN Git Service

android-x86/frameworks-base.git
6 years agoDeprecate private AsciiCapable protocol
Yohei Yukawa [Wed, 25 Apr 2018 01:36:23 +0000 (18:36 -0700)]
Deprecate private AsciiCapable protocol

The concept "AsciiCapable InputMethodSubtype" was initially introduced
as a private protocol based on a magic keyword "AsciiCapable"
specified in "imeSubtypeExtraValue" attribute in API level 15 [1],
then became a public API "isAsciiCapable" attribute in API 19 [2].

However, it turns out that there remains one place in InputMethodUtils
where the previous private protocol is still used.

With this CL, InputMethodUtils stop relying on the previous private
AsciiCapable.

 [1]: I1a83b227498073c47567f73566043c273809adc9
      c36905673a7bcafe9ec74e82e6c4977f2aca6a50
 [2]: Ic3ace4b6e0432d56696bcbc0be336aec1dc744a5
      dc8abf6cee0bcf44e2cad8155f0c151105d46471

Fix: 78537996
Test: make doc-comment-check-docs -j
Test: atest InputMethodPreferenceTest InputMethodUtilsTest
Change-Id: I56c0c19878657a41882c2d784e1ac96a52ab33f6

6 years agoMerge "Updated ColorDrawable to implement getColorFilter"
TreeHugger Robot [Tue, 24 Apr 2018 20:53:29 +0000 (20:53 +0000)]
Merge "Updated ColorDrawable to implement getColorFilter"

6 years agoMerge "Attach color space after performing a readback" into pi-dev am: 5bb709c31e
Leon Scroggins [Tue, 24 Apr 2018 20:47:24 +0000 (13:47 -0700)]
Merge "Attach color space after performing a readback" into pi-dev am: 5bb709c31e
am: 8bed8e4640

Change-Id: I30163b35febc6d62d65071be32e68e77d5b6b051

6 years agoMerge "Fix rounding of padding in NinePatchDrawable" into pi-dev am: eabeec49c4
Leon Scroggins III [Tue, 24 Apr 2018 20:42:36 +0000 (13:42 -0700)]
Merge "Fix rounding of padding in NinePatchDrawable" into pi-dev am: eabeec49c4
am: ac2454c905

Change-Id: Ia2693ba87ed07a79315282ed5ab7f6c89cb11c6e

6 years agoMerge "BluetoothManagerService: Add dumpsys logs for BLE_ON -> OFF" into pi-dev am...
Hansong Zhang [Tue, 24 Apr 2018 20:32:27 +0000 (13:32 -0700)]
Merge "BluetoothManagerService: Add dumpsys logs for BLE_ON -> OFF" into pi-dev am: dc34eb6055
am: a5c9aa3ecc

Change-Id: Ia7181241b8853f085d7e626337724473a28dddbc

6 years agoMerge "Attach color space after performing a readback" into pi-dev
Leon Scroggins [Tue, 24 Apr 2018 20:27:10 +0000 (13:27 -0700)]
Merge "Attach color space after performing a readback" into pi-dev
am: 5bb709c31e

Change-Id: Ia99aa64858049fbc31ba9fc9480f6feba96b20da

6 years agoMerge "RRO: Update target overlays after install" into pi-dev am: 5854a02719
Ryan Mitchell [Tue, 24 Apr 2018 20:26:34 +0000 (13:26 -0700)]
Merge "RRO: Update target overlays after install" into pi-dev am: 5854a02719
am: 54be19da18

Change-Id: Ibc55da7be7e564ceda253e778f792edf15bad1b2

6 years agoMerge "Fix rounding of padding in NinePatchDrawable" into pi-dev
Leon Scroggins III [Tue, 24 Apr 2018 20:22:12 +0000 (13:22 -0700)]
Merge "Fix rounding of padding in NinePatchDrawable" into pi-dev
am: eabeec49c4

Change-Id: I4c0f080bec08f3437c7c2c393a8213609f8ac623

6 years agoMerge "BluetoothManagerService: Add dumpsys logs for BLE_ON -> OFF" into pi-dev
Hansong Zhang [Tue, 24 Apr 2018 20:16:57 +0000 (13:16 -0700)]
Merge "BluetoothManagerService: Add dumpsys logs for BLE_ON -> OFF" into pi-dev
am: dc34eb6055

Change-Id: Ia4f090d2f8b273f0cf7527791d043f9d3d1c373c

6 years agoAudioPlaybackConfiguration release/death: notify listeners am: 2a28126af9
Jean-Michel Trivi [Tue, 24 Apr 2018 20:16:46 +0000 (13:16 -0700)]
AudioPlaybackConfiguration release/death: notify listeners am: 2a28126af9
am: 9c3d892059

Change-Id: I38b630f8622b3efc1c9b4e1cc5a7bd6ac71f9a30

6 years agoMerge "RRO: Update target overlays after install" into pi-dev
Ryan Mitchell [Tue, 24 Apr 2018 20:11:22 +0000 (13:11 -0700)]
Merge "RRO: Update target overlays after install" into pi-dev
am: 5854a02719

Change-Id: I64ae21a1462007bf2e2d5d41fcecf9ffbc78819b

6 years agoMerge "Don't automatically decline tracking jobs with met initial delays" into pi...
Chris Tate [Tue, 24 Apr 2018 20:03:30 +0000 (13:03 -0700)]
Merge "Don't automatically decline tracking jobs with met initial delays" into pi-dev am: ed9f3ef958
am: 13b550026b

Change-Id: Ic2a5a1df4c9b12c02a46fc3384bfa2dc863d60ac

6 years agoMerge "Attach color space after performing a readback" into pi-dev
Leon Scroggins [Tue, 24 Apr 2018 20:01:22 +0000 (20:01 +0000)]
Merge "Attach color space after performing a readback" into pi-dev

6 years agoAudioPlaybackConfiguration release/death: notify listeners
Jean-Michel Trivi [Tue, 24 Apr 2018 19:59:09 +0000 (12:59 -0700)]
AudioPlaybackConfiguration release/death: notify listeners
am: 2a28126af9

Change-Id: Id746122af3bc178f20d448e14afd81d8040fc507

6 years agoMerge "Fix rounding of padding in NinePatchDrawable" into pi-dev
TreeHugger Robot [Tue, 24 Apr 2018 19:58:53 +0000 (19:58 +0000)]
Merge "Fix rounding of padding in NinePatchDrawable" into pi-dev

6 years agoMerge "BluetoothManagerService: Add dumpsys logs for BLE_ON -> OFF" into pi-dev
TreeHugger Robot [Tue, 24 Apr 2018 19:53:49 +0000 (19:53 +0000)]
Merge "BluetoothManagerService: Add dumpsys logs for BLE_ON -> OFF" into pi-dev

6 years agoMerge "RRO: Update target overlays after install" into pi-dev
Ryan Mitchell [Tue, 24 Apr 2018 19:53:33 +0000 (19:53 +0000)]
Merge "RRO: Update target overlays after install" into pi-dev

6 years agoMerge "Don't automatically decline tracking jobs with met initial delays" into pi-dev
Chris Tate [Tue, 24 Apr 2018 19:51:29 +0000 (12:51 -0700)]
Merge "Don't automatically decline tracking jobs with met initial delays" into pi-dev
am: ed9f3ef958

Change-Id: I0ce9f93fc87a33114cf64c4aa9dff4e1ae325477

6 years agoUpdated ColorDrawable to implement getColorFilter
Nader Jawad [Tue, 24 Apr 2018 00:13:06 +0000 (17:13 -0700)]
Updated ColorDrawable to implement getColorFilter

ColorDrawable previously did not implement getColorFilter despite having
a proper setColorFilter implementation. Updated ColorDrawable to support
getColorFilter returning the corresponding ColorFilter configured on
it's paint.

Change-Id: Iabc3cd1b9110f5c3ec25e26a31966e2a43f8fb16
Fixes:78476471
Test: Re-ran CtsGraphicsTest

6 years agoAudioPlaybackConfiguration release/death: notify listeners
Jean-Michel Trivi [Tue, 24 Apr 2018 00:22:55 +0000 (17:22 -0700)]
AudioPlaybackConfiguration release/death: notify listeners

When a player dies or is released, dispatch an update to the
  AudioPlaybackConfiguration listeners.

Bug: 70195346
Test: atest AudioPlaybackConfiguration#testCallbackMediaPlayerRelease
Change-Id: Id0b62abb32879d3166da26f20a334d0447183ac0

6 years agoMerge "Don't automatically decline tracking jobs with met initial delays" into pi-dev
Chris Tate [Tue, 24 Apr 2018 19:25:23 +0000 (19:25 +0000)]
Merge "Don't automatically decline tracking jobs with met initial delays" into pi-dev

6 years agoMerge "Use log.wtf on debug devices if property cannot be set" into pi-dev am: 76372003a6
Fyodor Kupolov [Tue, 24 Apr 2018 18:15:06 +0000 (11:15 -0700)]
Merge "Use log.wtf on debug devices if property cannot be set" into pi-dev am: 76372003a6
am: 6383238db3

Change-Id: Id63af26478864c86b7295e1b16911453f3aff1a9

6 years agoMerge "Move status bar accessibility title to pane" into pi-dev am: 853af140f9
Phil Weaver [Tue, 24 Apr 2018 18:05:26 +0000 (11:05 -0700)]
Merge "Move status bar accessibility title to pane" into pi-dev am: 853af140f9
am: e4857b65f5

Change-Id: Ic7a39a2842e8e3b18f65870f28d7dbad2f53748b

6 years agoMerge "Use log.wtf on debug devices if property cannot be set" into pi-dev
Fyodor Kupolov [Tue, 24 Apr 2018 18:00:54 +0000 (11:00 -0700)]
Merge "Use log.wtf on debug devices if property cannot be set" into pi-dev
am: 76372003a6

Change-Id: I00ce938b8815aa7e9a961577b946387f410a8445

6 years agoMerge "Move status bar accessibility title to pane" into pi-dev
Phil Weaver [Tue, 24 Apr 2018 17:50:51 +0000 (10:50 -0700)]
Merge "Move status bar accessibility title to pane" into pi-dev
am: 853af140f9

Change-Id: I5937d8017cf922b156f114af7653dfb5bbeeabc0

6 years agoMerge "Use log.wtf on debug devices if property cannot be set" into pi-dev
Fyodor Kupolov [Tue, 24 Apr 2018 17:37:31 +0000 (17:37 +0000)]
Merge "Use log.wtf on debug devices if property cannot be set" into pi-dev

6 years agoMerge "Move status bar accessibility title to pane" into pi-dev
TreeHugger Robot [Tue, 24 Apr 2018 17:35:22 +0000 (17:35 +0000)]
Merge "Move status bar accessibility title to pane" into pi-dev

6 years agoMerge "config.xml: Add config flag for filtering DBS scans" into pi-dev am: cd8d257d42
Roshan Pius [Tue, 24 Apr 2018 17:26:41 +0000 (10:26 -0700)]
Merge "config.xml: Add config flag for filtering DBS scans" into pi-dev am: cd8d257d42
am: 607a78db5f

Change-Id: I23137675eaa8176246d06faf28ef84d6cd15162a

6 years agoMerge "config.xml: Add config flag for filtering DBS scans" into pi-dev
Roshan Pius [Tue, 24 Apr 2018 17:18:03 +0000 (10:18 -0700)]
Merge "config.xml: Add config flag for filtering DBS scans" into pi-dev
am: cd8d257d42

Change-Id: Ic47ded2705c49ab4a956763d07d92f557a550455

6 years agoMerge "Add ability to log last 2 digits of dialed numbers in userdebug builds." am...
Tyler Gunn [Tue, 24 Apr 2018 17:14:09 +0000 (10:14 -0700)]
Merge "Add ability to log last 2 digits of dialed numbers in userdebug builds." am: a355552bfe am: cc9acb51c5
am: 2e8b22cdbf

Change-Id: I3c2dd44ac20685951617889f0b9ad785d8046685

6 years agoMerge "Fix NPE when deciding whether to defer task stack animation." into pi-dev...
Winson Chung [Tue, 24 Apr 2018 17:07:13 +0000 (10:07 -0700)]
Merge "Fix NPE when deciding whether to defer task stack animation." into pi-dev am: 8faa90beeb
am: 94b669c616

Change-Id: I01ac013bdbe72a0da1eef0a097a56efaa608daa2

6 years agoMerge "config.xml: Add config flag for filtering DBS scans" into pi-dev
TreeHugger Robot [Tue, 24 Apr 2018 17:06:09 +0000 (17:06 +0000)]
Merge "config.xml: Add config flag for filtering DBS scans" into pi-dev

6 years agoMerge "Add ability to log last 2 digits of dialed numbers in userdebug builds." am...
Tyler Gunn [Tue, 24 Apr 2018 17:02:17 +0000 (10:02 -0700)]
Merge "Add ability to log last 2 digits of dialed numbers in userdebug builds." am: a355552bfe
am: cc9acb51c5

Change-Id: Ie6d937b3a6a09e358945a5453af43b6096d8d9b6

6 years ago[automerger skipped] Merge "Add presubmit hook for hidden API lists." into pi-dev...
Mathew Inwood [Tue, 24 Apr 2018 16:57:28 +0000 (09:57 -0700)]
[automerger skipped] Merge "Add presubmit hook for hidden API lists." into pi-dev am: 02033386c2
am: 1b216d84c0  -s ours

Change-Id: I7fb5e2ec3553aa3a0ba7efd002058486518e0151

6 years agoMerge "Fix NPE when deciding whether to defer task stack animation." into pi-dev
Winson Chung [Tue, 24 Apr 2018 16:53:14 +0000 (09:53 -0700)]
Merge "Fix NPE when deciding whether to defer task stack animation." into pi-dev
am: 8faa90beeb

Change-Id: I6550076e6dd6ccb60e8b2c6537660155d2f2fe4a

6 years agoMerge "Add ability to log last 2 digits of dialed numbers in userdebug builds."
Tyler Gunn [Tue, 24 Apr 2018 16:52:26 +0000 (09:52 -0700)]
Merge "Add ability to log last 2 digits of dialed numbers in userdebug builds."
am: a355552bfe

Change-Id: Id58f0268fd6e5a3611b2dc27d456b13fb8dcee6a

6 years agoMerge "Add presubmit hook for hidden API lists." into pi-dev
Mathew Inwood [Tue, 24 Apr 2018 16:47:36 +0000 (09:47 -0700)]
Merge "Add presubmit hook for hidden API lists." into pi-dev
am: 02033386c2

Change-Id: I6c437a6ffa62794f1fc88d0c8bcdcef798b68d8c

6 years agoRRO: Update target overlays after install
Ryan Mitchell [Fri, 20 Apr 2018 01:02:14 +0000 (18:02 -0700)]
RRO: Update target overlays after install

Newly installed apps were not having the their set of enabled overlays
set correctly. This allows all newly installed packages to update their
set of enabled overlays in the package manager.

Bug: 77279210
Bug: 65319218
Change-Id: I82a10e96e9869bb6fc1ad00305ec4b6cfb17483b
Test: Manual validation of b/77279210 and duplicates. Also enabled a previously failing
PTS test in ag/3941515 within the same topic.

6 years agoMerge "Fix NPE when deciding whether to defer task stack animation." into pi-dev
Winson Chung [Tue, 24 Apr 2018 16:39:07 +0000 (16:39 +0000)]
Merge "Fix NPE when deciding whether to defer task stack animation." into pi-dev

6 years agoMerge "Add presubmit hook for hidden API lists." into pi-dev
Mathew Inwood [Tue, 24 Apr 2018 16:32:17 +0000 (16:32 +0000)]
Merge "Add presubmit hook for hidden API lists." into pi-dev

6 years agoMerge "pm: skip scan-as-privileged for OMR1 vendors" into pi-dev am: d6afc52a9c
Andrew Hsieh [Tue, 24 Apr 2018 16:24:01 +0000 (09:24 -0700)]
Merge "pm: skip scan-as-privileged for OMR1 vendors" into pi-dev am: d6afc52a9c
am: 4c161911a3

Change-Id: Ic15f43714d28afbd06d55afe779ff8eea06920c7

6 years agoMerge "pm: skip scan-as-privileged for OMR1 vendors" into pi-dev
Andrew Hsieh [Tue, 24 Apr 2018 16:13:44 +0000 (09:13 -0700)]
Merge "pm: skip scan-as-privileged for OMR1 vendors" into pi-dev
am: d6afc52a9c

Change-Id: I655c45bace10a69437cad9536f30b19c09692186

6 years agoMerge "pm: skip scan-as-privileged for OMR1 vendors" into pi-dev
Andrew Hsieh [Tue, 24 Apr 2018 16:05:23 +0000 (16:05 +0000)]
Merge "pm: skip scan-as-privileged for OMR1 vendors" into pi-dev

6 years agoMerge "Add ability to log last 2 digits of dialed numbers in userdebug builds."
Tyler Gunn [Tue, 24 Apr 2018 15:33:29 +0000 (15:33 +0000)]
Merge "Add ability to log last 2 digits of dialed numbers in userdebug builds."

6 years agoMerge "Add presubmit hook for hidden API lists."
Mathew Inwood [Tue, 24 Apr 2018 15:10:13 +0000 (15:10 +0000)]
Merge "Add presubmit hook for hidden API lists."

6 years agoAdd presubmit hook for hidden API lists.
Mathew Inwood [Mon, 23 Apr 2018 15:13:14 +0000 (16:13 +0100)]
Add presubmit hook for hidden API lists.

Check that they're sorted as expected and contain no duplicates.
The sort order now uses:
$ LC_COLLATE=C sort -f

So that non-alphanumeric characters are not ignored, giving a more
intuitive sort order. the '-f' means ignore case.

Also sort the existing lists accordingly.

Test: repo upload
Bug: 64382372
Merged-In: I52b884da33a9a46455df6747a215683d9d3c3218
Change-Id: I4cdd3bc5c11be91a9a3f678580af49ac67f3c968

6 years agoMerge "Keyguard: Don't lock when phone process crashes" into pi-dev am: fd935d3a12
Adrian Roos [Tue, 24 Apr 2018 14:13:25 +0000 (07:13 -0700)]
Merge "Keyguard: Don't lock when phone process crashes" into pi-dev am: fd935d3a12
am: bbb49941a1

Change-Id: I0aa39501d5ca944204cb4afd83ff27b71ee6b199

6 years ago[automerger skipped] Merge "Add more hidden APIs to light greylist" into pi-dev am...
David Brazdil [Tue, 24 Apr 2018 14:04:32 +0000 (07:04 -0700)]
[automerger skipped] Merge "Add more hidden APIs to light greylist" into pi-dev am: 6021921b94
am: 4720a41e0b  -s ours

Change-Id: Id811b388ce4f858bb250e1c62c667e48fcac80d2

6 years agoAdd presubmit hook for hidden API lists.
Mathew Inwood [Mon, 23 Apr 2018 15:13:14 +0000 (16:13 +0100)]
Add presubmit hook for hidden API lists.

Check that they're sorted as expected and contain no duplicates.
The sort order now uses:
$ LC_COLLATE=C sort -f

So that non-alphanumeric characters are not ignored, giving a more
intuitive sort order. the '-f' means ignore case.

Also sort the existing lists accordingly.

Test: repo upload
Bug: 64382372
Change-Id: I52b884da33a9a46455df6747a215683d9d3c3218

6 years agoMerge "Keyguard: Don't lock when phone process crashes" into pi-dev
Adrian Roos [Tue, 24 Apr 2018 14:00:03 +0000 (07:00 -0700)]
Merge "Keyguard: Don't lock when phone process crashes" into pi-dev
am: fd935d3a12

Change-Id: I94cb7eb84ce34554524339bc1ba7c64cb7b2e46a

6 years agoMerge "Edit dnd icon in volume dialog" into pi-dev am: 57e77be49d
Beverly [Tue, 24 Apr 2018 13:57:26 +0000 (06:57 -0700)]
Merge "Edit dnd icon in volume dialog" into pi-dev am: 57e77be49d
am: 278b8a9dd7

Change-Id: I220c2c191168452d83a65fe031d95f848e297ebe

6 years agoMerge "Add more hidden APIs to light greylist" into pi-dev
David Brazdil [Tue, 24 Apr 2018 13:52:07 +0000 (06:52 -0700)]
Merge "Add more hidden APIs to light greylist" into pi-dev
am: 6021921b94

Change-Id: I5fdff2a1910cc960eb190642c19afd4f1e8ec538

6 years agoMerge "Edit dnd icon in volume dialog" into pi-dev
Beverly [Tue, 24 Apr 2018 13:47:03 +0000 (06:47 -0700)]
Merge "Edit dnd icon in volume dialog" into pi-dev
am: 57e77be49d

Change-Id: Ie4698f1ceacf92eb4551ee0ca27b25696e6f1b6d

6 years agoMerge "Keyguard: Don't lock when phone process crashes" into pi-dev
TreeHugger Robot [Tue, 24 Apr 2018 13:40:45 +0000 (13:40 +0000)]
Merge "Keyguard: Don't lock when phone process crashes" into pi-dev

6 years agoMerge "Add more hidden APIs to light greylist" into pi-dev
TreeHugger Robot [Tue, 24 Apr 2018 13:34:10 +0000 (13:34 +0000)]
Merge "Add more hidden APIs to light greylist" into pi-dev

6 years agoMerge "Edit dnd icon in volume dialog" into pi-dev
TreeHugger Robot [Tue, 24 Apr 2018 13:34:05 +0000 (13:34 +0000)]
Merge "Edit dnd icon in volume dialog" into pi-dev

6 years agoMerge "Make password history hashing more secure" into pi-dev am: 66b6d1c3bc
Rubin Xu [Tue, 24 Apr 2018 13:32:58 +0000 (06:32 -0700)]
Merge "Make password history hashing more secure" into pi-dev am: 66b6d1c3bc
am: 1e90f0135f

Change-Id: Ie67bb7caa2c1fec8c58d876171586ee88d16409f

6 years agoMerge "Check self permission in BackupManager#isBackupServiceActive"
TreeHugger Robot [Tue, 24 Apr 2018 13:22:34 +0000 (13:22 +0000)]
Merge "Check self permission in BackupManager#isBackupServiceActive"

6 years agoMerge "Make password history hashing more secure" into pi-dev
Rubin Xu [Tue, 24 Apr 2018 13:22:16 +0000 (06:22 -0700)]
Merge "Make password history hashing more secure" into pi-dev
am: 66b6d1c3bc

Change-Id: Iae4f9ca93a193d24b23410c92659d35a50506b4b

6 years agoMerge "Make password history hashing more secure" into pi-dev
TreeHugger Robot [Tue, 24 Apr 2018 13:06:57 +0000 (13:06 +0000)]
Merge "Make password history hashing more secure" into pi-dev

6 years agoMerge "update wifi unit test script" into pi-dev am: 4a7913c268
Rebecca Silberstein [Tue, 24 Apr 2018 13:06:26 +0000 (06:06 -0700)]
Merge "update wifi unit test script" into pi-dev am: 4a7913c268
am: c5e42dc131

Change-Id: Ie107d7353a5eb83ef42d094bc8d615d0f49146d2

6 years agoMerge "update wifi unit test script" into pi-dev
Rebecca Silberstein [Tue, 24 Apr 2018 12:58:08 +0000 (05:58 -0700)]
Merge "update wifi unit test script" into pi-dev
am: 4a7913c268

Change-Id: I1a55eed1317ab101837b24d3162d1218d19c6ef6

6 years agoMerge "Add list of approved services in addApprovedList"
TreeHugger Robot [Tue, 24 Apr 2018 12:52:41 +0000 (12:52 +0000)]
Merge "Add list of approved services in addApprovedList"

6 years agoMerge "update wifi unit test script" into pi-dev
TreeHugger Robot [Tue, 24 Apr 2018 12:45:34 +0000 (12:45 +0000)]
Merge "update wifi unit test script" into pi-dev

6 years agoMerge "Check self permission in BackupManager#isBackupServiceActive" into pi-dev...
Bernardo Rufino [Tue, 24 Apr 2018 12:29:34 +0000 (05:29 -0700)]
Merge "Check self permission in BackupManager#isBackupServiceActive" into pi-dev am: ad8159bea0
am: e348c14524

Change-Id: Ic31eabf98521d0823b6329914809dcfd937e33fe

6 years agoKeyguard: Don't lock when phone process crashes
Adrian Roos [Tue, 24 Apr 2018 12:21:39 +0000 (14:21 +0200)]
Keyguard: Don't lock when phone process crashes

Fixed an issue where the keyguard locked in response to the
phone process crashing. Since that's not avoidable for the
moment, don't treat unknown sim states as absent.

Bug: 78060670
Test: adb shell kill `pid com.android.phone`; verify that the phone did not lock
Change-Id: Ic5aa51d3b0521740b828d934c6653f8d5ae6380a

6 years agoMerge "Check self permission in BackupManager#isBackupServiceActive" into pi-dev
Bernardo Rufino [Tue, 24 Apr 2018 12:20:29 +0000 (05:20 -0700)]
Merge "Check self permission in BackupManager#isBackupServiceActive" into pi-dev
am: ad8159bea0

Change-Id: I3500ed3ae311d5df2ddf265a7132ac05d7eb536c

6 years agoMerge "Check self permission in BackupManager#isBackupServiceActive" into pi-dev
TreeHugger Robot [Tue, 24 Apr 2018 12:12:53 +0000 (12:12 +0000)]
Merge "Check self permission in BackupManager#isBackupServiceActive" into pi-dev

6 years agoMerge "Add more hidden APIs to light greylist"
David Brazdil [Tue, 24 Apr 2018 12:05:47 +0000 (12:05 +0000)]
Merge "Add more hidden APIs to light greylist"

6 years agoMerge "Only allow using PendingRemAnimRegistry on top launched activity" into pi...
Jorim Jaggi [Tue, 24 Apr 2018 11:54:11 +0000 (04:54 -0700)]
Merge "Only allow using PendingRemAnimRegistry on top launched activity" into pi-dev am: 0bbd1f573f
am: f850b245d5

Change-Id: Ic4b2e1dfb12c488e87fed5e367dd832ccc829181

6 years agoAdd list of approved services in addApprovedList
Artem Iglikov [Tue, 24 Apr 2018 11:46:44 +0000 (12:46 +0100)]
Add list of approved services in addApprovedList

... instead of replacing it. I.e., do what the method name claims to do
in order to fix restoring. Otherwise during restore the list of
components is getting set to the list of the components from backup set,
i.e., list of pre-approved components is lost.

This is ag/3939056 in master.

Bug: 77630371
Test: with a backup set for package "android" created with LocalTransport run (also see the bug) adb root && adb shell bmgr enable true && adb shell bmgr transport android/com.android.internal.backup.LocalTransport && adb shell bmgr backupnow android && adb shell rm -rf /cache/backup/1/_delta/android/ && adb push android /cache/backup/1/_delta/ && adb shell cat /data/system/notification_policy.xml | grep enabled_listeners -C 5 && adb shell bmgr restore 1 android && adb shell cat /data/system/notification_policy.xml | grep enabled_listeners -C 5
Test: atest FrameworksUiServicesTests
Change-Id: Ie0eb6ef6629fb4c6d97f06b891282aa3e5563456

6 years agoMerge "Only allow using PendingRemAnimRegistry on top launched activity" into pi-dev
Jorim Jaggi [Tue, 24 Apr 2018 11:45:31 +0000 (04:45 -0700)]
Merge "Only allow using PendingRemAnimRegistry on top launched activity" into pi-dev
am: 0bbd1f573f

Change-Id: Id077a12926a375f727f94882a4a08d6387940e28

6 years agoMerge "Only allow using PendingRemAnimRegistry on top launched activity" into pi-dev
Jorim Jaggi [Tue, 24 Apr 2018 11:32:02 +0000 (11:32 +0000)]
Merge "Only allow using PendingRemAnimRegistry on top launched activity" into pi-dev

6 years agoMerge "Clarify SystemUpdatePolicy" into pi-dev am: 4019c39405
Rubin Xu [Tue, 24 Apr 2018 11:20:14 +0000 (04:20 -0700)]
Merge "Clarify SystemUpdatePolicy" into pi-dev am: 4019c39405
am: 5fbc0e59f5

Change-Id: Ia4f9475bac63504d9332bf576d9e12517e89d23a

6 years agoMerge "Clarify SystemUpdatePolicy" into pi-dev
Rubin Xu [Tue, 24 Apr 2018 11:10:58 +0000 (04:10 -0700)]
Merge "Clarify SystemUpdatePolicy" into pi-dev
am: 4019c39405

Change-Id: I7d9129aaa404940391139acf2f40eca97fda9165

6 years agoMerge "Clarify SystemUpdatePolicy" into pi-dev
TreeHugger Robot [Tue, 24 Apr 2018 10:59:50 +0000 (10:59 +0000)]
Merge "Clarify SystemUpdatePolicy" into pi-dev

6 years agoAdd more hidden APIs to light greylist
David Brazdil [Mon, 23 Apr 2018 16:54:24 +0000 (17:54 +0100)]
Add more hidden APIs to light greylist

Bug: 78242776
Test: make
Merged-In: I3e1f6acd805ca73509a896066a336432f29d0c87
Change-Id: Ieb2eb62201a6f270afd76ae3f6e5ca6226dd57a6

6 years agoAdd more hidden APIs to light greylist
David Brazdil [Mon, 23 Apr 2018 16:54:24 +0000 (17:54 +0100)]
Add more hidden APIs to light greylist

Bug: 78242776
Test: make
Change-Id: I3e1f6acd805ca73509a896066a336432f29d0c87

6 years agoCheck self permission in BackupManager#isBackupServiceActive
Bernardo Rufino [Tue, 24 Apr 2018 10:29:02 +0000 (11:29 +0100)]
Check self permission in BackupManager#isBackupServiceActive

Old method only checked for IPC caller, method isn't an IPC, adding
check for self permission as well.

Bug: 78467264
Test: atest com.google.android.gts.devicepolicy.DeviceOwnerTest#testBackupServiceActive
Change-Id: If9eed90f2deaaf1a4f2376fdf1881e62ee8954fb

6 years agoCheck self permission in BackupManager#isBackupServiceActive
Bernardo Rufino [Tue, 24 Apr 2018 10:29:02 +0000 (11:29 +0100)]
Check self permission in BackupManager#isBackupServiceActive

Old method only checked for IPC caller, method isn't an IPC, adding
check for self permission as well.

Bug: 78467264
Test: atest com.google.android.gts.devicepolicy.DeviceOwnerTest#testBackupServiceActive
Change-Id: If9eed90f2deaaf1a4f2376fdf1881e62ee8954fb

6 years agoMerge changes I0cd83a93,I03ae2bbb into pi-dev am: 411e79b8b0
Chalard Jean [Tue, 24 Apr 2018 10:10:25 +0000 (03:10 -0700)]
Merge changes I0cd83a93,I03ae2bbb into pi-dev am: 411e79b8b0
am: a4eec2cefa

Change-Id: Ia8f985b448251f911484e6bd63fa562bffc1b0e4

6 years agoMerge changes I0cd83a93,I03ae2bbb into pi-dev
Chalard Jean [Tue, 24 Apr 2018 10:02:11 +0000 (03:02 -0700)]
Merge changes I0cd83a93,I03ae2bbb into pi-dev
am: 411e79b8b0

Change-Id: Iaa0285825735d3f16bba6e4946723a437fd9b0b9

6 years agoMerge changes I0cd83a93,I03ae2bbb into pi-dev
Chalard Jean [Tue, 24 Apr 2018 09:53:32 +0000 (09:53 +0000)]
Merge changes I0cd83a93,I03ae2bbb into pi-dev

* changes:
  Make sure getActiveNetwork is consistent with default callbacks
  Add tests for getActiveNetwork.

6 years agoMerge "Avoid internal method call and its branching."
TreeHugger Robot [Tue, 24 Apr 2018 09:43:27 +0000 (09:43 +0000)]
Merge "Avoid internal method call and its branching."

6 years agoMerge changes from topic "notification_reply_action" into pi-dev am: 53790c1c8f
Selim Cinek [Tue, 24 Apr 2018 09:37:39 +0000 (02:37 -0700)]
Merge changes from topic "notification_reply_action" into pi-dev am: 53790c1c8f
am: 0744f1d4b1

Change-Id: Ic0fdf693f31edc0402c43451610c051b2d8571cf

6 years agoMerge changes from topic "notification_reply_action" into pi-dev
Selim Cinek [Tue, 24 Apr 2018 09:26:30 +0000 (02:26 -0700)]
Merge changes from topic "notification_reply_action" into pi-dev
am: 53790c1c8f

Change-Id: Ia6f227ca49a2004a2346da91cfea4f9a3fa65c47

6 years agoMerge "Add spinner for smart replies." into pi-dev am: 5f18904a00
Kenny Guy [Tue, 24 Apr 2018 09:11:49 +0000 (02:11 -0700)]
Merge "Add spinner for smart replies." into pi-dev am: 5f18904a00
am: 06c4122c74

Change-Id: I5a2d775500b0a43eea281592f2325add233e7de1

6 years agoMerge changes from topic "notification_reply_action" into pi-dev
Selim Cinek [Tue, 24 Apr 2018 09:10:38 +0000 (09:10 +0000)]
Merge changes from topic "notification_reply_action" into pi-dev

* changes:
  Cleaned up the paddings of the messaging layout and smart replies
  Changed the size of the largeIcon
  Moved the disabling from alpha to manual color blending
  Updated the color of the reply button to be more neutral
  Updated the reply icon
  Disabled reply action when pending intents are cancelled
  Split the reply icon permanently from the right icon

6 years agoMerge "Add spinner for smart replies." into pi-dev
Kenny Guy [Tue, 24 Apr 2018 09:02:47 +0000 (02:02 -0700)]
Merge "Add spinner for smart replies." into pi-dev
am: 5f18904a00

Change-Id: I2eed8580057fe6565674c376ffd5cbdc5aaf0dcd

6 years agoMerge "Add spinner for smart replies." into pi-dev
TreeHugger Robot [Tue, 24 Apr 2018 08:51:56 +0000 (08:51 +0000)]
Merge "Add spinner for smart replies." into pi-dev

6 years agoMerge "Add light grey APIs." into pi-dev am: 95b7e63103
Nicolas Geoffray [Tue, 24 Apr 2018 08:49:54 +0000 (01:49 -0700)]
Merge "Add light grey APIs." into pi-dev am: 95b7e63103
am: 5824fce1c8

Change-Id: I12a12d78e5e03ea4637ad6329ec6175cdb5f3df3

6 years agoMerge "Add light grey APIs." into pi-dev
Nicolas Geoffray [Tue, 24 Apr 2018 08:40:55 +0000 (01:40 -0700)]
Merge "Add light grey APIs." into pi-dev
am: 95b7e63103

Change-Id: I957ef767bf25ed36b4fb05e2cde6715c6b99cd56

6 years agoMake sure getActiveNetwork is consistent with default callbacks
Chalard Jean [Wed, 18 Apr 2018 11:18:38 +0000 (20:18 +0900)]
Make sure getActiveNetwork is consistent with default callbacks

Bug: 77737389
Test: runtest framework-net
      new test don't pass without the main code change, but they
      do with it
Change-Id: I0cd83a935ab0b349aa47e065b830e5a43ab9a091

6 years agoMerge "Add light grey APIs." into pi-dev
Nicolas Geoffray [Tue, 24 Apr 2018 08:30:12 +0000 (08:30 +0000)]
Merge "Add light grey APIs." into pi-dev

6 years agoMerge "Log package name when showing targetSdkVersion warning" into pi-dev am: 9d4d6e9d1a
Przemyslaw Szczepaniak [Tue, 24 Apr 2018 08:25:24 +0000 (01:25 -0700)]
Merge "Log package name when showing targetSdkVersion warning" into pi-dev am: 9d4d6e9d1a
am: b3c294c857

Change-Id: I046df7390751ca9dfa0404f903138eba42b3c953

6 years agoMerge "Log package name when showing targetSdkVersion warning" into pi-dev
Przemyslaw Szczepaniak [Tue, 24 Apr 2018 08:17:50 +0000 (01:17 -0700)]
Merge "Log package name when showing targetSdkVersion warning" into pi-dev
am: 9d4d6e9d1a

Change-Id: Ifa31ef06df225421914bd4326859286a8ff8edbf

6 years agoMerge "Log package name when showing targetSdkVersion warning" into pi-dev
TreeHugger Robot [Tue, 24 Apr 2018 08:07:27 +0000 (08:07 +0000)]
Merge "Log package name when showing targetSdkVersion warning" into pi-dev

6 years agoMerge "Check provider exists and is enabled when request location" into pi-dev am...
Yu-Han Yang [Tue, 24 Apr 2018 07:12:20 +0000 (00:12 -0700)]
Merge "Check provider exists and is enabled when request location" into pi-dev am: 4c958d0e6b
am: 566987a3be

Change-Id: If27d5bbe87613a6c977787b668429359616391c1

6 years agoMerge "Check provider exists and is enabled when request location" into pi-dev
Yu-Han Yang [Tue, 24 Apr 2018 07:04:46 +0000 (00:04 -0700)]
Merge "Check provider exists and is enabled when request location" into pi-dev
am: 4c958d0e6b

Change-Id: I206e7a4a0ff3990ea8cf94decb6112c769e545f8

6 years agoLog package name when showing targetSdkVersion warning
Przemyslaw Szczepaniak [Mon, 23 Apr 2018 12:17:13 +0000 (13:17 +0100)]
Log package name when showing targetSdkVersion warning

Test: manual verification
Bug: 78332004
Change-Id: Ie91ac06e3a973edf655362b836698185a0aa7602