OSDN Git Service

android-x86/frameworks-base.git
6 years agoSnap for 4756844 from d64c07da377b4d4570ba68524de47062d3bfdb30 to pi-release
android-build-team Robot [Wed, 2 May 2018 07:27:19 +0000 (07:27 +0000)]
Snap for 4756844 from d64c07da377b4d4570ba68524de47062d3bfdb30 to pi-release

Change-Id: Ia949c24dc82c937f41d37fbf4dfdaa00314d0c0e

6 years agoMerge "Add NETWORK_BYPASS_PRIVATE_DNS permission" into pi-dev
Remi NGUYEN VAN [Wed, 2 May 2018 05:32:43 +0000 (05:32 +0000)]
Merge "Add NETWORK_BYPASS_PRIVATE_DNS permission" into pi-dev

6 years agoMerge "Default keyguard scrim should be 45% transparent" into pi-dev
android-build-team Robot [Wed, 2 May 2018 02:40:06 +0000 (02:40 +0000)]
Merge "Default keyguard scrim should be 45% transparent" into pi-dev

6 years agoAdd NETWORK_BYPASS_PRIVATE_DNS permission
Remi NGUYEN VAN [Wed, 25 Apr 2018 08:46:10 +0000 (17:46 +0900)]
Add NETWORK_BYPASS_PRIVATE_DNS permission

Have the captive portal app and the MMS service use this new permission
to bypass private DNS.
Bug: b/78494660
Test: manual: captive portal login & MMS sending works

Change-Id: I0a4a8d0105becf6957fd44099bd84eca51e6716f

6 years agoMerge "Reduce statsd log data size." into pi-dev
android-build-team Robot [Wed, 2 May 2018 00:45:51 +0000 (00:45 +0000)]
Merge "Reduce statsd log data size." into pi-dev

6 years agoMerge "Fixes primary stack being visible when minimizing 3rd party launcher" into...
android-build-team Robot [Wed, 2 May 2018 00:27:20 +0000 (00:27 +0000)]
Merge "Fixes primary stack being visible when minimizing 3rd party launcher" into pi-dev

6 years agoMerge "Add Stable Charging Threshold for AppStandby" into pi-dev
Michael Wachenschwanz [Wed, 2 May 2018 00:23:23 +0000 (00:23 +0000)]
Merge "Add Stable Charging Threshold for AppStandby" into pi-dev

6 years agoMerge "Add OP_PLAY_AUDIO to control shutter sound." into pi-dev
android-build-team Robot [Tue, 1 May 2018 23:56:12 +0000 (23:56 +0000)]
Merge "Add OP_PLAY_AUDIO to control shutter sound." into pi-dev

6 years agoMerge "refactored Log statements to Slog" into pi-dev
Kevin Chyn [Tue, 1 May 2018 23:22:09 +0000 (23:22 +0000)]
Merge "refactored Log statements to Slog" into pi-dev

6 years agoMerge "Clean up old Context references in ImsConfig" into pi-dev
Brad Ebinger [Tue, 1 May 2018 23:10:40 +0000 (23:10 +0000)]
Merge "Clean up old Context references in ImsConfig" into pi-dev

6 years agoFixes primary stack being visible when minimizing 3rd party launcher
Matthew Ng [Tue, 1 May 2018 21:24:38 +0000 (14:24 -0700)]
Fixes primary stack being visible when minimizing 3rd party launcher

When using 3rd party launcher, the home stack is not merged with
overview then when minimizing, it will not be secondary split screen
stack. Then the primary stack will be presumed invisible even though
it is on the screen. The added check will make sure that the docked
stack is visible when minimizing.

Test: use 3rd party launcher, minimize
Change-Id: I5837ac6339352cae926c970f7453f5564abafb70
Fixes: 77818300

6 years agoDefault keyguard scrim should be 45% transparent
Lucas Dupin [Tue, 1 May 2018 22:43:06 +0000 (15:43 -0700)]
Default keyguard scrim should be 45% transparent

Wallpapers were barely visible on lock screen because value was set to
70%. The unlocked scrim (on the notification shade) was kept at 70% to
improve readability.

Also fixed a bug where scrim opacity wouldn't be overridden via overlay.

Bug: 63868547
Test: visual
Test: atest ScrimControllerTest
Change-Id: I17f277c917dc55604762420c0027b552993f1916

6 years agoMerge "Fixed an issue where the messaging layout could appear empty" into pi-dev
Selim Cinek [Tue, 1 May 2018 22:42:53 +0000 (22:42 +0000)]
Merge "Fixed an issue where the messaging layout could appear empty" into pi-dev

6 years agoMerge "Fixed the messaging clipping for RTL languages" into pi-dev
Selim Cinek [Tue, 1 May 2018 22:38:09 +0000 (22:38 +0000)]
Merge "Fixed the messaging clipping for RTL languages" into pi-dev

6 years agoMerge "RRO: Don't update overlays when target changes" into pi-dev
Ryan Mitchell [Tue, 1 May 2018 22:35:38 +0000 (22:35 +0000)]
Merge "RRO: Don't update overlays when target changes" into pi-dev

6 years agoMerge "Avoid redundant getAllocatableBytes() calls." into pi-dev
android-build-team Robot [Tue, 1 May 2018 22:04:05 +0000 (22:04 +0000)]
Merge "Avoid redundant getAllocatableBytes() calls." into pi-dev

6 years agoMerge "Handle Gnss Hal service death gracefully" into pi-dev
Yu-Han Yang [Tue, 1 May 2018 21:45:30 +0000 (21:45 +0000)]
Merge "Handle Gnss Hal service death gracefully" into pi-dev

6 years agoMerge "Don't clear focus during transition animations" into pi-dev
Evan Rosky [Tue, 1 May 2018 21:30:17 +0000 (21:30 +0000)]
Merge "Don't clear focus during transition animations" into pi-dev

6 years agoMerge "Passpoint 2.0: Remove OSU/OSU2 Packages" into pi-dev
android-build-team Robot [Tue, 1 May 2018 21:26:13 +0000 (21:26 +0000)]
Merge "Passpoint 2.0: Remove OSU/OSU2 Packages" into pi-dev

6 years agoMerge "Increase the bytes per config threshold to avoid too frequent uploading."...
android-build-team Robot [Tue, 1 May 2018 21:02:32 +0000 (21:02 +0000)]
Merge "Increase the bytes per config threshold to avoid too frequent uploading." into pi-dev

6 years agoMerge "Use NORMAL synchronous mode for WAL journal mode" into pi-dev
Fyodor Kupolov [Tue, 1 May 2018 20:59:32 +0000 (20:59 +0000)]
Merge "Use NORMAL synchronous mode for WAL journal mode" into pi-dev

6 years agoMerge "System apps cannot create channels that bypass dnd" into pi-dev
android-build-team Robot [Tue, 1 May 2018 20:46:42 +0000 (20:46 +0000)]
Merge "System apps cannot create channels that bypass dnd" into pi-dev

6 years agoMerge "Require READ_CALL_LOG permission to see phone numbers in phone state." into...
Tyler Gunn [Tue, 1 May 2018 20:27:15 +0000 (20:27 +0000)]
Merge "Require READ_CALL_LOG permission to see phone numbers in phone state." into pi-dev

6 years agoRRO: Don't update overlays when target changes
Ryan Mitchell [Tue, 1 May 2018 17:45:46 +0000 (10:45 -0700)]
RRO: Don't update overlays when target changes

When packages or components are enabled/disabled, PackageManager
broadcasts ACTION_PACKAGE_CHANGED. Currently, overlay paths are being
updated whenever this action is recieved, but this is cauing black
screen flashes because the active apps are having their overlay paths
reconfigured.

This change makes it so only overlays becoming enabled or disabled cause
the overlay paths to be updated.

Bug: 78508043
Test: Tested Instagram, adding a fingerprint, and adding a new user and
observed no screen flashes.

Change-Id: I3168f4a1e7187c8c1659fb169bae841783b7279f

6 years agoAvoid redundant getAllocatableBytes() calls.
Jeff Sharkey [Tue, 1 May 2018 19:09:28 +0000 (13:09 -0600)]
Avoid redundant getAllocatableBytes() calls.

Shuffle around the ordering of resolveInstallVolume() so that we
determine the fitsOnInternal value while doing a drive-by of all
possible target volumes.  This way we only call getAllocatableBytes()
internal storage once.

Bug: 70985520
Test: atest android.content.pm.PackageHelperTests
Change-Id: I8273c239af4a13b1db17f320e15ee0ef2dc89186

6 years agoMerge "Updated haptic effect for success" into pi-dev
Ilya Matyukhin [Tue, 1 May 2018 19:08:01 +0000 (19:08 +0000)]
Merge "Updated haptic effect for success" into pi-dev

6 years agoMerge "Add personalization state paused constant" into pi-dev
android-build-team Robot [Tue, 1 May 2018 18:56:54 +0000 (18:56 +0000)]
Merge "Add personalization state paused constant" into pi-dev

6 years agoMerge "Accessibility change when Trusted Face icon shows." into pi-dev
Bingyu Zhang [Tue, 1 May 2018 18:14:31 +0000 (18:14 +0000)]
Merge "Accessibility change when Trusted Face icon shows." into pi-dev

6 years agoFixed the messaging clipping for RTL languages
Selim Cinek [Tue, 1 May 2018 17:53:26 +0000 (10:53 -0700)]
Fixed the messaging clipping for RTL languages

Because in landscape the width is bigger than the height,
our clipping logic was wrong and clipped off most of the
text.

Test: add messaging style notification, switch to RTL, landscape, observe normal clipping
Change-Id: I8c74a8405280047f8b2a08ecdf3f37b0fbeeec62
Fixes: 73895612
Fixes: 78606052

6 years agoMerge "Fix docs for a11yNodeInfo#refreshWithExtraData" into pi-dev
android-build-team Robot [Tue, 1 May 2018 17:55:19 +0000 (17:55 +0000)]
Merge "Fix docs for a11yNodeInfo#refreshWithExtraData" into pi-dev

6 years agoSystem apps cannot create channels that bypass dnd
Julia Reynolds [Tue, 1 May 2018 16:28:56 +0000 (12:28 -0400)]
System apps cannot create channels that bypass dnd

Test: runtest systemui-notification
Change-Id: I6121af3a6408260815e1496cd0a0e535fe921c1c
Fixes: 77656914

6 years agoMerge changes from topic "jr-onboard" into pi-dev
android-build-team Robot [Tue, 1 May 2018 17:26:26 +0000 (17:26 +0000)]
Merge changes from topic "jr-onboard" into pi-dev

* changes:
  Update 'dnd is hiding notifications' view
  Update zen onboarding flow
  Change zen defaults for upgrade and new users

6 years agoMerge "Fix bug and docs assuming progressBar min is 0 instead of getMin()" into pi-dev
Phil Weaver [Tue, 1 May 2018 17:12:40 +0000 (17:12 +0000)]
Merge "Fix bug and docs assuming progressBar min is 0 instead of getMin()" into pi-dev

6 years agoMerge "Respect a Layer's (e.g. SurfaceTexture) colorSpace when compositing" into...
Derek Sollenberger [Tue, 1 May 2018 16:57:28 +0000 (16:57 +0000)]
Merge "Respect a Layer's (e.g. SurfaceTexture) colorSpace when compositing" into pi-dev

6 years agoFix docs for a11yNodeInfo#refreshWithExtraData
Phil Weaver [Tue, 1 May 2018 16:26:01 +0000 (09:26 -0700)]
Fix docs for a11yNodeInfo#refreshWithExtraData

I think an early version of this API was a bitmask.

Bug: 78922344
Test: make
Change-Id: Ib50257d39a9d60ddc33f792640065e6643ccc3aa

6 years agoFixed an issue where the messaging layout could appear empty
Selim Cinek [Tue, 1 May 2018 16:09:38 +0000 (09:09 -0700)]
Fixed an issue where the messaging layout could appear empty

Change-Id: I0fe6e7a23068f10e6c867424027e7a86c9210186
Fixes: 73952748
Test: send long message, observe normal layout, not cut off

6 years agoMerge "Propagate calling UID to AM from LauncherApps" into pi-dev
Makoto Onuki [Tue, 1 May 2018 15:50:37 +0000 (15:50 +0000)]
Merge "Propagate calling UID to AM from LauncherApps" into pi-dev

6 years agoMerge "[Notif] Blocking helper basic metrics" into pi-dev
Rohan Shah [Tue, 1 May 2018 15:30:05 +0000 (15:30 +0000)]
Merge "[Notif] Blocking helper basic metrics" into pi-dev

6 years agoMerge "Don't run obb backup for shared storage backup package." into pi-dev
android-build-team Robot [Tue, 1 May 2018 15:29:51 +0000 (15:29 +0000)]
Merge "Don't run obb backup for shared storage backup package." into pi-dev

6 years agoDon't run obb backup for shared storage backup package.
Anton Philippov [Tue, 1 May 2018 13:27:00 +0000 (14:27 +0100)]
Don't run obb backup for shared storage backup package.

This fixes an issue when adb backup would hang (and hold wakelock)
forever when run with '-obb' and '-shared'.

Bug: 75997810
Test: 'adb backup -obb -shared' finishes successfully
Change-Id: I015add6dc525984592e733266b3e046f41d2cb93

6 years agoUpdate 'dnd is hiding notifications' view
Julia Reynolds [Wed, 25 Apr 2018 20:55:59 +0000 (16:55 -0400)]
Update 'dnd is hiding notifications' view

Add an icon and alawys show the view if DND is on and suppressing
notifications from the shade. 'Manage notifications',
'no notifications', and 'clear all'are hidden when this view is visible.

Bug: 78586809
Test: atest SystemUITests
Change-Id: I9d68fda8a3bc3213c20f9e57ca64d75eebdc1d94

6 years agometrics constant for new button
Julia Reynolds [Tue, 1 May 2018 13:04:21 +0000 (09:04 -0400)]
metrics constant for new button

Bug: 78448988
Test: make
Change-Id: I75977645f4e0fb0ff09a82061c35cf73a96ed1ef

6 years agoUpdate zen onboarding flow
Julia Reynolds [Mon, 23 Apr 2018 13:38:47 +0000 (09:38 -0400)]
Update zen onboarding flow

- Reset notification/onboarding
- Update notification icon

Test: runtest systemui-notification
Bug: 78448988
Change-Id: I1114000ad534f74ae67fc19fd8bbb712f757dfd9

6 years agoChange zen defaults for upgrade and new users
Julia Reynolds [Fri, 27 Apr 2018 18:48:36 +0000 (14:48 -0400)]
Change zen defaults for upgrade and new users

- Upgrade -> migrate suppressScreenOn and suppressScreenOff to
suppressVisualEffects
- New -> all visual effects are off, starred contacts are allowed
to call

Also fixed an NPE noticed while testing this CL

Test: runtest systemui-notification
Change-Id: I1efd6e3f9bc7519b2fb769bae62ffa1aaae59cb6
Fixes: 78778706
Fixes: 78768955

6 years agoMerge "Update logic for interruptive notifications" into pi-dev
Julia Reynolds [Tue, 1 May 2018 12:47:41 +0000 (12:47 +0000)]
Merge "Update logic for interruptive notifications" into pi-dev

6 years agoMerge "Add implementation for SliceMetrics" into pi-dev
Chris Wren [Tue, 1 May 2018 11:52:42 +0000 (11:52 +0000)]
Merge "Add implementation for SliceMetrics" into pi-dev

6 years agoMerge "Tweak the sizes of the smart reply buttons" into pi-dev
Milo Sredkov [Tue, 1 May 2018 10:59:50 +0000 (10:59 +0000)]
Merge "Tweak the sizes of the smart reply buttons" into pi-dev

6 years agoMerge "Greylist updates from bugreports, Monday edition." into pi-dev
Mathew Inwood [Tue, 1 May 2018 10:52:26 +0000 (10:52 +0000)]
Merge "Greylist updates from bugreports, Monday edition." into pi-dev

6 years agoTweak the sizes of the smart reply buttons
Milo Sredkov [Mon, 30 Apr 2018 09:57:05 +0000 (10:57 +0100)]
Tweak the sizes of the smart reply buttons

Tweak the sizes of the smart reply buttons to be more consistent with
the rest of the notification UI.

Note that the padding for two-line buttons needs to be different from
the padding for one-line buttons until b/78876518 is fixed.

Screenshot before: https://screenshot.googleplex.com/ePaB3YZfLEk.png
Screenshot after: https://screenshot.googleplex.com/vZmPq7AyYOB.png
Two line version: https://screenshot.googleplex.com/9o8PxMusDXV.png

Bug: 73605520
Test: In Notify post a Messaging notification with chices
Change-Id: I4ef16dc8fb2682f9ac1a74aecadf8b6b6799cfb3

6 years agoMerge "Fix an NPE in PackageManagerService (introduced by ag/3819668)" into pi-dev
android-build-team Robot [Tue, 1 May 2018 08:49:26 +0000 (08:49 +0000)]
Merge "Fix an NPE in PackageManagerService (introduced by ag/3819668)" into pi-dev

6 years agoSnap for 4754571 from f8e6e7f5f31e5f3f5666e1c64f7538dd0ee1a983 to pi-release
android-build-team Robot [Tue, 1 May 2018 07:20:32 +0000 (07:20 +0000)]
Snap for 4754571 from f8e6e7f5f31e5f3f5666e1c64f7538dd0ee1a983 to pi-release

Change-Id: Id82e70c9853375cc596d1066b6366bd3e05ce53a

6 years agoRespect a Layer's (e.g. SurfaceTexture) colorSpace when compositing
Derek Sollenberger [Fri, 20 Apr 2018 20:13:31 +0000 (16:13 -0400)]
Respect a Layer's (e.g. SurfaceTexture) colorSpace when compositing

This CL extracts the android_dataspace from the GLConsumer and converts
it to a SkColorSpace.  HWUI always expects to composite into an sRGB
destination so when we draw the layer we run the draw through a
colorFilter that converts the input colorSpace into that of the
destination.

Test: CtsViewTestCases
Bug: 78016220
Merged-In: Ic0446a0d861e86a5a9d0382346b57fcc45c8a61b
Change-Id: Ic0446a0d861e86a5a9d0382346b57fcc45c8a61b

6 years agoUpdated haptic effect for success
Ilya Matyukhin [Thu, 26 Apr 2018 22:57:29 +0000 (15:57 -0700)]
Updated haptic effect for success

Fixes: 78596832
Test: tested on a device

Change-Id: I5953bdb367867b001bc85a2bf799c77b65b3b9d4

6 years agoFix an NPE in PackageManagerService (introduced by ag/3819668)
Satoshi Niwa [Thu, 5 Apr 2018 07:45:07 +0000 (16:45 +0900)]
Fix an NPE in PackageManagerService (introduced by ag/3819668)

Since PackageParser.generateApplicationInfo may return null, we need a null check after it.

Bug: 73134482
Bug: 78678911
Test: manually tested on ARC/ChromeOS and confirmed NPE had gone away
Change-Id: I7f91b2cbe29ab7c20758f97501c49e1401ee1e7e

6 years agoMerge "Watchdog: add Audio HAL v4.0 to the dump list" into pi-dev
android-build-team Robot [Tue, 1 May 2018 01:38:22 +0000 (01:38 +0000)]
Merge "Watchdog: add Audio HAL v4.0 to the dump list" into pi-dev

6 years agoMerge "Fix carrier app CaptivePortalLoginActivity probes to bypass Private DNS" into...
android-build-team Robot [Tue, 1 May 2018 01:10:14 +0000 (01:10 +0000)]
Merge "Fix carrier app CaptivePortalLoginActivity probes to bypass Private DNS" into pi-dev

6 years agoMerge "Secondary split screen app will be next to the navigation bar (1/2)" into...
android-build-team Robot [Tue, 1 May 2018 00:40:27 +0000 (00:40 +0000)]
Merge "Secondary split screen app will be next to the navigation bar (1/2)" into pi-dev

6 years agorefactored Log statements to Slog
Joshua Mccloskey [Tue, 1 May 2018 00:36:54 +0000 (17:36 -0700)]
refactored Log statements to Slog

Test: it builds
Change-Id: I9fdc5ad6767b02f42b768c1709b22d9f4d2d4e6b
Fixes: 76183279

6 years agoMerge "Enhance battery saver event log" into pi-dev
Makoto Onuki [Tue, 1 May 2018 00:27:54 +0000 (00:27 +0000)]
Merge "Enhance battery saver event log" into pi-dev

6 years agoMerge "Print warning log for uses of -f/-F on non-ADB UID." into pi-dev
Makoto Onuki [Tue, 1 May 2018 00:27:40 +0000 (00:27 +0000)]
Merge "Print warning log for uses of -f/-F on non-ADB UID." into pi-dev

6 years agoMerge "Substituting the app name also on the public content view" into pi-dev
android-build-team Robot [Tue, 1 May 2018 00:26:46 +0000 (00:26 +0000)]
Merge "Substituting the app name also on the public content view" into pi-dev

6 years agoMerge "Clear the past buckets for no-report metrics" into pi-dev
android-build-team Robot [Tue, 1 May 2018 00:13:24 +0000 (00:13 +0000)]
Merge "Clear the past buckets for no-report metrics" into pi-dev

6 years agoMerge "Fix bug that heads up notification appear even when disable_expand is set...
Selim Cinek [Mon, 30 Apr 2018 23:54:45 +0000 (23:54 +0000)]
Merge "Fix bug that heads up notification appear even when disable_expand is set" into pi-dev

6 years ago[Notif] Blocking helper basic metrics
Rohan Shah [Sat, 28 Apr 2018 00:21:50 +0000 (17:21 -0700)]
[Notif] Blocking helper basic metrics

Adding first pass of counters for basic actions taken with the blocking
helper. This includes:
- All notification dismissal events
- Shown event
- Dismissal via outside interaction
- Any button taps to dismiss
- Undo taps

Test: Via manual testing & updated tests (+added two new)
Bug: 74609669
Change-Id: I0adcfe03cfd10809ef7a2f13afbefcb420246a43

6 years agoMerge "Implement RadioMetadata.toString." into pi-dev
Gene Karshenboym [Mon, 30 Apr 2018 23:28:11 +0000 (23:28 +0000)]
Merge "Implement RadioMetadata.toString." into pi-dev

6 years agoSecondary split screen app will be next to the navigation bar (1/2)
Matthew Ng [Mon, 9 Apr 2018 21:43:21 +0000 (14:43 -0700)]
Secondary split screen app will be next to the navigation bar (1/2)

Refactored docked position code into PhoneWindowManager to determine
which side the docked app should go based on the position of the nav bar
in landscape (as portrait will only have top). Fixed the split screen
entrance animation for quick step's overview.

Change-Id: I30f1be9d791c23f4cd197f17487609964f78fac0
Fixes: 73250406
Test: play around with splitscreen and minimized mode
Test: atest com.android.server.policy.PhoneWindowManagerTest

6 years agoMerge "Fixed screen brightness override in manual mode." into pi-dev
android-build-team Robot [Mon, 30 Apr 2018 23:24:32 +0000 (23:24 +0000)]
Merge "Fixed screen brightness override in manual mode." into pi-dev

6 years agoWatchdog: add Audio HAL v4.0 to the dump list
Mikhail Naganov [Mon, 30 Apr 2018 22:58:31 +0000 (15:58 -0700)]
Watchdog: add Audio HAL v4.0 to the dump list

Bug: 78607184
Test: create a bugreport on a P device
Change-Id: Ia2f982d4109cbfc3dcde2769728c9273e8ad7fb3

6 years ago[automerger skipped] Merge "Fix broken check for TelephonyManager#getForbiddenPlmns...
android-build-team Robot [Mon, 30 Apr 2018 22:49:37 +0000 (15:49 -0700)]
[automerger skipped] Merge "Fix broken check for TelephonyManager#getForbiddenPlmns" into oc-dev am: 0a7c41615e am: 4e0dd1197a
am: d9fb6e1236  -s ours

Change-Id: I9a1dda15c8d20a7599229033ffd8ec6f6cfedf53

6 years agoUse NORMAL synchronous mode for WAL journal mode
Fyodor Kupolov [Sat, 28 Apr 2018 00:41:49 +0000 (17:41 -0700)]
Use NORMAL synchronous mode for WAL journal mode

When synchronous is NORMAL (1), the SQLite database engine will still
sync at the most critical moments, but less often than in FULL mode.

With this change, the number of writes is reduced by 50%,
more than 5x improvement in write performance, read performance is
the same.

Test: Manual + SQLiteDatabaseTest
Bug: 76033286
Change-Id: I13526962bbaeae028a9c6cb668aa9f94bbc2a44d

6 years agoMerge "Fix broken check for TelephonyManager#getForbiddenPlmns" into oc-dev am: 0a7c4...
android-build-team Robot [Mon, 30 Apr 2018 22:39:15 +0000 (15:39 -0700)]
Merge "Fix broken check for TelephonyManager#getForbiddenPlmns" into oc-dev am: 0a7c41615e
am: 4e0dd1197a

Change-Id: I4b37bce88249278a8b829b90adf679366e417428

6 years agoMerge "Fix broken check for TelephonyManager#getForbiddenPlmns" into oc-dev
android-build-team Robot [Mon, 30 Apr 2018 22:29:19 +0000 (15:29 -0700)]
Merge "Fix broken check for TelephonyManager#getForbiddenPlmns" into oc-dev
am: 0a7c41615e

Change-Id: I259380ed027d31c4b8292f366590f0757f540766

6 years agoMerge "Fix broken check for TelephonyManager#getForbiddenPlmns" into oc-dev
android-build-team Robot [Mon, 30 Apr 2018 22:17:01 +0000 (22:17 +0000)]
Merge "Fix broken check for TelephonyManager#getForbiddenPlmns" into oc-dev

6 years agoMerge "Add Carriers.APN_SET_ID and NO_SET_SET" into pi-dev
Jordan Liu [Mon, 30 Apr 2018 22:11:39 +0000 (22:11 +0000)]
Merge "Add Carriers.APN_SET_ID and NO_SET_SET" into pi-dev

6 years agoPasspoint 2.0: Remove OSU/OSU2 Packages
Ecco Park [Mon, 30 Apr 2018 22:06:34 +0000 (15:06 -0700)]
Passpoint 2.0: Remove OSU/OSU2 Packages

The test packages for passpoint 2.0 rel2 are not used in anywhere.

Bug: 78193727
Change-Id: I349d708047192dcc5f37114a6a887b2214fdcd31
Signed-off-by: Ecco Park <eccopark@google.com>
6 years agoPrint warning log for uses of -f/-F on non-ADB UID.
Makoto Onuki [Mon, 30 Apr 2018 21:50:43 +0000 (14:50 -0700)]
Print warning log for uses of -f/-F on non-ADB UID.

When an app executes the requestsync command with their own UID,
-f and -F cannot be used.

Let's log it on logcat to make it prominent. People often throw away
command output.

Change-Id: Ie0219e9bdea20edc290785f84a101bb546380136
Fixes: 78901672
Test: manual test

6 years agoFix bug that heads up notification appear even when disable_expand is set
e.min [Thu, 29 Mar 2018 01:06:21 +0000 (10:06 +0900)]
Fix bug that heads up notification appear even when disable_expand is set

Fixes: 78880433
Test: execute app which setting a disable_expand flag to statusbar.
Test: after that, get a headsup notification.
Test: then, headsup appear and it would be presented as status bar height
Test: runtest systemui

Change-Id: I97cc77ad197ca5bc74ab03cc86f02083608549ba

6 years agoHandle Gnss Hal service death gracefully
Yu-Han Yang [Wed, 25 Apr 2018 07:51:22 +0000 (00:51 -0700)]
Handle Gnss Hal service death gracefully

Bug: 37460011
Fixes: 37460011
Test: adb shell
ps -A | grep 'gnss@1.0' | awk '{print $2}' | xargs kill

Change-Id: I6ff675fc198ab709d50637367f0b4648b55b021f

6 years agoAdd personalization state paused constant
Ajay Nadathur [Mon, 30 Apr 2018 21:27:33 +0000 (14:27 -0700)]
Add personalization state paused constant

- Add a new constant USER_SETUP_PERSONALIZATION_PAUSED to inform
interested listeners when personalization is paused.

bug: 78898802
Test: Manually tested and verified
Change-Id: I4481c38e31a8b47dfc98d8733b446885899d4a67

6 years agoSubstituting the app name also on the public content view
Selim Cinek [Mon, 30 Apr 2018 21:39:35 +0000 (14:39 -0700)]
Substituting the app name also on the public content view

Test: add notification with substitute name, observe correct public notification
Change-Id: Ib682a363c47f8925d54413e1edb20c0b8ce2e8b9
Fixes: 78605862

6 years agoMerge "Revert "All users will hear charging sounds."" into pi-dev
android-build-team Robot [Mon, 30 Apr 2018 21:08:51 +0000 (21:08 +0000)]
Merge "Revert "All users will hear charging sounds."" into pi-dev

6 years agoMerge "Reset short term model on user switch." into pi-dev
android-build-team Robot [Mon, 30 Apr 2018 20:53:28 +0000 (20:53 +0000)]
Merge "Reset short term model on user switch." into pi-dev

6 years agoMerge "Update DecorContext's Resource cache when calling getResources." into pi-dev
Chavi Weingarten [Mon, 30 Apr 2018 20:38:42 +0000 (20:38 +0000)]
Merge "Update DecorContext's Resource cache when calling getResources." into pi-dev

6 years agoRevert "All users will hear charging sounds."
Beverly Tai [Mon, 30 Apr 2018 20:01:07 +0000 (20:01 +0000)]
Revert "All users will hear charging sounds."

Bug: 77912907
This reverts commit 6cf3e7c41116b890104afe31c2688ccf9fadf449.

Reason for revert: negative dogfood feedback

Change-Id: I83873286424b93fd9994dfad2e385048cfe6e478

6 years agoMerge "Detach children when stopping app." into pi-dev
Rob Carr [Mon, 30 Apr 2018 20:00:39 +0000 (20:00 +0000)]
Merge "Detach children when stopping app." into pi-dev

6 years agoUpdate logic for interruptive notifications
Julia Reynolds [Mon, 30 Apr 2018 18:41:36 +0000 (14:41 -0400)]
Update logic for interruptive notifications

- Only count visual changes for non-foreground service notifications,
because users consider the notification to be one 'session'
- Don't count every remoteviews update, but those where the layoutid
or sequence number has changed.

Bug: 78643290
Test: runtest systemui-notification
Change-Id: I49483d26ebe63329ef2d6d3f10dd730c310fcf2a

6 years agoMerge "Truncate newline and tab characters in BluetoothDevice name" into pi-dev
android-build-team Robot [Mon, 30 Apr 2018 18:54:34 +0000 (18:54 +0000)]
Merge "Truncate newline and tab characters in BluetoothDevice name" into pi-dev

6 years agoMerge "Unbind autofill service when the service package is updated." into pi-dev
Hongming Jin [Mon, 30 Apr 2018 18:50:25 +0000 (18:50 +0000)]
Merge "Unbind autofill service when the service package is updated." into pi-dev

6 years agoMerge "Choose a matching record in split-screen stack" into pi-dev
Andrii Kulian [Mon, 30 Apr 2018 18:31:27 +0000 (18:31 +0000)]
Merge "Choose a matching record in split-screen stack" into pi-dev

6 years agoMerge "Remove package code path for all parsing failure" into pi-dev
android-build-team Robot [Mon, 30 Apr 2018 18:12:54 +0000 (18:12 +0000)]
Merge "Remove package code path for all parsing failure" into pi-dev

6 years agoMerge "Make system dialogs' a11y events like Activity's" into pi-dev
Phil Weaver [Mon, 30 Apr 2018 18:12:37 +0000 (18:12 +0000)]
Merge "Make system dialogs' a11y events like Activity's" into pi-dev

6 years agoMerge "Update clock format when locale list changes" into pi-dev
android-build-team Robot [Mon, 30 Apr 2018 18:12:16 +0000 (18:12 +0000)]
Merge "Update clock format when locale list changes" into pi-dev

6 years agoMerge "Adjust future charge start time." into pi-dev
Makoto Onuki [Mon, 30 Apr 2018 18:11:28 +0000 (18:11 +0000)]
Merge "Adjust future charge start time." into pi-dev

6 years agoMerge "OMS: ensure framework overlays affect newly installed apps" into pi-dev
android-build-team Robot [Mon, 30 Apr 2018 18:02:29 +0000 (18:02 +0000)]
Merge "OMS: ensure framework overlays affect newly installed apps" into pi-dev

6 years agoMerge "Add documentation for what to use for SS changes" into pi-dev
android-build-team Robot [Mon, 30 Apr 2018 17:59:04 +0000 (17:59 +0000)]
Merge "Add documentation for what to use for SS changes" into pi-dev

6 years agoMerge "Revert "RRO: Update target overlays after install"" into pi-dev
android-build-team Robot [Mon, 30 Apr 2018 17:53:42 +0000 (17:53 +0000)]
Merge "Revert "RRO: Update target overlays after install"" into pi-dev

6 years agoMerge "Use dedicated thread for sync manager" into pi-dev
Makoto Onuki [Mon, 30 Apr 2018 17:52:05 +0000 (17:52 +0000)]
Merge "Use dedicated thread for sync manager" into pi-dev

6 years agoMerge "Log slow message delivery on Looper" into pi-dev
Makoto Onuki [Mon, 30 Apr 2018 17:50:58 +0000 (17:50 +0000)]
Merge "Log slow message delivery on Looper" into pi-dev

6 years agoImplement RadioMetadata.toString.
Tomasz Wasilczyk [Mon, 30 Apr 2018 17:31:50 +0000 (10:31 -0700)]
Implement RadioMetadata.toString.

This is required for metadata debugging.

Bug: 78885613
Test: build, run radio, watch logs
Change-Id: I63393bf555ede396a04f50897490049568b089dd

6 years agoEnhance battery saver event log
Makoto Onuki [Mon, 30 Apr 2018 17:26:21 +0000 (10:26 -0700)]
Enhance battery saver event log

- Add reason to on/off log
- Add "threshold changed" event log

Bug: 78833408
Test: Manual test + logcat
Test:   atest $ANDROID_BUILD_TOP/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/BatterySaverStateMachineTest.java
Change-Id: Iddaff8dfa585923c3581552200ea2734b2c1a16d