OSDN Git Service

android-x86/frameworks-base.git
6 years agoChange fingerprint dialog radius to 4dp
Kevin Chyn [Thu, 12 Apr 2018 18:07:57 +0000 (11:07 -0700)]
Change fingerprint dialog radius to 4dp

Fixes: 77864901

Test: manual test with AOSP build
Change-Id: Ib61052a45c8de1b684527c54d73cfb45ffe672b5

6 years agoMerge "Never scale nine-patches in ImageDecoder" into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 22:42:39 +0000 (22:42 +0000)]
Merge "Never scale nine-patches in ImageDecoder" into pi-dev

6 years agoMerge "Update mFirstVisibleIconState correctly" into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 22:42:34 +0000 (22:42 +0000)]
Merge "Update mFirstVisibleIconState correctly" into pi-dev

6 years agoMerge "Don't hide the mobile type id if it doesn't change" into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 22:22:41 +0000 (22:22 +0000)]
Merge "Don't hide the mobile type id if it doesn't change" into pi-dev

6 years agoMerge "Use #fff for ethernet signal indicators" into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 22:21:23 +0000 (22:21 +0000)]
Merge "Use #fff for ethernet signal indicators" into pi-dev

6 years agoMerge "Add metrics constant for wifi scanning dialog" into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 22:07:30 +0000 (22:07 +0000)]
Merge "Add metrics constant for wifi scanning dialog" into pi-dev

6 years agoMerge "Rename BiometricDialog to BiometricPrompt." into pi-dev
Vishwath Mohan [Thu, 5 Apr 2018 21:23:32 +0000 (21:23 +0000)]
Merge "Rename BiometricDialog to BiometricPrompt." into pi-dev

6 years agoMerge "Allow OEMs to restrict access to secondary display" into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 21:17:52 +0000 (21:17 +0000)]
Merge "Allow OEMs to restrict access to secondary display" into pi-dev

6 years agoMerge "Activity interceptor dialog for suspended apps" into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 21:15:19 +0000 (21:15 +0000)]
Merge "Activity interceptor dialog for suspended apps" into pi-dev

6 years agoUse #fff for ethernet signal indicators
Evan Laird [Thu, 5 Apr 2018 21:13:18 +0000 (17:13 -0400)]
Use #fff for ethernet signal indicators

Tinting is controlled by the icon manager now, so intrinsic tinting of
the icon isn't needed

Test: visual when connected to ethernet;
Change-Id: I7c97ad13084e55974b65223fcfe4e027aa343d49
Fixes: 77551489

6 years agoMerge "Rename set/get-ConserveMemory" into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 20:44:58 +0000 (20:44 +0000)]
Merge "Rename set/get-ConserveMemory" into pi-dev

6 years agoMerge "Add @TestApi for field needed for test" into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 20:41:24 +0000 (20:41 +0000)]
Merge "Add @TestApi for field needed for test" into pi-dev

6 years agoMerge "Darker scrim under unlocked shade" into pi-dev
Lucas Dupin [Thu, 5 Apr 2018 20:35:05 +0000 (20:35 +0000)]
Merge "Darker scrim under unlocked shade" into pi-dev

6 years agoAdd metrics constant for wifi scanning dialog
Salvador Martinez [Wed, 4 Apr 2018 21:45:42 +0000 (14:45 -0700)]
Add metrics constant for wifi scanning dialog

This CL simply adds a metrics proto constant for the new dialog
that shows up if you try to tunr on auto-wifi without first
enabling wifi scanning.

Test: robotests still pass
Bug: 67070896
Change-Id: I9a4e0fa105e67d666e2e34588bea037034a28784

6 years agoDon't hide the mobile type id if it doesn't change
Evan Laird [Thu, 5 Apr 2018 20:22:36 +0000 (16:22 -0400)]
Don't hide the mobile type id if it doesn't change

_Someone_ thought it would be a good idea to hide the mobile type
indicator if it hadn't changed from the last state. Better to not do
that.

Also removed an unused method in StatusBarIconControllerImpl.

Test: Reboot device with wifi off; data type indicator should show up
eventually; i.e., visual
Fixes: 77581445

Change-Id: I47a0c868b0e332c11e206b8c043a532bcbf10130

6 years agoMerge "Show Recents if we are bringing a task forward in split-screen-primary" into...
Wale Ogunwale [Thu, 5 Apr 2018 20:21:33 +0000 (20:21 +0000)]
Merge "Show Recents if we are bringing a task forward in split-screen-primary" into pi-dev

6 years agoUpdate mFirstVisibleIconState correctly
Lucas Dupin [Thu, 5 Apr 2018 19:48:43 +0000 (12:48 -0700)]
Update mFirstVisibleIconState correctly

Test: visual
Change-Id: I4b6ca09b6bb8241791126f057de6d173ddd7eac0
Fixes: 77634935

6 years agoMerge "Turn off notification in-line images for low ram devices" into pi-dev
Kevin Han [Thu, 5 Apr 2018 19:33:55 +0000 (19:33 +0000)]
Merge "Turn off notification in-line images for low ram devices" into pi-dev

6 years agoMerge "Forward Activity stop signal to attached windows." into pi-dev
Rob Carr [Thu, 5 Apr 2018 19:03:29 +0000 (19:03 +0000)]
Merge "Forward Activity stop signal to attached windows." into pi-dev

6 years agoMerge "ConfirmationPrompt: Update for API review." into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 18:50:35 +0000 (18:50 +0000)]
Merge "ConfirmationPrompt: Update for API review." into pi-dev

6 years agoMerge "This cl tries to fix cts tests IncidentdTest" into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 18:48:59 +0000 (18:48 +0000)]
Merge "This cl tries to fix cts tests IncidentdTest" into pi-dev

6 years agoMerge "Add null check for Nullable argument." into pi-dev
Richard Ledley [Thu, 5 Apr 2018 18:45:45 +0000 (18:45 +0000)]
Merge "Add null check for Nullable argument." into pi-dev

6 years agoMerge "Remove haptics on navbar and only have button haptics on touch up" into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 18:42:33 +0000 (18:42 +0000)]
Merge "Remove haptics on navbar and only have button haptics on touch up" into pi-dev

6 years agoMerge "Move RTT system setting to Settings.Secure" into pi-dev
Hall Liu [Thu, 5 Apr 2018 18:15:37 +0000 (18:15 +0000)]
Merge "Move RTT system setting to Settings.Secure" into pi-dev

6 years agoMerge "Retry logs write when it fails. Report skipped event in statsd." into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 18:04:18 +0000 (18:04 +0000)]
Merge "Retry logs write when it fails. Report skipped event in statsd." into pi-dev

6 years agoMerge "Reduce log spam in TimeSparseArray" into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 18:01:52 +0000 (18:01 +0000)]
Merge "Reduce log spam in TimeSparseArray" into pi-dev

6 years agoMerge "BugFix: Config TTL" into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 17:56:53 +0000 (17:56 +0000)]
Merge "BugFix: Config TTL" into pi-dev

6 years agoRename BiometricDialog to BiometricPrompt.
Vishwath Mohan [Thu, 5 Apr 2018 17:28:24 +0000 (10:28 -0700)]
Rename BiometricDialog to BiometricPrompt.

Renamed to BiometricPrompt per API-council feedback.

Bug: 77494933
Test: m -j70
Change-Id: Ifed2b8f3439a7e671e0ce46d3a7db9f24871b16a

6 years agoMerge "Add new hidden APIs." into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 17:37:21 +0000 (17:37 +0000)]
Merge "Add new hidden APIs." into pi-dev

6 years agoShow Recents if we are bringing a task forward in split-screen-primary
Wale Ogunwale [Thu, 5 Apr 2018 17:25:59 +0000 (10:25 -0700)]
Show Recents if we are bringing a task forward in split-screen-primary

Regression caused by ag/3288245

Change-Id: Ie21d7d57d62658ea5b0db255902dc22517ef3ae7
Fixes: 76109079
Test: steps from bug

6 years agoMerge "Only move PIP window if PIP is not way above shelf/IME." into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 17:24:26 +0000 (17:24 +0000)]
Merge "Only move PIP window if PIP is not way above shelf/IME." into pi-dev

6 years agoMerge "Misc bouncer fixes" into pi-dev
Lucas Dupin [Thu, 5 Apr 2018 17:21:26 +0000 (17:21 +0000)]
Merge "Misc bouncer fixes" into pi-dev

6 years agoTurn off notification in-line images for low ram devices
Kevin [Thu, 5 Apr 2018 17:17:45 +0000 (10:17 -0700)]
Turn off notification in-line images for low ram devices

Bug: 77598694
Change-Id: Icdd4c2ef790d2d657f7670fa8c1b8b39b7aa62e4
Fix: 77598694
Test: manual, tested notification on gobo and sailfish

6 years agoDarker scrim under unlocked shade
Lucas Dupin [Thu, 5 Apr 2018 17:00:31 +0000 (10:00 -0700)]
Darker scrim under unlocked shade

Test: visual
Change-Id: I21a1d035117d88ba580441b002133e380429e5a5
Fixes: 77224997

6 years agoMerge "Fixes non-web AIA internal launch" into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 17:07:14 +0000 (17:07 +0000)]
Merge "Fixes non-web AIA internal launch" into pi-dev

6 years agoMerge "Makes TCS methods non-abstract" into pi-dev
Jan Althaus [Thu, 5 Apr 2018 16:53:17 +0000 (16:53 +0000)]
Merge "Makes TCS methods non-abstract" into pi-dev

6 years agoNever scale nine-patches in ImageDecoder
Leon Scroggins III [Wed, 4 Apr 2018 20:19:33 +0000 (16:19 -0400)]
Never scale nine-patches in ImageDecoder

Bug: 76448902
Bug: 70889348
Test: Manual + CtsThemeHostTestCases
(Ica5e7e81848c3880accee922ee6f1cc9e26262ca)

Scaling a nine-patch requires scaling its divs. When the scale factor is
not an integer, we have to round. This gets out of sync with the way the
decoder scaled the image, resulting in stretching or keeping fixed the
wrong portions of the image. Making this worse, when we scale down, we
end up with divs colliding with each other, and we have to arbitrarily
adjust them further so they do not collide.

NinePatchDrawable and the drawing code already know how to handle
drawing from the originally-sized image and do a better job stretching
appropriately, so allow them to do their job.

We already do something similar for Bitmaps created by ImageDecoder on
apps targeting P and above - instead of scaling them up, we allow the
BitmapDrawable's scaling code to handle density differences. We
preserved the old behavior (scale up) on apps targeting pre-P because
those apps may rely on the size of the Bitmap contained in a
BitmapDrawable without accounting for its density (see Bug: 74061412).
But that is not an issue for NinePatchDrawables, which do not allow
peeking at their internal Bitmaps.

Rewrite ImageDecoder.computeDensity. There is no need for it to be
static, since it takes an ImageDecoder as a parameter and reads its
fields, including the new field mIsNinePatch. Set mIsNinePatch in the
constructor to avoid another down call into native. Split up the
conditions that result in returning srcDensity without calling
setTargetSize for clarity.

Remove ImageDecoder constructor from the graylist. It was accidentally
added due to the fact that it is called transitively from public APIs.

Change-Id: I3c5ddd67f3352c991515f30ce1c477c9a608833f

6 years agoAllow OEMs to restrict access to secondary display
Pavel Maltsev [Wed, 4 Apr 2018 17:14:55 +0000 (10:14 -0700)]
Allow OEMs to restrict access to secondary display

This is crucial for automotive use-cases when OEMs want to restrict
access to instrument cluster display by third-party apps

Bug: 28864915
Bug: 70840956
Test: manually verify that secondary display with private flag is not
accessible by third-party apps and accessible to apps with system uid

Change-Id: I39e36c2ea73d879a4c7b01220ae852298d868fd5

6 years agoAdd @TestApi for field needed for test
Marco Nelissen [Mon, 2 Apr 2018 16:04:37 +0000 (09:04 -0700)]
Add @TestApi for field needed for test

Also update truncated comment.
Bug: 13249737
Bug: 77485791
Test: CTS

Change-Id: I1351a6ef28dfd7e881f32830c436315ffdbfffaa

6 years agoMerge "Add OnMediaTimeDiscontinuity notification" into pi-dev
Dongwon Kang [Thu, 5 Apr 2018 16:33:39 +0000 (16:33 +0000)]
Merge "Add OnMediaTimeDiscontinuity notification" into pi-dev

6 years agoAdd null check for Nullable argument.
Richard Ledley [Thu, 5 Apr 2018 12:39:43 +0000 (13:39 +0100)]
Add null check for Nullable argument.

Test: bit CtsViewTestCases:android.view.textclassifier.cts.TextClassificationManagerTest FrameworksCoreTests:android.view.textclassifier.TextLinksTest

Bug: 77624093
Change-Id: I527c4e7f6758c699d4d4e7258cf8474f833040c7

6 years agoAdd new hidden APIs.
Nicolas Geoffray [Thu, 5 Apr 2018 16:29:42 +0000 (17:29 +0100)]
Add new hidden APIs.

bug: 77527994
Test: m
Change-Id: Iebdab9d09c4d4531cfdfed6c3e363d68ed407ef1

6 years agoMerge "Copy ApplicationInfo#versionCode field" into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 16:20:25 +0000 (16:20 +0000)]
Merge "Copy ApplicationInfo#versionCode field" into pi-dev

6 years agoOnly move PIP window if PIP is not way above shelf/IME.
Tracy Zhou [Thu, 5 Apr 2018 06:45:26 +0000 (23:45 -0700)]
Only move PIP window if PIP is not way above shelf/IME.

Change-Id: I650a94f40cd1ab0fbc40a2aaccce9d019ff0d6f1
Fixes: 77526420
Test: manual test

6 years agoMerge "Show work notifications in the shade unless on keyguard." into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 15:30:54 +0000 (15:30 +0000)]
Merge "Show work notifications in the shade unless on keyguard." into pi-dev

6 years agoMerge "[QS] Update landscape UI" into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 15:29:27 +0000 (15:29 +0000)]
Merge "[QS] Update landscape UI" into pi-dev

6 years agoMakes TCS methods non-abstract
Jan Althaus [Wed, 4 Apr 2018 11:56:40 +0000 (13:56 +0200)]
Makes TCS methods non-abstract

This only affects System API

Bug: 77563695
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.TextLinksTestBug:
Change-Id: Ie927ffe3a4678b7a622c139a5431b89e8f22c6e4

6 years agoMerge "Added adb commands to set and reset brightness." into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 14:43:32 +0000 (14:43 +0000)]
Merge "Added adb commands to set and reset brightness." into pi-dev

6 years agoMerge "Require screen to be unlocked for smart replies" into pi-dev
Milo Sredkov [Thu, 5 Apr 2018 14:07:52 +0000 (14:07 +0000)]
Merge "Require screen to be unlocked for smart replies" into pi-dev

6 years agoMerge "StrictMode: Add support for warning on non SDK API usage." into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 13:41:17 +0000 (13:41 +0000)]
Merge "StrictMode: Add support for warning on non SDK API usage." into pi-dev

6 years agoMerge "Add docs for setTargetSize and setTargetSampleSize" into pi-dev
Leon Scroggins [Thu, 5 Apr 2018 13:29:38 +0000 (13:29 +0000)]
Merge "Add docs for setTargetSize and setTargetSampleSize" into pi-dev

6 years agoRequire screen to be unlocked for smart replies
Milo Sredkov [Wed, 4 Apr 2018 15:13:28 +0000 (16:13 +0100)]
Require screen to be unlocked for smart replies

Currently tapping on a smart reply works even when the screen is
locked. To make it consistent with inline replies, require the screen
to be unlocked before sending the reply.

Bug: 76217177
Test: atest SmartReplyViewTest
Change-Id: I3af8a0411537503650fb9f83cd99f65900e700e0

6 years agoAdded adb commands to set and reset brightness.
Dan Gittik [Wed, 28 Mar 2018 11:19:38 +0000 (12:19 +0100)]
Added adb commands to set and reset brightness.

adb shell cmd display set-brightness BRIGHTNESS command sets the
screen brightness programatically.
adb shell cmd display reset-brightness resets the brightness
configuration to the default configuration.

Test: run "adb shell cmd display set-brightness <number>" and watch
      the magic happen.

Test: run "adb shell cmd jobscheduler run -f
      com.google.android.apps.turbo 104" to push a new configuration,
      then run "adb shell cmd display reset-brightness-configuration"
      to reset it. If it's not noticable enough, you can manually
      edit /data/system/display-manager-state.xml: for example, set
      nits="0.0" for all the <brightness-point />s in the
      <brightness-curve /> to make it as dark as posible.

Fixes: 77574628

Change-Id: I37e19c1e662370e60c9f616a3710780f16418620

6 years agoMerge "Catch IAE from unbind onServiceDisconnected()" into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 11:26:25 +0000 (11:26 +0000)]
Merge "Catch IAE from unbind onServiceDisconnected()" into pi-dev

6 years agoMerge "Exempt platform-cert signed apps from hidden API checks." into pi-dev
Mathew Inwood [Thu, 5 Apr 2018 10:43:12 +0000 (10:43 +0000)]
Merge "Exempt platform-cert signed apps from hidden API checks." into pi-dev

6 years agoCatch IAE from unbind onServiceDisconnected()
Bernardo Rufino [Thu, 5 Apr 2018 10:03:39 +0000 (11:03 +0100)]
Catch IAE from unbind onServiceDisconnected()

We still don't know the underlying cause of this, but we shouldn't crash
the system_server. Catching for now.

Bug: 74940472
Bug: 77574274
Test: m -j RunFrameworksServicesRoboTests
Change-Id: I36fc2e65f8766f6b8fd68104d8830b72668d84eb

6 years agoMerge "MediaController: Fix annotation of Callback#onPlaybackStateChanged()" into...
TreeHugger Robot [Thu, 5 Apr 2018 10:03:22 +0000 (10:03 +0000)]
Merge "MediaController: Fix annotation of Callback#onPlaybackStateChanged()" into pi-dev

6 years agoMerge "Device ID attestation: Add feature flag." into pi-dev
Rubin Xu [Thu, 5 Apr 2018 09:38:28 +0000 (09:38 +0000)]
Merge "Device ID attestation: Add feature flag." into pi-dev

6 years agoMerge "Don't call into phone process with lock held." into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 07:27:33 +0000 (07:27 +0000)]
Merge "Don't call into phone process with lock held." into pi-dev

6 years agoMerge "Use Collection instead of List for entity list" into pi-dev
Richard Ledley [Thu, 5 Apr 2018 05:46:53 +0000 (05:46 +0000)]
Merge "Use Collection instead of List for entity list" into pi-dev

6 years agoMerge "MediaSessionManager: Apply API council review" into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 05:25:15 +0000 (05:25 +0000)]
Merge "MediaSessionManager: Apply API council review" into pi-dev

6 years agoPersist volume level on reconnections for Hearing Aid
Jakub Pawlowski [Wed, 4 Apr 2018 17:15:12 +0000 (10:15 -0700)]
Persist volume level on reconnections for Hearing Aid

Devices in mFullVolumeDevices have volume level reset to maximum value
in checkFixedVolumeDevices.

Bug: 69623109
Test: change Hearing Aid volume, restart phone, verify volume persisted
Change-Id: Iba134c0b3dc959c19c59f89c3d4ac02eed1e216f

6 years agoMerge "Fade scrims slower when entering AOD" into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 04:26:50 +0000 (04:26 +0000)]
Merge "Fade scrims slower when entering AOD" into pi-dev

6 years agoMerge "Fix image fetching." into pi-dev
Tomasz Wasilczyk [Thu, 5 Apr 2018 03:14:14 +0000 (03:14 +0000)]
Merge "Fix image fetching." into pi-dev

6 years agoMerge "Ensure we mark windows as not seamlessly rotating when removing them." into...
TreeHugger Robot [Thu, 5 Apr 2018 02:29:14 +0000 (02:29 +0000)]
Merge "Ensure we mark windows as not seamlessly rotating when removing them." into pi-dev

6 years agoMediaController: Fix annotation of Callback#onPlaybackStateChanged()
Jaewan Kim [Thu, 5 Apr 2018 02:13:38 +0000 (11:13 +0900)]
MediaController: Fix annotation of Callback#onPlaybackStateChanged()

PlaybackState can be null and it's annotated as @Nullable in other
places. So we'd better to fix the annotation.

Bug: 77532207
Test: Run CtsMediaTestCases
Change-Id: I8974c6c99d9d188934f74775977631fb7b37e5d2

6 years agoMerge "Load static RROs in OverlayManagerService" into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 01:41:39 +0000 (01:41 +0000)]
Merge "Load static RROs in OverlayManagerService" into pi-dev

6 years agoActivity interceptor dialog for suspended apps
Suprabh Shukla [Fri, 30 Mar 2018 07:28:37 +0000 (00:28 -0700)]
Activity interceptor dialog for suspended apps

Added an AlertActivity to intercept the start for an activity belonging
to a suspended app. More details will be shown if the suspending app
also defines an activity to handle the API action
SHOW_SUSPENDED_APP_DETAILS.

Test: Added tests to existing classes. Can be run via:
atest com.android.server.pm.SuspendPackagesTest
atest com.android.server.pm.PackageManagerSettingsTests
atest com.android.server.pm.PackageUserStateTest

Bug: 75332201
Change-Id: I85dc4e9efd15eedba306ed5b856f651e3abd3e99

6 years agoMove RTT system setting to Settings.Secure
Hall Liu [Mon, 2 Apr 2018 22:41:07 +0000 (15:41 -0700)]
Move RTT system setting to Settings.Secure

Bug: 76449217
Test: manual
Change-Id: I85620d5b834aa7e04579212f3fd5cf6c0498b570

6 years agoMerge "keystore: Change superclass of UserPresenceUnavailableException." into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 00:58:18 +0000 (00:58 +0000)]
Merge "keystore: Change superclass of UserPresenceUnavailableException." into pi-dev

6 years agoRetry logs write when it fails.
Yangster-mac [Wed, 4 Apr 2018 17:39:12 +0000 (10:39 -0700)]
Retry logs write when it fails.
Report skipped event in statsd.

Test: manual test
BUG: b/77222120
Change-Id: I257f5e76d557893c4eb4a8e8a13396d8b5d1afc0

6 years agoMerge "Add NtpTimeHelper" into pi-dev
Yu-Han Yang [Thu, 5 Apr 2018 00:51:32 +0000 (00:51 +0000)]
Merge "Add NtpTimeHelper" into pi-dev

6 years agoFade scrims slower when entering AOD
Lucas Dupin [Wed, 4 Apr 2018 22:09:06 +0000 (15:09 -0700)]
Fade scrims slower when entering AOD

Test: visual
Change-Id: I32117a6351c3d652f845b1b46bffaade52f1fbc4
Fixes: 77539750

6 years agoBugFix: Config TTL
Tej Singh [Thu, 5 Apr 2018 00:27:14 +0000 (17:27 -0700)]
BugFix: Config TTL

In statsStats, we were writing the config TTL reset time to the wrong
proto field number. This fixes that.

Bug: b/77604625
Test: unit tests, pending CTS test
Change-Id: I9f6e502bf13785bfa60d68805d46b9a5c2286f44

6 years agoMerge "Shelf horizontal alignment was a few dps off" into pi-dev
Lucas Dupin [Thu, 5 Apr 2018 00:33:45 +0000 (00:33 +0000)]
Merge "Shelf horizontal alignment was a few dps off" into pi-dev

6 years agoMerge "Fix app switch regression" into pi-dev
Winson Chung [Thu, 5 Apr 2018 00:33:07 +0000 (00:33 +0000)]
Merge "Fix app switch regression" into pi-dev

6 years agoMisc bouncer fixes
Lucas Dupin [Thu, 5 Apr 2018 00:00:29 +0000 (17:00 -0700)]
Misc bouncer fixes

- IME flickers after dismissing a call
- IME not being triggered after rebooting
- Bouncer being shown during shade expansion animation

Test: go/sysui-bouncer-tests
Test: atest packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/KeyguardBouncerTest.java
Fixes: 74523176
Fixes: 75001274
Change-Id: Iae2aa1534c34a4191311b85e81e80cea89711bf4

6 years agoMerge "WM Tests: Use a separate WindowManager instance per test" into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 00:25:34 +0000 (00:25 +0000)]
Merge "WM Tests: Use a separate WindowManager instance per test" into pi-dev

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 00:16:29 +0000 (00:16 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoMerge "Changed AAPT2 to abide by AAPT resource whitespace triming." into pi-dev
Ryan Mitchell [Thu, 5 Apr 2018 00:14:38 +0000 (00:14 +0000)]
Merge "Changed AAPT2 to abide by AAPT resource whitespace triming." into pi-dev

6 years agoMerge "Puts back res id to correct view for the pinning tutorial" into pi-dev
TreeHugger Robot [Thu, 5 Apr 2018 00:11:21 +0000 (00:11 +0000)]
Merge "Puts back res id to correct view for the pinning tutorial" into pi-dev

6 years agoRename set/get-ConserveMemory
Leon Scroggins III [Wed, 4 Apr 2018 21:01:59 +0000 (17:01 -0400)]
Rename set/get-ConserveMemory

Bug: 76448408
Test: Ie83dbdeab5cc3dcd6bd56dd874412ed67eb52c02
Change-Id: I714b159bb70a48e5644801cc7fef8e32ee93896a

6 years agoMerge "MediaCodecInfo: define AACObjectXHE profile level" into pi-dev
Jean-Michel Trivi [Wed, 4 Apr 2018 23:40:35 +0000 (23:40 +0000)]
Merge "MediaCodecInfo: define AACObjectXHE profile level" into pi-dev

6 years agoMerge "Completely fill in permission info" into pi-dev
TreeHugger Robot [Wed, 4 Apr 2018 23:39:39 +0000 (23:39 +0000)]
Merge "Completely fill in permission info" into pi-dev

6 years agoThis cl tries to fix cts tests IncidentdTest
Yi Jin [Tue, 3 Apr 2018 22:10:34 +0000 (15:10 -0700)]
This cl tries to fix cts tests IncidentdTest

1. Disable BatteryType section which is device-specific
2. Make timeout longer since meminfo section timedout in test
3. make some negative values sint
4. varint can be 64 bits, there is a bug implicitly convert it to 32
which loses values.
5. Found another bug which failed to read 64 bits varint, create a
native test to make sure it works.

Bug: 77291057
Test: atest CtsIncidentHostTestCases:com.android.server.cts.IncidentdTest
Change-Id: I04cc730741f7901f37ac57a11af7777d57118a23

6 years agoMerge "Adding a utility method to show Assist session" into pi-dev
TreeHugger Robot [Wed, 4 Apr 2018 23:05:41 +0000 (23:05 +0000)]
Merge "Adding a utility method to show Assist session" into pi-dev

6 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 4 Apr 2018 23:00:04 +0000 (16:00 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I32c2b02c473f73f279bea8631709bab73090d1c2

6 years agoLoad static RROs in OverlayManagerService
Jaekyun Seok [Wed, 4 Apr 2018 02:28:21 +0000 (11:28 +0900)]
Load static RROs in OverlayManagerService

Only RROs targeting "android" are loaded from AssetManager, and so
others should be loaded from OverlayManagerService.

The RROs targeting "android" would be ingored as they are to avoid
redundant loading.

Bug: 76205654
Test: succeeded building and tested with taimen
Change-Id: Ibeeb3c3f3338a845b2f4c485305636003d9dbd44

6 years agoMerge "Allow double tap when pulsing" into pi-dev
TreeHugger Robot [Wed, 4 Apr 2018 22:48:22 +0000 (22:48 +0000)]
Merge "Allow double tap when pulsing" into pi-dev

6 years agoMerge "Hiding windows for suspended packages" into pi-dev
TreeHugger Robot [Wed, 4 Apr 2018 22:42:37 +0000 (22:42 +0000)]
Merge "Hiding windows for suspended packages" into pi-dev

6 years agoMerge "Update for sdk drop" into pi-dev
TreeHugger Robot [Wed, 4 Apr 2018 22:40:27 +0000 (22:40 +0000)]
Merge "Update for sdk drop" into pi-dev

6 years agoDon't call into phone process with lock held.
Makoto Onuki [Wed, 4 Apr 2018 22:29:00 +0000 (15:29 -0700)]
Don't call into phone process with lock held.

Bug: 77456094
Fixes: 77456094

Test: Manual test:
- Insert SIM card to device
- Set break point to setNetworkTemplateEnabledInner
- Change connectivity and make sure setNetworkTemplateEnabledInner()
is called with right arguments.

Change-Id: I6ff3c5639b48cb95419b431a85c498e214ee8e0d

6 years agoMerge "autofill: fix window location in splitwindow and dialog" into pi-dev
TreeHugger Robot [Wed, 4 Apr 2018 22:06:49 +0000 (22:06 +0000)]
Merge "autofill: fix window location in splitwindow and dialog" into pi-dev

6 years agoMerge "Statsd config TTL" into pi-dev
TreeHugger Robot [Wed, 4 Apr 2018 22:01:55 +0000 (22:01 +0000)]
Merge "Statsd config TTL" into pi-dev

6 years agoCompletely fill in permission info
Todd Kennedy [Wed, 4 Apr 2018 22:00:00 +0000 (15:00 -0700)]
Completely fill in permission info

During the refactor, an optimization was made to generatePermissionInfo()
to avoid creating duplicate PermissionInfo objects. However, the logic was
flawed and if a permission's protection level was ever adjusted, we
wouldn't return a properly filled out PermissionInfo object.

Change-Id: I70b3eda199008807182f75a413651d7cb4f4b7fd
Fixes: 74556457
Test: Manual; run app com.kakao.taxi and it doesn't crash

6 years agoMerge "Add basic inversion lock detection to DPMS." into pi-dev
Makoto Onuki [Wed, 4 Apr 2018 21:54:11 +0000 (21:54 +0000)]
Merge "Add basic inversion lock detection to DPMS." into pi-dev

6 years agoShelf horizontal alignment was a few dps off
Lucas Dupin [Wed, 4 Apr 2018 21:32:53 +0000 (14:32 -0700)]
Shelf horizontal alignment was a few dps off

Also interpolating anti burn in offset instead of setting it.

Test: visual
Change-Id: Ib9248a89eaf8a8905f8d462cb8ded574975372a7
Fixes: 77541088

6 years agoAdding a utility method to show Assist session
Sunny Goyal [Wed, 4 Apr 2018 21:41:07 +0000 (14:41 -0700)]
Adding a utility method to show Assist session

Bug: 72122079
Test: Verified the library works with launcher
Change-Id: Ic1e9131687ea85fdcce16c71054ce7940c190504

6 years agoPuts back res id to correct view for the pinning tutorial
Matthew Ng [Wed, 4 Apr 2018 21:33:00 +0000 (14:33 -0700)]
Puts back res id to correct view for the pinning tutorial

Put the wrong back button id for pinning tutorial in landscape
and now corrected it.

Test: manual - use 3 button nav bar, rotate to landscape and pin
Change-Id: I7cb2d61356226b11e7aa9b777e86badbf83a1f63
Fixes: 74174603

6 years agoFixes non-web AIA internal launch
Patrick Baumann [Wed, 4 Apr 2018 17:41:01 +0000 (10:41 -0700)]
Fixes non-web AIA internal launch

This change plumbs the original uid of a startActivity call through to
PackageManagerService#queryIntentActivitiesInternal so that we properly
filter.

Test: manual - launch previously failing instant app
Change-Id: I0a62195f67c2e08315ce2d87f1d8c516c2327ba6
Fixes: 77489209