OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Fixes OpaLayoutTest to pass by adding SysuiTestCase (1/2)" into pi-dev
Matthew Ng [Thu, 29 Mar 2018 20:29:48 +0000 (20:29 +0000)]
Merge "Fixes OpaLayoutTest to pass by adding SysuiTestCase (1/2)" into pi-dev
am: 4565da3da7

Change-Id: I30156ba002b5c59e58c724368f486a877ef71416

6 years agoMerge "Revert "Clear pattern on completion (if fade is enabled)."" into pi-dev
Vishwath Mohan [Thu, 29 Mar 2018 20:12:18 +0000 (20:12 +0000)]
Merge "Revert "Clear pattern on completion (if fade is enabled)."" into pi-dev
am: a56558bf4f

Change-Id: Ie7e0d13b08f24df6a791ab1949fe086ce5c19698

6 years agoMerge "Fixes OpaLayoutTest to pass by adding SysuiTestCase (1/2)" into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 20:09:42 +0000 (20:09 +0000)]
Merge "Fixes OpaLayoutTest to pass by adding SysuiTestCase (1/2)" into pi-dev

6 years agoMerge "Revert "Clear pattern on completion (if fade is enabled)."" into pi-dev
Vishwath Mohan [Thu, 29 Mar 2018 19:57:37 +0000 (19:57 +0000)]
Merge "Revert "Clear pattern on completion (if fade is enabled)."" into pi-dev

6 years agoRevert "Clear pattern on completion (if fade is enabled)."
Vishwath Mohan [Thu, 29 Mar 2018 17:56:33 +0000 (17:56 +0000)]
Revert "Clear pattern on completion (if fade is enabled)."

This reverts commit b8e9782f70d6aa28368798cdb969607831c826ce.

Bug: 77257848
Test: Can change from pattern to pin/password

Change-Id: I17f9625e506c8e0839fffa95a62c904890cac603

6 years agoMerge "Tidy up users of TRANSPORT constants." into pi-dev
Jeff Sharkey [Thu, 29 Mar 2018 19:53:26 +0000 (19:53 +0000)]
Merge "Tidy up users of TRANSPORT constants." into pi-dev
am: 407932ebc0

Change-Id: I31a611736b4b939edc01eb4d533a3587d3d27b76

6 years agoMerge "Switch reference time to ZonedDateTime" into pi-dev
Jeff Sharkey [Thu, 29 Mar 2018 19:46:28 +0000 (19:46 +0000)]
Merge "Switch reference time to ZonedDateTime" into pi-dev
am: 50ac4d2c60

Change-Id: Idf036bc9772d5b4d04cc568bc0daf5f91b91ecc9

6 years agoMerge "Add the compilation reason to the dexopt dumps" into pi-dev
Calin Juravle [Thu, 29 Mar 2018 19:39:57 +0000 (19:39 +0000)]
Merge "Add the compilation reason to the dexopt dumps" into pi-dev
am: 709bfc2cdd

Change-Id: I44cb35ba63747e80ad07951972d0c97a3da2df88

6 years agoMerge "Update BleScanStateChanged comment" into pi-dev
Bookatz [Thu, 29 Mar 2018 19:29:25 +0000 (19:29 +0000)]
Merge "Update BleScanStateChanged comment" into pi-dev
am: d82ece9ec8

Change-Id: I6cc114caaa4c0cc70bfa208af8bf3e16e4d18c1b

6 years agoMerge "Tidy up users of TRANSPORT constants." into pi-dev
Jeff Sharkey [Thu, 29 Mar 2018 19:23:38 +0000 (19:23 +0000)]
Merge "Tidy up users of TRANSPORT constants." into pi-dev

6 years agoMerge "Bouncer should not show over the full screen user switcher on boot." into...
jovanak [Thu, 29 Mar 2018 19:23:10 +0000 (19:23 +0000)]
Merge "Bouncer should not show over the full screen user switcher on boot." into pi-dev
am: 9ed9aa932e

Change-Id: I91c89dfaef256bd9cacabc5444f29e53bb92c04e

6 years agoMerge "Switch reference time to ZonedDateTime" into pi-dev
Jeff Sharkey [Thu, 29 Mar 2018 19:22:47 +0000 (19:22 +0000)]
Merge "Switch reference time to ZonedDateTime" into pi-dev

6 years agoMerge "Fix letterbox insets when starting app" into pi-dev
Jorim Jaggi [Thu, 29 Mar 2018 19:16:50 +0000 (19:16 +0000)]
Merge "Fix letterbox insets when starting app" into pi-dev
am: 1a6051a81d

Change-Id: Ie5f6f6a1372bf6a563a700a74a6fcc41325e616c

6 years agoMerge "Add the compilation reason to the dexopt dumps" into pi-dev
Calin Juravle [Thu, 29 Mar 2018 19:15:44 +0000 (19:15 +0000)]
Merge "Add the compilation reason to the dexopt dumps" into pi-dev

6 years agoMerge "Update BleScanStateChanged comment" into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 19:05:19 +0000 (19:05 +0000)]
Merge "Update BleScanStateChanged comment" into pi-dev

6 years agoMerge "RemoteAnimations: Add failsafe" into pi-dev
Adrian Roos [Thu, 29 Mar 2018 18:51:19 +0000 (18:51 +0000)]
Merge "RemoteAnimations: Add failsafe" into pi-dev
am: a685503741

Change-Id: Id5cf196c8da0a8823061d8ae85f42f2cca929790

6 years agoMerge "Improved documentation of AutofillFieldClassificationService.onGetScores(...
Felipe Leme [Thu, 29 Mar 2018 18:42:42 +0000 (18:42 +0000)]
Merge "Improved documentation of AutofillFieldClassificationService.onGetScores()" into pi-dev
am: 7516514148

Change-Id: I38431d9dad8b7215f80c2243389dbff61bc4a1c0

6 years agoMerge "Bouncer should not show over the full screen user switcher on boot." into...
TreeHugger Robot [Thu, 29 Mar 2018 18:28:12 +0000 (18:28 +0000)]
Merge "Bouncer should not show over the full screen user switcher on boot." into pi-dev

6 years agoMerge "[automerger skipped] Merge "Move alpha long/short to the base CellIdentity...
Android Build Merger (Role) [Thu, 29 Mar 2018 18:23:47 +0000 (18:23 +0000)]
Merge "[automerger skipped] Merge "Move alpha long/short to the base CellIdentity according API Review." am: b57de56276 am: a2a3815e5b  -s ours" into pi-dev-plus-aosp

6 years ago[automerger skipped] Merge "Move alpha long/short to the base CellIdentity according...
Cassie [Thu, 29 Mar 2018 18:23:08 +0000 (18:23 +0000)]
[automerger skipped] Merge "Move alpha long/short to the base CellIdentity according API Review." am: b57de56276
am: a2a3815e5b  -s ours

Change-Id: I7799e0425585ed40bb6a7f27f299eb993773c50c

6 years agoMerge "Add FLAG_INCREMENTAL support to LocalTransport." into pi-dev
Anton Philippov [Thu, 29 Mar 2018 18:22:26 +0000 (18:22 +0000)]
Merge "Add FLAG_INCREMENTAL support to LocalTransport." into pi-dev
am: eed025c570

Change-Id: Ie3e66979f253bb621b7897cd687b0b2d5cd00de0

6 years agoMerge "Fix letterbox insets when starting app" into pi-dev
Jorim Jaggi [Thu, 29 Mar 2018 18:21:29 +0000 (18:21 +0000)]
Merge "Fix letterbox insets when starting app" into pi-dev

6 years agoMerge "Move alpha long/short to the base CellIdentity according API Review."
Cassie [Thu, 29 Mar 2018 18:11:34 +0000 (18:11 +0000)]
Merge "Move alpha long/short to the base CellIdentity according API Review."
am: b57de56276

Change-Id: I088b1751c63f6b21c8452a07649751ac0b9989e5

6 years agoMerge "RemoteAnimations: Add failsafe" into pi-dev
Adrian Roos [Thu, 29 Mar 2018 18:10:28 +0000 (18:10 +0000)]
Merge "RemoteAnimations: Add failsafe" into pi-dev

6 years agoMerge "Prefer default orientation for secondary displays" into pi-dev
Andrii Kulian [Thu, 29 Mar 2018 18:06:58 +0000 (18:06 +0000)]
Merge "Prefer default orientation for secondary displays" into pi-dev
am: a22cca47e2

Change-Id: I67ba66682a656008eff8c6828c7f56141de5a666

6 years agoMerge "Improved documentation of AutofillFieldClassificationService.onGetScores(...
TreeHugger Robot [Thu, 29 Mar 2018 18:00:55 +0000 (18:00 +0000)]
Merge "Improved documentation of AutofillFieldClassificationService.onGetScores()" into pi-dev

6 years agoMerge "Indicate whether BandConfig initialization is required or not." into pi-dev
Tomasz Wasilczyk [Thu, 29 Mar 2018 18:00:30 +0000 (18:00 +0000)]
Merge "Indicate whether BandConfig initialization is required or not." into pi-dev
am: 64faa5b60f

Change-Id: I10673d4d00ad323c0c8e8d697249e8f79650b325

6 years agoMerge "Add FLAG_INCREMENTAL support to LocalTransport." into pi-dev
Anton Philippov [Thu, 29 Mar 2018 17:54:52 +0000 (17:54 +0000)]
Merge "Add FLAG_INCREMENTAL support to LocalTransport." into pi-dev

6 years agoMerge "Root (uid=0) should be core. Fix UserHandle.isCore()." into pi-dev
Makoto Onuki [Thu, 29 Mar 2018 17:53:30 +0000 (17:53 +0000)]
Merge "Root (uid=0) should be core. Fix UserHandle.isCore()." into pi-dev
am: f3faf62adc

Change-Id: Ie4af59f3892be89adfcdbe9a0cb02e92aab2c8b2

6 years agoMerge "Fix StatsCompanionService pull on bucket ends" into pi-dev
Chenjie Yu [Thu, 29 Mar 2018 17:33:18 +0000 (17:33 +0000)]
Merge "Fix StatsCompanionService pull on bucket ends" into pi-dev
am: 925a04b775

Change-Id: I1aac27b4a83158b336e0fcff16a18a06ab310615

6 years agoMerge "Prefer default orientation for secondary displays" into pi-dev
Andrii Kulian [Thu, 29 Mar 2018 17:32:57 +0000 (17:32 +0000)]
Merge "Prefer default orientation for secondary displays" into pi-dev

6 years agoMerge "Indicate whether BandConfig initialization is required or not." into pi-dev
Tomasz Wasilczyk [Thu, 29 Mar 2018 17:27:56 +0000 (17:27 +0000)]
Merge "Indicate whether BandConfig initialization is required or not." into pi-dev

6 years agoMerge "Move Path to NAR" into pi-dev
John Reck [Thu, 29 Mar 2018 17:18:13 +0000 (17:18 +0000)]
Merge "Move Path to NAR" into pi-dev
am: 9434b66bf7

Change-Id: I693153af6cdd6face8aae7cc1cd6c828fc774b78

6 years agoMerge "Root (uid=0) should be core. Fix UserHandle.isCore()." into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 17:17:23 +0000 (17:17 +0000)]
Merge "Root (uid=0) should be core. Fix UserHandle.isCore()." into pi-dev

6 years agoMerge "Change alarm/ringer status QS separator." into pi-dev
Amin Shaikh [Thu, 29 Mar 2018 17:02:33 +0000 (17:02 +0000)]
Merge "Change alarm/ringer status QS separator." into pi-dev
am: 2011f2333d

Change-Id: I8603604b163bd901d902f0bf1a0a2d47bdf35a05

6 years agoMerge "Fix StatsCompanionService pull on bucket ends" into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 17:00:25 +0000 (17:00 +0000)]
Merge "Fix StatsCompanionService pull on bucket ends" into pi-dev

6 years agoMerge "tools/bit: Avoid leak in error condition" am: db43124b01
Greg Kaiser [Thu, 29 Mar 2018 16:57:00 +0000 (16:57 +0000)]
Merge "tools/bit: Avoid leak in error condition" am: db43124b01
am: b3851d92ce

Change-Id: I6b51d22ee200e11b5a731461f295f5da8937a683

6 years agoMerge "Move Path to NAR" into pi-dev
John Reck [Thu, 29 Mar 2018 16:53:41 +0000 (16:53 +0000)]
Merge "Move Path to NAR" into pi-dev

6 years agoMerge "Change alarm/ringer status QS separator." into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 16:50:21 +0000 (16:50 +0000)]
Merge "Change alarm/ringer status QS separator." into pi-dev

6 years agoMerge "Save KeyChainSnapshots to disk" into pi-dev
Robert Berry [Thu, 29 Mar 2018 16:46:48 +0000 (16:46 +0000)]
Merge "Save KeyChainSnapshots to disk" into pi-dev
am: 02c0bbdc47

Change-Id: I603452c6ea44eec44d5c03fab4130034acc7d11d

6 years agoMerge "Move alpha long/short to the base CellIdentity according API Review."
Treehugger Robot [Thu, 29 Mar 2018 16:45:52 +0000 (16:45 +0000)]
Merge "Move alpha long/short to the base CellIdentity according API Review."

6 years agoMerge "tools/bit: Avoid leak in error condition"
Greg Kaiser [Thu, 29 Mar 2018 16:45:00 +0000 (16:45 +0000)]
Merge "tools/bit: Avoid leak in error condition"
am: db43124b01

Change-Id: I4ab166872dc985c98d4771d4715a0d059de80dd7

6 years agoSwitch reference time to ZonedDateTime
Jan Althaus [Thu, 29 Mar 2018 15:51:57 +0000 (17:51 +0200)]
Switch reference time to ZonedDateTime

Bug: 74838195
Test: atest FrameworksCoreTests:TextClassificationManagerTest
Test: atest FrameworksCoreTests:TextClassificationTest
Test: atest CtsViewTestCases:TextClassificationManagerTest
Test: atest CtsViewTestCases:TextClassifierValueObjectsTest
Change-Id: I0df9dddf415fa558435553336a8a0a15621e9b05

6 years agoMerge "Add more hidden API uses to light greylist" into pi-dev
David Brazdil [Thu, 29 Mar 2018 16:36:35 +0000 (16:36 +0000)]
Merge "Add more hidden API uses to light greylist" into pi-dev
am: 1b460069a1

Change-Id: Id9ac8e2d05df7d679a970cc04f066554f5f09954

6 years agoMerge "Save KeyChainSnapshots to disk" into pi-dev
Robert Berry [Thu, 29 Mar 2018 16:27:42 +0000 (16:27 +0000)]
Merge "Save KeyChainSnapshots to disk" into pi-dev

6 years agoMerge "NotificationManagerService: don't play notif in SILENT mode" into pi-dev
Jean-Michel Trivi [Thu, 29 Mar 2018 16:26:07 +0000 (16:26 +0000)]
Merge "NotificationManagerService: don't play notif in SILENT mode" into pi-dev
am: a908ec2a36

Change-Id: I186b0b920560bc484b6f4ebea6e4112f3ad06d5c

6 years agoMerge "Add more hidden API uses to light greylist" into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 16:22:47 +0000 (16:22 +0000)]
Merge "Add more hidden API uses to light greylist" into pi-dev

6 years agoMerge "NotificationManagerService: don't play notif in SILENT mode" into pi-dev
Jean-Michel Trivi [Thu, 29 Mar 2018 16:14:10 +0000 (16:14 +0000)]
Merge "NotificationManagerService: don't play notif in SILENT mode" into pi-dev

6 years agoMerge "Don't print contents of user-provided bundles." into pi-dev
Felipe Leme [Thu, 29 Mar 2018 16:07:46 +0000 (16:07 +0000)]
Merge "Don't print contents of user-provided bundles." into pi-dev
am: dac0fe910a

Change-Id: I2abc3adc142b7ad4c4cc25e3a382d53cecec5002

6 years agoAdd FLAG_INCREMENTAL support to LocalTransport.
Anton Philippov [Mon, 26 Mar 2018 18:12:08 +0000 (19:12 +0100)]
Add FLAG_INCREMENTAL support to LocalTransport.

Implement performBackup() with flags argument:

1. If FLAG_INCREMENTAL is passed and transport has no data for this
package or supports only non-incremental backups, request a non-incremental retry.
2. If FLAG_NON_INCREMENTAL is passed, but transport has data, discard
that data and continue.

Bug: 72212840
Test: GTS test in the same topic
Change-Id: I4c4a1dbfa1a807e4d4c523f42bb6a404a39731e9

6 years agoMerge "Better public volumes handling on secondary users." into pi-dev
Jeff Sharkey [Thu, 29 Mar 2018 15:56:02 +0000 (15:56 +0000)]
Merge "Better public volumes handling on secondary users." into pi-dev
am: 4abf0f708f

Change-Id: Ibf736f62f884b2effc663b059ab4c692d71fffff

6 years agoMerge "API for granting/revoking runtime permissions." into pi-dev
Jeff Sharkey [Thu, 29 Mar 2018 15:45:33 +0000 (15:45 +0000)]
Merge "API for granting/revoking runtime permissions." into pi-dev
am: c8156c6a52

Change-Id: Ied3764b365ce6e59848042fff2efd748bde3d9ca

6 years agoMerge "Don't print contents of user-provided bundles." into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 15:36:43 +0000 (15:36 +0000)]
Merge "Don't print contents of user-provided bundles." into pi-dev

6 years agoMerge "tools/bit: Avoid leak in error condition"
Treehugger Robot [Thu, 29 Mar 2018 15:22:55 +0000 (15:22 +0000)]
Merge "tools/bit: Avoid leak in error condition"

6 years agoMerge "DPM: API review for installKeyPair" into pi-dev
Eran Messeri [Thu, 29 Mar 2018 15:22:41 +0000 (15:22 +0000)]
Merge "DPM: API review for installKeyPair" into pi-dev
am: e5f9e833e5

Change-Id: Ia10366dca584cd9d92932f2dfd3cd59472ee078c

6 years agoMerge "Better public volumes handling on secondary users." into pi-dev
Jeff Sharkey [Thu, 29 Mar 2018 15:15:54 +0000 (15:15 +0000)]
Merge "Better public volumes handling on secondary users." into pi-dev

6 years agoMerge "API for granting/revoking runtime permissions." into pi-dev
Jeff Sharkey [Thu, 29 Mar 2018 15:14:34 +0000 (15:14 +0000)]
Merge "API for granting/revoking runtime permissions." into pi-dev

6 years agoMerge "Federate platform docs against AndroidX" into pi-dev
Alan Viverette [Thu, 29 Mar 2018 15:04:15 +0000 (15:04 +0000)]
Merge "Federate platform docs against AndroidX" into pi-dev
am: 73a66276e3

Change-Id: I037ae591cb7fbdf33260ff7494a28a0ae22919c1

6 years agoMerge "DPM: API review for installKeyPair" into pi-dev
Eran Messeri [Thu, 29 Mar 2018 15:00:30 +0000 (15:00 +0000)]
Merge "DPM: API review for installKeyPair" into pi-dev

6 years agoMerge "Not allow shell to dump screen by using ui-automator if... DISALLOW_DEBUGGING_...
Tony Mak [Thu, 29 Mar 2018 14:52:21 +0000 (14:52 +0000)]
Merge "Not allow shell to dump screen by using ui-automator if... DISALLOW_DEBUGGING_FEATURES is set" into pi-dev
am: b2c4a55405

Change-Id: I7dab7f606d55f1c0e0683edfd16a274a2b481b10

6 years agoMerge "Federate platform docs against AndroidX" into pi-dev
Alan Viverette [Thu, 29 Mar 2018 14:47:47 +0000 (14:47 +0000)]
Merge "Federate platform docs against AndroidX" into pi-dev

6 years agoIndicate whether BandConfig initialization is required or not.
Tomasz Wasilczyk [Tue, 27 Mar 2018 20:28:42 +0000 (13:28 -0700)]
Indicate whether BandConfig initialization is required or not.

The broadcastradio HAL 1.x requires waiting for onConfigChanged callback
to indicate the initialization is done, while HAL 2.0 does not have the
config setting (at the tuner session level) at all.

This change makes it possible to cleanly workaround race condition in the
radio app retaining support for both HAL revisions. Future versions of the
RadioManager will provide a method to open a session without taking care
about these nuances.

Bug: 74353024
Test: manual
Change-Id: I5de2d5e5c33626fcf0cfbbaf121d0b13e53d0bae

6 years agoMerge "Allow apps with dnd access to bypass DND" into pi-dev
Julia Reynolds [Thu, 29 Mar 2018 14:42:53 +0000 (14:42 +0000)]
Merge "Allow apps with dnd access to bypass DND" into pi-dev
am: 0cdeb11c2c

Change-Id: I4f82ff5b359521c8c6ff8c7b89ee27522cfa7745

6 years agoMerge "Not allow shell to dump screen by using ui-automator if... DISALLOW_DEBUGGING_...
Tony Mak [Thu, 29 Mar 2018 14:36:55 +0000 (14:36 +0000)]
Merge "Not allow shell to dump screen by using ui-automator if... DISALLOW_DEBUGGING_FEATURES is set" into pi-dev

6 years agoMerge "Add three more wifi APIs." into pi-dev
Nicolas Geoffray [Thu, 29 Mar 2018 14:35:50 +0000 (14:35 +0000)]
Merge "Add three more wifi APIs." into pi-dev
am: ba6539382a

Change-Id: Ifa37e895756fa30faa20fc6284375e3c22a2810c

6 years agoFix letterbox insets when starting app
Jorim Jaggi [Wed, 28 Mar 2018 16:01:22 +0000 (18:01 +0200)]
Fix letterbox insets when starting app

Showing the letterbox with checking on HAS_DRAWN is too late. We
also need to show it in READY_TO_SHOW such that we have it
available when starting the transition.

Test: Open letterboxed app. Observe no flicker
Test: Capture winscope trace and make sure content insets when
reopening app are correct.
Bug: 76220728
Change-Id: I20ed8b1b5a90cc0a878d3eb1512e1aa1e4cd37f3

6 years agoMerge "Allow apps with dnd access to bypass DND" into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 14:27:19 +0000 (14:27 +0000)]
Merge "Allow apps with dnd access to bypass DND" into pi-dev

6 years agoMerge "Add three more wifi APIs." into pi-dev
Nicolas Geoffray [Thu, 29 Mar 2018 14:23:10 +0000 (14:23 +0000)]
Merge "Add three more wifi APIs." into pi-dev

6 years agoMerge "Remove unused KeyStore field in RecoverableKeyStoreManager" into pi-dev
Robert Berry [Thu, 29 Mar 2018 14:09:53 +0000 (14:09 +0000)]
Merge "Remove unused KeyStore field in RecoverableKeyStoreManager" into pi-dev
am: 87860048bd

Change-Id: I0439e8675276f9168fd16d318d81547e9596b472

6 years agoChange alarm/ringer status QS separator.
Amin Shaikh [Thu, 29 Mar 2018 13:41:45 +0000 (09:41 -0400)]
Change alarm/ringer status QS separator.

Change-Id: Ib305e65e45a78f1db6091bb978e086c46205db5f
Fixes: 76208830
Test: visual

6 years agoMerge "Utilize verbose KeyChain errors" into pi-dev
Eran Messeri [Thu, 29 Mar 2018 13:54:23 +0000 (13:54 +0000)]
Merge "Utilize verbose KeyChain errors" into pi-dev
am: 8e07a26233

Change-Id: I083045d1f78acd89f2bbd19aecaf00a1d9d704f0

6 years agoSave KeyChainSnapshots to disk
Robert Berry [Thu, 29 Mar 2018 11:07:17 +0000 (12:07 +0100)]
Save KeyChainSnapshots to disk

Bug: 73921897
Test: runtest frameworks-services -p \
      com.android.server.locksettings.recoverablekeystore

Change-Id: I909f2f7f289d4e2a0cdff6a3f7184747e5deeae2

6 years agoMerge "Remove unused KeyStore field in RecoverableKeyStoreManager" into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 13:44:59 +0000 (13:44 +0000)]
Merge "Remove unused KeyStore field in RecoverableKeyStoreManager" into pi-dev

6 years agoMerge "Clear app data before full restore for specified packages" into pi-dev
Artem Iglikov [Thu, 29 Mar 2018 13:36:34 +0000 (13:36 +0000)]
Merge "Clear app data before full restore for specified packages" into pi-dev
am: bb0bcc4460

Change-Id: I707a2f5fbe2d8c7bac2bc405e684016c61c2ddca

6 years agoMerge "Utilize verbose KeyChain errors" into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 13:31:14 +0000 (13:31 +0000)]
Merge "Utilize verbose KeyChain errors" into pi-dev

6 years agoMerge "Clear app data before full restore for specified packages" into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 13:23:24 +0000 (13:23 +0000)]
Merge "Clear app data before full restore for specified packages" into pi-dev

6 years agoAdd more hidden API uses to light greylist
David Brazdil [Thu, 29 Mar 2018 13:21:48 +0000 (14:21 +0100)]
Add more hidden API uses to light greylist

Bug: 76443991
Bug: 64382372
Test: make
Change-Id: I5ec60bbf9b747230ab1a5ae539d7d014b24605b0

6 years agoMerge "DO NOT MERGE Unrevert update references to backup agent timeouts" into pi-dev
Annie Meng [Thu, 29 Mar 2018 13:15:23 +0000 (13:15 +0000)]
Merge "DO NOT MERGE Unrevert update references to backup agent timeouts" into pi-dev
am: 3594cd54aa

Change-Id: Ic7e207d39529aa292938910352d6b0c420f23d88

6 years agoMerge "Rename ImageDecoder.setResize" into pi-dev
Leon Scroggins [Thu, 29 Mar 2018 13:00:37 +0000 (13:00 +0000)]
Merge "Rename ImageDecoder.setResize" into pi-dev
am: 6078631927

Change-Id: I6e0a070ef9cb4cc1746c1379ecbebcee868efcd9

6 years agoMerge "DO NOT MERGE Unrevert update references to backup agent timeouts" into pi-dev
Annie Meng [Thu, 29 Mar 2018 12:55:42 +0000 (12:55 +0000)]
Merge "DO NOT MERGE Unrevert update references to backup agent timeouts" into pi-dev

6 years agoMerge "Move graphics APIs to the light grey." into pi-dev
Nicolas Geoffray [Thu, 29 Mar 2018 12:46:01 +0000 (12:46 +0000)]
Merge "Move graphics APIs to the light grey." into pi-dev
am: d8d05ecc64

Change-Id: I3d2021625786591bdca46ad3f255273c635b1cf0

6 years agoMerge "Rename ImageDecoder.setResize" into pi-dev
Leon Scroggins [Thu, 29 Mar 2018 12:40:24 +0000 (12:40 +0000)]
Merge "Rename ImageDecoder.setResize" into pi-dev

6 years agoMerge "Exempt some notis from DND visual suppression" into pi-dev
Julia Reynolds [Thu, 29 Mar 2018 12:40:01 +0000 (12:40 +0000)]
Merge "Exempt some notis from DND visual suppression" into pi-dev
am: a000724a83

Change-Id: I47c11979e3a0687262f7e9beed81a3ed5db06905

6 years agoMerge "Move graphics APIs to the light grey." into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 12:26:26 +0000 (12:26 +0000)]
Merge "Move graphics APIs to the light grey." into pi-dev

6 years agoAdd three more wifi APIs.
Nicolas Geoffray [Wed, 28 Mar 2018 23:00:12 +0000 (00:00 +0100)]
Add three more wifi APIs.

bug: 74066078
Test: m
Change-Id: I2c9a7499094c743de3923226bbcea3c1cd147d5f

6 years agoMerge "Exempt some notis from DND visual suppression" into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 12:25:02 +0000 (12:25 +0000)]
Merge "Exempt some notis from DND visual suppression" into pi-dev

6 years agoMerge "Persist KeyChainSnapshot to XML" into pi-dev
Robert Berry [Thu, 29 Mar 2018 11:17:38 +0000 (11:17 +0000)]
Merge "Persist KeyChainSnapshot to XML" into pi-dev
am: 9f75e089ed

Change-Id: Ic0570155bba210a0bffa2e813724cbd13225dddc

6 years agoRemove unused KeyChainSnapshot tables
Robert Berry [Thu, 29 Mar 2018 11:11:26 +0000 (11:11 +0000)]
Remove unused KeyChainSnapshot tables
am: 924b550151

Change-Id: Ica8a4db0ccab999853c906dfadde7fb924627bba

6 years agoMerge "Persist KeyChainSnapshot to XML" into pi-dev
Robert Berry [Thu, 29 Mar 2018 10:59:17 +0000 (10:59 +0000)]
Merge "Persist KeyChainSnapshot to XML" into pi-dev

6 years agoExempt some notis from DND visual suppression
Julia Reynolds [Wed, 28 Mar 2018 14:48:37 +0000 (10:48 -0400)]
Exempt some notis from DND visual suppression

Specifically, foreground service notifications
and media notifications.

Fixes: 75261156
Test: atest SystemUITests
Change-Id: I2f1fddbf748a274177d2c8dddb1b72fce82c8c4c

6 years agoRemoteAnimations: Add failsafe
Adrian Roos [Mon, 26 Mar 2018 15:34:06 +0000 (17:34 +0200)]
RemoteAnimations: Add failsafe

Adds failsafe mechanisms to RemoteAnimation and RecentsAnimation:
- cancel animations on binder death
- schedule a short timeout for RecentsAnimation after HOME and POWER events

Also enables RemoteAnimationControllerTest for presubmit, since it's turned
out to be reliable.

Change-Id: Id0bfdbee7d36f662eb386727195da8de2ed1684a
Fixes: 73496879
Test: kill / suspend launcher during animations; verify animations get aborted as expected.
Test: atest RemoteAnimationControllerTest

6 years agoMove graphics APIs to the light grey.
Nicolas Geoffray [Wed, 28 Mar 2018 22:15:54 +0000 (23:15 +0100)]
Move graphics APIs to the light grey.

The APIs have just started being removed in public APIs, and some
non-vendor apps are using them.

bug: 77224796
Test: m

Change-Id: I5c3afd18244a888ec77f14eaa6d839faf4f6d2be

6 years agoMerge "Merge "Fixed the Premium SMS bug reported by our partner The detail is that...
Android Build Merger (Role) [Thu, 29 Mar 2018 10:05:50 +0000 (10:05 +0000)]
Merge "Merge "Fixed the Premium SMS bug reported by our partner The detail is that : ===  <shortcode country="ae" free="3214|1017"/> === As displayed above, Arab Emirates is registered in sms_short_codes.xml. There is only CATEGORY_FREE_SHORT_CODE number for the county code "ae". All other numbers which include length under 5 digits is set as CATEGORY_NOT_SHORT_CODE, and so Premium SMS pop-up does not appear for both case. pattern="\\d{1,5}"  is added to all similar entries BUG:66911380" am: e2e7b28c12 am: 6c0c79618f" into pi-dev-plus-aosp

6 years agoMerge "Fixed the Premium SMS bug reported by our partner The detail is that : ==...
Juancheng Rong [Thu, 29 Mar 2018 10:05:28 +0000 (10:05 +0000)]
Merge "Fixed the Premium SMS bug reported by our partner The detail is that : ===  <shortcode country="ae" free="3214|1017"/> === As displayed above, Arab Emirates is registered in sms_short_codes.xml. There is only CATEGORY_FREE_SHORT_CODE number for the county code "ae". All other numbers which include length under 5 digits is set as CATEGORY_NOT_SHORT_CODE, and so Premium SMS pop-up does not appear for both case. pattern="\\d{1,5}"  is added to all similar entries BUG:66911380" am: e2e7b28c12
am: 6c0c79618f

Change-Id: I558ba52e57a077e0ea18fe89d67d5b9509ed7cfe

6 years agoAdd warning comment about serialization
Robert Berry [Thu, 29 Mar 2018 10:02:38 +0000 (10:02 +0000)]
Add warning comment about serialization
am: 52c15f1699

Change-Id: I88a9d84ba7d6cdfd030a8f308fafe40c161a9736

6 years agoClear app data before full restore for specified packages
Artem Iglikov [Tue, 27 Mar 2018 14:12:18 +0000 (15:12 +0100)]
Clear app data before full restore for specified packages

In some cases (deferred restore) the app data needs to be cleared even
if the app has implemented backup agent. As a quick fix introduce
PACKAGES_TO_CLEAR_DATA_BEFORE_FULL_RESTORE secure setting, which
transport can fill prior to restore.

Bug: 69069240
Test: adb shell settings put secure packages_to_clear_data_before_full_restore com.google.android.apps.nexuslauncher && adb shell bmgr restore com.google.android.apps.nexuslauncher
Change-Id: I2a4651365d9cf4747f32d2ba69312f54cd03d118

6 years agoUtilize verbose KeyChain errors
Eran Messeri [Mon, 26 Mar 2018 15:43:14 +0000 (16:43 +0100)]
Utilize verbose KeyChain errors

As KeyChain reports detailed error codes about failure to generate keys
or attestation records for them, log these detailed errors and throw an
exception if the hardware does not support Device ID attestation.

Bug: 72642093
Bug: 73448533
Test: cts-tradefed run commandAndExit  cts-dev -s 127.0.0.1:50487 -a x86_64 -m CtsDevicePolicyManagerTestCases -t com.android.cts.devicepolicy.DeviceOwnerTest#testKeyManagement -l DEBUG
Change-Id: Ib12efcf48c158373e1fc28cc51d67e70282d029e

6 years agoRemove unused KeyStore field in RecoverableKeyStoreManager
Robert Berry [Thu, 29 Mar 2018 09:30:29 +0000 (10:30 +0100)]
Remove unused KeyStore field in RecoverableKeyStoreManager

Test: runtest frameworks-services -p \
      com.android.server.locksettings.recoverablekeystore
Bug: 74944591

Change-Id: Ibe0167adb103beded9eb0138825f4a975f12c29e

6 years agoRemove unused KeyChainSnapshot tables
Robert Berry [Thu, 29 Mar 2018 09:09:03 +0000 (10:09 +0100)]
Remove unused KeyChainSnapshot tables

This will be persisted as an XML file instead.

Bug: 73921897
Test: none, it's just removing unused consts
Change-Id: Idaeb437d0a7258d03418932d4aba75189092b3fe

6 years agoPersist KeyChainSnapshot to XML
Robert Berry [Wed, 28 Mar 2018 19:26:57 +0000 (20:26 +0100)]
Persist KeyChainSnapshot to XML

Adds parser and serializer, and round trip test.

Bug: 73921897
Test: runtest frameworks-services -p \
      com.android.server.locksettings.recoverablekeystore
Change-Id: I8259ec398ee076823ac8bbf847534738514de8dc