OSDN Git Service
TreeHugger Robot [Fri, 23 Feb 2018 07:53:51 +0000 (07:53 +0000)]
Merge "MediaControlView2: Add Support for Ad"
Cassie [Fri, 23 Feb 2018 07:07:18 +0000 (07:07 +0000)]
Merge "Add comments according to the API review process." am:
e9a215b238 am:
b3b458b9ad
am:
b1b06cbaf5
Change-Id: Ic90fe7f73ae2442e5bd3c8e7f69e70c1b5332ff6
Cassie [Fri, 23 Feb 2018 06:56:56 +0000 (06:56 +0000)]
Merge "Add comments according to the API review process." am:
e9a215b238
am:
b3b458b9ad
Change-Id: Ie9c3ce9bc67c08d99ea1c1ebfce5fbc78575baea
TreeHugger Robot [Fri, 23 Feb 2018 06:51:31 +0000 (06:51 +0000)]
Merge changes from topic "update_mapping"
* changes:
Rework how pinning works
Follow prebuilt/API update
Cassie [Fri, 23 Feb 2018 06:45:24 +0000 (06:45 +0000)]
Merge "Add comments according to the API review process."
am:
e9a215b238
Change-Id: I3c079d96e4f8469b3e40eb7e5a9230544c752d57
TreeHugger Robot [Fri, 23 Feb 2018 06:29:26 +0000 (06:29 +0000)]
Merge "Revert "Comment out CustomEditTextPreferenceTest which is failing...""
TreeHugger Robot [Fri, 23 Feb 2018 06:17:20 +0000 (06:17 +0000)]
Merge "Explicitly restart the killed wallpaper service"
TreeHugger Robot [Fri, 23 Feb 2018 06:10:21 +0000 (06:10 +0000)]
Merge "Reset compat mode settings on settings change."
TreeHugger Robot [Fri, 23 Feb 2018 06:06:47 +0000 (06:06 +0000)]
Merge "DisplayCutout: Fix positioning of NO_LIMITS windows"
TreeHugger Robot [Fri, 23 Feb 2018 05:48:18 +0000 (05:48 +0000)]
Merge "OMS: Make updates to category not reset the overlay's state"
Jin Seok Park [Fri, 9 Feb 2018 07:25:46 +0000 (16:25 +0900)]
MediaControlView2: Add Support for Ad
Add APIs for getting/setting MediaMetadata2 in oder to add support
for Advertising media type.
Bug:
73136129
Test: run VideoViewTest.apk
Change-Id: Iab8e23c1f02f4e2df62a6732112b233541f8f35c
Treehugger Robot [Fri, 23 Feb 2018 05:32:35 +0000 (05:32 +0000)]
Merge "Add comments according to the API review process."
TreeHugger Robot [Fri, 23 Feb 2018 05:27:01 +0000 (05:27 +0000)]
Merge "Import translations. DO NOT MERGE"
TreeHugger Robot [Fri, 23 Feb 2018 04:11:13 +0000 (04:11 +0000)]
Merge "Dump last 24 hours of UsageStats events"
TreeHugger Robot [Fri, 23 Feb 2018 03:57:05 +0000 (03:57 +0000)]
Merge "Implement brightness slider spec."
Tracy Zhou [Fri, 23 Feb 2018 03:51:02 +0000 (03:51 +0000)]
Merge "Dismiss PIP window when PIP is disabled from settings."
Selim Cinek [Fri, 23 Feb 2018 03:35:40 +0000 (03:35 +0000)]
Merge "Fixed an issue with a test that didn't work properly"
Selim Cinek [Fri, 23 Feb 2018 02:35:53 +0000 (18:35 -0800)]
Fixed an issue with a test that didn't work properly
This was causing tool failures.
Change-Id: Ia29b2b22dc1e0bf53dfd664280fd69dc110e020b
Fixes:
73791701
Test: runtest systemui
TreeHugger Robot [Fri, 23 Feb 2018 03:21:27 +0000 (03:21 +0000)]
Merge "MediaPlayer2: use long type for media time."
Erik Kline [Fri, 23 Feb 2018 03:08:02 +0000 (03:08 +0000)]
Merge "Allow callers to synchronously block for shutdown" am:
9121322ce7 am:
a49db4d080
am:
d389a22391
Change-Id: Idf60c16ac8003503f33130ddc6276a17fed75108
Erik Kline [Fri, 23 Feb 2018 02:57:42 +0000 (02:57 +0000)]
Merge "Allow callers to synchronously block for shutdown" am:
9121322ce7
am:
a49db4d080
Change-Id: Icd7df06784a0ecf14c8b9b35d579179ffce65ffc
Erik Kline [Fri, 23 Feb 2018 02:46:11 +0000 (02:46 +0000)]
Merge "Allow callers to synchronously block for shutdown"
am:
9121322ce7
Change-Id: Ic0293bf12688e785f4942f0985a8470155fe062b
TreeHugger Robot [Fri, 23 Feb 2018 02:43:24 +0000 (02:43 +0000)]
Merge "Bringing back assistant on long press home button (1/2)"
Dake Gu [Fri, 23 Feb 2018 01:35:55 +0000 (01:35 +0000)]
Merge "autofill: pass keyevent from fillui to app"
Tracy Zhou [Fri, 23 Feb 2018 01:08:53 +0000 (17:08 -0800)]
Dismiss PIP window when PIP is disabled from settings.
The app ops call comes in on a binder thread so we need to post dismissPip() to the main thread.
Bug:
73625696
Test: atest
CtsActivityManagerDeviceTestCases:ActivityManagerPinnedStackTests
Change-Id: I365947934155d0d29ac67ebedc0b35b6d377cb84
Jason Monk [Fri, 23 Feb 2018 01:03:33 +0000 (01:03 +0000)]
Merge "Move metadata key from Slice to SliceManager"
Justin Klaassen [Fri, 23 Feb 2018 00:36:59 +0000 (00:36 +0000)]
Revert "Comment out CustomEditTextPreferenceTest which is failing..."
This reverts commit
4dce2510f3fe76c2b883de5cca80f9d421cf9370.
Reason for revert: Breakage fixed by ag/
3647277.
Change-Id: I827ea4a66b6b083040ae88f57e79bf6de728ad5e
Jason Monk [Fri, 23 Feb 2018 00:28:12 +0000 (19:28 -0500)]
Rework how pinning works
pin/unpin don't require special permissions, just permissions to the
slice, and they stop when the app dies.
Test: uiservicestests
Change-Id: I1d1b6afc7e5577091e55c9cbb58f56337b470acf
Phil Weaver [Fri, 23 Feb 2018 00:31:48 +0000 (00:31 +0000)]
Merge "Use accessibility pane API in keyguard"
Selim Cinek [Fri, 23 Feb 2018 00:18:38 +0000 (00:18 +0000)]
Merge "Disabled presubmit for flakey test"
Wale Ogunwale [Fri, 23 Feb 2018 00:15:30 +0000 (00:15 +0000)]
Merge "Give shell CONTROL_KEYGUARD permission."
Selim Cinek [Fri, 23 Feb 2018 00:13:11 +0000 (16:13 -0800)]
Disabled presubmit for flakey test
Test: runtest systemui
Change-Id: If772052b2c172e62a22958f9996436914d8e8e1b
TreeHugger Robot [Fri, 23 Feb 2018 00:13:01 +0000 (00:13 +0000)]
Merge "Import translations. DO NOT MERGE"
Felipe Leme [Fri, 23 Feb 2018 00:03:43 +0000 (16:03 -0800)]
Reset compat mode settings on settings change.
Test: manual verification
Test: atest CtsAutoFillServiceTestCases:VirtualContainerActivityCompatModeTest
Bug:
73786629
Change-Id: Id77084fe38e75eaedba828d8737e6e465c015400
TreeHugger Robot [Thu, 22 Feb 2018 23:41:24 +0000 (23:41 +0000)]
Merge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 22 Feb 2018 23:25:27 +0000 (23:25 +0000)]
Merge "Fixes home button from moving off its origin position after rotation"
Andre Eisenbach [Thu, 22 Feb 2018 23:18:27 +0000 (23:18 +0000)]
Merge "Add AudioManager.setHearingAidDeviceConnectionState" am:
c3e842fde8 am:
670ecc2279
am:
54f104e84c
Change-Id: I145b732008e979b7c9762e366620f9fd6c15a97f
Adam Lesinski [Thu, 22 Feb 2018 21:32:53 +0000 (13:32 -0800)]
OMS: Make updates to category not reset the overlay's state
- Also change how default overlays are applied. Apply them if no other
overlay is enabled for the same category as the default overlay.
Bug:
73740686
Test: manual
Test: adb shell rm /data/system/overlays.xml && adb reboot #verify that colors are blue
Test: adb pull /data/system/overlays.xml \
&& <edit overlay to remove categories> \
&& adb push overlays.xml /data/system/overlays.xml \
&& adb reboot # verify that colors are blue
Change-Id: If42afd287703e2e159d0087e477c19409f724124
TreeHugger Robot [Thu, 22 Feb 2018 23:12:34 +0000 (23:12 +0000)]
Merge "Add more hidden APIs seen in use to light greylist"
Andre Eisenbach [Thu, 22 Feb 2018 23:02:15 +0000 (23:02 +0000)]
Merge "Add AudioManager.setHearingAidDeviceConnectionState" am:
c3e842fde8
am:
670ecc2279
Change-Id: I9a7a7712d750581cec4131489bca7071ad64ceee
Makoto Onuki [Thu, 22 Feb 2018 22:55:09 +0000 (22:55 +0000)]
Merge "Comment out CustomEditTextPreferenceTest which is failing..."
Andrii Kulian [Thu, 22 Feb 2018 22:54:53 +0000 (22:54 +0000)]
Merge "Improve AM lifecycle event logs"
Makoto Onuki [Thu, 22 Feb 2018 16:32:05 +0000 (08:32 -0800)]
Comment out CustomEditTextPreferenceTest which is failing...
... due to robo.
Until robo gets fixed.
Bug:
73744580
Test: treehuggger
Change-Id: If182ce10a8f24188443d6ed6e3e3ff8228d101d0
Andre Eisenbach [Thu, 22 Feb 2018 22:44:11 +0000 (22:44 +0000)]
Merge "Add AudioManager.setHearingAidDeviceConnectionState"
am:
c3e842fde8
Change-Id: I22a01bb4170b126c59593f938f95bf382beb3dd6
Andrii Kulian [Thu, 22 Feb 2018 22:15:36 +0000 (22:15 +0000)]
Merge "Resume when keyguard start going away"
Hall Liu [Thu, 22 Feb 2018 22:11:31 +0000 (22:11 +0000)]
Merge "RTT bugfixes, part 5" am:
de3eeac84d am:
69b0d8bc97
am:
786012b229 -s ours
Change-Id: Ifb2e1384a935046b3272d05b2707a63b5e75b734
Erik Kline [Thu, 22 Feb 2018 22:05:31 +0000 (22:05 +0000)]
Merge "Allow callers to synchronously block for shutdown"
Hall Liu [Thu, 22 Feb 2018 21:58:59 +0000 (21:58 +0000)]
Merge "RTT bugfixes, part 5" am:
de3eeac84d
am:
69b0d8bc97
Change-Id: I766c0dab4e6b234f14d46193a84b1b970bb8473a
Wei Jia [Tue, 20 Feb 2018 23:01:52 +0000 (15:01 -0800)]
MediaPlayer2: use long type for media time.
add getAudioAttributes
add srcId for DRM callbacks
remove setNextMediaPlayer
Test: MediaPlayer2 plays
Bug:
63934228
Change-Id: Ibc890a9cb2a29ab58ae7eed25f41e96e04ccafcc
TreeHugger Robot [Thu, 22 Feb 2018 21:45:45 +0000 (21:45 +0000)]
Merge "Import translations. DO NOT MERGE"
Hall Liu [Thu, 22 Feb 2018 21:37:09 +0000 (21:37 +0000)]
Merge "RTT bugfixes, part 5"
am:
de3eeac84d
Change-Id: I2e8db964b551f7ab1cc7c286b8fedc553f1e1b8f
Jason Monk [Thu, 22 Feb 2018 21:32:16 +0000 (16:32 -0500)]
Follow prebuilt/API update
Test: make
Change-Id: Ie93a29118d1a767174c0364764de61558b274ef5
TreeHugger Robot [Thu, 22 Feb 2018 21:17:02 +0000 (21:17 +0000)]
Merge "Better javadoc for DevicePolicyManager#getTransferOwnershipBundle."
TreeHugger Robot [Thu, 22 Feb 2018 21:14:48 +0000 (21:14 +0000)]
Merge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 22 Feb 2018 21:10:28 +0000 (21:10 +0000)]
Merge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 22 Feb 2018 21:06:53 +0000 (21:06 +0000)]
Merge "Import translations. DO NOT MERGE"
Amin Shaikh [Wed, 21 Feb 2018 20:52:36 +0000 (15:52 -0500)]
Implement brightness slider spec.
Bug:
72991368
Test: visual
Change-Id: I5168f0a30d8a325c3c8d84ff26419240db18a634
Andre Eisenbach [Thu, 22 Feb 2018 20:49:03 +0000 (20:49 +0000)]
Merge "Add AudioManager.setHearingAidDeviceConnectionState"
Wale Ogunwale [Thu, 22 Feb 2018 20:36:55 +0000 (12:36 -0800)]
Give shell CONTROL_KEYGUARD permission.
Follow-up to ag/
3614843 where we started to enforce the permission in
window manager.
Bug:
67109817
Test: builds
Change-Id: Id5712d2ed4c537da3a443f9c51aa15e3c84d670b
Matthew Ng [Wed, 21 Feb 2018 23:38:21 +0000 (15:38 -0800)]
Bringing back assistant on long press home button (1/2)
Triggering assistant should have the home button animations run.
Prevent long press to start quickscrub.
Bug:
70180755
Test: long press home with quick step enabled
Change-Id: I8bb75210b1bd15eeb97a8b2bf9bbe022f1822dfe
Jakub Pawlowski [Wed, 21 Feb 2018 21:28:46 +0000 (13:28 -0800)]
Add AudioManager.setHearingAidDeviceConnectionState
This will be used by Bluetooth to notify audio framework when Hearing
Aid is connected or disconnected.
Bug:
69623109
Test: mm
Change-Id: I5664d8bd20e36601eea815c0d6e55c3b1d49e4ea
Jeff Sharkey [Thu, 22 Feb 2018 20:19:25 +0000 (20:19 +0000)]
Merge "Bugreport SAF provider isn't "advanced.""
Jiuyu Sun [Thu, 22 Feb 2018 20:16:39 +0000 (20:16 +0000)]
Merge "Add device capabilities."
TreeHugger Robot [Thu, 22 Feb 2018 19:58:38 +0000 (19:58 +0000)]
Merge "Split query permission from update permission"
Mathew Inwood [Thu, 22 Feb 2018 19:26:19 +0000 (19:26 +0000)]
Merge "Populate hiddenapi whitelist." am:
2519de11c3 am:
37d670a083
am:
ca7e42317f
Change-Id: I9549a42daaf469d286b92b249881838b3a50fab6
Selim Cinek [Thu, 22 Feb 2018 19:20:47 +0000 (19:20 +0000)]
Merge "Fixed a NP when replying to a message"
Yahan Zhou [Thu, 22 Feb 2018 19:17:49 +0000 (19:17 +0000)]
Merge "Start UsbService in emulator"
Hall Liu [Thu, 22 Feb 2018 19:16:41 +0000 (19:16 +0000)]
Merge "RTT bugfixes, part 5"
Erik Kline [Wed, 21 Feb 2018 22:47:09 +0000 (14:47 -0800)]
Allow callers to synchronously block for shutdown
Add a simple CountDownLatch and a public method that callers can use
to block until IpClient has cleanly shutdown the state machine.
In cases where IpClients are created and destroyed dynamically for
the same interface name, this can be used to make sure only one
IpClient at a time is touching the given interface.
Test: as follows
- built
- flashed
- booted
- OTG ethernet works (i.e. client mode)
- removing and reinserting the ethernet dongle continues
to show the <-> Ethernet sysui icon and basic network
connectivity works
- removing and reinserting the cable (link up/down events)
also shows the <-> Ethernet sysui icon and basic network
connectivity works
Bug:
62476366
Change-Id: If4bffd54b7ebc088ec07cac10251e451f8161b6c
Jeff Sharkey [Thu, 22 Feb 2018 19:10:24 +0000 (19:10 +0000)]
Merge "NetworkCapabilities needs UID to be satisfied."
Mathew Inwood [Thu, 22 Feb 2018 19:05:33 +0000 (19:05 +0000)]
Merge "Populate hiddenapi whitelist." am:
2519de11c3
am:
37d670a083
Change-Id: Ic859a5b988ad88430c95590e10439f24f2dfecea
TreeHugger Robot [Thu, 22 Feb 2018 19:02:27 +0000 (19:02 +0000)]
Merge "Import translations. DO NOT MERGE"
Mathew Inwood [Thu, 22 Feb 2018 18:56:44 +0000 (18:56 +0000)]
Merge "Populate hiddenapi whitelist."
am:
2519de11c3
Change-Id: I0b6139661f07352acdbd62a83cff2bba2b667b9b
Chong Zhang [Fri, 16 Feb 2018 19:57:09 +0000 (11:57 -0800)]
MediaMuxer: clear file content when writing to existing file
bug:
73546869
Change-Id: I7f38ecef1035f1190effae38634d21a3a18cc09f
TreeHugger Robot [Thu, 22 Feb 2018 18:49:15 +0000 (18:49 +0000)]
Merge "Start target package by binding to Service, not starting Activity"
TreeHugger Robot [Thu, 22 Feb 2018 18:34:37 +0000 (18:34 +0000)]
Merge "DisplayCutout: Cache inflations from resources"
arangelov [Thu, 22 Feb 2018 12:36:23 +0000 (12:36 +0000)]
Better javadoc for DevicePolicyManager#getTransferOwnershipBundle.
Test: None
Bug:
73751387
Change-Id: I627fe9825823191e3853deba9bb08da09fbf7c5e
Jeff Sharkey [Thu, 22 Feb 2018 18:19:06 +0000 (18:19 +0000)]
Merge "More consistent controller logging."
TreeHugger Robot [Thu, 22 Feb 2018 18:13:42 +0000 (18:13 +0000)]
Merge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 22 Feb 2018 18:08:59 +0000 (18:08 +0000)]
Merge "Import translations. DO NOT MERGE"
Gus Prevas [Thu, 22 Feb 2018 18:06:54 +0000 (18:06 +0000)]
Merge "Deprecates methods on WearableExtender.Builder which have not been honored since Wear 1.0."
Mady Mellor [Wed, 21 Feb 2018 19:42:31 +0000 (11:42 -0800)]
Move metadata key from Slice to SliceManager
Bug:
73741418
Test: make -j20
Change-Id: Ia22b47d8b6d278944566641b07fcfb0fb7662d07
TreeHugger Robot [Thu, 22 Feb 2018 18:01:42 +0000 (18:01 +0000)]
Merge "Import translations. DO NOT MERGE"
Selim Cinek [Thu, 22 Feb 2018 17:39:41 +0000 (09:39 -0800)]
Fixed a NP when replying to a message
The visbilityChanged listener is only set up later,
so we'll have to add a nullcheck for it.
Change-Id: I1f5843f02fd9c8fc20e26f1de47911e5eb533471
Fixes:
73758799
Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/RemoteInputViewTest.java
Phil Weaver [Wed, 14 Feb 2018 00:02:35 +0000 (16:02 -0800)]
Use accessibility pane API in keyguard
Using the new accessibility pane title API
to identify the pattern, pin, and password unlock
screens.
Bug:
73131182
Test: Verified that accessibility events are properly
sent when unlocking the phone with each of the lock
methods.
Change-Id: I32594f4736b503e7f9e3be96e9f77a84ffcadc54
David Brazdil [Thu, 22 Feb 2018 17:32:33 +0000 (17:32 +0000)]
Add more hidden APIs seen in use to light greylist
Found in a bugreport.
Bug:
73539503
Test: make
Change-Id: Ie8f1a1974412b86675ac1c197b20dda1736c94e4
Mathew Inwood [Thu, 22 Feb 2018 17:36:20 +0000 (17:36 +0000)]
Merge "Populate hiddenapi whitelist."
Wale Ogunwale [Thu, 22 Feb 2018 17:20:44 +0000 (17:20 +0000)]
Merge "Fixed issue with relaunching activity in the stopped state"
Cassie [Thu, 22 Feb 2018 16:51:03 +0000 (08:51 -0800)]
Add comments according to the API review process.
* Explain what developers should use instead in the @deprecated note for Telephony#BEARER
* Please add more documentation for network type bitmask - reference to just TelephonyManager is not sufficient because it has so much stuff in it.
* Also remove the @hide tag for private constants in ServiceState.
Bug:
73751228
Test: Basic telephony sanity
Change-Id: Ie7405a961db4494104750bf406f20b1b4fb8191a
Adrian Roos [Wed, 21 Feb 2018 16:32:44 +0000 (17:32 +0100)]
DisplayCutout: Fix positioning of NO_LIMITS windows
Fixes an issue where popup windows (which are clipped to the display, but not
the parent frame) would extend under the cutout in landscape.
Change-Id: Id4927f6152e207985eb7d20b26faffbe6a6e5bbc
Fixes:
73012958
Test: Enable cutout emulation > go to gmail > landscape > open email > open overflow menu for a single email > verify it does not extend into cutout
Test: atest PhoneWindowManagerLayoutTest
Jeff Davidson [Thu, 22 Feb 2018 16:48:53 +0000 (16:48 +0000)]
Merge "Factor out telephony permission checks into a helper class."
TreeHugger Robot [Thu, 22 Feb 2018 16:41:31 +0000 (16:41 +0000)]
Merge "New small volume dialog"
Jeff Sharkey [Thu, 22 Feb 2018 16:41:17 +0000 (09:41 -0700)]
Bugreport SAF provider isn't "advanced."
UX churn over the years has turned FLAG_ADVANCED into "show internal
storage" which means it's super confusing.
When the Bugreport SAF provider is enabled, just show it.
Test: sure
Bug:
32540478
Change-Id: Id11278c27da8f5f1d1346b208d85b5db59a9e174
Robert Berry [Thu, 22 Feb 2018 16:40:12 +0000 (16:40 +0000)]
Merge "Remove package name parameter from setRecoveryStatus"
Makoto Onuki [Thu, 22 Feb 2018 16:37:30 +0000 (16:37 +0000)]
Merge "Implement UNLIMITED_SHORTCUTS_API_CALLS permission."
Paul Duffin [Thu, 22 Feb 2018 16:27:28 +0000 (16:27 +0000)]
Merge changes I8e432950,Id325b8cf am:
919ff2268b am:
9eec0a5c0e
am:
cb77fb7c9a -s ours
Change-Id: I2625d4a671a6a50f99ab99ffd72b96b83c601538
Jorim Jaggi [Thu, 22 Feb 2018 16:13:44 +0000 (16:13 +0000)]
Merge "Fix task animations"
Jorim Jaggi [Thu, 22 Feb 2018 16:10:56 +0000 (16:10 +0000)]
Merge "Add ability to show wallpaper during animation"
TreeHugger Robot [Thu, 22 Feb 2018 16:08:51 +0000 (16:08 +0000)]
Merge "Make default entity lists flag configurable"
Mathew Inwood [Thu, 22 Feb 2018 16:02:50 +0000 (16:02 +0000)]
Merge "Package whitelist for hiddenapi checks." am:
9a50d75795 am:
3d2a3e25d3
am:
60b6925bdb -s ours
Change-Id: Icc96c28fd9289268398c71f82ac83038a606550d