OSDN Git Service

android-x86/frameworks-base.git
6 years agoMove FIRST_SDK_INT to @TestApi.
Jeff Sharkey [Mon, 26 Mar 2018 18:50:54 +0000 (12:50 -0600)]
Move FIRST_SDK_INT to @TestApi.

Test: atest android.os.cts.BuildTest
Bug: 71555186
Change-Id: I92732b930834d9c1e4150417bb3ee8b6839e2b3e

6 years agoMerge "Add Osu2.apk to the AndroidTest so the tests have a target" into pi-dev
Julien Desprez [Mon, 26 Mar 2018 13:45:45 +0000 (13:45 +0000)]
Merge "Add Osu2.apk to the AndroidTest so the tests have a target" into pi-dev

6 years agoMerge changes from topic "executor_api" into pi-dev
TreeHugger Robot [Mon, 26 Mar 2018 13:31:30 +0000 (13:31 +0000)]
Merge changes from topic "executor_api" into pi-dev

* changes:
  Camera: Accept user-supplied executors in capture sessions
  Camera: Async camera manager calls should use executors

6 years agoMerge "Tweaks to wireless charging animation" into pi-dev
Beverly Tai [Mon, 26 Mar 2018 13:22:07 +0000 (13:22 +0000)]
Merge "Tweaks to wireless charging animation" into pi-dev

6 years agoMerge "MediaSession2: Change return type of CommandGroup#getCommands()" into pi-dev
Jaewan Kim [Mon, 26 Mar 2018 10:55:30 +0000 (10:55 +0000)]
Merge "MediaSession2: Change return type of CommandGroup#getCommands()" into pi-dev

6 years agoMerge "MediaMetadata2: Remove radio constants" into pi-dev
Jaewan Kim [Mon, 26 Mar 2018 10:53:24 +0000 (10:53 +0000)]
Merge "MediaMetadata2: Remove radio constants" into pi-dev

6 years agoMerge "MediaSession2: Revisit command code" into pi-dev
Jaewan Kim [Mon, 26 Mar 2018 10:52:22 +0000 (10:52 +0000)]
Merge "MediaSession2: Revisit command code" into pi-dev

6 years agoMerge "Add more hidden API uses to light greylist" into pi-dev
TreeHugger Robot [Mon, 26 Mar 2018 10:49:21 +0000 (10:49 +0000)]
Merge "Add more hidden API uses to light greylist" into pi-dev

6 years agoMerge "Expose hidden API to check whether a given package is state protected" into...
Benjamin Franz [Mon, 26 Mar 2018 09:15:41 +0000 (09:15 +0000)]
Merge "Expose hidden API to check whether a given package is state protected" into pi-dev

6 years agoAdd more hidden API uses to light greylist
David Brazdil [Mon, 26 Mar 2018 09:03:46 +0000 (10:03 +0100)]
Add more hidden API uses to light greylist

From bug reports.

Bug: 64382372
Bug: 76350169
Bug: 76329535
Bug: 76329536
Bug: 76355229
Bug: 76350172
Bug: 76384058
Bug: 76350170
Test: make
Change-Id: Id5f99235d0abc1a8326ed254dd835c9ac05dc996

6 years agoMerge "MediaSession2: Add CommandGroup#add/removeCommand(int)" into pi-dev
Jaewan Kim [Mon, 26 Mar 2018 08:10:44 +0000 (08:10 +0000)]
Merge "MediaSession2: Add CommandGroup#add/removeCommand(int)" into pi-dev

6 years agoMediaSession2: Add CommandGroup#add/removeCommand(int)
Jaewan Kim [Tue, 20 Mar 2018 07:19:07 +0000 (16:19 +0900)]
MediaSession2: Add CommandGroup#add/removeCommand(int)

Bug: 74648408
Test: Build
Change-Id: Icfcde5946e75ad74c2123be8064eb365366f5960

6 years agoMediaMetadata2: Remove radio constants
Jaewan Kim [Mon, 26 Mar 2018 05:13:37 +0000 (14:13 +0900)]
MediaMetadata2: Remove radio constants

Removeing radio constants until their names are finalized.

Bug: 75500592
Test: Build
Change-Id: I6f7a219c19dd24579a76c2064e9781ca53618c69

6 years agoMerge "Greylist camera API used by CameraITS test" into pi-dev
Nicolas Geoffray [Mon, 26 Mar 2018 07:58:43 +0000 (07:58 +0000)]
Merge "Greylist camera API used by CameraITS test" into pi-dev

6 years agoMerge "Add APIs to light grey." into pi-dev
Nicolas Geoffray [Mon, 26 Mar 2018 07:53:38 +0000 (07:53 +0000)]
Merge "Add APIs to light grey." into pi-dev

6 years agoMediaSession2: Change return type of CommandGroup#getCommands()
Jaewan Kim [Tue, 20 Mar 2018 07:11:40 +0000 (16:11 +0900)]
MediaSession2: Change return type of CommandGroup#getCommands()

Bug: 74648408
Test: Build
Change-Id: I443dd0a1f244b285754561a4c485ef2e8530d42d

6 years agoMediaSession2: Revisit command code
Jaewan Kim [Tue, 20 Mar 2018 08:06:01 +0000 (17:06 +0900)]
MediaSession2: Revisit command code

Bug: 74648408
Test: Build
Change-Id: I0c66d6dec7f5a25bd4c36aa6e2c140951ea38855

6 years agoMerge "MediaSession2: Match APIs with MediaPlayerBase" into pi-dev
Jaewan Kim [Mon, 26 Mar 2018 05:12:17 +0000 (05:12 +0000)]
Merge "MediaSession2: Match APIs with MediaPlayerBase" into pi-dev

6 years agoMerge "MediaPlayerBase: Add PlayerEventCallback#onPlaybackSpeedChanged()" into pi-dev
Jaewan Kim [Mon, 26 Mar 2018 04:57:48 +0000 (04:57 +0000)]
Merge "MediaPlayerBase: Add PlayerEventCallback#onPlaybackSpeedChanged()" into pi-dev

6 years agoMerge "Remove unimplemented RecoverableKeystoreManager APIs." into pi-dev
Dmitry Dementyev [Mon, 26 Mar 2018 02:18:33 +0000 (02:18 +0000)]
Merge "Remove unimplemented RecoverableKeystoreManager APIs." into pi-dev

6 years agoMerge "MediaController2: Match APIs with MediaPlayerBase" into pi-dev
Jaewan Kim [Mon, 26 Mar 2018 02:07:57 +0000 (02:07 +0000)]
Merge "MediaController2: Match APIs with MediaPlayerBase" into pi-dev

6 years agoMerge "MediaPlaylistAgent: Add getMediaItem()" into pi-dev
Jaewan Kim [Mon, 26 Mar 2018 01:31:54 +0000 (01:31 +0000)]
Merge "MediaPlaylistAgent: Add getMediaItem()" into pi-dev

6 years agoMerge "MediaController2: Remove MediaPlaylistAgent in the ControllerCallback" into...
Jaewan Kim [Mon, 26 Mar 2018 01:24:21 +0000 (01:24 +0000)]
Merge "MediaController2: Remove MediaPlaylistAgent in the ControllerCallback" into pi-dev

6 years agoMerge "Add UX string tweaks before string freeze." into pi-dev
Jeff Sharkey [Sun, 25 Mar 2018 22:05:45 +0000 (22:05 +0000)]
Merge "Add UX string tweaks before string freeze." into pi-dev

6 years agoMerge "Notify all affected UIDs for user/audio restriction changes" into pi-dev
Svetoslav Ganov [Sun, 25 Mar 2018 16:32:54 +0000 (16:32 +0000)]
Merge "Notify all affected UIDs for user/audio restriction changes" into pi-dev

6 years agoAdd UX string tweaks before string freeze.
Jeff Sharkey [Sun, 25 Mar 2018 09:08:20 +0000 (03:08 -0600)]
Add UX string tweaks before string freeze.

Test: builds, boots
Bug: 76097999
Change-Id: I85e82a039d0b3b857257a3143a7b94de67ccada2

6 years agoMerge "Guarding collisions in TimeSparseArray" into pi-dev
TreeHugger Robot [Sat, 24 Mar 2018 22:36:21 +0000 (22:36 +0000)]
Merge "Guarding collisions in TimeSparseArray" into pi-dev

6 years agoMerge "Fix BoringLayout with PrecomputedText" into pi-dev
TreeHugger Robot [Sat, 24 Mar 2018 21:03:31 +0000 (21:03 +0000)]
Merge "Fix BoringLayout with PrecomputedText" into pi-dev

6 years agoMerge "Fix StatsCompanionService sometimes can be null" into pi-dev
TreeHugger Robot [Sat, 24 Mar 2018 16:28:01 +0000 (16:28 +0000)]
Merge "Fix StatsCompanionService sometimes can be null" into pi-dev

6 years agoMerge "Pass all relevant resolver info to netd" into pi-dev
TreeHugger Robot [Sat, 24 Mar 2018 15:58:42 +0000 (15:58 +0000)]
Merge "Pass all relevant resolver info to netd" into pi-dev

6 years agoMerge "Add new trace tag for AIDL." into pi-dev
Martijn Coenen [Sat, 24 Mar 2018 05:58:25 +0000 (05:58 +0000)]
Merge "Add new trace tag for AIDL." into pi-dev

6 years agoMerge "Don't warn finishing ops for gone packages" into pi-dev
TreeHugger Robot [Sat, 24 Mar 2018 05:51:16 +0000 (05:51 +0000)]
Merge "Don't warn finishing ops for gone packages" into pi-dev

6 years agoMerge "Add strings needed for additional labels of wifi summary" into pi-dev
TreeHugger Robot [Sat, 24 Mar 2018 05:22:28 +0000 (05:22 +0000)]
Merge "Add strings needed for additional labels of wifi summary" into pi-dev

6 years agoMerge changes from topic "data-service-grant-policy" into pi-dev
Nathan Harold [Sat, 24 Mar 2018 05:00:42 +0000 (05:00 +0000)]
Merge changes from topic "data-service-grant-policy" into pi-dev

* changes:
  Add Permissions Grant for TelephonyDataService
  Add a Method to Revoke DefaultGrant Permissions

6 years agoPass all relevant resolver info to netd
Erik Kline [Sun, 4 Mar 2018 12:01:01 +0000 (21:01 +0900)]
Pass all relevant resolver info to netd

Test: runtest frameworks-net passes
Test: manual testing of opportunistic and strict mode works
Bug: 34953048
Bug: 64133961
Bug: 72345192
Merged-In: I96f7747b8f0bb38d95579b688b4c2d068f1229cf
Merged-In: Ia4d896c4cc33c02f0c46d5d4c760cc33b13dff0b
Change-Id: Ia4f1905e1fa60e7a468c2246fb809191d2ba796b
(cherry picked from commit e5dac904d361a349f1cfc48500a678d22e3a7316)

6 years agoMerge "DO NOT MERGE Clean up SettingsLib dependencies" into pi-dev
TreeHugger Robot [Sat, 24 Mar 2018 04:39:20 +0000 (04:39 +0000)]
Merge "DO NOT MERGE Clean up SettingsLib dependencies" into pi-dev

6 years agoMerge "Add new strings for Hearing Aid profile" into pi-dev
Stanley Tng [Sat, 24 Mar 2018 04:11:57 +0000 (04:11 +0000)]
Merge "Add new strings for Hearing Aid profile" into pi-dev

6 years agoMerge "Add missing @NonNull annotation to AndroidKeyStoreProvider method." into pi-dev
Dmitry Dementyev [Sat, 24 Mar 2018 03:59:27 +0000 (03:59 +0000)]
Merge "Add missing @NonNull annotation to AndroidKeyStoreProvider method." into pi-dev

6 years agoMerge "Add more NonNull annotations to RecoveryController API" into pi-dev
Dmitry Dementyev [Sat, 24 Mar 2018 03:48:12 +0000 (03:48 +0000)]
Merge "Add more NonNull annotations to RecoveryController API" into pi-dev

6 years agoMerge "Add a string message for Private DNS strict mode failure" into pi-dev
Erik Kline [Sat, 24 Mar 2018 03:30:30 +0000 (03:30 +0000)]
Merge "Add a string message for Private DNS strict mode failure" into pi-dev

6 years agoMerge "Add accessibility string for FingerprintDialog(impl) authenticated" into pi-dev
Kevin Chyn [Sat, 24 Mar 2018 03:21:24 +0000 (03:21 +0000)]
Merge "Add accessibility string for FingerprintDialog(impl) authenticated" into pi-dev

6 years agoNotify all affected UIDs for user/audio restriction changes
Svet Ganov [Sat, 24 Mar 2018 00:44:30 +0000 (17:44 -0700)]
Notify all affected UIDs for user/audio restriction changes

Test: pass: adb shell am instrument -w com.android.frameworks.servicestests
                /android.support.test.runner.AndroidJUnitRunner
      pass: cts-tradefed run cts-dev -m CtsPermissionTestCases
                -t android.permission.cts.AppOpsTest

Bug: 75274546

Change-Id: I788823fcc3ade8a4cf752d64bd11b87b212e4d31

6 years agoMerge "PlayerBase: log when startWatching fails" into pi-dev
TreeHugger Robot [Sat, 24 Mar 2018 02:14:38 +0000 (02:14 +0000)]
Merge "PlayerBase: log when startWatching fails" into pi-dev

6 years agoMerge "[QS] Update string name in prep for freeze" into pi-dev
TreeHugger Robot [Sat, 24 Mar 2018 02:01:17 +0000 (02:01 +0000)]
Merge "[QS] Update string name in prep for freeze" into pi-dev

6 years agoAdd accessibility string for FingerprintDialog(impl) authenticated
Kevin Chyn [Sat, 24 Mar 2018 01:12:19 +0000 (18:12 -0700)]
Add accessibility string for FingerprintDialog(impl) authenticated

Bug: 74456537

Test: builds
Change-Id: I1edb54334bf5e148bac6c9e1583c6fd36bd9095a

6 years agoMerge "Add missing computeOpacity call" into pi-dev
TreeHugger Robot [Sat, 24 Mar 2018 01:22:15 +0000 (01:22 +0000)]
Merge "Add missing computeOpacity call" into pi-dev

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

6 years agoMerge "JobStore: persist unwanted set of capabilities" into pi-dev
TreeHugger Robot [Sat, 24 Mar 2018 01:19:20 +0000 (01:19 +0000)]
Merge "JobStore: persist unwanted set of capabilities" into pi-dev

6 years agoFix BoringLayout with PrecomputedText
Seigo Nonaka [Sat, 24 Mar 2018 00:22:54 +0000 (17:22 -0700)]
Fix BoringLayout with PrecomputedText

The special logic for PrecomputedText in BoringLayout has problem.
The special logic is no longer necessary since TextLine is now aware of
PrecomputedText. So, just removing special logic from BoringLayout.

On the other hand, the metrics parameters check in TextLine has removed
Ie73bce52c6c673cda58973ddad04627a7cf2e5e9, but that was wrong. TextLine
can be used by BoringLayout too. Thus, need to reject PrecomputedText
if the given TextPaint is not compatible with given param.

Bug: 76227465
Test: atest CtsWidgetTestCases:EditTextTest
    CtsWidgetTestCases:TextViewFadingEdgeTest
    FrameworksCoreTests:TextViewFallbackLineSpacingTest
    FrameworksCoreTests:TextViewTest FrameworksCoreTests:TypefaceTest
    CtsGraphicsTestCases:TypefaceTest CtsWidgetTestCases:TextViewTest
    CtsTextTestCases FrameworksCoreTests:android.text
    CtsWidgetTestCases:TextViewPrecomputedTextTest

Change-Id: I172b5f655402e797b53b9667b49cb4ab89ec0dc0

6 years agoMerge "Unhide ImsReasonInfo Constructor" into pi-dev
TreeHugger Robot [Sat, 24 Mar 2018 01:12:49 +0000 (01:12 +0000)]
Merge "Unhide ImsReasonInfo Constructor" into pi-dev

6 years agoMerge "Make Assistant stack invisible behind split-screen stacks." into pi-dev
Wale Ogunwale [Sat, 24 Mar 2018 01:06:06 +0000 (01:06 +0000)]
Merge "Make Assistant stack invisible behind split-screen stacks." into pi-dev

6 years agoAdd new strings for Hearing Aid profile
Stanley Tng [Fri, 23 Mar 2018 23:03:28 +0000 (16:03 -0700)]
Add new strings for Hearing Aid profile

These new strings will be used by the Settings App for the hearing aid
profile.

Test: compiled.
Bug: 74204427
Change-Id: Ia5e07c094f3b7917176e10b920eee7ab9eda3d2f

6 years agoGuarding collisions in TimeSparseArray
Suprabh Shukla [Fri, 23 Mar 2018 21:20:17 +0000 (14:20 -0700)]
Guarding collisions in TimeSparseArray

TimeSparseArray - used to store UsageEvents - can keep at most one event
per millisecond, which can result in an event being replaced by another
event that occurred close enough that the system records it at the same
millisecond.

Test: atest android.app.usage.TimeSparseArrayTest

Fixes: 73832306
Change-Id: I860a101ab098f65d5c5832758832f43572865690

6 years agoAdd missing @NonNull annotation to AndroidKeyStoreProvider method.
Dmitry Dementyev [Sat, 24 Mar 2018 00:46:52 +0000 (17:46 -0700)]
Add missing @NonNull annotation to AndroidKeyStoreProvider method.

Bug: 73959762
Test: none
Change-Id: I2298c8fe0893032f374629a5af128474ba0f679c

6 years agoAdd more NonNull annotations to RecoveryController API
Dmitry Dementyev [Sat, 24 Mar 2018 00:36:58 +0000 (17:36 -0700)]
Add more NonNull annotations to RecoveryController API

Bug: 73959762
Test: none
Change-Id: I648c20a099d4ac1c002f4f467d7189a8bc019560

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

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

6 years agoDO NOT MERGE Clean up SettingsLib dependencies
Alan Viverette [Wed, 21 Mar 2018 19:07:32 +0000 (15:07 -0400)]
DO NOT MERGE Clean up SettingsLib dependencies

v14-preferences is an empty lib and libraries cannot directly
reference other libraries' R classes due to a bug in Make builds

Bug: 73250914
Bug: 74248169
Test: make && make checkbuild
Change-Id: Id156b2a2140cabc98b58b5312ea28da42f4ca63b

6 years agoMerge "Add NonNull annotation to more parameters in Recovery Controller." into pi-dev
Dmitry Dementyev [Sat, 24 Mar 2018 00:10:30 +0000 (00:10 +0000)]
Merge "Add NonNull annotation to more parameters in Recovery Controller." into pi-dev

6 years agoMerge "Revert "Use transaction for local activity relaunch"" into pi-dev
Andrii Kulian [Fri, 23 Mar 2018 23:36:02 +0000 (23:36 +0000)]
Merge "Revert "Use transaction for local activity relaunch"" into pi-dev

6 years agoMerge "Don't show unsupported sdk warning in test harness." into pi-dev
Wale Ogunwale [Fri, 23 Mar 2018 23:32:54 +0000 (23:32 +0000)]
Merge "Don't show unsupported sdk warning in test harness." into pi-dev

6 years agoRemove unimplemented RecoverableKeystoreManager APIs.
Dmitry Dementyev [Fri, 23 Mar 2018 22:18:33 +0000 (15:18 -0700)]
Remove unimplemented RecoverableKeystoreManager APIs.

Add some Nullable annotations.

Bug: 75952916,74859770
Test: apct
Change-Id: I25710263a1ba806d49ec11638dab00f3513631a8

6 years agoMerge "Remove quick switch and simplify quickstep code for scrub" into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 23:28:17 +0000 (23:28 +0000)]
Merge "Remove quick switch and simplify quickstep code for scrub" into pi-dev

6 years agoMerge "Fix SurfaceView Background" into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 23:21:04 +0000 (23:21 +0000)]
Merge "Fix SurfaceView Background" into pi-dev

6 years agoMerge "Parse SMS locally upon error to get message ref" into pi-dev
Brad Ebinger [Fri, 23 Mar 2018 23:19:26 +0000 (23:19 +0000)]
Merge "Parse SMS locally upon error to get message ref" into pi-dev

6 years agoMerge "Fixed AutofillServiceHelper.assertValid() so it throws the right exception...
TreeHugger Robot [Fri, 23 Mar 2018 23:18:27 +0000 (23:18 +0000)]
Merge "Fixed AutofillServiceHelper.assertValid() so it throws the right exception." into pi-dev

6 years agoMerge "Notify all running users for global settings change" into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 23:17:21 +0000 (23:17 +0000)]
Merge "Notify all running users for global settings change" into pi-dev

6 years agoMerge "Split the DownloadStateCallback class into two" into pi-dev
Hall Liu [Fri, 23 Mar 2018 23:11:46 +0000 (23:11 +0000)]
Merge "Split the DownloadStateCallback class into two" into pi-dev

6 years agoMerge "Add string for 'snooze' action to use in local context menu" into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 23:11:30 +0000 (23:11 +0000)]
Merge "Add string for 'snooze' action to use in local context menu" into pi-dev

6 years agoAdd a string message for Private DNS strict mode failure
Erik Kline [Thu, 22 Mar 2018 19:58:25 +0000 (12:58 -0700)]
Add a string message for Private DNS strict mode failure

Add a message to be displayed whenever a Private DNS provider
hostname is unusable.  It might be that the name fails to resolve
or that network errors prevent us from connecting -- the string
need give no indication of the specific failure mode, only its
unusability.

Test: treehugger
Bug: 64133961
Bug: 74844869
Change-Id: I361291229241854dc3b9b84407baf500e84a1832

6 years agoMerge "Revert the low battery warning title to previous version." into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 22:57:34 +0000 (22:57 +0000)]
Merge "Revert the low battery warning title to previous version." into pi-dev

6 years agoMerge "Properly set input type on autofill compat mode." into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 22:49:25 +0000 (22:49 +0000)]
Merge "Properly set input type on autofill compat mode." into pi-dev

6 years agoAdd missing computeOpacity call
John Reck [Fri, 23 Mar 2018 22:38:18 +0000 (15:38 -0700)]
Add missing computeOpacity call

Change-Id: I3b668842d4cd072a0625c32cae0a1ade0e322a7d
Fixes: 73285195
Test: GradientDrawableTest#testGetOpacity

6 years agoMerge "Fix AOD styling when pulsing" into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 22:18:25 +0000 (22:18 +0000)]
Merge "Fix AOD styling when pulsing" into pi-dev

6 years agoMerge "insert exif info for HEIF files" into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 22:17:35 +0000 (22:17 +0000)]
Merge "insert exif info for HEIF files" into pi-dev

6 years agoMerge "Merge "docs: fixing bug 36982027 and 30636712, typos" into oc-mr1-dev am:...
Android Build Merger (Role) [Fri, 23 Mar 2018 22:11:57 +0000 (22:11 +0000)]
Merge "Merge "docs: fixing bug 36982027 and 30636712, typos" into oc-mr1-dev am: 5b0a4eea8d" into pi-dev

6 years agoMerge "docs: fixing bug 36982027 and 30636712, typos" into oc-mr1-dev
Todd Kopriva [Fri, 23 Mar 2018 22:11:38 +0000 (22:11 +0000)]
Merge "docs: fixing bug 36982027 and 30636712, typos" into oc-mr1-dev
am: 5b0a4eea8d

Change-Id: Iff4044c52e7ccdf6f7f879b9d5457ce1458b21bd

6 years agoMerge "Add flag to control blocking Smart Replies for apps targeting an Android versi...
TreeHugger Robot [Fri, 23 Mar 2018 22:07:15 +0000 (22:07 +0000)]
Merge "Add flag to control blocking Smart Replies for apps targeting an Android version below P." into pi-dev

6 years agoAdd NonNull annotation to more parameters in Recovery Controller.
Dmitry Dementyev [Fri, 23 Mar 2018 18:06:24 +0000 (11:06 -0700)]
Add NonNull annotation to more parameters in Recovery Controller.

Use Builder instead of deprecated constructor for KeyDerivationParams.
Bug: 75952916
Test: adb shell am instrument \
-w -e package com.android.server.locksettings.recoverablekeystore \
com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner
Change-Id: I223e4dc1aa92cbde60e53b364ed74a452d3f6bbd

6 years agoMerge "Added TestApi for default focus highlight" into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 22:04:04 +0000 (22:04 +0000)]
Merge "Added TestApi for default focus highlight" into pi-dev

6 years agoAdd strings needed for additional labels of wifi summary
Salvador Martinez [Fri, 23 Mar 2018 21:49:35 +0000 (14:49 -0700)]
Add strings needed for additional labels of wifi summary

This CL adds the strings needed to add 'metered' and 'unmetered'
when appropriate to the wifi summary header.

Test: None, just adds strings
Bug: 68030417
Change-Id: Id25d3adfc2a695d2ea77c97fd688031f0e7c0015

6 years agoMerge "docs: fixing bug 36982027 and 30636712, typos" into oc-mr1-dev
Todd Kopriva [Fri, 23 Mar 2018 21:48:55 +0000 (21:48 +0000)]
Merge "docs: fixing bug 36982027 and 30636712, typos" into oc-mr1-dev

6 years agoFix StatsCompanionService sometimes can be null
Chenjie Yu [Wed, 21 Mar 2018 20:53:15 +0000 (13:53 -0700)]
Fix StatsCompanionService sometimes can be null

Bug: 75970648
Test: will add cts test for puller alarms
Change-Id: I51b7d13f855d3c8ded8325d7cf0f614531eceea5

6 years agoMerge "Add RECOVER_KEYSTORE permission check to all IPC calls in RecoveryController...
Dmitry Dementyev [Fri, 23 Mar 2018 21:33:50 +0000 (21:33 +0000)]
Merge "Add RECOVER_KEYSTORE permission check to all IPC calls in RecoveryController." into pi-dev

6 years agoMerge "rename neq_all_string to neq_any_string in statsd_config" into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 21:15:02 +0000 (21:15 +0000)]
Merge "rename neq_all_string to neq_any_string in statsd_config" into pi-dev

6 years agoMerge "Ensure TileQueryHelper#mTiles is thread safe." into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 21:14:45 +0000 (21:14 +0000)]
Merge "Ensure TileQueryHelper#mTiles is thread safe." into pi-dev

6 years agoAdd flag to control blocking Smart Replies for apps targeting an Android version...
Richard Ledley [Mon, 26 Feb 2018 10:36:00 +0000 (10:36 +0000)]
Add flag to control blocking Smart Replies for apps targeting an Android version below P.

Bug: 73802997

Test: atest SmartReplyConstantsTest

Change-Id: Id340cba09da7931ff6a4689802b3a5f594852a72
(cherry picked from commit 28944cbdcf15128b664ccdaed44c59d3fc64d1db)

6 years agoTweaks to wireless charging animation
Beverly [Wed, 21 Mar 2018 14:10:33 +0000 (10:10 -0400)]
Tweaks to wireless charging animation

Animation is white when dozing

Bug: 74946337
Fixes: 76201223
Test: manual
Change-Id: I9408b38cd624e8599eb4689b04d1973ef8f0c61f

6 years agoFixed AutofillServiceHelper.assertValid() so it throws the right exception.
Felipe Leme [Fri, 23 Mar 2018 20:54:22 +0000 (13:54 -0700)]
Fixed AutofillServiceHelper.assertValid() so it throws the right exception.

Test: atest FillResponseTest SaveInfoTest
Bug: 76097200

Change-Id: Id643007e2d038cc6948cdb8d66c5454048d5f632

6 years agoProperly set input type on autofill compat mode.
Felipe Leme [Fri, 23 Mar 2018 18:45:38 +0000 (11:45 -0700)]
Properly set input type on autofill compat mode.

Test: atest CtsAutoFillServiceTestCases:android.autofillservice.cts.VirtualContainerActivityTest#testAutofillSync\
CtsAutoFillServiceTestCases:android.autofillservice.cts.VirtualContainerActivityCompatModeTest#testAutofillSync

Fixes: 76173462

Change-Id: Ie400ed5d4426febc34b02f68d6be4d86bc11034f

6 years agoMerge "HIDD: Address API Review concerns" into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 21:03:34 +0000 (21:03 +0000)]
Merge "HIDD: Address API Review concerns" into pi-dev

6 years agoRevert the low battery warning title to previous version.
Salvador Martinez [Fri, 23 Mar 2018 20:53:27 +0000 (13:53 -0700)]
Revert the low battery warning title to previous version.

This CL removes the "Turn on Battery Saver" text from the title
since this is already added as an action to the notification.

Test: SysUI tests pass
Bug: 76205767
Change-Id: I7b7f612101c67df994e51dfa824c5af057e02f18

6 years agoMerge "Fix apct test." into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 20:52:22 +0000 (20:52 +0000)]
Merge "Fix apct test." into pi-dev

6 years agoFix SurfaceView Background
Robert Carr [Fri, 23 Mar 2018 20:46:39 +0000 (13:46 -0700)]
Fix SurfaceView Background

When refactoring to not use global transaction when setting
position  I failed to account for the forwarding done by the
background wrapper.

Bug: 76099976
Bug: 76110573
Test: Manual. go/wm-smoke
Change-Id: I2cff8e571f12e69cefbd1ea35538fd71beaf1ec4

6 years agoDon't warn finishing ops for gone packages
Svet Ganov [Sun, 18 Mar 2018 18:51:17 +0000 (11:51 -0700)]
Don't warn finishing ops for gone packages

We finish ops when packages get removed to guarantee no dangling
started ops. However, some part of the system may asynchronously
finish ops for an already gone package. Hence, finishing an op
for a non existing package is fine and we don't log as a wtf.

Test: manual

bug:75436227

Change-Id: I33156d3f999f671ea65a70b485dac8afd4639b42

6 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 23 Mar 2018 20:44:40 +0000 (13:44 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I9af67e4d56bca9269626dd4da5c0f81822fc2862

6 years agoMerge "Revert "Add extra strings for 'tomorrow' text"" into pi-dev
Salvador Martinez [Fri, 23 Mar 2018 20:43:10 +0000 (20:43 +0000)]
Merge "Revert "Add extra strings for 'tomorrow' text"" into pi-dev

6 years agoRevert "Add extra strings for 'tomorrow' text"
Salvador Martinez [Fri, 23 Mar 2018 20:39:58 +0000 (20:39 +0000)]
Revert "Add extra strings for 'tomorrow' text"

This reverts commit 5d9af4f746ec73f1efb099d56d5e00f6867b6f84.

Reason for revert: Just kidding, we don't actually want the word "tomorrow" in the text

Bug: 74413266
Change-Id: If823fd7dab9ab468dc7b1446206a6587fcbd2e53

6 years agoMerge "Add extra strings for 'tomorrow' text" into pi-dev
Salvador Martinez [Fri, 23 Mar 2018 20:34:11 +0000 (20:34 +0000)]
Merge "Add extra strings for 'tomorrow' text" into pi-dev

6 years agoMerge "Maintain order in GlobalActions when rotating to/from seascape." into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 20:32:12 +0000 (20:32 +0000)]
Merge "Maintain order in GlobalActions when rotating to/from seascape." into pi-dev