OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Use 4 thresholds instead of 6" am: fdebcf1ae2 am: 00fef4fb3d
Jordan Liu [Wed, 28 Feb 2018 02:05:51 +0000 (02:05 +0000)]
Merge "Use 4 thresholds instead of 6" am: fdebcf1ae2 am: 00fef4fb3d
am: d16720459d  -s ours

Change-Id: Ie29384e3f86c2deb462fd9503d0950d729d3a5b4

6 years agoMerge "Use 4 thresholds instead of 6" am: fdebcf1ae2
Jordan Liu [Wed, 28 Feb 2018 01:51:40 +0000 (01:51 +0000)]
Merge "Use 4 thresholds instead of 6" am: fdebcf1ae2
am: 00fef4fb3d

Change-Id: If6f8e1f938298506068d87e008ab0de21b8ff6a3

6 years agoMerge "Don't throw exception if phone process is dead for carrier ID APIs"
Chen Xu [Wed, 28 Feb 2018 01:49:15 +0000 (01:49 +0000)]
Merge "Don't throw exception if phone process is dead for carrier ID APIs"

6 years agoMerge "Use 4 thresholds instead of 6"
Jordan Liu [Wed, 28 Feb 2018 01:39:58 +0000 (01:39 +0000)]
Merge "Use 4 thresholds instead of 6"
am: fdebcf1ae2

Change-Id: Ie2d1ab2e79d0d3cc79815da7af4022e58838e5cd

6 years agoMerge "Duration tracker optimization."
TreeHugger Robot [Wed, 28 Feb 2018 01:29:27 +0000 (01:29 +0000)]
Merge "Duration tracker optimization."

6 years agoMerge "New attribute textFontWeight for selecting weight in the font family"
TreeHugger Robot [Wed, 28 Feb 2018 01:21:41 +0000 (01:21 +0000)]
Merge "New attribute textFontWeight for selecting weight in the font family"

6 years agoMerge "AAPT2: Fix styled string whitespace processing"
TreeHugger Robot [Wed, 28 Feb 2018 01:00:23 +0000 (01:00 +0000)]
Merge "AAPT2: Fix styled string whitespace processing"

6 years agoMerge "Remove connected devices feature flag"
TreeHugger Robot [Wed, 28 Feb 2018 00:42:28 +0000 (00:42 +0000)]
Merge "Remove connected devices feature flag"

6 years agoMerge "Add AOD to BatterySaverPolicy"
TreeHugger Robot [Wed, 28 Feb 2018 00:41:32 +0000 (00:41 +0000)]
Merge "Add AOD to BatterySaverPolicy"

6 years agoMerge "createAndManageUser should communicate reason of failure to caller"
TreeHugger Robot [Wed, 28 Feb 2018 00:39:33 +0000 (00:39 +0000)]
Merge "createAndManageUser should communicate reason of failure to caller"

6 years agoMerge "Blue work profile badge - Blue is the new orange"
Tony Mak [Wed, 28 Feb 2018 00:31:44 +0000 (00:31 +0000)]
Merge "Blue work profile badge - Blue is the new orange"

6 years agoMerge "Fix: Double-free error on RemoteFillService" am: 5b04f89343 am: b23ec4eaa7
Tetsutoki Shiozawa [Wed, 28 Feb 2018 00:24:18 +0000 (00:24 +0000)]
Merge "Fix: Double-free error on RemoteFillService" am: 5b04f89343 am: b23ec4eaa7
am: fddb86a80c

Change-Id: I87de2e6bc8f446dc0cddf41cb3e40d76cdc55d98

6 years agoMerge "Show next alarm on ambient display"
TreeHugger Robot [Wed, 28 Feb 2018 00:19:29 +0000 (00:19 +0000)]
Merge "Show next alarm on ambient display"

6 years agoMerge "API Review: android.os.UserManager.DISALLOW_USER_SWITCH"
Alex Chau [Wed, 28 Feb 2018 00:16:41 +0000 (00:16 +0000)]
Merge "API Review: android.os.UserManager.DISALLOW_USER_SWITCH"

6 years agoMerge "Show battery percentage on indication field"
Lucas Dupin [Wed, 28 Feb 2018 00:15:35 +0000 (00:15 +0000)]
Merge "Show battery percentage on indication field"

6 years agoMerge "Fix: Double-free error on RemoteFillService" am: 5b04f89343
Tetsutoki Shiozawa [Wed, 28 Feb 2018 00:12:33 +0000 (00:12 +0000)]
Merge "Fix: Double-free error on RemoteFillService" am: 5b04f89343
am: b23ec4eaa7

Change-Id: I3acedf1add384730df6f987b0f20edb77b250228

6 years agoMerge changes from topic "terminal_type_fix"
TreeHugger Robot [Wed, 28 Feb 2018 00:09:15 +0000 (00:09 +0000)]
Merge changes from topic "terminal_type_fix"

* changes:
  Add test for UsbDescriptorParser.java
  USB Audio: broaden Terminal Type interpretation

6 years agoMerge "Fix extra pause report from client"
Andrii Kulian [Wed, 28 Feb 2018 00:06:17 +0000 (00:06 +0000)]
Merge "Fix extra pause report from client"

6 years agoMerge "Fix issue with stack order positioning when ending recents animation."
Winson Chung [Wed, 28 Feb 2018 00:04:41 +0000 (00:04 +0000)]
Merge "Fix issue with stack order positioning when ending recents animation."

6 years agoMerge "Update the RTT features constant."
TreeHugger Robot [Wed, 28 Feb 2018 00:02:59 +0000 (00:02 +0000)]
Merge "Update the RTT features constant."

6 years agoMerge "Fix: Double-free error on RemoteFillService"
Tetsutoki Shiozawa [Wed, 28 Feb 2018 00:00:01 +0000 (00:00 +0000)]
Merge "Fix: Double-free error on RemoteFillService"
am: 5b04f89343

Change-Id: I7e8872a28ee01f29710945ac692236fa94f3c13a

6 years agoMerge "Remove leftover alarm code (Due diligence)"
TreeHugger Robot [Tue, 27 Feb 2018 23:53:54 +0000 (23:53 +0000)]
Merge "Remove leftover alarm code (Due diligence)"

6 years agoMerge "Use 4 thresholds instead of 6"
Jordan Liu [Tue, 27 Feb 2018 23:44:03 +0000 (23:44 +0000)]
Merge "Use 4 thresholds instead of 6"

6 years agoMerge changes from topics "tip_log_2", "metric_battery_tip"
TreeHugger Robot [Tue, 27 Feb 2018 23:39:33 +0000 (23:39 +0000)]
Merge changes from topics "tip_log_2", "metric_battery_tip"

* changes:
  Add metric for battery tip
  Add metric for BatteryTipDialogFragment

6 years agoDuration tracker optimization.
Yangster-mac [Mon, 26 Feb 2018 07:02:56 +0000 (23:02 -0800)]
Duration tracker optimization.

* Avoid querying sliced condition for stop/stopAll events for duration metric.
* Avoid extracting the internal dimension key when it is identical to the what dimension.

Test: statsd test
Change-Id: I664e8d3b1a68960d05c9ce4789caefb60b1ab502

6 years agoDon't throw exception if phone process is dead for carrier ID APIs
fionaxu [Tue, 27 Feb 2018 05:11:40 +0000 (21:11 -0800)]
Don't throw exception if phone process is dead for carrier ID APIs

Bug: 73772776
Test: Build
Change-Id: I81638f52d5d8ccf1005878ba4f3967e07169284b

6 years agoMerge "Fixed issues with legacy usages of notification people"
TreeHugger Robot [Tue, 27 Feb 2018 23:16:56 +0000 (23:16 +0000)]
Merge "Fixed issues with legacy usages of notification people"

6 years agoMerge "Add explicit method to clear clipboard."
Jeff Sharkey [Tue, 27 Feb 2018 23:10:44 +0000 (23:10 +0000)]
Merge "Add explicit method to clear clipboard."

6 years agoMerge "Alarm: wakes up statsd and notifies the subscribers."
TreeHugger Robot [Tue, 27 Feb 2018 23:08:31 +0000 (23:08 +0000)]
Merge "Alarm: wakes up statsd and notifies the subscribers."

6 years agoMerge "Return when invalid config ID was provided through adb command and change...
TreeHugger Robot [Tue, 27 Feb 2018 23:07:27 +0000 (23:07 +0000)]
Merge "Return when invalid config ID was provided through adb command and change the separator of config_uid and config_id to underscore from dash to disambiguate negative config ids"

6 years agoMerge "Fix: Double-free error on RemoteFillService"
Treehugger Robot [Tue, 27 Feb 2018 22:51:21 +0000 (22:51 +0000)]
Merge "Fix: Double-free error on RemoteFillService"

6 years agoMerge "Use LocaleList.read/writeParcel in Configuration"
TreeHugger Robot [Tue, 27 Feb 2018 22:49:24 +0000 (22:49 +0000)]
Merge "Use LocaleList.read/writeParcel in Configuration"

6 years agoMerge "Small fixes to StatsManager API."
TreeHugger Robot [Tue, 27 Feb 2018 22:39:15 +0000 (22:39 +0000)]
Merge "Small fixes to StatsManager API."

6 years agoShow next alarm on ambient display
Lucas Dupin [Tue, 27 Feb 2018 02:08:33 +0000 (18:08 -0800)]
Show next alarm on ambient display

Next alarm will be visible 12h before triggering.

Test: Set alarm that will ring in 8h
Test: Set alarm that will ring in 14h
Test: Set alarm that will ring in 11:59, wait one minute
Test: atest packages/SystemUI/tests/src/com/android/systemui/keyguard/KeyguardSliceProviderTest.java
Change-Id: Icd4253771efcdf5afb4e9e52329fa410d7fd1cc1

6 years agoMerge "ConfirmationDialog: Pass accessibility options and implement isSupported()."
TreeHugger Robot [Tue, 27 Feb 2018 22:26:30 +0000 (22:26 +0000)]
Merge "ConfirmationDialog: Pass accessibility options and implement isSupported()."

6 years agoFix extra pause report from client
Andrii Kulian [Tue, 27 Feb 2018 19:51:18 +0000 (11:51 -0800)]
Fix extra pause report from client

Activity pause is now reported from PauseActivityItem.

Fixes: 73020245
Test: Pause activity, check logs.
Change-Id: Iabfb1b1b51dec259f1928607ef7c321b54a93286

6 years agoShow battery percentage on indication field
Lucas Dupin [Tue, 27 Feb 2018 20:07:31 +0000 (12:07 -0800)]
Show battery percentage on indication field

Test: visual
Test: switch language, observe.
Change-Id: I1991752eef480c9a738a579c0ef0f880dfdba35c
Fixes: 73894305

6 years agoUse 4 thresholds instead of 6
Jordan Liu [Sat, 24 Feb 2018 01:05:13 +0000 (17:05 -0800)]
Use 4 thresholds instead of 6

Min and max thresholds are fixed.

Bug: 73775507
Bug: 70698348
Test: manual and ServiceStateTrackerTest
Change-Id: Ie7fbda0627615f49b6205142c22ad48e88735f80
Merged-In: Ie7fbda0627615f49b6205142c22ad48e88735f80

6 years agoMerge "Revert "Follow prebuilt/API update""
Alan Viverette [Tue, 27 Feb 2018 22:08:31 +0000 (22:08 +0000)]
Merge "Revert "Follow prebuilt/API update""

6 years agoRevert "Follow prebuilt/API update"
Alan Viverette [Tue, 27 Feb 2018 20:12:41 +0000 (20:12 +0000)]
Revert "Follow prebuilt/API update"

This reverts commit 8aca4f00632959b0c9c04a893270843e561387dc.

Reason for revert: Required for prebuilt revert

Bug: 73903252
Bug: 73876473
Bug: 73875529
Bug: 73866916
Change-Id: I9be2f47458bfba97bacf34372752328c47a5ff9f

6 years agoFix issue with stack order positioning when ending recents animation.
Winson Chung [Tue, 27 Feb 2018 19:47:16 +0000 (11:47 -0800)]
Fix issue with stack order positioning when ending recents animation.

- When moving the home stack from a higher index to behind a stack with a
  lower index, the position does not need to be adjusted in order to move
  the stack (since positionChildAt first removes the stack before adding
  it). Updated the existing tests with a case to move the stack to a
  non-bottom index to verify this.

Bug: 73901604
Test: atest ActivityStackTests

Change-Id: If1d3af0f35d60569d8a3d86898483bacaaa98bb9

6 years agoMerge "Mark EUICC_PROVISIONED as @SystemApi."
Jiuyu Sun [Tue, 27 Feb 2018 22:04:15 +0000 (22:04 +0000)]
Merge "Mark EUICC_PROVISIONED as @SystemApi."

6 years agoMerge "Use 4 thresholds instead of 6"
TreeHugger Robot [Tue, 27 Feb 2018 22:03:00 +0000 (22:03 +0000)]
Merge "Use 4 thresholds instead of 6"

6 years agoMerge "Move mediadrm-related headers"
TreeHugger Robot [Tue, 27 Feb 2018 22:02:33 +0000 (22:02 +0000)]
Merge "Move mediadrm-related headers"

6 years agoAdd metric for battery tip
jackqdyulei [Tue, 27 Feb 2018 01:18:12 +0000 (17:18 -0800)]
Add metric for battery tip

When it is triggered, we log the type of battery tip

Bug: 3662211
Test: Build
Change-Id: I3867e3200dab2755ee194a00927a5d172f17303d

6 years agoAdd metric for BatteryTipDialogFragment
jackqdyulei [Mon, 26 Feb 2018 22:44:50 +0000 (14:44 -0800)]
Add metric for BatteryTipDialogFragment

Bug: 73888115
Test: Build
Change-Id: I8bfc7f94c671b186be7f3f48c467542ee30b55f5

6 years agoRemove connected devices feature flag
Jerry Zhang [Tue, 27 Feb 2018 21:35:19 +0000 (13:35 -0800)]
Remove connected devices feature flag

Bug: 72829348
Test: passes
Change-Id: If97b4eefeb1f550a78c9117a232e5bdb21789709

6 years agoAlarm: wakes up statsd and notifies the subscribers.
Yangster-mac [Thu, 1 Feb 2018 18:23:52 +0000 (10:23 -0800)]
Alarm: wakes up statsd and notifies the subscribers.

Test: manually tested it.
Change-Id: Id796a68976aeb1611183023ba4e9c6a8b8c44bb8

6 years agoUse LocaleList.read/writeParcel in Configuration
Siyamed Sinir [Tue, 27 Feb 2018 21:07:22 +0000 (13:07 -0800)]
Use LocaleList.read/writeParcel in Configuration

Instead of parcel and unparceling locales in LocaleList in
Configuration use LocaleList.read/writeParcel.

Bug: 73891437

Test: atest android.content.res.cts.ConfigurationTest
Test: atest android.content.res.ConfigurationTest
Change-Id: Id65a7e36487375f0e3a2c2da44ad8d7c5ea49734

6 years agoMerge "Updates jank metrics in statsd to include uid."
TreeHugger Robot [Tue, 27 Feb 2018 20:47:33 +0000 (20:47 +0000)]
Merge "Updates jank metrics in statsd to include uid."

6 years agoMerge "Update QS pagination dots color."
TreeHugger Robot [Tue, 27 Feb 2018 20:42:37 +0000 (20:42 +0000)]
Merge "Update QS pagination dots color."

6 years agoMerge "Add a new API to import a key provided by the caller, such that this key can...
TreeHugger Robot [Tue, 27 Feb 2018 20:30:57 +0000 (20:30 +0000)]
Merge "Add a new API to import a key provided by the caller, such that this key can also be synced to the remote service"

6 years agoMerge "AudioManager: Use setAvrcpAbsoluteVolume in adjustStreamVolume" am: affa54f01c...
Ajay Panicker [Tue, 27 Feb 2018 20:26:21 +0000 (20:26 +0000)]
Merge "AudioManager: Use setAvrcpAbsoluteVolume in adjustStreamVolume" am: affa54f01c am: b351b63c2d
am: 5e87e7c983

Change-Id: I23070fd7f15e25ef2006bb43a5c8bd5dadec545f

6 years agoRemove leftover alarm code (Due diligence)
Rohan Shah [Tue, 27 Feb 2018 20:25:38 +0000 (12:25 -0800)]
Remove leftover alarm code (Due diligence)

ag/3659178 was merged without removing extra alarm tile code. Cleaned up
the unnecessary bits in this CL.

Test: Visually and ran AutoTileManagerTest as confirmation
Bug: 73764084
Change-Id: I55fa39775ba9f4092034bd1273dfa1c2848c3953

6 years agoMerge "AudioManager: Use setAvrcpAbsoluteVolume in adjustStreamVolume" am: affa54f01c
Ajay Panicker [Tue, 27 Feb 2018 20:16:52 +0000 (20:16 +0000)]
Merge "AudioManager: Use setAvrcpAbsoluteVolume in adjustStreamVolume" am: affa54f01c
am: b351b63c2d

Change-Id: Ifc18e2f82aba2239fefa7a4fe46d8bb9e9f1c0d9

6 years agoMerge "AAPT2: Fix issue with String flattening in XmlFlattener"
TreeHugger Robot [Tue, 27 Feb 2018 20:14:29 +0000 (20:14 +0000)]
Merge "AAPT2: Fix issue with String flattening in XmlFlattener"

6 years agoMerge "AudioManager: Use setAvrcpAbsoluteVolume in adjustStreamVolume"
Ajay Panicker [Tue, 27 Feb 2018 20:07:49 +0000 (20:07 +0000)]
Merge "AudioManager: Use setAvrcpAbsoluteVolume in adjustStreamVolume"
am: affa54f01c

Change-Id: I48e7236ea475674b9e67defa6814e2d9fbb4cc2b

6 years agoMerge "Picture in picture Z ordering fixes."
TreeHugger Robot [Tue, 27 Feb 2018 19:56:38 +0000 (19:56 +0000)]
Merge "Picture in picture Z ordering fixes."

6 years agoMerge "Mark all old RecoveryController APIs as deprecated"
TreeHugger Robot [Tue, 27 Feb 2018 19:51:27 +0000 (19:51 +0000)]
Merge "Mark all old RecoveryController APIs as deprecated"

6 years agoMerge "docs: Adding P to the API levels"
Andrew Solovay [Tue, 27 Feb 2018 19:46:36 +0000 (19:46 +0000)]
Merge "docs: Adding P to the API levels"

6 years agoMerge "Add columns for snapshot table"
TreeHugger Robot [Tue, 27 Feb 2018 19:44:20 +0000 (19:44 +0000)]
Merge "Add columns for snapshot table"

6 years agoMerge "Frameworks: Annotate JUnit4 test with @Test" am: 4d9bec6b4a am: 0e8e9472ba
Andreas Gampe [Tue, 27 Feb 2018 19:39:51 +0000 (19:39 +0000)]
Merge "Frameworks: Annotate JUnit4 test with @Test" am: 4d9bec6b4a am: 0e8e9472ba
am: 20f00dfe66

Change-Id: I0c611c22eedda2d849bd16ef2e2bb7e2e60e0a5a

6 years agoNew attribute textFontWeight for selecting weight in the font family
Seigo Nonaka [Thu, 22 Feb 2018 19:26:39 +0000 (11:26 -0800)]
New attribute textFontWeight for selecting weight in the font family

Note that AppCompatTextView doesn't work well with this attribute since
it overwrites the selected Typeface.

Bug: 63135308
Test: atest android.widget.cts.TextViewFontWeightTest
Change-Id: I76ee5e3007ea5f96249d2a0bfb66ff5975c62522

6 years agoAAPT2: Fix styled string whitespace processing
Adam Lesinski [Wed, 21 Feb 2018 23:55:58 +0000 (15:55 -0800)]
AAPT2: Fix styled string whitespace processing

Change styled string whitespace processing to be like AAPT's was.

Main changes:
- whitespace around tags is preserved.
- tags start exactly where they are supposed to, not off by one.

Bug: 72406283
Test: make aapt2_tests
Change-Id: I4d12728c493efd8c978e2e3d2718b56534ff52ef

6 years agoMerge "Remove unused RecoveryClaim file"
TreeHugger Robot [Tue, 27 Feb 2018 19:30:31 +0000 (19:30 +0000)]
Merge "Remove unused RecoveryClaim file"

6 years agoMerge "Use audio_has_proportional_frames when setting up AudioTrack."
TreeHugger Robot [Tue, 27 Feb 2018 19:23:35 +0000 (19:23 +0000)]
Merge "Use audio_has_proportional_frames when setting up AudioTrack."

6 years agoMerge "Frameworks: Annotate JUnit4 test with @Test" am: 4d9bec6b4a
Andreas Gampe [Tue, 27 Feb 2018 19:19:01 +0000 (19:19 +0000)]
Merge "Frameworks: Annotate JUnit4 test with @Test" am: 4d9bec6b4a
am: 0e8e9472ba

Change-Id: I70e11136f6e261cccf4ce57f757f97999f74b402

6 years agoMerge "Frameworks: Annotate JUnit4 test with @Test"
Andreas Gampe [Tue, 27 Feb 2018 19:07:49 +0000 (19:07 +0000)]
Merge "Frameworks: Annotate JUnit4 test with @Test"
am: 4d9bec6b4a

Change-Id: I0c684a434a0f43fcae1a766c6c84a756115d9dcb

6 years agoMerge "Deal with alarm times near MAX_VALUE"
Chris Tate [Tue, 27 Feb 2018 19:02:06 +0000 (19:02 +0000)]
Merge "Deal with alarm times near MAX_VALUE"

6 years agoMerge "[Magnifier-27] Make it more prominent"
TreeHugger Robot [Tue, 27 Feb 2018 18:57:49 +0000 (18:57 +0000)]
Merge "[Magnifier-27] Make it more prominent"

6 years agoReturn when invalid config ID was provided through adb command and
yro [Mon, 26 Feb 2018 23:15:17 +0000 (15:15 -0800)]
Return when invalid config ID was provided through adb command and
change the separator of config_uid and config_id to underscore from dash
to disambiguate negative config ids

Bug: 73896814
Test: statsd_test
Change-Id: Ib0604e9f4c104560d570a64208a9e94d7526f8d6

6 years agoMerge "AudioManager: Use setAvrcpAbsoluteVolume in adjustStreamVolume"
Treehugger Robot [Tue, 27 Feb 2018 18:44:23 +0000 (18:44 +0000)]
Merge "AudioManager: Use setAvrcpAbsoluteVolume in adjustStreamVolume"

6 years agoMerge "Revert "Always finish activity when moving to a destroyed state.""
Bryce Lee [Tue, 27 Feb 2018 18:32:49 +0000 (18:32 +0000)]
Merge "Revert "Always finish activity when moving to a destroyed state.""

6 years agoMerge "CameraServiceProxy: Add client API level to log metrics"
TreeHugger Robot [Tue, 27 Feb 2018 18:25:14 +0000 (18:25 +0000)]
Merge "CameraServiceProxy: Add client API level to log metrics"

6 years agoMerge "Added more info. to exception while creating display in WM."
TreeHugger Robot [Tue, 27 Feb 2018 17:58:24 +0000 (17:58 +0000)]
Merge "Added more info. to exception while creating display in WM."

6 years agoMerge "Move transport constant to BackupTransport API"
Annie Meng [Tue, 27 Feb 2018 17:39:58 +0000 (17:39 +0000)]
Merge "Move transport constant to BackupTransport API"

6 years agoUse 4 thresholds instead of 6
Jordan Liu [Mon, 26 Feb 2018 23:50:21 +0000 (15:50 -0800)]
Use 4 thresholds instead of 6

Min and max thresholds are fixed, and should not be customizable.

Bug: 73775507
Bug: 70698348
Test: manual test on 311480 and ServiceStateTrackerTest
Change-Id: Ie7fbda0627615f49b6205142c22ad48e88735f80

6 years agoMerge "Frameworks: Annotate JUnit4 test with @Test"
Treehugger Robot [Tue, 27 Feb 2018 17:30:23 +0000 (17:30 +0000)]
Merge "Frameworks: Annotate JUnit4 test with @Test"

6 years agoAudioManager: Use setAvrcpAbsoluteVolume in adjustStreamVolume
Ajay Panicker [Tue, 27 Feb 2018 00:04:15 +0000 (16:04 -0800)]
AudioManager: Use setAvrcpAbsoluteVolume in adjustStreamVolume

Use setAvrcpAbsoluteVolume() instead of adjustAvrcpAbsoluteVolume in
adjust stream volume in order to better sync device volume and remote
Bluetooth device volume. This will allow Bluetooth to avoid calculating
its own volume step size.

Bug: 68812037
Test: Connect to device that supports Absolute Volume and see that
      volume changed occur when changing volume on device.

Change-Id: I26d5812ee1a5953b6527561ce5ad1c5d944c244d

6 years agoMerge "Docs: added a note about about notification listeners and work profiles."
TreeHugger Robot [Tue, 27 Feb 2018 17:21:27 +0000 (17:21 +0000)]
Merge "Docs: added a note about about notification listeners and work profiles."

6 years agoAdd a new API to import a key provided by the caller, such that this key
Bo Zhu [Mon, 26 Feb 2018 23:54:25 +0000 (15:54 -0800)]
Add a new API to import a key provided by the caller, such that this key
can also be synced to the remote service

This API may be useful for backward-compatibility work, e.g., recovering
a key that's backed up in Android Q+ to Android P without updating the
Android P Frameworks code. This API may also be useful for other use cases.

Bug: 73785182
Change-Id: I1022dffb6a12bdf3df2022db5739169fcc9347d2
Test: adb shell am instrument -w -e package \
com.android.server.locksettings.recoverablekeystore \
com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner

6 years agoMerge "Add DevicePolicyManager#setDefaultSmsApplication"
Christine Franks [Tue, 27 Feb 2018 17:13:05 +0000 (17:13 +0000)]
Merge "Add DevicePolicyManager#setDefaultSmsApplication"

6 years agoMerge "Fix broken demo mode"
TreeHugger Robot [Tue, 27 Feb 2018 17:05:35 +0000 (17:05 +0000)]
Merge "Fix broken demo mode"

6 years agoAdd AOD to BatterySaverPolicy
Lucas Dupin [Wed, 31 Jan 2018 01:22:20 +0000 (17:22 -0800)]
Add AOD to BatterySaverPolicy

Test: activate/deactivate battery saver, look at AOD
Test: atest packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/BatteryControllerTest.java
Fixes: 62797110
Change-Id: I9fc5f4fc5aa9cfd45e90e602251e4c2c863dfbcc

6 years agoRevert "Always finish activity when moving to a destroyed state."
Bryce Lee [Tue, 27 Feb 2018 16:57:37 +0000 (08:57 -0800)]
Revert "Always finish activity when moving to a destroyed state."

This reverts commit 7ace395d65edb4764fc537ac1c9ed3c07bc72c33.

Fixes: 73900028
Change-Id: I8b72dca8e001413d54ab85be07943b6ebc451615

6 years agoMerge "BackgroundDexOptService: skip low battery check if not present" am: e90cba2115...
Todd Poynor [Tue, 27 Feb 2018 16:57:38 +0000 (16:57 +0000)]
Merge "BackgroundDexOptService: skip low battery check if not present" am: e90cba2115 am: f45d0cb962
am: 9f53412f2f  -s ours

Change-Id: Iad550efe5140d1e9308942ed41dbb5cd58930c4f

6 years agoMerge "Some fixes for limited notifications"
TreeHugger Robot [Tue, 27 Feb 2018 16:50:27 +0000 (16:50 +0000)]
Merge "Some fixes for limited notifications"

6 years agoMerge "BackgroundDexOptService: skip low battery check if not present" am: e90cba2115
Todd Poynor [Tue, 27 Feb 2018 16:44:28 +0000 (16:44 +0000)]
Merge "BackgroundDexOptService: skip low battery check if not present" am: e90cba2115
am: f45d0cb962

Change-Id: I4192f48a73098b1fc20cacccc6acfec2e40d8e99

6 years agoMerge "BackgroundDexOptService: skip low battery check if not present"
Todd Poynor [Tue, 27 Feb 2018 16:33:11 +0000 (16:33 +0000)]
Merge "BackgroundDexOptService: skip low battery check if not present"
am: e90cba2115

Change-Id: I451ea71fe64e3c309a8722a3d155453b1a609a8f

6 years agoAdded more info. to exception while creating display in WM.
Wale Ogunwale [Tue, 27 Feb 2018 16:32:15 +0000 (08:32 -0800)]
Added more info. to exception while creating display in WM.

To help figure-out root cause of issue.

Bug: 72893961
Test: Builds
Change-Id: If1ae4f80f01490e2460b0a9db7a481fa2c0046e8

6 years agoMerge "Revert "Log app start memory state in background""
Zhi An Ng [Tue, 27 Feb 2018 16:24:50 +0000 (16:24 +0000)]
Merge "Revert "Log app start memory state in background""

6 years agoRevert "Log app start memory state in background"
Zhi An Ng [Tue, 27 Feb 2018 16:23:10 +0000 (16:23 +0000)]
Revert "Log app start memory state in background"

This reverts commit 6ff939a8f2e1b5e5b37033fb7295badcabdacf8f.

Reason for revert: Used stated data

Change-Id: Ib186d80dc23575278e4a58080f5ca4a555d3a2c1

6 years agoMerge "Log app start memory state in background"
Zhi An Ng [Tue, 27 Feb 2018 16:14:57 +0000 (16:14 +0000)]
Merge "Log app start memory state in background"

6 years agoUpdate QS pagination dots color.
Amin Shaikh [Tue, 27 Feb 2018 16:13:31 +0000 (11:13 -0500)]
Update QS pagination dots color.

Bug: 73312177
Test: visual
Change-Id: I4072dc245fb525fdeef42d4334f96fa1f74c0ff7

6 years agoMerge changes I7ce670f5,I0bd2de38
TreeHugger Robot [Tue, 27 Feb 2018 16:11:02 +0000 (16:11 +0000)]
Merge changes I7ce670f5,I0bd2de38

* changes:
  Preload with RELRO sharing in the WebView zygote.
  Make WebViewLibraryLoader interface more flexible.

6 years agoMerge "BackgroundDexOptService: skip low battery check if not present"
Treehugger Robot [Tue, 27 Feb 2018 15:24:28 +0000 (15:24 +0000)]
Merge "BackgroundDexOptService: skip low battery check if not present"

6 years agoMove transport constant to BackupTransport API
Annie Meng [Tue, 20 Feb 2018 12:06:56 +0000 (12:06 +0000)]
Move transport constant to BackupTransport API

Previously, the transport registration extra was a private
constant. Since GMSCore depends on this value being passed, moving
it to a public API prevents having to define it twice in
framework and GMSCore, and ensures compatibility between the two.

TODO: Update GMSCore with this constant once this drops
into GMSCore.

Bug: 72730566
Test: 1) m -j ROBOTEST_FILTER=TransportManagerTest RunFrameworksServicesRoboTests
2) m -j ROBOTEST_FILTER=TransportClientManagerTest RunFrameworksServicesRoboTests

Change-Id: I8f7a2ca0275047a5d3cc1a530cd86499d0170f2f

6 years agoMerge "More tests for ActiveRestoreSession"
Bernardo Rufino [Tue, 27 Feb 2018 15:05:02 +0000 (15:05 +0000)]
Merge "More tests for ActiveRestoreSession"

6 years ago[Magnifier-27] Make it more prominent
Mihai Popa [Tue, 27 Feb 2018 14:25:52 +0000 (14:25 +0000)]
[Magnifier-27] Make it more prominent

When used on views with a dark background, the magnifier does not really
stand out from the view, which is potentially confusing for users. This
CL mixes the magnifier content with 5% white in order to make the
magnifier more prominent on dark backgrounds. Also, the CL increases the
elevation of the magnifier window, useful in light backgrounds.

Bug: 70608551
Test: manual testing
Test: atest CtsWidgetTestCases:android.widget.cts.MagnifierTest
Change-Id: I7c6e4418b49b7fe0d69344668fa66d39417b4ecc

6 years agoMerge "Add prefix to ImageDecoder.Allocator"
TreeHugger Robot [Tue, 27 Feb 2018 13:53:18 +0000 (13:53 +0000)]
Merge "Add prefix to ImageDecoder.Allocator"