OSDN Git Service

android-x86/frameworks-base.git
6 years agoRemove incorrectly specified @UserIdInt
Yohei Yukawa [Mon, 26 Feb 2018 02:31:47 +0000 (11:31 +0900)]
Remove incorrectly specified @UserIdInt

This is a follow up CL to my previous CL [1], which introduced
TextServicesManagerServicve.SessionRequest for internal state
management.

It turns out that SessionRequest#mUserId was incorrectly marked with
@UserIdInt, even though it actually stores uid, not user ID int.

This CL addresses the confusion by removing @UserIdInt as well as
renaming it to SessionRequest#mUid.

There should be no behavior change actually.

 [1]: I92e7aa40dc9ea14f67d355f0bfa15325b775d27b

Bug: 7254002
Test: compile
Change-Id: I94f19d028be3b24fe0f3d848236ea9ca68e537b4

6 years agoMerge "Dump last 24 hours of UsageStats events"
TreeHugger Robot [Fri, 23 Feb 2018 04:11:13 +0000 (04:11 +0000)]
Merge "Dump last 24 hours of UsageStats events"

6 years agoMerge "Implement brightness slider spec."
TreeHugger Robot [Fri, 23 Feb 2018 03:57:05 +0000 (03:57 +0000)]
Merge "Implement brightness slider spec."

6 years agoMerge "Dismiss PIP window when PIP is disabled from settings."
Tracy Zhou [Fri, 23 Feb 2018 03:51:02 +0000 (03:51 +0000)]
Merge "Dismiss PIP window when PIP is disabled from settings."

6 years agoMerge "Fixed an issue with a test that didn't work properly"
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"

6 years agoFixed 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

6 years agoMerge "MediaPlayer2: use long type for media time."
TreeHugger Robot [Fri, 23 Feb 2018 03:21:27 +0000 (03:21 +0000)]
Merge "MediaPlayer2: use long type for media time."

6 years agoMerge "Allow callers to synchronously block for shutdown" am: 9121322ce7 am: a49db4d080
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

6 years agoMerge "Allow callers to synchronously block for shutdown" am: 9121322ce7
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

6 years agoMerge "Allow callers to synchronously block for shutdown"
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

6 years agoMerge "Bringing back assistant on long press home button (1/2)"
TreeHugger Robot [Fri, 23 Feb 2018 02:43:24 +0000 (02:43 +0000)]
Merge "Bringing back assistant on long press home button (1/2)"

6 years agoMerge "autofill: pass keyevent from fillui to app"
Dake Gu [Fri, 23 Feb 2018 01:35:55 +0000 (01:35 +0000)]
Merge "autofill: pass keyevent from fillui to app"

6 years agoDismiss PIP window when PIP is disabled from settings.
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

6 years agoMerge "Move metadata key from Slice to SliceManager"
Jason Monk [Fri, 23 Feb 2018 01:03:33 +0000 (01:03 +0000)]
Merge "Move metadata key from Slice to SliceManager"

6 years agoMerge "Use accessibility pane API in keyguard"
Phil Weaver [Fri, 23 Feb 2018 00:31:48 +0000 (00:31 +0000)]
Merge "Use accessibility pane API in keyguard"

6 years agoMerge "Disabled presubmit for flakey test"
Selim Cinek [Fri, 23 Feb 2018 00:18:38 +0000 (00:18 +0000)]
Merge "Disabled presubmit for flakey test"

6 years agoMerge "Give shell CONTROL_KEYGUARD permission."
Wale Ogunwale [Fri, 23 Feb 2018 00:15:30 +0000 (00:15 +0000)]
Merge "Give shell CONTROL_KEYGUARD permission."

6 years agoDisabled presubmit for flakey test
Selim Cinek [Fri, 23 Feb 2018 00:13:11 +0000 (16:13 -0800)]
Disabled presubmit for flakey test

Test: runtest systemui
Change-Id: If772052b2c172e62a22958f9996436914d8e8e1b

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Fri, 23 Feb 2018 00:13:01 +0000 (00:13 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 22 Feb 2018 23:41:24 +0000 (23:41 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Fixes home button from moving off its origin position after rotation"
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"

6 years agoMerge "Add AudioManager.setHearingAidDeviceConnectionState" am: c3e842fde8 am: 670ecc2279
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

6 years agoMerge "Add more hidden APIs seen in use to light greylist"
TreeHugger Robot [Thu, 22 Feb 2018 23:12:34 +0000 (23:12 +0000)]
Merge "Add more hidden APIs seen in use to light greylist"

6 years agoMerge "Add AudioManager.setHearingAidDeviceConnectionState" am: c3e842fde8
Andre Eisenbach [Thu, 22 Feb 2018 23:02:15 +0000 (23:02 +0000)]
Merge "Add AudioManager.setHearingAidDeviceConnectionState" am: c3e842fde8
am: 670ecc2279

Change-Id: I9a7a7712d750581cec4131489bca7071ad64ceee

6 years agoMerge "Comment out CustomEditTextPreferenceTest which is failing..."
Makoto Onuki [Thu, 22 Feb 2018 22:55:09 +0000 (22:55 +0000)]
Merge "Comment out CustomEditTextPreferenceTest which is failing..."

6 years agoMerge "Improve AM lifecycle event logs"
Andrii Kulian [Thu, 22 Feb 2018 22:54:53 +0000 (22:54 +0000)]
Merge "Improve AM lifecycle event logs"

6 years agoComment out CustomEditTextPreferenceTest which is failing...
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

6 years agoMerge "Add AudioManager.setHearingAidDeviceConnectionState"
Andre Eisenbach [Thu, 22 Feb 2018 22:44:11 +0000 (22:44 +0000)]
Merge "Add AudioManager.setHearingAidDeviceConnectionState"
am: c3e842fde8

Change-Id: I22a01bb4170b126c59593f938f95bf382beb3dd6

6 years agoMerge "Resume when keyguard start going away"
Andrii Kulian [Thu, 22 Feb 2018 22:15:36 +0000 (22:15 +0000)]
Merge "Resume when keyguard start going away"

6 years agoMerge "RTT bugfixes, part 5" am: de3eeac84d am: 69b0d8bc97
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

6 years agoMerge "Allow callers to synchronously block for shutdown"
Erik Kline [Thu, 22 Feb 2018 22:05:31 +0000 (22:05 +0000)]
Merge "Allow callers to synchronously block for shutdown"

6 years agoMerge "RTT bugfixes, part 5" am: de3eeac84d
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

6 years agoMediaPlayer2: use long type for media time.
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

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 22 Feb 2018 21:45:45 +0000 (21:45 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "RTT bugfixes, part 5"
Hall Liu [Thu, 22 Feb 2018 21:37:09 +0000 (21:37 +0000)]
Merge "RTT bugfixes, part 5"
am: de3eeac84d

Change-Id: I2e8db964b551f7ab1cc7c286b8fedc553f1e1b8f

6 years agoMerge "Better javadoc for DevicePolicyManager#getTransferOwnershipBundle."
TreeHugger Robot [Thu, 22 Feb 2018 21:17:02 +0000 (21:17 +0000)]
Merge "Better javadoc for DevicePolicyManager#getTransferOwnershipBundle."

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 22 Feb 2018 21:14:48 +0000 (21:14 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 22 Feb 2018 21:10:28 +0000 (21:10 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 22 Feb 2018 21:06:53 +0000 (21:06 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoImplement brightness slider spec.
Amin Shaikh [Wed, 21 Feb 2018 20:52:36 +0000 (15:52 -0500)]
Implement brightness slider spec.

Bug: 72991368
Test: visual
Change-Id: I5168f0a30d8a325c3c8d84ff26419240db18a634

6 years agoMerge "Add AudioManager.setHearingAidDeviceConnectionState"
Andre Eisenbach [Thu, 22 Feb 2018 20:49:03 +0000 (20:49 +0000)]
Merge "Add AudioManager.setHearingAidDeviceConnectionState"

6 years agoGive shell CONTROL_KEYGUARD permission.
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

6 years agoBringing back assistant on long press home button (1/2)
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

6 years agoAdd AudioManager.setHearingAidDeviceConnectionState
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

6 years agoMerge "Bugreport SAF provider isn't "advanced.""
Jeff Sharkey [Thu, 22 Feb 2018 20:19:25 +0000 (20:19 +0000)]
Merge "Bugreport SAF provider isn't "advanced.""

6 years agoMerge "Add device capabilities."
Jiuyu Sun [Thu, 22 Feb 2018 20:16:39 +0000 (20:16 +0000)]
Merge "Add device capabilities."

6 years agoMerge "Split query permission from update permission"
TreeHugger Robot [Thu, 22 Feb 2018 19:58:38 +0000 (19:58 +0000)]
Merge "Split query permission from update permission"

6 years agoMerge "Populate hiddenapi whitelist." am: 2519de11c3 am: 37d670a083
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

6 years agoMerge "Fixed a NP when replying to a message"
Selim Cinek [Thu, 22 Feb 2018 19:20:47 +0000 (19:20 +0000)]
Merge "Fixed a NP when replying to a message"

6 years agoMerge "Start UsbService in emulator"
Yahan Zhou [Thu, 22 Feb 2018 19:17:49 +0000 (19:17 +0000)]
Merge "Start UsbService in emulator"

6 years agoMerge "RTT bugfixes, part 5"
Hall Liu [Thu, 22 Feb 2018 19:16:41 +0000 (19:16 +0000)]
Merge "RTT bugfixes, part 5"

6 years agoAllow callers to synchronously block for shutdown
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

6 years agoMerge "NetworkCapabilities needs UID to be satisfied."
Jeff Sharkey [Thu, 22 Feb 2018 19:10:24 +0000 (19:10 +0000)]
Merge "NetworkCapabilities needs UID to be satisfied."

6 years agoMerge "Populate hiddenapi whitelist." am: 2519de11c3
Mathew Inwood [Thu, 22 Feb 2018 19:05:33 +0000 (19:05 +0000)]
Merge "Populate hiddenapi whitelist." am: 2519de11c3
am: 37d670a083

Change-Id: Ic859a5b988ad88430c95590e10439f24f2dfecea

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 22 Feb 2018 19:02:27 +0000 (19:02 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Populate hiddenapi whitelist."
Mathew Inwood [Thu, 22 Feb 2018 18:56:44 +0000 (18:56 +0000)]
Merge "Populate hiddenapi whitelist."
am: 2519de11c3

Change-Id: I0b6139661f07352acdbd62a83cff2bba2b667b9b

6 years agoMediaMuxer: clear file content when writing to existing file
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

6 years agoMerge "Start target package by binding to Service, not starting Activity"
TreeHugger Robot [Thu, 22 Feb 2018 18:49:15 +0000 (18:49 +0000)]
Merge "Start target package by binding to Service, not starting Activity"

6 years agoMerge "DisplayCutout: Cache inflations from resources"
TreeHugger Robot [Thu, 22 Feb 2018 18:34:37 +0000 (18:34 +0000)]
Merge "DisplayCutout: Cache inflations from resources"

6 years agoBetter javadoc for DevicePolicyManager#getTransferOwnershipBundle.
arangelov [Thu, 22 Feb 2018 12:36:23 +0000 (12:36 +0000)]
Better javadoc for DevicePolicyManager#getTransferOwnershipBundle.

Test: None
Bug: 73751387
Change-Id: I627fe9825823191e3853deba9bb08da09fbf7c5e

6 years agoMerge "More consistent controller logging."
Jeff Sharkey [Thu, 22 Feb 2018 18:19:06 +0000 (18:19 +0000)]
Merge "More consistent controller logging."

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 22 Feb 2018 18:13:42 +0000 (18:13 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 22 Feb 2018 18:08:59 +0000 (18:08 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Deprecates methods on WearableExtender.Builder which have not been honored...
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."

6 years agoMove metadata key from Slice to SliceManager
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

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 22 Feb 2018 18:01:42 +0000 (18:01 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoFixed a NP when replying to a message
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

6 years agoUse accessibility pane API in keyguard
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

6 years agoAdd more hidden APIs seen in use to light greylist
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

6 years agoMerge "Populate hiddenapi whitelist."
Mathew Inwood [Thu, 22 Feb 2018 17:36:20 +0000 (17:36 +0000)]
Merge "Populate hiddenapi whitelist."

6 years agoMerge "Fixed issue with relaunching activity in the stopped state"
Wale Ogunwale [Thu, 22 Feb 2018 17:20:44 +0000 (17:20 +0000)]
Merge "Fixed issue with relaunching activity in the stopped state"

6 years agoMerge "Factor out telephony permission checks into a helper class."
Jeff Davidson [Thu, 22 Feb 2018 16:48:53 +0000 (16:48 +0000)]
Merge "Factor out telephony permission checks into a helper class."

6 years agoMerge "New small volume dialog"
TreeHugger Robot [Thu, 22 Feb 2018 16:41:31 +0000 (16:41 +0000)]
Merge "New small volume dialog"

6 years agoBugreport SAF provider isn't "advanced."
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

6 years agoMerge "Remove package name parameter from setRecoveryStatus"
Robert Berry [Thu, 22 Feb 2018 16:40:12 +0000 (16:40 +0000)]
Merge "Remove package name parameter from setRecoveryStatus"

6 years agoMerge "Implement UNLIMITED_SHORTCUTS_API_CALLS permission."
Makoto Onuki [Thu, 22 Feb 2018 16:37:30 +0000 (16:37 +0000)]
Merge "Implement UNLIMITED_SHORTCUTS_API_CALLS permission."

6 years agoMerge changes I8e432950,Id325b8cf am: 919ff2268b am: 9eec0a5c0e
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

6 years agoMerge "Fix task animations"
Jorim Jaggi [Thu, 22 Feb 2018 16:13:44 +0000 (16:13 +0000)]
Merge "Fix task animations"

6 years agoMerge "Add ability to show wallpaper during animation"
Jorim Jaggi [Thu, 22 Feb 2018 16:10:56 +0000 (16:10 +0000)]
Merge "Add ability to show wallpaper during animation"

6 years agoMerge "Make default entity lists flag configurable"
TreeHugger Robot [Thu, 22 Feb 2018 16:08:51 +0000 (16:08 +0000)]
Merge "Make default entity lists flag configurable"

6 years agoMerge "Package whitelist for hiddenapi checks." am: 9a50d75795 am: 3d2a3e25d3
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

6 years agoMerge "Cleanup TelephonyManager's log" am: 033de4676b am: 22f61111bd
Pengquan Meng [Thu, 22 Feb 2018 15:53:27 +0000 (15:53 +0000)]
Merge "Cleanup TelephonyManager's log" am: 033de4676b am: 22f61111bd
am: bfb00f97af

Change-Id: Iccc3d497bf28906f4da54eef3acbd72dc04bfd3c

6 years agoMerge "EMBMS API tweaks" am: 47e1d11b47 am: 3b40c709a3
Hall Liu [Thu, 22 Feb 2018 15:38:26 +0000 (15:38 +0000)]
Merge "EMBMS API tweaks" am: 47e1d11b47 am: 3b40c709a3
am: 2a08ccdd8b

Change-Id: I617e2bca44d52b55f2d032db0fe59aa0a9f88e24

6 years agoMerge changes I8e432950,Id325b8cf am: 919ff2268b
Paul Duffin [Thu, 22 Feb 2018 15:26:08 +0000 (15:26 +0000)]
Merge changes I8e432950,Id325b8cf am: 919ff2268b
am: 9eec0a5c0e

Change-Id: Ie067d44d602ecaf13fd5ea1101b87807193733e9

6 years agoMerge changes I8e432950,Id325b8cf
Paul Duffin [Thu, 22 Feb 2018 15:16:30 +0000 (15:16 +0000)]
Merge changes I8e432950,Id325b8cf
am: 919ff2268b

Change-Id: I0912e9a426a5cc72e67b3ec55e2bbe195079eaf6

6 years agoMerge "Build android.test.runner and its variants with SDK"
TreeHugger Robot [Thu, 22 Feb 2018 15:14:38 +0000 (15:14 +0000)]
Merge "Build android.test.runner and its variants with SDK"

6 years agoNew small volume dialog
Julia Reynolds [Wed, 21 Feb 2018 16:41:33 +0000 (11:41 -0500)]
New small volume dialog

- Remove labels
- Remove output chooser dialog
- Reorder icons
- Add settings affordance
- Add instructive toast

Test: manual
Change-Id: I6640fb8147707936fe22e3c756ab29116973fbe3
Fixes: 73719758
Fixes: 73333233
Fixes: 71663761

6 years agoMerge "Docs: small documentation fixes for formatting and typos."
TreeHugger Robot [Thu, 22 Feb 2018 14:36:05 +0000 (14:36 +0000)]
Merge "Docs: small documentation fixes for formatting and typos."

6 years agoMerge "Package whitelist for hiddenapi checks." am: 9a50d75795
Mathew Inwood [Thu, 22 Feb 2018 14:29:23 +0000 (14:29 +0000)]
Merge "Package whitelist for hiddenapi checks." am: 9a50d75795
am: 3d2a3e25d3

Change-Id: I8e0120c77965a3d5784e61c7eabe5a8c4f88b1ea

6 years agoFix task animations
Jorim Jaggi [Wed, 21 Feb 2018 17:46:53 +0000 (18:46 +0100)]
Fix task animations

Sometimes apps are using trampoline activities in the current
task, and then open a new task from that trampoline activity,
which means that the first transition was ACTIVITY_OPEN and that's
what we take at end.

To fix this, we let task animations always override activity
animations.

Test: go/wm-smoke
Test: Open a Docs document from Drive. Open a Chrome link from
Maps.
Fixes: 72710883

Change-Id: I72b6901fdc21514ffca4a47e433d66ea9d3cdb32

6 years agoMerge "Package whitelist for hiddenapi checks."
Mathew Inwood [Thu, 22 Feb 2018 14:11:57 +0000 (14:11 +0000)]
Merge "Package whitelist for hiddenapi checks."
am: 9a50d75795

Change-Id: Iad8ccab4d46677320c9d39f73e6bbc67262c18b2

6 years agoMerge "Update lock task features name and javadoc"
Benjamin Franz [Thu, 22 Feb 2018 14:08:33 +0000 (14:08 +0000)]
Merge "Update lock task features name and javadoc"

6 years agoFixed issue with relaunching activity in the stopped state
Wale Ogunwale [Wed, 21 Feb 2018 02:18:21 +0000 (18:18 -0800)]
Fixed issue with relaunching activity in the stopped state

- Cycle activity back to the stopped state if relaunched while the
activity is in the stopped state.
- Also, process Activity.recreate() request locally. After the
activity life cycler changes/clean-up we no longer need to request
the relaunch from the server since it is much easier now to cycle
the activity back to its previous state without help from the server
side.

Change-Id: Ie63420361a50d3dee2cbbcc2bbd34f3099c93996
Fixes: 64610483
Test: atest CtsActivityManagerDeviceTestCases:ActivityLifecycleTests

6 years agoAdd ability to show wallpaper during animation
Jorim Jaggi [Wed, 21 Feb 2018 16:50:18 +0000 (17:50 +0100)]
Add ability to show wallpaper during animation

In the new task switch animations, we'd like to show the wallpaper
behind. For that, we add the ability to show the wallpaper for
any animation via Animation.showWallpaper as an XML attribute.

If the window of an app is animating, and the animation requests
the wallpaper, it can also be a wallpaper.

One remaning issue here is that we don't wait for the wallpaper
to be drawn when waiting for the transition. However, usually this
isn't an issue because the wallpaper is drawn in any case.

To fix this we'd need to load the animation already and then make
it a target before the animation starts, which is a bit involved
/quirky.

Test: Open/close task, observe wallpaper behind
Test: go/wm-smoke
Bug: 72396815
Change-Id: I676273a4e6627f8b5e0a1366fcd80a7c92018123

6 years agoMerge changes I8e432950,Id325b8cf
Treehugger Robot [Thu, 22 Feb 2018 13:39:10 +0000 (13:39 +0000)]
Merge changes I8e432950,Id325b8cf

* changes:
  Build android.test.base/legacy against SDK
  Fix visibility issues with android.test.mock.stubs

6 years agoMerge "Package whitelist for hiddenapi checks."
Mathew Inwood [Thu, 22 Feb 2018 12:57:48 +0000 (12:57 +0000)]
Merge "Package whitelist for hiddenapi checks."

6 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 22 Feb 2018 12:29:54 +0000 (04:29 -0800)]
Import translations. DO NOT MERGE

Change-Id: If342c295e2b514414c1540673c7ffcf85d60b83e
Auto-generated-cl: translation import

6 years agoDisplayCutout: Cache inflations from resources
Adrian Roos [Wed, 21 Feb 2018 14:17:07 +0000 (15:17 +0100)]
DisplayCutout: Cache inflations from resources

Caches inflations from resources if the parameters did  not
change. This increases the hitrate of the rotation variants
cache in window manager, and avoids unnecessairy reinflations
whenever the display changes.

Change-Id: I2ed9a2c259158bf1a6b551b3422534efbfec99c9
Bug: 72444324
Test: atest DisplayCutoutTest

6 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 22 Feb 2018 12:24:53 +0000 (04:24 -0800)]
Import translations. DO NOT MERGE

Change-Id: If3e5e54985e6199dc0b59f6f02f1f6bdae0d1ce7
Auto-generated-cl: translation import

6 years agoMerge "Add TestApis for updateTransportAttributes GTS tests"
Annie Meng [Thu, 22 Feb 2018 12:22:42 +0000 (12:22 +0000)]
Merge "Add TestApis for updateTransportAttributes GTS tests"