OSDN Git Service
Remi NGUYEN VAN [Mon, 2 Apr 2018 05:40:04 +0000 (05:40 +0000)]
Merge "Add method to NetworkStatsService for UID stats." into pi-dev
Remi NGUYEN VAN [Mon, 2 Apr 2018 05:09:50 +0000 (05:09 +0000)]
Merge "Differentiate depleted and unset multipath quota" into pi-dev
Bill Yi [Mon, 2 Apr 2018 03:55:47 +0000 (03:55 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
Bill Yi [Mon, 2 Apr 2018 03:54:39 +0000 (03:54 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Mon, 2 Apr 2018 03:50:26 +0000 (03:50 +0000)]
Merge "Fills font metrics before passing to ReplacementSpan" into pi-dev
TreeHugger Robot [Mon, 2 Apr 2018 03:48:25 +0000 (03:48 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Mon, 2 Apr 2018 03:35:17 +0000 (03:35 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
Bo Zhu [Mon, 2 Apr 2018 03:02:03 +0000 (03:02 +0000)]
Merge "Skip the cert xml serial number check if the test root cert is in use" into pi-dev
TreeHugger Robot [Mon, 2 Apr 2018 02:45:27 +0000 (02:45 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
Bill Yi [Mon, 2 Apr 2018 02:11:00 +0000 (19:11 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I4def9dedaf59e38981c2ea802aa54a0061da6a0b
TreeHugger Robot [Mon, 2 Apr 2018 00:58:23 +0000 (00:58 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Mon, 2 Apr 2018 00:57:21 +0000 (00:57 +0000)]
Merge "Import translations. DO NOT MERGE" 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
Bill Yi [Mon, 2 Apr 2018 00:05:30 +0000 (17:05 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I3d47b103c9f6150c224f78ecab946e12e5439954
Bill Yi [Sun, 1 Apr 2018 23:58:38 +0000 (16:58 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: Icd25d4ae0e198ba80ad85cb0b8369500d7d00098
Bill Yi [Sun, 1 Apr 2018 23:51:45 +0000 (16:51 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I67084b2003296065cf866b5a2e933587f0d8b4a2
TreeHugger Robot [Sun, 1 Apr 2018 23:39:30 +0000 (23:39 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
Bo Zhu [Sun, 1 Apr 2018 00:13:46 +0000 (17:13 -0700)]
Skip the cert xml serial number check if the test root cert is in use
Bug:
77165400
Test: runtest frameworks-services -p
com.android.server.locksettings.recoverablekeystore
Change-Id: I2242b4a97b9efa60a5a5ad7ab79e786951580299
Bill Yi [Sun, 1 Apr 2018 22:32:55 +0000 (15:32 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I1c0883a67a583134ec82c67269ca77c6a2d50830
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
Bill Yi [Sun, 1 Apr 2018 22:19:16 +0000 (15:19 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: Id1811dea9422d20ad23a590ecf803776a9602c92
Bill Yi [Sun, 1 Apr 2018 22:05:31 +0000 (15:05 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I8f44cb512f7edaf24706ece3aa2b832e69379aea
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
TreeHugger Robot [Sun, 1 Apr 2018 20:31:28 +0000 (20:31 +0000)]
Merge "[Magnifier-36] Fix content clamping inside view" into pi-dev
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
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
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
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
Lucas Dupin [Sun, 1 Apr 2018 16:13:49 +0000 (16:13 +0000)]
Merge "Slice row redlines and animations" into pi-dev
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
TreeHugger Robot [Sun, 1 Apr 2018 04:08:32 +0000 (04:08 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
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
TreeHugger Robot [Sat, 31 Mar 2018 21:24:14 +0000 (21:24 +0000)]
Merge "Change Locate to Map for address selections" into pi-dev
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
TreeHugger Robot [Sat, 31 Mar 2018 20:00:20 +0000 (20:00 +0000)]
Merge "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
TreeHugger Robot [Sat, 31 Mar 2018 19:50:34 +0000 (19:50 +0000)]
Merge "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
TreeHugger Robot [Sat, 31 Mar 2018 19:43:35 +0000 (19:43 +0000)]
Merge "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
TreeHugger Robot [Sat, 31 Mar 2018 19:23:45 +0000 (19:23 +0000)]
Merge "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
TreeHugger Robot [Sat, 31 Mar 2018 17:39:18 +0000 (17:39 +0000)]
Merge "Renamed KeyFallbackEvent to UnhandledKeyEvent and exposed dispatch" into pi-dev
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
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
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
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
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
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
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
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
TreeHugger Robot [Sat, 31 Mar 2018 14:28:30 +0000 (14:28 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
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
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
Ryan Lin [Sat, 31 Mar 2018 06:23:26 +0000 (06:23 +0000)]
Merge "Add callback onProfileAudioStateChanged()" 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
TreeHugger Robot [Sat, 31 Mar 2018 04:17:41 +0000 (04:17 +0000)]
Merge "Make changes to MBMS API following recs" 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
TreeHugger Robot [Sat, 31 Mar 2018 03:04:59 +0000 (03:04 +0000)]
Merge "E2e test for periodic alarm." 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
TreeHugger Robot [Sat, 31 Mar 2018 02:19:34 +0000 (02:19 +0000)]
Merge "Log sync enable/disable too" into pi-dev
Alan Viverette [Sat, 31 Mar 2018 02:11:59 +0000 (02:11 +0000)]
Merge "Migrate to AAPT2" 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
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
TreeHugger Robot [Sat, 31 Mar 2018 01:41:57 +0000 (01:41 +0000)]
Merge "Fix erroneous protected-broadcast check" 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
TreeHugger Robot [Sat, 31 Mar 2018 01:10:57 +0000 (01:10 +0000)]
Merge "Statsd MAX now obeys refractory periods too" 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
TreeHugger Robot [Sat, 31 Mar 2018 00:39:52 +0000 (00:39 +0000)]
Merge "Adding LauncherApps apis for suspended packages" into pi-dev
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
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
TreeHugger Robot [Sat, 31 Mar 2018 00:26:06 +0000 (00:26 +0000)]
Merge "Add some methods to manage slice permissios" 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
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
TreeHugger Robot [Sat, 31 Mar 2018 00:05:32 +0000 (00:05 +0000)]
Merge "Dynamics Processing Effect" into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 00:03:49 +0000 (00:03 +0000)]
Merge "Fix regression to drawBitmapArray" 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
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
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
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
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
TreeHugger Robot [Fri, 30 Mar 2018 23:26:38 +0000 (23:26 +0000)]
Merge "Remove getCurrentUser call to find an alternative" into pi-dev
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
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
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
Calin Juravle [Fri, 30 Mar 2018 23:12:31 +0000 (23:12 +0000)]
Merge "Fix BackgroundDexOptTest" into pi-dev
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
Benedict Wong [Fri, 30 Mar 2018 22:29:26 +0000 (22:29 +0000)]
Merge "Disallow Reserved SPI Allocation" 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
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
Brad Ebinger [Fri, 30 Mar 2018 21:36:35 +0000 (21:36 +0000)]
Merge "Unhide @SystemApi Constructor" 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
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
Evan Rosky [Fri, 30 Mar 2018 21:23:32 +0000 (21:23 +0000)]
Merge "Restored focusableViewAvailable logic on visibility change" into pi-dev
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
TreeHugger Robot [Fri, 30 Mar 2018 21:13:04 +0000 (21:13 +0000)]
Merge "Control the QS label marquees." 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
Rohan Shah [Fri, 30 Mar 2018 21:05:07 +0000 (21:05 +0000)]
Merge "Revert "[Notif] Disable "Customize" for blocking helper"" into pi-dev
Calin Juravle [Fri, 30 Mar 2018 19:38:59 +0000 (12:38 -0700)]
Fix BackgroundDexOptTest
Test: atest BackgroundDexOptServiceIntegrationTests
Bug:
76425903
Change-Id: I19b72b95ee19ebe1807e1ce108a39dec6196a097
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