OSDN Git Service

android-x86/frameworks-base.git
6 years agoRename trustedUserPresenceRequired.
Shawn Willden [Tue, 27 Mar 2018 22:10:37 +0000 (16:10 -0600)]
Rename trustedUserPresenceRequired.

The existing name is misleading, because it can be read as requiring
that a trusted user be present, rather than the intended meaning of
requiring trusted proof of user presence.  Since this is all about
TEE/SE-based keys, the "trusted" part is implied, so the simple
"userPresenceRequired" name makes more sense.

Bug: 77151288
Test: Keystore CTS tests
Change-Id: If8b533b9f34a1875eaf35cdd1bb8f3709da9761b

6 years agoMerge "Fix right-most navbar icon tinting mismatch" into pi-dev
TreeHugger Robot [Mon, 2 Apr 2018 15:32:01 +0000 (15:32 +0000)]
Merge "Fix right-most navbar icon tinting mismatch" into pi-dev

6 years agoMerge "Make addUnwantedCapability method public" into pi-dev
TreeHugger Robot [Mon, 2 Apr 2018 15:07:25 +0000 (15:07 +0000)]
Merge "Make addUnwantedCapability method public" into pi-dev

6 years agoMerge "Restore saveLayer APIs back into the public API." into pi-dev
TreeHugger Robot [Mon, 2 Apr 2018 14:28:48 +0000 (14:28 +0000)]
Merge "Restore saveLayer APIs back into the public API." into pi-dev

6 years agoMerge "Calculate multipath quota excluding current day." into pi-dev
Remi NGUYEN VAN [Mon, 2 Apr 2018 11:21:22 +0000 (11:21 +0000)]
Merge "Calculate multipath quota excluding current day." into pi-dev

6 years agoMerge "Fix PermissionMonitorTest that has been failing." into pi-dev
TreeHugger Robot [Mon, 2 Apr 2018 09:42:26 +0000 (09:42 +0000)]
Merge "Fix PermissionMonitorTest that has been failing." into pi-dev

6 years agoMerge "TextClassifier API updates." into pi-dev
TreeHugger Robot [Mon, 2 Apr 2018 09:08:52 +0000 (09:08 +0000)]
Merge "TextClassifier API updates." into pi-dev

6 years agoCalculate multipath quota excluding current day.
Remi NGUYEN VAN [Mon, 2 Apr 2018 06:48:19 +0000 (15:48 +0900)]
Calculate multipath quota excluding current day.

The current calculation includes data usage for the current day,
which causes the returned daily quota to change during the day.
This makes it difficult to use for callers that need a fixed
data limit for the day.

Current usage in MultipathPolicyTracker (the only caller) is
incorrect because of this, as it assumes that quota is not constantly
changing.

Test: Tests in go/ag/3803612 pass
Bug: b/72631572
Bug: b/72877610
Change-Id: I9b3edde2dee7c7479d428e2bf2b73297afed3e6b

6 years agoMerge "apf: adjust JNI to accept_packet()'s new signature" into pi-dev
TreeHugger Robot [Mon, 2 Apr 2018 08:37:20 +0000 (08:37 +0000)]
Merge "apf: adjust JNI to accept_packet()'s new signature" into pi-dev

6 years agoFix PermissionMonitorTest that has been failing.
Chalard Jean [Mon, 2 Apr 2018 07:16:46 +0000 (16:16 +0900)]
Fix PermissionMonitorTest that has been failing.

The fail is related to a recent fix to PermissionMonitor
that went into pi-dev only : ag/3799094, which fixed getting
the remote package name for the correct macro user instead of
the default. That fix had broken the test, this change fixes it.

Test: test now passes
Bug: 77315205
Change-Id: I26f8276eafe80478d5fefcff92e7dc2f12128bb4

6 years agoapf: adjust JNI to accept_packet()'s new signature
Bernie Innocenti [Fri, 30 Mar 2018 08:12:02 +0000 (17:12 +0900)]
apf: adjust JNI to accept_packet()'s new signature

Bug: 73804303
Test: runtest -x tests/net/java/android/net/apf/ApfTest.java
Merged-Id: I0a3ad562496f3e06bc9527af4e038be3cdfe25c6
Merged-Id: I1674ac22f00af037ad415a4436b94b2eec6a02b7
Merged-Id: I966776e6574cbf167a6148e20d40e2bdcc887327
Change-Id: Id5c3cec5459ce6f9693457448002e60bbca6c09b
(cherry picked from commit 64bc32c5d4ae8a5c479a15615f99180476e9b2fa)

6 years agoMerge "Add method to NetworkStatsService for UID stats." into pi-dev
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

6 years agoMerge "Differentiate depleted and unset multipath quota" 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

6 years agoMerge "Import translations. DO NOT MERGE" 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

6 years agoMerge "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

6 years agoMerge "Fills font metrics before passing to ReplacementSpan" 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

6 years agoMerge "Import translations. DO NOT MERGE" 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

6 years agoMerge "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

6 years agoMerge "Skip the cert xml serial number check if the test root cert is in use" into...
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

6 years agoMerge "Import translations. DO NOT MERGE" 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

6 years agoImport translations. DO NOT MERGE
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

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Mon, 2 Apr 2018 00:58:23 +0000 (00:58 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoMerge "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

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 agoImport translations. DO NOT MERGE
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

6 years agoImport translations. DO NOT MERGE
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

6 years agoImport translations. DO NOT MERGE
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

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 agoSkip the cert xml serial number check if the test root cert is in use
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

6 years agoImport translations. DO NOT MERGE
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

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 22:19:16 +0000 (15:19 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Id1811dea9422d20ad23a590ecf803776a9602c92

6 years agoImport translations. DO NOT MERGE
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

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 agoTextClassifier API updates.
Abodunrinwa Toki [Mon, 26 Mar 2018 23:04:06 +0000 (00:04 +0100)]
TextClassifier API updates.

1. Wraps TC queries in Request objects
2. Adds create/destroyTextClassificationSession system APIs
3. Adds the session Ids to system API calls
4. Change setSignature() to setId() on result objects
5. Plumbing to make the API updates work as things currently work
6. Hide Linkify.addLinksAsync APIs

Bug: 74461129

Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest
Test: bit CtsViewTestCases:android.view.textclassifier.cts.TextClassificationManagerTest
Test: bit CtsWidgetTestCases:android.widget.cts.TextViewTest
Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest
Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationTest
Test: bit FrameworksCoreTests:android.view.textclassifier.TextSelectionTest
Test: bit FrameworksCoreTests:android.view.textclassifier.TextLinksTest

Change-Id: I933ada8b37ef9893331a265e3b4fc08e043f1029

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 agoFix right-most navbar icon tinting mismatch
Mike Digman [Fri, 30 Mar 2018 18:22:05 +0000 (11:22 -0700)]
Fix right-most navbar icon tinting mismatch

Rotate, a11y navbar buttons didn't match the color of the home,
back and recents buttons.

Change-Id: I7337b0a7091d7d42b0ae45cb0c29b96c5d5b126c
Fixes: 77286278
Test: manual comparison of color in screenshots

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