OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Pass forward listeners when using existing builder"
TreeHugger Robot [Thu, 1 Mar 2018 23:51:26 +0000 (23:51 +0000)]
Merge "Pass forward listeners when using existing builder"

6 years agoMerge "Added indication update mode support" am: 03664c94ae am: 3ab2a5bced
Jack Yu [Thu, 1 Mar 2018 21:44:15 +0000 (21:44 +0000)]
Merge "Added indication update mode support" am: 03664c94ae am: 3ab2a5bced
am: 1b7ce444f2  -s ours

Change-Id: I0b5382db36999e65f56b738acb92c4e24dd7e076

6 years agoMerge "Bluetooth: Remove adjustAvrcpAbsoluteVolume" am: 2cd2a6aef0 am: ad2f9017ad
Ajay Panicker [Thu, 1 Mar 2018 21:35:34 +0000 (21:35 +0000)]
Merge "Bluetooth: Remove adjustAvrcpAbsoluteVolume" am: 2cd2a6aef0 am: ad2f9017ad
am: d8185da227

Change-Id: Id99f889cb15789f36bc2c9c57ebdc58f730eb800

6 years agoMerge "Added indication update mode support" am: 03664c94ae
Jack Yu [Thu, 1 Mar 2018 21:34:24 +0000 (21:34 +0000)]
Merge "Added indication update mode support" am: 03664c94ae
am: 3ab2a5bced

Change-Id: I82fc7c5e7b439dd202c48dddbb1e788612aa613c

6 years agoMerge "Bluetooth: Remove adjustAvrcpAbsoluteVolume" am: 2cd2a6aef0
Ajay Panicker [Thu, 1 Mar 2018 21:27:16 +0000 (21:27 +0000)]
Merge "Bluetooth: Remove adjustAvrcpAbsoluteVolume" am: 2cd2a6aef0
am: ad2f9017ad

Change-Id: I2526a89c6f366a77dbbeb0b3310438cbef2af857

6 years agoMerge "Added indication update mode support"
Jack Yu [Thu, 1 Mar 2018 21:26:34 +0000 (21:26 +0000)]
Merge "Added indication update mode support"
am: 03664c94ae

Change-Id: I17685418cc44e78e3bdbd69d68591efe7d2922e5

6 years agoMerge "Recommend res/animator/ for animator style res in AVD"
Doris Liu [Thu, 1 Mar 2018 21:21:02 +0000 (21:21 +0000)]
Merge "Recommend res/animator/ for animator style res in AVD"

6 years agoMerge "Bluetooth: Remove adjustAvrcpAbsoluteVolume"
Ajay Panicker [Thu, 1 Mar 2018 21:15:29 +0000 (21:15 +0000)]
Merge "Bluetooth: Remove adjustAvrcpAbsoluteVolume"
am: 2cd2a6aef0

Change-Id: I133d1167c01d6f8433bdc63fba21f113e8098d8e

6 years agoMerge "BatteryStats: Add synchronization to BluetoothStats"
TreeHugger Robot [Thu, 1 Mar 2018 20:57:31 +0000 (20:57 +0000)]
Merge "BatteryStats: Add synchronization to BluetoothStats"

6 years agoMerge "WebView: add @NonNull annotation to API"
TreeHugger Robot [Thu, 1 Mar 2018 20:42:35 +0000 (20:42 +0000)]
Merge "WebView: add @NonNull annotation to API"

6 years agoMerge "Added indication update mode support"
Jack Yu [Thu, 1 Mar 2018 20:04:29 +0000 (20:04 +0000)]
Merge "Added indication update mode support"

6 years agoMerge "Bluetooth: Remove adjustAvrcpAbsoluteVolume"
Treehugger Robot [Thu, 1 Mar 2018 19:41:12 +0000 (19:41 +0000)]
Merge "Bluetooth: Remove adjustAvrcpAbsoluteVolume"

6 years agoMerge "Enable new yaml file for reference nav that lists all framework files." into...
Scott Main [Thu, 1 Mar 2018 19:37:38 +0000 (19:37 +0000)]
Merge "Enable new yaml file for reference nav that lists all framework files." into oc-mr1-dev am: e3c0216f95
am: 91ca55c174

Change-Id: I04555e22ddd6a26904e0c83d1113d67ff13e69a2

6 years agoRecommend res/animator/ for animator style res in AVD
Doris Liu [Thu, 1 Mar 2018 19:11:44 +0000 (11:11 -0800)]
Recommend res/animator/ for animator style res in AVD

BUG: 74074384
Test: Visual inspection
Change-Id: Ifd268efd85124c7597b5b135a3dbe13d009dc917

6 years agoMerge "Update javadoc for SearchManager api on TV."
Leif Wilden [Thu, 1 Mar 2018 19:23:31 +0000 (19:23 +0000)]
Merge "Update javadoc for SearchManager api on TV."

6 years agoMerge "Enable new yaml file for reference nav that lists all framework files." into...
Scott Main [Thu, 1 Mar 2018 19:21:50 +0000 (19:21 +0000)]
Merge "Enable new yaml file for reference nav that lists all framework files." into oc-mr1-dev
am: e3c0216f95

Change-Id: I535787ff921cb6e6978e57dd775e7446f67195f8

6 years agoMerge "Add result code for eUICC card not found."
Jiuyu Sun [Thu, 1 Mar 2018 19:21:32 +0000 (19:21 +0000)]
Merge "Add result code for eUICC card not found."

6 years agoBluetooth: Remove adjustAvrcpAbsoluteVolume
Ajay Panicker [Wed, 28 Feb 2018 19:36:07 +0000 (11:36 -0800)]
Bluetooth: Remove adjustAvrcpAbsoluteVolume

The AudioManager now handles all calculations for volume stepping now
and no longer uses adjustAvrcpAbsoluteVolume.

Bug: 68812037
Test: Compile
Change-Id: I9cbf7989e49738c7a43fe3142aced5803111271e

6 years agoMerge "Enable new yaml file for reference nav that lists all framework files." into...
Scott Main [Thu, 1 Mar 2018 19:04:08 +0000 (19:04 +0000)]
Merge "Enable new yaml file for reference nav that lists all framework files." into oc-mr1-dev

6 years agoEnable new yaml file for reference nav that lists all framework files.
Scott Main [Tue, 19 Dec 2017 21:43:45 +0000 (13:43 -0800)]
Enable new yaml file for reference nav that lists all framework files.

This depends on DocLava changes in ag/3382461

bug: b/69845924

test: make ds-docs

Change-Id: I4acd2c2034581b349ab4c00cbfe195ee5eca2354

6 years agoMerge "cas: explicitly define possible key id values"
TreeHugger Robot [Thu, 1 Mar 2018 18:50:18 +0000 (18:50 +0000)]
Merge "cas: explicitly define possible key id values"

6 years agoAdded indication update mode support
Jack Yu [Tue, 27 Feb 2018 23:15:14 +0000 (15:15 -0800)]
Added indication update mode support

Adde the indication update mode support so that a system
component can control the behavior of indication update. This
will be used by the bluetooth stack when some BT devices such like
carkit is connected, modem will continue update the signal strength
even when the screen is off.

Test: Manual
Bug: 65112388
Merged-In: I4bb4894eaaba401f655e5dc25138275f5e8498e1
Change-Id: I4bb4894eaaba401f655e5dc25138275f5e8498e1
(cherry picked from commit 1a1c35750b2612e040c9392b4d0d6f4e1a2b3b8a)

6 years agoMerge "Force loading of safe labels in system_server."
Jeff Sharkey [Thu, 1 Mar 2018 18:04:16 +0000 (18:04 +0000)]
Merge "Force loading of safe labels in system_server."

6 years agoMerge "TURN OFF -> Turn off"
TreeHugger Robot [Thu, 1 Mar 2018 17:57:21 +0000 (17:57 +0000)]
Merge "TURN OFF -> Turn off"

6 years agoMerge "Use non-condensed font for QS labels"
TreeHugger Robot [Thu, 1 Mar 2018 17:52:24 +0000 (17:52 +0000)]
Merge "Use non-condensed font for QS labels"

6 years agoMerge "Sanity check to avoice NPE if an app-provided URI is invalid."
TreeHugger Robot [Thu, 1 Mar 2018 17:31:40 +0000 (17:31 +0000)]
Merge "Sanity check to avoice NPE if an app-provided URI is invalid."

6 years agoMerge "Removed AMS.updatePersistableUriPermission()"
TreeHugger Robot [Thu, 1 Mar 2018 17:30:33 +0000 (17:30 +0000)]
Merge "Removed AMS.updatePersistableUriPermission()"

6 years agoMerge "Send ACTION_POWER_SAVE_MODE_CHANGING to secondary users too"
TreeHugger Robot [Thu, 1 Mar 2018 17:27:26 +0000 (17:27 +0000)]
Merge "Send ACTION_POWER_SAVE_MODE_CHANGING to secondary users too"

6 years agoMerge "Mark location classes as Parcelable appropriately"
Arthur Ishiguro [Thu, 1 Mar 2018 17:10:14 +0000 (17:10 +0000)]
Merge "Mark location classes as Parcelable appropriately"

6 years agoMerge "Only animate drag handle alpha, not translation."
TreeHugger Robot [Thu, 1 Mar 2018 16:56:31 +0000 (16:56 +0000)]
Merge "Only animate drag handle alpha, not translation."

6 years agoMerge "Tweak DateFormat.is24HourFormat javadoc to be more explicit." am: 093c509c40...
Przemyslaw Szczepaniak [Thu, 1 Mar 2018 16:55:45 +0000 (16:55 +0000)]
Merge "Tweak DateFormat.is24HourFormat javadoc to be more explicit." am: 093c509c40 am: 031b91574d
am: 54ebb3e0b7

Change-Id: Ie218259d09539ec004ccf9fca88133227323d6e2

6 years agoMerge "Tweak DateFormat.is24HourFormat javadoc to be more explicit." am: 093c509c40
Przemyslaw Szczepaniak [Thu, 1 Mar 2018 16:43:31 +0000 (16:43 +0000)]
Merge "Tweak DateFormat.is24HourFormat javadoc to be more explicit." am: 093c509c40
am: 031b91574d

Change-Id: I50385cb665a557baad8b271bcfd4431072db7592

6 years agoMerge "Tweak DateFormat.is24HourFormat javadoc to be more explicit."
Przemyslaw Szczepaniak [Thu, 1 Mar 2018 16:37:13 +0000 (16:37 +0000)]
Merge "Tweak DateFormat.is24HourFormat javadoc to be more explicit."
am: 093c509c40

Change-Id: I562562c1abc3a5a64820ca5eaa244f00a75c4200

6 years agoMerge "Add temporary logging for state transitions."
Bryce Lee [Thu, 1 Mar 2018 16:33:54 +0000 (16:33 +0000)]
Merge "Add temporary logging for state transitions."

6 years agoTURN OFF -> Turn off
Amin Shaikh [Thu, 1 Mar 2018 16:31:09 +0000 (11:31 -0500)]
TURN OFF -> Turn off

Bug: 72549790
Test: visual
Change-Id: I756c7893a00ec701c8112e878bbcb2b7b0d0319e

6 years agoMerge "Use destroy in transaction for animation"
Chavi Weingarten [Thu, 1 Mar 2018 16:28:32 +0000 (16:28 +0000)]
Merge "Use destroy in transaction for animation"

6 years agoUse non-condensed font for QS labels
Evan Laird [Thu, 1 Mar 2018 16:13:58 +0000 (11:13 -0500)]
Use non-condensed font for QS labels

Test: visual
Change-Id: Iab2f2ff09a5c62f86730b90aa47f9cb2179ce2e5
Fixes: 74022469

6 years agoMerge "Remove calls to setAccount and getAccount in test"
TreeHugger Robot [Thu, 1 Mar 2018 15:11:16 +0000 (15:11 +0000)]
Merge "Remove calls to setAccount and getAccount in test"

6 years agoMerge "Tweak DateFormat.is24HourFormat javadoc to be more explicit."
Przemyslaw Szczepaniak [Thu, 1 Mar 2018 15:11:14 +0000 (15:11 +0000)]
Merge "Tweak DateFormat.is24HourFormat javadoc to be more explicit."

6 years agoOnly animate drag handle alpha, not translation.
Amin Shaikh [Thu, 1 Mar 2018 14:03:52 +0000 (09:03 -0500)]
Only animate drag handle alpha, not translation.

Bug: 73312177
Test: visual
Change-Id: I47f1bc0f0bf72a73c3e42c5cdd7df3c22218f7aa

6 years agoMerge "DisplayCutout: Add xml wrapper for layoutInDisplayCutoutMode"
Adrian Roos [Thu, 1 Mar 2018 13:57:22 +0000 (13:57 +0000)]
Merge "DisplayCutout: Add xml wrapper for layoutInDisplayCutoutMode"

6 years agoRemove calls to setAccount and getAccount in test
Robert Berry [Thu, 1 Mar 2018 13:21:07 +0000 (13:21 +0000)]
Remove calls to setAccount and getAccount in test

This param is now deprecated.

Test: runtest frameworks-services -p \
      com.android.server.locksettings.recoverablekeystore

Change-Id: I318edba915cb15280b884181ae868b4b07a35098

6 years agoMerge "Merge "frameworks/base: Set LOCAL_SDK_VERSION where possible." am: c164c83191...
Android Build Merger (Role) [Thu, 1 Mar 2018 12:06:09 +0000 (12:06 +0000)]
Merge "Merge "frameworks/base: Set LOCAL_SDK_VERSION where possible." am: c164c83191 am: 9ee9e6b2b6 am: 09ad1cbdc0  -s ours"

6 years agoMerge "frameworks/base: Set LOCAL_SDK_VERSION where possible." am: c164c83191 am...
Anton Hansson [Thu, 1 Mar 2018 12:05:36 +0000 (12:05 +0000)]
Merge "frameworks/base: Set LOCAL_SDK_VERSION where possible." am: c164c83191 am: 9ee9e6b2b6
am: 09ad1cbdc0  -s ours

Change-Id: Ie6a6e4241fbf4b614fa0683419e58969559992fe

6 years agoMerge "lowRamDevice TVs can have multi-user"
TreeHugger Robot [Thu, 1 Mar 2018 12:03:29 +0000 (12:03 +0000)]
Merge "lowRamDevice TVs can have multi-user"

6 years agoMerge "frameworks/base: Set LOCAL_SDK_VERSION where possible." am: c164c83191
Anton Hansson [Thu, 1 Mar 2018 11:53:43 +0000 (11:53 +0000)]
Merge "frameworks/base: Set LOCAL_SDK_VERSION where possible." am: c164c83191
am: 9ee9e6b2b6

Change-Id: I984b5ee633078401769d3c649aa9b020715772df

6 years agoMerge "frameworks/base: Set LOCAL_SDK_VERSION where possible."
Anton Hansson [Thu, 1 Mar 2018 11:46:29 +0000 (11:46 +0000)]
Merge "frameworks/base: Set LOCAL_SDK_VERSION where possible."
am: c164c83191

Change-Id: Icd753634a498a9c1a2d2e27ad4e6cd788e7b9e1f

6 years agoMerge "Revert "Complete [add|remove]OnSessionTokensChangedListener""
Clara Bayarri [Thu, 1 Mar 2018 10:44:41 +0000 (10:44 +0000)]
Merge "Revert "Complete [add|remove]OnSessionTokensChangedListener""

6 years agoTweak DateFormat.is24HourFormat javadoc to be more explicit.
Przemyslaw Szczepaniak [Thu, 1 Mar 2018 10:35:57 +0000 (10:35 +0000)]
Tweak DateFormat.is24HourFormat javadoc to be more explicit.

Bug: 32761394
Test: make docs
Change-Id: If10da5b9d63e6e88774e333d5c266e423e6bc7c8

6 years agoMerge "frameworks/base: Set LOCAL_SDK_VERSION where possible."
Anton Hansson [Thu, 1 Mar 2018 10:25:12 +0000 (10:25 +0000)]
Merge "frameworks/base: Set LOCAL_SDK_VERSION where possible."

6 years agoRevert "Complete [add|remove]OnSessionTokensChangedListener"
Esteban Talavera [Thu, 1 Mar 2018 10:13:34 +0000 (10:13 +0000)]
Revert "Complete [add|remove]OnSessionTokensChangedListener"

This reverts commit 86c7d721630ce0c6f4e4069e779e32d591a394c9.

Reason for revert: Broke several targets on git_master

Change-Id: I0876582b5211db90e25897690d57de6b179a50c5

6 years agoMerge "Update javadoc for DISALLOW_SYSTEM_ERROR_DIALOGS"
Benjamin Franz [Thu, 1 Mar 2018 09:30:12 +0000 (09:30 +0000)]
Merge "Update javadoc for DISALLOW_SYSTEM_ERROR_DIALOGS"

6 years agoWebView: add @NonNull annotation to API
Nate Fischer [Thu, 1 Mar 2018 08:55:35 +0000 (00:55 -0800)]
WebView: add @NonNull annotation to API

No change to logic, only an annotation change.

startSafeBrowsing() should never receive a null Context. This adds
@NonNull to hint to developers not to pass null Contexts.

Test: N/A
Change-Id: I46d863047bf7563ea2a1adf592f3f381be95ca49

6 years agoMerge "Complete [add|remove]OnSessionTokensChangedListener"
Christofer Ã…kersten [Thu, 1 Mar 2018 07:54:03 +0000 (07:54 +0000)]
Merge "Complete [add|remove]OnSessionTokensChangedListener"

6 years agoMerge "MediaPlayer2: clean up APIs"
TreeHugger Robot [Thu, 1 Mar 2018 07:28:35 +0000 (07:28 +0000)]
Merge "MediaPlayer2: clean up APIs"

6 years agoMerge "AudioPolicy: support for add/remove AudioMix without unregistering"
Jean-Michel Trivi [Thu, 1 Mar 2018 07:00:39 +0000 (07:00 +0000)]
Merge "AudioPolicy: support for add/remove AudioMix without unregistering"

6 years agoMerge "Add TCM.getTextClassifier(int type)"
Abodunrinwa Toki [Thu, 1 Mar 2018 06:38:24 +0000 (06:38 +0000)]
Merge "Add TCM.getTextClassifier(int type)"

6 years agoMerge "Fix up NetworkCapabilities' toString" am: 7959e70ef2 am: 773523a667
Chalard Jean [Thu, 1 Mar 2018 06:13:04 +0000 (06:13 +0000)]
Merge "Fix up NetworkCapabilities' toString" am: 7959e70ef2 am: 773523a667
am: 669194a830

Change-Id: I3d3f3f34f30b69750e197b185c4e70bd360f35e0

6 years agoMerge "Plumb PhysicalChannelConfig all the way up." am: 44d13875ff am: c870528371
Eric Schwarzenbach [Thu, 1 Mar 2018 05:57:20 +0000 (05:57 +0000)]
Merge "Plumb PhysicalChannelConfig all the way up." am: 44d13875ff am: c870528371
am: 7771e91a99

Change-Id: Ia0a69386981e2984472e9153c161cca7bfccc9dd

6 years agoMerge "Fix up NetworkCapabilities' toString" am: 7959e70ef2
Chalard Jean [Thu, 1 Mar 2018 05:56:33 +0000 (05:56 +0000)]
Merge "Fix up NetworkCapabilities' toString" am: 7959e70ef2
am: 773523a667

Change-Id: I2f1578589232c49574dbf401d7f4becfa350a1c0

6 years agoMerge "Fix up NetworkCapabilities' toString"
Chalard Jean [Thu, 1 Mar 2018 05:48:14 +0000 (05:48 +0000)]
Merge "Fix up NetworkCapabilities' toString"
am: 7959e70ef2

Change-Id: I21e66bc78a763f9e37725f50ca8b406ac7259518

6 years agoMerge "Plumb PhysicalChannelConfig all the way up." am: 44d13875ff
Eric Schwarzenbach [Thu, 1 Mar 2018 05:47:20 +0000 (05:47 +0000)]
Merge "Plumb PhysicalChannelConfig all the way up." am: 44d13875ff
am: c870528371

Change-Id: I2b57a55e8bb36ba24578c00e2afaebfc21e0e4c3

6 years agoMerge "Plumb PhysicalChannelConfig all the way up."
Eric Schwarzenbach [Thu, 1 Mar 2018 05:38:49 +0000 (05:38 +0000)]
Merge "Plumb PhysicalChannelConfig all the way up."
am: 44d13875ff

Change-Id: I37f039ea44114b48b44bce7174deb3d55b2667fc

6 years agoMerge "Fix "app doesn't support backup and restore" bug"
Makoto Onuki [Thu, 1 Mar 2018 05:35:49 +0000 (05:35 +0000)]
Merge "Fix "app doesn't support backup and restore" bug"

6 years agoMerge "MediaSession2: Unhide setAudioFocusRequest"
TreeHugger Robot [Thu, 1 Mar 2018 05:11:24 +0000 (05:11 +0000)]
Merge "MediaSession2: Unhide setAudioFocusRequest"

6 years agoAudioPolicy: support for add/remove AudioMix without unregistering
Jean-Michel Trivi [Wed, 14 Feb 2018 16:57:46 +0000 (08:57 -0800)]
AudioPolicy: support for add/remove AudioMix without unregistering

System API for a registered AudioPolicy to attach or detach
  AudioMix without having to unregister, and then registering
  the new mix configuration.

Bug: 63906162
Test: AudioPolicyTest

Change-Id: Ib2fea8aa034d3f7b498e76dc1fc51c1ea508d3a2

6 years agoMerge "Remove RemoteSurfaceTrace functionality."
TreeHugger Robot [Thu, 1 Mar 2018 04:21:25 +0000 (04:21 +0000)]
Merge "Remove RemoteSurfaceTrace functionality."

6 years agoMerge "Fix up NetworkCapabilities' toString"
Chalard Jean [Thu, 1 Mar 2018 04:01:16 +0000 (04:01 +0000)]
Merge "Fix up NetworkCapabilities' toString"

6 years agoMediaPlayer2: clean up APIs
Wei Jia [Fri, 23 Feb 2018 17:16:08 +0000 (09:16 -0800)]
MediaPlayer2: clean up APIs

Make MediaPlayer2 derived from MediaPlayerBase
Test: MediaPlayer2 plays
Bug: 63934228
Change-Id: Ib31e3196ad65c694f778a8a79277e53017a7026f

6 years agoMerge "Plumb PhysicalChannelConfig all the way up."
Treehugger Robot [Thu, 1 Mar 2018 03:48:32 +0000 (03:48 +0000)]
Merge "Plumb PhysicalChannelConfig all the way up."

6 years agoMerge "MediaSession2: Refine APIs"
TreeHugger Robot [Thu, 1 Mar 2018 03:39:31 +0000 (03:39 +0000)]
Merge "MediaSession2: Refine APIs"

6 years agoMediaSession2: Unhide setAudioFocusRequest
Sungsoo Lim [Thu, 1 Mar 2018 00:08:40 +0000 (09:08 +0900)]
MediaSession2: Unhide setAudioFocusRequest

Bug: 64098437
Test: make update-api
Change-Id: I9244719e1a771ab7b420a95af6ba43faef7b352c

6 years agoMark location classes as Parcelable appropriately
Arthur Ishiguro [Wed, 28 Feb 2018 19:27:50 +0000 (11:27 -0800)]
Mark location classes as Parcelable appropriately

Doesn't add the "final" qualifier,
since make will throw errors due to compatibility issues.

Bug: 69622177
Test: Run CHQTS from master and oc-mr1-dev, verify pass
Change-Id: If02203d7862e77ca4fda7b95a39bbfa3d9f6d87d

6 years agoMerge "Prevent ripple animation when swiping up for quick step"
TreeHugger Robot [Thu, 1 Mar 2018 03:06:23 +0000 (03:06 +0000)]
Merge "Prevent ripple animation when swiping up for quick step"

6 years agoMerge "Reformat Android.bp file"
Logan Chien [Thu, 1 Mar 2018 03:00:30 +0000 (03:00 +0000)]
Merge "Reformat Android.bp file"

6 years agoMerge "Make activity-alias inherit "enableVrMode" attribute from target activity."
TreeHugger Robot [Thu, 1 Mar 2018 02:59:49 +0000 (02:59 +0000)]
Merge "Make activity-alias inherit "enableVrMode" attribute from target activity."

6 years agoMerge "Fix link-type check warning on com.android.mediadrm.signer"
TreeHugger Robot [Thu, 1 Mar 2018 02:47:23 +0000 (02:47 +0000)]
Merge "Fix link-type check warning on com.android.mediadrm.signer"

6 years agoMerge "Fix link-type check warning on com.android.media.remotedisplay"
TreeHugger Robot [Thu, 1 Mar 2018 02:47:15 +0000 (02:47 +0000)]
Merge "Fix link-type check warning on com.android.media.remotedisplay"

6 years agoMerge "autofill: touch on IME should not close autofill"
Dake Gu [Thu, 1 Mar 2018 02:40:03 +0000 (02:40 +0000)]
Merge "autofill: touch on IME should not close autofill"

6 years agoMerge "Add default implementation to handle master dev option switch."
TreeHugger Robot [Thu, 1 Mar 2018 02:38:47 +0000 (02:38 +0000)]
Merge "Add default implementation to handle master dev option switch."

6 years agoMerge "Don't hold the WM lock when canceling recents animation"
Winson Chung [Thu, 1 Mar 2018 02:33:54 +0000 (02:33 +0000)]
Merge "Don't hold the WM lock when canceling recents animation"

6 years agoMerge "Add setting for off body, radio off feature"
TreeHugger Robot [Thu, 1 Mar 2018 02:24:10 +0000 (02:24 +0000)]
Merge "Add setting for off body, radio off feature"

6 years agoMerge changes I5c2facba,I2fecbeaa,I045ddf19,I961d190d
TreeHugger Robot [Thu, 1 Mar 2018 02:06:40 +0000 (02:06 +0000)]
Merge changes I5c2facba,I2fecbeaa,I045ddf19,I961d190d

* changes:
  Move frame validation logic for deferTransactionUntil.
  Handle surfaceInset changes with deferred transactions.
  Various pinned animation bug fixes.
  Nuke WindowState#mShownPosition. Rework mXOffset/mYOffset.

6 years agoSanity check to avoice NPE if an app-provided URI is invalid.
Felipe Leme [Thu, 1 Mar 2018 01:37:52 +0000 (17:37 -0800)]
Sanity check to avoice NPE if an app-provided URI is invalid.

Test: atest VirtualContainerActivityCompatModeTest#testAutofillSync

Fixes: 73790788

Change-Id: Ic73eb800f4532425effb03396f0ab455142ab6dc

6 years agoMediaSession2: Refine APIs
Sungsoo Lim [Tue, 27 Feb 2018 12:39:50 +0000 (21:39 +0900)]
MediaSession2: Refine APIs

Bug: 64098437
Test: passed MediaComponentTest
Change-Id: I40e1ef141e47d17e2bfa0a689a680b45a3d73b03

6 years agoMerge "Auto set summary on preference during updateState"
TreeHugger Robot [Thu, 1 Mar 2018 01:29:22 +0000 (01:29 +0000)]
Merge "Auto set summary on preference during updateState"

6 years agoMerge "Add attr for customizing progress bar corner radius."
TreeHugger Robot [Thu, 1 Mar 2018 01:27:16 +0000 (01:27 +0000)]
Merge "Add attr for customizing progress bar corner radius."

6 years agoMerge "NEW API: Add Image.getHardwareBuffer()"
TreeHugger Robot [Thu, 1 Mar 2018 01:26:14 +0000 (01:26 +0000)]
Merge "NEW API: Add Image.getHardwareBuffer()"

6 years agoMerge "Finish ops started on behalf of a removed package."
TreeHugger Robot [Thu, 1 Mar 2018 01:11:35 +0000 (01:11 +0000)]
Merge "Finish ops started on behalf of a removed package."

6 years agoMerge "Use start/finish app ops in window manager"
TreeHugger Robot [Thu, 1 Mar 2018 01:11:25 +0000 (01:11 +0000)]
Merge "Use start/finish app ops in window manager"

6 years agoMerge "addModemTxPowerToHistory() made synchronized"
TreeHugger Robot [Thu, 1 Mar 2018 01:06:38 +0000 (01:06 +0000)]
Merge "addModemTxPowerToHistory() made synchronized"

6 years agoSend ACTION_POWER_SAVE_MODE_CHANGING to secondary users too
Makoto Onuki [Thu, 1 Mar 2018 00:56:21 +0000 (16:56 -0800)]
Send ACTION_POWER_SAVE_MODE_CHANGING to secondary users too

Change-Id: I161506575390f8e28cdfbb2d684c18e10aab5aa5
Fix: 73963359
Test: manual test on a guest user on the BS setting screen.

6 years agoMerge "Ringtone: unhide looping and volume control"
Jean-Michel Trivi [Thu, 1 Mar 2018 00:57:31 +0000 (00:57 +0000)]
Merge "Ringtone: unhide looping and volume control"

6 years agoMerge "Rename dumpsys protos to make platform proto names consistent."
TreeHugger Robot [Thu, 1 Mar 2018 00:54:51 +0000 (00:54 +0000)]
Merge "Rename dumpsys protos to make platform proto names consistent."

6 years agoMerge "Fixes set lock task (and screen pinning) state with/out quickstep"
TreeHugger Robot [Thu, 1 Mar 2018 00:41:50 +0000 (00:41 +0000)]
Merge "Fixes set lock task (and screen pinning) state with/out quickstep"

6 years agoFix "app doesn't support backup and restore" bug
Makoto Onuki [Thu, 1 Mar 2018 00:25:40 +0000 (16:25 -0800)]
Fix "app doesn't support backup and restore" bug

Always make sure to scan all packages before back up. There was a case
where SPI.updateFromPackageInfo() wasn't called before backup.

Fix: 72638013
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest1 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest2 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest3 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest4 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest5 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest6 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest7 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest8 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest9 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest10 -w com.android.frameworks.servicestests
Test: atest CtsShortcutHostTestCases
Change-Id: I7fd39a62924a2d3724dfbd759ed157933af3f357

6 years agoPrevent ripple animation when swiping up for quick step
Matthew Ng [Wed, 28 Feb 2018 19:55:52 +0000 (11:55 -0800)]
Prevent ripple animation when swiping up for quick step

Do not show animation of ripple on navigation bar buttons when swiping
up trigging quick step. The ripple is only shown when quick step is
disabled, tapping the button or long press on the button.

Bug: 67957962
Test: swipe up over home/back button
Change-Id: Ia9325eac61d18b99a39902fc0d368aa1fcb1d4d7

6 years agoautofill: touch on IME should not close autofill
Dake Gu [Mon, 26 Feb 2018 20:25:14 +0000 (12:25 -0800)]
autofill: touch on IME should not close autofill

ag/3434666 causes a regression:
Before ag/3434666, autofill gets touch event after IME, autofill
close itself if it gets ACTION_OUTSIDE touch event.
But after ag/3434666, autofill intercepts touch events before IME, if
user touches within IME, autofill still gets ACTION_OUTSIDE event,
and close itself unexpectedly.

The fix moves the closing code to ViewRootImpl.EarlyPostImeStage
around the same place closing tooltip.

If user taps outside autofill window, we will force to close window,
even last autofillid that requestShowUi does not match.

Bug: 73796497
Test: atest CtsAutoFillServiceTestCases
Test: Added LoginActivityTest.testAutofillTapOutside
Test: manually tested using IME and sample app
TODO: need a fake IME service to dispatch given key upon touch.

Change-Id: I10fc0d29dc30d29a48b2118264ec1c4375062deb

6 years agoMerge "pm: Fix typo in error" am: a12e18bcd1 am: a79fef132b
Joe Maples [Thu, 1 Mar 2018 00:09:25 +0000 (00:09 +0000)]
Merge "pm: Fix typo in error" am: a12e18bcd1 am: a79fef132b
am: 1ec4c3b3b1

Change-Id: I9d1b48c0852bc75108ab72cd4c58c08a43b62a8b

6 years agoAdd default implementation to handle master dev option switch.
Doris Ling [Thu, 1 Mar 2018 00:06:19 +0000 (16:06 -0800)]
Add default implementation to handle master dev option switch.

- subclass that does not override the methods will inherit the default
behavior: preference will be enabled/disabled when the top level
developer options switch is turned on/off.

Bug: 73955632
Test: make RunSettingsLibRoboTests
Change-Id: I477170afd7eb4d74a807c933dcc254ff7a4bbd96