OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Add config flag to specify if wallpaper is rendered" into pi-dev
TreeHugger Robot [Mon, 2 Apr 2018 00:19:24 +0000 (00:19 +0000)]
Merge "Add config flag to specify if wallpaper is rendered" into pi-dev

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Sun, 1 Apr 2018 23:39:30 +0000 (23:39 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoMerge "Fix issue #77230164: Add app op to control foreground services" into pi-dev
Dianne Hackborn [Sun, 1 Apr 2018 22:26:18 +0000 (22:26 +0000)]
Merge "Fix issue #77230164: Add app op to control foreground services" into pi-dev

6 years agoImport translations. DO NOT MERGE
Bill Yi [Sun, 1 Apr 2018 21:58:25 +0000 (14:58 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I3078289f1c8675b32cbeeeae1fdbb6558278fb28

6 years agoMerge "[Magnifier-36] Fix content clamping inside view" into pi-dev
TreeHugger Robot [Sun, 1 Apr 2018 20:31:28 +0000 (20:31 +0000)]
Merge "[Magnifier-36] Fix content clamping inside view" into pi-dev

6 years agoMerge "Don't allow using raw public keys to init recovery service any more" into...
TreeHugger Robot [Sun, 1 Apr 2018 19:51:53 +0000 (19:51 +0000)]
Merge "Don't allow using raw public keys to init recovery service any more" into pi-dev

6 years agoMerge "Throw invalid cert exception when deprecated initRecoveryService method is...
Dmitry Dementyev [Sun, 1 Apr 2018 19:34:31 +0000 (19:34 +0000)]
Merge "Throw invalid cert exception when deprecated initRecoveryService method is used." into pi-dev

6 years agoMerge "Throw an exception if the given root alias is unknown" into pi-dev
TreeHugger Robot [Sun, 1 Apr 2018 19:30:29 +0000 (19:30 +0000)]
Merge "Throw an exception if the given root alias is unknown" into pi-dev

6 years ago[Magnifier-36] Fix content clamping inside view
Mihai Popa [Tue, 27 Mar 2018 13:43:08 +0000 (14:43 +0100)]
[Magnifier-36] Fix content clamping inside view

We try to never display in the magnifier content that does not belong to
the magnified view. If the magnified view has one or more scrollable
containers, these have to be considered in order to find out the visible
portion of the view which is not masked by scrollable containers.

The previous logic for computing the visible region was wrong when one
of the containers was a ViewPager, whose getScrollX() returns the scroll
relative to all pages, rather than the currently visible one as the
logic was expecting. This CL replaces the old logic with a
View#getGlobalVisibleRect().

Bug: 74359490
Test: atest CtsWidgetTestCases:android.widget.cts.MagnifierTest
Change-Id: Ib6b63a35436aa691f29c13a0789688f23bfca9f1

6 years agoMerge "Slice row redlines and animations" into pi-dev
Lucas Dupin [Sun, 1 Apr 2018 16:13:49 +0000 (16:13 +0000)]
Merge "Slice row redlines and animations" into pi-dev

6 years agoThrow an exception if the given root alias is unknown
Bo Zhu [Fri, 30 Mar 2018 18:31:53 +0000 (11:31 -0700)]
Throw an exception if the given root alias is unknown

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

Change-Id: I3a213ab0cd3b0e9c002bc44d4ce929977e119e81

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Sun, 1 Apr 2018 04:08:32 +0000 (04:08 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 31 Mar 2018 14:49:41 +0000 (07:49 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I8a72daf0c83337a251f03738393db2f7e26e9caf

6 years agoMerge "Change Locate to Map for address selections" into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 21:24:14 +0000 (21:24 +0000)]
Merge "Change Locate to Map for address selections" into pi-dev

6 years agoDon't allow using raw public keys to init recovery service any more
Bo Zhu [Sat, 31 Mar 2018 20:08:49 +0000 (13:08 -0700)]
Don't allow using raw public keys to init recovery service any more

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

Change-Id: I06ceddbc116396936d53d804d8d5466efee6aaa7

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 20:00:20 +0000 (20:00 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 19:50:38 +0000 (19:50 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 19:50:34 +0000 (19:50 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 19:50:29 +0000 (19:50 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 19:43:35 +0000 (19:43 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 19:34:27 +0000 (19:34 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 19:23:45 +0000 (19:23 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 19:23:20 +0000 (19:23 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoMerge "Renamed KeyFallbackEvent to UnhandledKeyEvent and exposed dispatch" into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 17:39:18 +0000 (17:39 +0000)]
Merge "Renamed KeyFallbackEvent to UnhandledKeyEvent and exposed dispatch" into pi-dev

6 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 31 Mar 2018 17:15:45 +0000 (10:15 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I5d7ddd1457f94d5ed3ff3b914c37b019590c8dd8

6 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 31 Mar 2018 17:08:50 +0000 (10:08 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Iba86b12b7727eb9bfd90ded06bef2d692bf07268

6 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 31 Mar 2018 17:02:04 +0000 (10:02 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I5c88520a5bd2c221b0a088d8c3f5a9573145ae88

6 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 31 Mar 2018 16:55:02 +0000 (09:55 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I75114b63fbb3d7728b3c51df6a4a1c5749c54651

6 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 31 Mar 2018 15:36:47 +0000 (08:36 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I92813ad5e33f77c4d2148454c35ee7a43da0825a

6 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 31 Mar 2018 15:23:18 +0000 (08:23 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ib6847dd09539560b2c186a527a44294c86f211b2

6 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 31 Mar 2018 15:09:59 +0000 (08:09 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Id29bf2572c1a71fe11c5786fee2afa6840b02c45

6 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 31 Mar 2018 15:03:05 +0000 (08:03 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I64c0dd3c17567e29b5b24a9674336b9821b6b6f2

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 14:28:30 +0000 (14:28 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 31 Mar 2018 06:39:07 +0000 (23:39 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Bug: 76058207
Change-Id: I165c658f21866527efa64c72be81afe5b14f56a7

6 years agoThrow invalid cert exception when deprecated initRecoveryService method
Dmitry Dementyev [Sat, 31 Mar 2018 03:18:22 +0000 (20:18 -0700)]
Throw invalid cert exception when deprecated initRecoveryService method
is used.

Throw unsupported operation exception when older version of RecoveryController is used.

Bug: 77293264
Test: atest RecoveryControllerHostTest
Change-Id: I0003104a4305444fac0092f4f6929545cf7c9413

6 years agoMerge "Add callback onProfileAudioStateChanged()" into pi-dev
Ryan Lin [Sat, 31 Mar 2018 06:23:26 +0000 (06:23 +0000)]
Merge "Add callback onProfileAudioStateChanged()" into pi-dev

6 years agoMerge "Fix dead lock between AM and BatterySaverStateMachine" into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 05:24:20 +0000 (05:24 +0000)]
Merge "Fix dead lock between AM and BatterySaverStateMachine" into pi-dev

6 years agoMerge "Make changes to MBMS API following recs" into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 04:17:41 +0000 (04:17 +0000)]
Merge "Make changes to MBMS API following recs" into pi-dev

6 years agoMerge "Add subtype for layout direction to Slice" into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 04:16:35 +0000 (04:16 +0000)]
Merge "Add subtype for layout direction to Slice" into pi-dev

6 years agoMerge "E2e test for periodic alarm." into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 03:04:59 +0000 (03:04 +0000)]
Merge "E2e test for periodic alarm." into pi-dev

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 02:51:37 +0000 (02:51 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoMerge "Log sync enable/disable too" into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 02:19:34 +0000 (02:19 +0000)]
Merge "Log sync enable/disable too" into pi-dev

6 years agoMerge "Migrate to AAPT2" into pi-dev
Alan Viverette [Sat, 31 Mar 2018 02:11:59 +0000 (02:11 +0000)]
Merge "Migrate to AAPT2" into pi-dev

6 years agoMerge "Correctly use int types and fix uint64_t print." into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 02:08:12 +0000 (02:08 +0000)]
Merge "Correctly use int types and fix uint64_t print." into pi-dev

6 years agoMerge "Fingerprint user canceled message should not be delayed" into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 01:52:37 +0000 (01:52 +0000)]
Merge "Fingerprint user canceled message should not be delayed" into pi-dev

6 years agoMerge "Fix erroneous protected-broadcast check" into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 01:41:57 +0000 (01:41 +0000)]
Merge "Fix erroneous protected-broadcast check" into pi-dev

6 years agoMerge "Null pointer check for Bluetooth traffic" into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 01:18:34 +0000 (01:18 +0000)]
Merge "Null pointer check for Bluetooth traffic" into pi-dev

6 years agoMerge "Statsd MAX now obeys refractory periods too" into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 01:10:57 +0000 (01:10 +0000)]
Merge "Statsd MAX now obeys refractory periods too" into pi-dev

6 years agoMerge "Expose e.getMessage() from the exceptions in RecoverableKeyStore" into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 00:56:22 +0000 (00:56 +0000)]
Merge "Expose e.getMessage() from the exceptions in RecoverableKeyStore" into pi-dev

6 years agoMerge "Adding LauncherApps apis for suspended packages" into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 00:39:52 +0000 (00:39 +0000)]
Merge "Adding LauncherApps apis for suspended packages" into pi-dev

6 years agoLog sync enable/disable too
Makoto Onuki [Sat, 31 Mar 2018 00:32:57 +0000 (17:32 -0700)]
Log sync enable/disable too

Bug: 75262099
Test: build, boot, toggle settings from the Settings app
Change-Id: Ic15c66d6c434ab905bbf8a23552fd6ab49a06ac4

6 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 31 Mar 2018 00:28:38 +0000 (17:28 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I58332b68e3b9bd0578e9e8ee5716bb1eec86af8e

6 years agoMerge "Add some methods to manage slice permissios" into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 00:26:06 +0000 (00:26 +0000)]
Merge "Add some methods to manage slice permissios" into pi-dev

6 years agoMerge "Clear fingerprint stats after dump --proto" into pi-dev
Kevin Chyn [Sat, 31 Mar 2018 00:22:11 +0000 (00:22 +0000)]
Merge "Clear fingerprint stats after dump --proto" into pi-dev

6 years agoCorrectly use int types and fix uint64_t print.
Yi Jin [Fri, 30 Mar 2018 18:01:58 +0000 (11:01 -0700)]
Correctly use int types and fix uint64_t print.

Bug: 74118023
Test: atest incidentd_test and atest incident_helper
Change-Id: I951021c12e3d0dc5c83a1bbb03fa0d64d99c0920

6 years agoMerge "Dynamics Processing Effect" into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 00:05:32 +0000 (00:05 +0000)]
Merge "Dynamics Processing Effect" into pi-dev

6 years agoMerge "Fix regression to drawBitmapArray" into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 00:03:49 +0000 (00:03 +0000)]
Merge "Fix regression to drawBitmapArray" into pi-dev

6 years agoMerge "Adding debug message inside NetworkServiceCallback." into pi-dev
Xiangyu/Malcolm Chen [Sat, 31 Mar 2018 00:02:10 +0000 (00:02 +0000)]
Merge "Adding debug message inside NetworkServiceCallback." into pi-dev

6 years agoFix erroneous protected-broadcast check
Makoto Onuki [Fri, 30 Mar 2018 23:46:19 +0000 (16:46 -0700)]
Fix erroneous protected-broadcast check

This happens because isPermittedShellBroadcast() is called twice,
one for runtime receivers and the other manifest receivers, and
when SysUI sends a broadcast to its own runtime receiver, another
check also happens for manifest receivers but there's no receivers.

Fixes: 77154348
Test: Manual test with the following steps:
- adb shell dumpsys battery unplug
- adb shell settings delete secure low_power_manual_activation_count
- adb shell settings delete secure low_power_warning_acknowledged
- adb shell settings delete secure suppress_auto_battery_saver
- Then enable battery saver
- Make sure there's no error on logcat.

Change-Id: I9e4305016e10059bd067f06d05433102864b2036

6 years agoNull pointer check for Bluetooth traffic
Chenjie Yu [Fri, 30 Mar 2018 23:41:38 +0000 (16:41 -0700)]
Null pointer check for Bluetooth traffic

Bug: 77340376
Change-Id: I558c020636564437e040097a2d0f86519c343c4a
Fix: 77340376
Test: manual test

6 years agoMake changes to MBMS API following recs
Hall Liu [Wed, 28 Mar 2018 22:54:07 +0000 (15:54 -0700)]
Make changes to MBMS API following recs

* Change all error handling logic to return an error code via the async
callback
* Add an UNKNOWN code for errors for future backwards compatibility, and
prohibit the middleware from sending this code.
* Add IntDef for errors through the async callback
* Amend documentation for download()
* Implement support for arranging downloaded files into a hierarchy
following that of the server.

Change-Id: I4d5c8f6229b216d9aa84397e628e62279033cc74
Fixes: 76449215
Test: CTS

6 years agoMerge "Require signing cert history certs to be unique." into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 23:35:54 +0000 (23:35 +0000)]
Merge "Require signing cert history certs to be unique." into pi-dev

6 years agoMerge "Remove getCurrentUser call to find an alternative" into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 23:26:38 +0000 (23:26 +0000)]
Merge "Remove getCurrentUser call to find an alternative" into pi-dev

6 years agoSlice row redlines and animations
Lucas Dupin [Fri, 30 Mar 2018 21:24:53 +0000 (14:24 -0700)]
Slice row redlines and animations

Test: visual
Bug: 77278905
Change-Id: I40c0f8d65fe8a4c652f42e494b1fe7cc05f0ad32

6 years agoStatsd MAX now obeys refractory periods too
Bookatz [Fri, 30 Mar 2018 23:21:17 +0000 (16:21 -0700)]
Statsd MAX now obeys refractory periods too

The logic of where refractory period enforcement was moved out of the
anomaly tracker and into the metric's predictAnomalyTimestamp. It was
done for ORING, but not for MAX. This fixes MAX.

Bug: 74446029
Test: adb sync data && adb shell data/nativetest64/statsd_test/statsd_test
Change-Id: I51e43c7c132f424af8fe20a37f2ad10cc55b5989

6 years agoFix dead lock between AM and BatterySaverStateMachine
Makoto Onuki [Fri, 30 Mar 2018 23:15:35 +0000 (16:15 -0700)]
Fix dead lock between AM and BatterySaverStateMachine

Change-Id: If641ad1a0961376de65fdb9d557e7e2e601af389
Fixes: 77308319
Test: Boot, toggle battery saver
Test: atest $ANDROID_BUILD_TOP/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/BatterySaverStateMachineTest.java

6 years agoMerge "Fix BackgroundDexOptTest" into pi-dev
Calin Juravle [Fri, 30 Mar 2018 23:12:31 +0000 (23:12 +0000)]
Merge "Fix BackgroundDexOptTest" into pi-dev

6 years agoFingerprint user canceled message should not be delayed
Kevin Chyn [Fri, 30 Mar 2018 22:26:03 +0000 (15:26 -0700)]
Fingerprint user canceled message should not be delayed

The user canceled message is different than the other fingerprint errors
since it is caused by the user explicitly tapping on the UI at which
point the dialog will be already dismissing/dismissed. So the error
should be sent immediately to the application.

Test: manual test with FingerprintDialog, modified to show when the
      error messages are received

Change-Id: Ia2a3b0a7ac9c8cfcbd6055045a95fc06aa02c61a
Fixes: 77337939

6 years agoMerge "Disallow Reserved SPI Allocation" into pi-dev
Benedict Wong [Fri, 30 Mar 2018 22:29:26 +0000 (22:29 +0000)]
Merge "Disallow Reserved SPI Allocation" into pi-dev

6 years agoMerge "Document expected colors, deprecate old ones" into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 22:28:25 +0000 (22:28 +0000)]
Merge "Document expected colors, deprecate old ones" into pi-dev

6 years agoRemove getCurrentUser call to find an alternative
Brian C. Young [Fri, 30 Mar 2018 21:03:15 +0000 (14:03 -0700)]
Remove getCurrentUser call to find an alternative

The call the framework uses to get the current user ID requires the
INTERACT_ACROSS_USERS permission, which not a lot of apps will have.
Find a better way to do that.

Bug: 76430246

Test: CtsKeystoreTestCases
Change-Id: I8a0637d351fff9cfbf40e02946325f90466b68c5

6 years agoMerge "Unhide @SystemApi Constructor" into pi-dev
Brad Ebinger [Fri, 30 Mar 2018 21:36:35 +0000 (21:36 +0000)]
Merge "Unhide @SystemApi Constructor" into pi-dev

6 years agoMerge "Guardrail for dimension in condition in duration tracker." into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 21:27:11 +0000 (21:27 +0000)]
Merge "Guardrail for dimension in condition in duration tracker." into pi-dev

6 years agoAdd subtype for layout direction to Slice
Mady Mellor [Fri, 30 Mar 2018 21:06:26 +0000 (14:06 -0700)]
Add subtype for layout direction to Slice

Test: make
Bug: 73123366
Change-Id: I1446dadd8a50e7682d640aa55a7d4a20faf52416

6 years agoMerge "Restored focusableViewAvailable logic on visibility change" into pi-dev
Evan Rosky [Fri, 30 Mar 2018 21:23:32 +0000 (21:23 +0000)]
Merge "Restored focusableViewAvailable logic on visibility change" into pi-dev

6 years agoAdding LauncherApps apis for suspended packages
Suprabh Shukla [Tue, 27 Mar 2018 05:35:13 +0000 (22:35 -0700)]
Adding LauncherApps apis for suspended packages

The suspending app can provide a Bundle of information to be used by the
launcher for handling suspended packages. Added APIs:
 - getSuspendedPackageLauncherExtras(String, UserHandle): To retrieve
 the launcher extras for the given package and user.
 - Callback#onPackagesSuspended(String[], UserHandle, Bundle): A
 callback that will be invoked with the package names and the launcher
 extras whenever sent packages are suspended.

Test: atest com.android.server.pm.SuspendPackagesTest

Bug: 76119578
Change-Id: I505d134809639a57c3314f994af34d576d905e74

6 years agoMerge "Control the QS label marquees." into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 21:13:04 +0000 (21:13 +0000)]
Merge "Control the QS label marquees." into pi-dev

6 years agoMerge "Disable optimize startInput in IMMS" into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 21:08:07 +0000 (21:08 +0000)]
Merge "Disable optimize startInput in IMMS" into pi-dev

6 years agoMerge "Revert "[Notif] Disable "Customize" for blocking helper"" into pi-dev
Rohan Shah [Fri, 30 Mar 2018 21:05:07 +0000 (21:05 +0000)]
Merge "Revert "[Notif] Disable "Customize" for blocking helper"" into pi-dev

6 years agoFix BackgroundDexOptTest
Calin Juravle [Fri, 30 Mar 2018 19:38:59 +0000 (12:38 -0700)]
Fix BackgroundDexOptTest

Test: atest BackgroundDexOptServiceIntegrationTests
Bug: 76425903
Change-Id: I19b72b95ee19ebe1807e1ce108a39dec6196a097

6 years agoRevert "[Notif] Disable "Customize" for blocking helper"
Rohan Shah [Fri, 30 Mar 2018 20:54:37 +0000 (20:54 +0000)]
Revert "[Notif] Disable "Customize" for blocking helper"

This reverts commit 3cfc950708fe22ded741da9e99ac0b86a0de763c.

Reason for revert:
Apparently a breakage got through treehugger - I hadn't synced my changes and one of the params was incorrect. Reverting for now and rebasing before resubmit...

Bug: 77321231
Change-Id: Ib306759d6344a69f17331a6c3c9cc78d1345508b

6 years agoMerge "Update QS edit layout." into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 21:00:06 +0000 (21:00 +0000)]
Merge "Update QS edit layout." into pi-dev

6 years agoMerge "Remove bad configs by counting the number of statsd deaths" into pi-dev
Howard Ro [Fri, 30 Mar 2018 20:58:51 +0000 (20:58 +0000)]
Merge "Remove bad configs by counting the number of statsd deaths" into pi-dev

6 years agoMerge "Use unique_fd with the clear ownership." into pi-dev
Yi Jin [Fri, 30 Mar 2018 20:53:30 +0000 (20:53 +0000)]
Merge "Use unique_fd with the clear ownership." into pi-dev

6 years agoMerge "Clean up atoms.proto" into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 20:48:09 +0000 (20:48 +0000)]
Merge "Clean up atoms.proto" into pi-dev

6 years agoFix regression to drawBitmapArray
John Reck [Fri, 30 Mar 2018 20:44:35 +0000 (13:44 -0700)]
Fix regression to drawBitmapArray

253f2c213f6ecda63b6872aee77bd30d5ec07c82 accidentally
broke drawBitmapArray with hasAlpha=false. Revert the change
made as we have no need to support colorspaces in this
deprecated API

Change-Id: If858fad870faee33cc32e3361d0869351f6b0857
Fixes: 77310904
Test: sample app in bug

6 years agoMerge "Clarified app behavior on REQUEST_TYPE_NONE" into pi-dev
Rahul Frias [Fri, 30 Mar 2018 20:33:24 +0000 (20:33 +0000)]
Merge "Clarified app behavior on REQUEST_TYPE_NONE" into pi-dev

6 years agoMerge changes from topic "encap-api" into pi-dev
Benedict Wong [Fri, 30 Mar 2018 20:28:19 +0000 (20:28 +0000)]
Merge changes from topic "encap-api" into pi-dev

* changes:
  Require explicitly supplied truncation length
  Clarify UDP encapsulation socket API

6 years agoMerge "Remove SignalClusterView in favor of IconManager" into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 20:22:16 +0000 (20:22 +0000)]
Merge "Remove SignalClusterView in favor of IconManager" into pi-dev

6 years agoExpose e.getMessage() from the exceptions in RecoverableKeyStore
Bo Zhu [Fri, 30 Mar 2018 19:20:06 +0000 (12:20 -0700)]
Expose e.getMessage() from the exceptions in RecoverableKeyStore

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

Change-Id: Ibf04d6405e6468bfdfef0a8cb8e6e96bffbbf3a2

6 years agoFix issue #77230164: Add app op to control foreground services
Dianne Hackborn [Wed, 28 Mar 2018 20:51:46 +0000 (13:51 -0700)]
Fix issue #77230164: Add app op to control foreground services

New app op added.

Bug: 77230164
Test: atest CtsAppTestCases:ActivityManagerProcessStateTest\#testForegroundServiceAppOp
Change-Id: I59f2f03850da4b9f5550e82ba28f175e4779e783

6 years agoMerge "[Notif] Disable "Customize" for blocking helper" into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 20:03:11 +0000 (20:03 +0000)]
Merge "[Notif] Disable "Customize" for blocking helper" into pi-dev

6 years agoMerge "Don't clear mPattern when clearing visual pattern." into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 20:00:22 +0000 (20:00 +0000)]
Merge "Don't clear mPattern when clearing visual pattern." into pi-dev

6 years agoRenamed KeyFallbackEvent to UnhandledKeyEvent and exposed dispatch
Evan Rosky [Thu, 22 Mar 2018 23:04:15 +0000 (16:04 -0700)]
Renamed KeyFallbackEvent to UnhandledKeyEvent and exposed dispatch

This new naming clashes less with the existing notion of FLAG_FALLBACK
in KeyEvents.

Bug: 72562800
Test: ViewTest#testUnhandledKeys
Change-Id: Ibd713860601e62d955443fe6811fd974b5bb0092

6 years agoUpdate QS edit layout.
Amin Shaikh [Thu, 29 Mar 2018 21:27:26 +0000 (17:27 -0400)]
Update QS edit layout.

- Update TileLayout to lay out tiles rows in a similar fashion to
LinearLayout.
- Update edit screen layout to show rounded corners, margins, and
ensure that QS tiles line up with the tiles in QS.
- Show QS status bar header above the edit screen.

Change-Id: I6c8d644787bf1875ad0d7ad056e9909dc4919ce4
Fixes: 36076720
Test: visual

6 years agoRemove chaining from ImageDecoder setters
Leon Scroggins III [Tue, 27 Mar 2018 11:47:07 +0000 (07:47 -0400)]
Remove chaining from ImageDecoder setters

Bug: 76448408
Test: Infeasible
Change-Id: Ib0ef0a9a9b0f36481ed1bbb16ecaccd180df8915

6 years agoMerge "Enable "Unlocked device required" API" into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 18:54:39 +0000 (18:54 +0000)]
Merge "Enable "Unlocked device required" API" into pi-dev

6 years agoDynamics Processing Effect
rago [Wed, 28 Feb 2018 21:51:22 +0000 (13:51 -0800)]
Dynamics Processing Effect

Fixing parameter integration with Dynamics Processing engine.

Bug: 64161702
Bug: 38266419

Test: manual testing and CTS tests
Change-Id: I0ff66d6fd60f2854aa93a45044cfa91c7ef344b3

6 years agoDocument expected colors, deprecate old ones
Chris Craik [Thu, 29 Mar 2018 18:28:02 +0000 (11:28 -0700)]
Document expected colors, deprecate old ones

Fixes:67369752
Test: make -j offline-sdk-docs

Change-Id: I94d58b778c48f8d8031f2efd2c2d508b60577b66

6 years agoRemove SignalClusterView in favor of IconManager
Evan Laird [Tue, 20 Mar 2018 20:58:01 +0000 (16:58 -0400)]
Remove SignalClusterView in favor of IconManager

Refactors SignalClusterView into StatusBarSignalPolicy so that it can be
used in a StatusBarIconContainer and solve all of our status bar
problems.

- Remove all uses of SignalClusterView and references to
  R.id.signal_cluster. The class still exists it's just unused now

- Add StatusBarIconHolder, which can point to StatusBarIcon,
  WifiIconState, or PhoneIconState

- StatusBarIconList.Slot. Allows for easier indexing of icons now that
  there can be multiple icons per slot

- Add StatusBarWifiView to be inflated inside of the
  StatusBarIconController when needed

- StatusBarMobile view. similar to above

- Upgrade StatusBarIconControllerImpl and StatusBarIconList to
  understand the holders and added 2 new methods to specifically handle
  wifi / phone state changes

- Create IStatusBarIconView (todo: rename). Abstracts the properties we
  want away from StatusBarIconView so that we can use an arbitrary view
  type

- NeutralGoodDrawable. Draws a light and a dark icon when needed.

- Fixes a few demo mode bugs: multi sim was broken and also turning off
  demo mode was a little broken

TODO: More tests are needed for StatusBarSignalPolicy and maybe the
IconManagers

Test: runtest systemui; visual
Bug: 63772836
Bug: 73778753
Bug: 74985733
Fixes: 74427768
Fixes: 74338687
Fixes: 74388467

Change-Id: I5621b3013cdc9638b61552bd4d7211f211eddf1b