OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Merge "Fix keyboard focus in VR" into oc-dr1-dev am: 986995d481" into oc-mr1-dev
Android Build Merger (Role) [Wed, 2 Aug 2017 23:02:16 +0000 (23:02 +0000)]
Merge "Merge "Fix keyboard focus in VR" into oc-dr1-dev am: 986995d481" into oc-mr1-dev

7 years agoMerge "Fix keyboard focus in VR" into oc-dr1-dev
Tarandeep Singh [Wed, 2 Aug 2017 22:59:51 +0000 (22:59 +0000)]
Merge "Fix keyboard focus in VR" into oc-dr1-dev
am: 986995d481

Change-Id: I693c1256583dc1081c6402668401c6aab2337d16

7 years agoMerge "Merge "camera2: Fix template requirements" into oc-dev am: 2976109d89 am:...
Android Build Merger (Role) [Wed, 2 Aug 2017 22:59:25 +0000 (22:59 +0000)]
Merge "Merge "camera2: Fix template requirements" into oc-dev am: 2976109d89 am: 615f9e1277" into oc-mr1-dev

7 years agoMerge "camera2: Fix template requirements" into oc-dev am: 2976109d89
Chien-Yu Chen [Wed, 2 Aug 2017 22:58:15 +0000 (22:58 +0000)]
Merge "camera2: Fix template requirements" into oc-dev am: 2976109d89
am: 615f9e1277

Change-Id: I9ea51423e88f90648f480c55d4567db6cee6ef98

7 years agoMerge "Merge "Ensure that all displays are updated upon any changes to rotation....
Android Build Merger (Role) [Wed, 2 Aug 2017 22:57:53 +0000 (22:57 +0000)]
Merge "Merge "Ensure that all displays are updated upon any changes to rotation." into oc-dr1-dev am: adec8518af" into oc-mr1-dev

7 years agoMerge "Ensure that all displays are updated upon any changes to rotation." into oc...
Santos Cordon [Wed, 2 Aug 2017 22:56:40 +0000 (22:56 +0000)]
Merge "Ensure that all displays are updated upon any changes to rotation." into oc-dr1-dev
am: adec8518af

Change-Id: Id3700db64134667e48d6d4f5f5566e6a3c9f4f00

7 years agoMerge "Merge "Fixed a clipping issue in AOD" into oc-dr1-dev am: 0ee78fd385" into...
Android Build Merger (Role) [Wed, 2 Aug 2017 22:56:16 +0000 (22:56 +0000)]
Merge "Merge "Fixed a clipping issue in AOD" into oc-dr1-dev am: 0ee78fd385" into oc-mr1-dev

7 years agoMerge "Fixed a clipping issue in AOD" into oc-dr1-dev
Selim Cinek [Wed, 2 Aug 2017 22:55:01 +0000 (22:55 +0000)]
Merge "Fixed a clipping issue in AOD" into oc-dr1-dev
am: 0ee78fd385

Change-Id: I5c793c7dc11e1acac82feed8f4bada2a9f493ede

7 years agoMerge "Merge "Start all visible running activities when attaching app" into oc-dr1...
Android Build Merger (Role) [Wed, 2 Aug 2017 22:54:38 +0000 (22:54 +0000)]
Merge "Merge "Start all visible running activities when attaching app" into oc-dr1-dev am: 2af6f25f43" into oc-mr1-dev

7 years agoMerge "Start all visible running activities when attaching app" into oc-dr1-dev
Jorim Jaggi [Wed, 2 Aug 2017 22:53:25 +0000 (22:53 +0000)]
Merge "Start all visible running activities when attaching app" into oc-dr1-dev
am: 2af6f25f43

Change-Id: I54f1aedb4cbcc4d11d8e79c7b9f5c496902baaca

7 years agoMerge "Merge "SysUI: Move all sensor operations to the background thread" into oc...
Android Build Merger (Role) [Wed, 2 Aug 2017 22:52:59 +0000 (22:52 +0000)]
Merge "Merge "SysUI: Move all sensor operations to the background thread" into oc-dr1-dev am: e81cdeea1c" into oc-mr1-dev

7 years agoMerge "SysUI: Move all sensor operations to the background thread" into oc-dr1-dev
Adrian Roos [Wed, 2 Aug 2017 22:51:23 +0000 (22:51 +0000)]
Merge "SysUI: Move all sensor operations to the background thread" into oc-dr1-dev
am: e81cdeea1c

Change-Id: Idd7b5d3741f629b560e9de5b985d895a45e8a532

7 years agoMerge "Merge "Fix NPE when reading icon for removed session." into oc-dr1-dev am...
Android Build Merger (Role) [Wed, 2 Aug 2017 22:51:00 +0000 (22:51 +0000)]
Merge "Merge "Fix NPE when reading icon for removed session." into oc-dr1-dev am: 65abebbadd" into oc-mr1-dev

7 years agoMerge "Fix NPE when reading icon for removed session." into oc-dr1-dev
Jeff Sharkey [Wed, 2 Aug 2017 22:49:42 +0000 (22:49 +0000)]
Merge "Fix NPE when reading icon for removed session." into oc-dr1-dev
am: 65abebbadd

Change-Id: I6ef312422ea84b352f8d07a9937c64394b14776a

7 years agoMerge "Give DeviceStorageMonitorService it's own thread." into oc-mr1-dev
TreeHugger Robot [Wed, 2 Aug 2017 22:48:44 +0000 (22:48 +0000)]
Merge "Give DeviceStorageMonitorService it's own thread." into oc-mr1-dev

7 years agoMerge "Gracefully handle focus loops created by app dev." into oc-dr1-dev
Evan Rosky [Wed, 2 Aug 2017 22:42:21 +0000 (22:42 +0000)]
Merge "Gracefully handle focus loops created by app dev." into oc-dr1-dev
am: ae938cee71

Change-Id: I0b0fe6f7cc07362e98f7a5a2b54aa66bbd5ffc7f

7 years agoMerge "Send TYPE_NOTIFICATION_STATE_CHANGED events for IMPORTANCE_LOW notifications...
Daniel Sandler [Wed, 2 Aug 2017 22:38:22 +0000 (22:38 +0000)]
Merge "Send TYPE_NOTIFICATION_STATE_CHANGED events for IMPORTANCE_LOW notifications." into oc-dr1-dev
am: c7937c13f6  -s ours

Change-Id: I466f7aa7f0cb0385343cabab94289c59c5f290eb

7 years agoMerge "Make InputFilter.AllCaps constructor reject null locales" into oc-mr1-dev
TreeHugger Robot [Wed, 2 Aug 2017 21:08:54 +0000 (21:08 +0000)]
Merge "Make InputFilter.AllCaps constructor reject null locales" into oc-mr1-dev

7 years agoMerge "Fix keyboard focus in VR" into oc-dr1-dev
Tarandeep Singh [Wed, 2 Aug 2017 20:33:02 +0000 (20:33 +0000)]
Merge "Fix keyboard focus in VR" into oc-dr1-dev

7 years agoGive DeviceStorageMonitorService it's own thread.
Jeff Sharkey [Wed, 2 Aug 2017 20:24:35 +0000 (14:24 -0600)]
Give DeviceStorageMonitorService it's own thread.

When devices are low on space, it calls down into installd to clear
cached files, which can block for a long time.  Instead of risking
the wrath of the Watchdog on IoThread, give ourselves a separate
thread.

Test: builds, boots
Bug: 64080821
Change-Id: Iaca00966bb836d58e8d2400d6c9d544023ef1af8

7 years agoMerge "camera2: Fix template requirements" into oc-dev
Chien-Yu Chen [Wed, 2 Aug 2017 19:56:55 +0000 (19:56 +0000)]
Merge "camera2: Fix template requirements" into oc-dev
am: 2976109d89

Change-Id: I20b68b33caf48afeead56116602c6a9b2a33ab26

7 years agoMerge "camera2: Fix template requirements" into oc-dev
TreeHugger Robot [Wed, 2 Aug 2017 19:43:31 +0000 (19:43 +0000)]
Merge "camera2: Fix template requirements" into oc-dev

7 years agoMerge "Ensure that all displays are updated upon any changes to rotation." into oc...
TreeHugger Robot [Wed, 2 Aug 2017 19:38:08 +0000 (19:38 +0000)]
Merge "Ensure that all displays are updated upon any changes to rotation." into oc-dr1-dev

7 years agoMerge "Use EGL_EXT_gl_colorspace_scrgb instead of *_linear" into oc-dr1-dev
Romain Guy [Wed, 2 Aug 2017 19:33:19 +0000 (19:33 +0000)]
Merge "Use EGL_EXT_gl_colorspace_scrgb instead of *_linear" into oc-dr1-dev
am: 8e8debbe21

Change-Id: I5e6ab8d1b1531980c9d699f4cacbafdcad56501d

7 years agoMerge "Fixed a clipping issue in AOD" into oc-dr1-dev
Selim Cinek [Wed, 2 Aug 2017 19:28:07 +0000 (19:28 +0000)]
Merge "Fixed a clipping issue in AOD" into oc-dr1-dev

7 years agoMerge "Start all visible running activities when attaching app" into oc-dr1-dev
TreeHugger Robot [Wed, 2 Aug 2017 19:20:19 +0000 (19:20 +0000)]
Merge "Start all visible running activities when attaching app" into oc-dr1-dev

7 years agoMerge "SysUI: Move all sensor operations to the background thread" into oc-dr1-dev
TreeHugger Robot [Wed, 2 Aug 2017 19:16:46 +0000 (19:16 +0000)]
Merge "SysUI: Move all sensor operations to the background thread" into oc-dr1-dev

7 years agoMerge "media: Add scaled video thumbnail extractor api." into oc-mr1-dev
TreeHugger Robot [Wed, 2 Aug 2017 19:14:23 +0000 (19:14 +0000)]
Merge "media: Add scaled video thumbnail extractor api." into oc-mr1-dev

7 years agoMerge "Fix NPE when reading icon for removed session." into oc-dr1-dev
TreeHugger Robot [Wed, 2 Aug 2017 19:09:04 +0000 (19:09 +0000)]
Merge "Fix NPE when reading icon for removed session." into oc-dr1-dev

7 years agoMerge "Gracefully handle focus loops created by app dev." into oc-dr1-dev
Evan Rosky [Wed, 2 Aug 2017 19:08:18 +0000 (19:08 +0000)]
Merge "Gracefully handle focus loops created by app dev." into oc-dr1-dev

7 years agoMerge "Send TYPE_NOTIFICATION_STATE_CHANGED events for IMPORTANCE_LOW notifications...
Daniel Sandler [Wed, 2 Aug 2017 18:40:34 +0000 (18:40 +0000)]
Merge "Send TYPE_NOTIFICATION_STATE_CHANGED events for IMPORTANCE_LOW notifications." into oc-dr1-dev

7 years agoMerge "Added null test to avoid regression for onRemoteVolumeChanged." into oc-dr1-dev
Beverly [Wed, 2 Aug 2017 18:39:02 +0000 (18:39 +0000)]
Merge "Added null test to avoid regression for onRemoteVolumeChanged." into oc-dr1-dev
am: 6407874ae0

Change-Id: Ib0fcc0592a57be6bce184b729f1c25ee02595062

7 years agoMerge "Use EGL_EXT_gl_colorspace_scrgb instead of *_linear" into oc-dr1-dev
TreeHugger Robot [Wed, 2 Aug 2017 18:35:10 +0000 (18:35 +0000)]
Merge "Use EGL_EXT_gl_colorspace_scrgb instead of *_linear" into oc-dr1-dev

7 years agoMerge "Added null test to avoid regression for onRemoteVolumeChanged." into oc-dr1-dev
TreeHugger Robot [Wed, 2 Aug 2017 18:22:03 +0000 (18:22 +0000)]
Merge "Added null test to avoid regression for onRemoteVolumeChanged." into oc-dr1-dev

7 years agoMerge "Deprecate KEY_EDITABLE_TETHER_APN_BOOL." into oc-mr1-dev
TreeHugger Robot [Wed, 2 Aug 2017 18:09:41 +0000 (18:09 +0000)]
Merge "Deprecate KEY_EDITABLE_TETHER_APN_BOOL." into oc-mr1-dev

7 years agoMerge "Fix race condition when destroying view" into oc-dr1-dev
Lucas Dupin [Wed, 2 Aug 2017 18:03:21 +0000 (18:03 +0000)]
Merge "Fix race condition when destroying view" into oc-dr1-dev
am: b0e5b53bbf

Change-Id: I57e3c07e9390203a6eb201a314f3887fa7a678cd

7 years agoMerge "Always report a uid's initial cached state." into oc-mr1-dev
TreeHugger Robot [Wed, 2 Aug 2017 17:51:48 +0000 (17:51 +0000)]
Merge "Always report a uid's initial cached state." into oc-mr1-dev

7 years agoMerge "Improve docs about exceptions through Binder." into oc-mr1-dev
Dianne Hackborn [Wed, 2 Aug 2017 17:51:01 +0000 (17:51 +0000)]
Merge "Improve docs about exceptions through Binder." into oc-mr1-dev

7 years agoMerge "Fix race condition when destroying view" into oc-dr1-dev
TreeHugger Robot [Wed, 2 Aug 2017 17:47:59 +0000 (17:47 +0000)]
Merge "Fix race condition when destroying view" into oc-dr1-dev

7 years agoFix keyboard focus in VR
Tarandeep Singh [Tue, 11 Jul 2017 01:50:00 +0000 (18:50 -0700)]
Fix keyboard focus in VR

Consider this VirtualDisplay (VD) scenario:
HostActivity creates a VD which holds SettingsActivity. When EditText
on SettingsActivity is tapped, it gains focus.
On eventual taps, it loses focus i.e. the Window in VD loses focus and
the host activity in primary display gets the focus instead. This
happens because WM's TaskTapPointerEventListener.onPointerEvent()
is called on the default display only.

Root cause:
1. Tap detector isn't registered for non-default display.
2. Tap detector has no info on which displayId touch was received.
3. InputFlinger doesn't deliver InputMonitor events for
non-default displays (fixed in a separate CL)

Fixing above results in onPointerEvent(MotionEvent) to deliver the
Touch events successfully to VD. We restrict these changes to physical
multi-displays and VR VirtualDisplays (which uses virtual touch device).
[VrManagerService calls WMInternal.setVr2dDisplayId(int)]

In future, displayId should be part of InputEvent. Bug: 64258305

Bug: 62033391
Test: bit FrameworksServicesTests:com.android.server.wm.DisplayContentTests
Change-Id: I3626f4de5aa9bcf905da9abd39f3ab1baefc4c48

7 years agoMake InputFilter.AllCaps constructor reject null locales
Roozbeh Pournader [Wed, 2 Aug 2017 02:30:28 +0000 (19:30 -0700)]
Make InputFilter.AllCaps constructor reject null locales

In I021ff2a97a60396fb1b6e4940d91d3cd6ccb6196, new API for
InputFilter.AllCaps was added. It accepted null as input. This CL
changes that so null locales would be rejected.

Test: bit CtsTextTestCases:android.text.cts.InputFilter_AllCapsTest
Fixes: 64261334
Bug: 37222101

Change-Id: Ic87942c3f341f71bc3c1c833b52ea3e751461e47

7 years agoGracefully handle focus loops created by app dev.
Evan Rosky [Wed, 12 Jul 2017 17:58:07 +0000 (10:58 -0700)]
Gracefully handle focus loops created by app dev.

Instead of ANR in an infinite loop, this will detect
a cycle and return null.

Bug: 62960867
Test: Added in CTS FocusFinderTest#testChainVisibility
Change-Id: Ifb4638e3350642f065c40b3bea112cc12efff447

7 years agoMerge "LightStatus: Fix notification icon color filter" into oc-dr1-dev
Adrian Roos [Wed, 2 Aug 2017 17:31:17 +0000 (17:31 +0000)]
Merge "LightStatus: Fix notification icon color filter" into oc-dr1-dev
am: 6134b7529b

Change-Id: I0f6b682d53f764c93d1c1c48490cf1427857b1b4

7 years agoMerge "Fixed an issue where icons were jumping" into oc-dr1-dev
Selim Cinek [Wed, 2 Aug 2017 17:27:46 +0000 (17:27 +0000)]
Merge "Fixed an issue where icons were jumping" into oc-dr1-dev
am: 7a719ab0ed

Change-Id: I145e868610a92ba1af501c62b151c7f55663bec3

7 years agoMerge "LightStatus: Fix notification icon color filter" into oc-dr1-dev
Adrian Roos [Wed, 2 Aug 2017 17:23:31 +0000 (17:23 +0000)]
Merge "LightStatus: Fix notification icon color filter" into oc-dr1-dev

7 years agoMerge "View: fix setTransientState" into oc-mr1-dev
Dake Gu [Wed, 2 Aug 2017 17:18:00 +0000 (17:18 +0000)]
Merge "View: fix setTransientState" into oc-mr1-dev

7 years agoMerge "Fixed an issue where icons were jumping" into oc-dr1-dev
TreeHugger Robot [Wed, 2 Aug 2017 17:16:18 +0000 (17:16 +0000)]
Merge "Fixed an issue where icons were jumping" into oc-dr1-dev

7 years agoMerge "Clarifies how the autofill service should check for signature hashes." into...
Felipe Leme [Wed, 2 Aug 2017 16:09:13 +0000 (16:09 +0000)]
Merge "Clarifies how the autofill service should check for signature hashes." into oc-dev am: c8f0fd7076
am: 32d4e30778

Change-Id: I8de50b81273e89298a6276d8b17100c90361380e

7 years agoMerge "Clarifies how the autofill service should check for signature hashes." into...
Felipe Leme [Wed, 2 Aug 2017 16:00:41 +0000 (16:00 +0000)]
Merge "Clarifies how the autofill service should check for signature hashes." into oc-dev
am: c8f0fd7076

Change-Id: Ida9652bb511ea0aa180e649992a9e5fa6409b2be

7 years agoMerge "Clarifies how the autofill service should check for signature hashes." into...
Felipe Leme [Wed, 2 Aug 2017 15:52:05 +0000 (15:52 +0000)]
Merge "Clarifies how the autofill service should check for signature hashes." into oc-dev

7 years agoFix NPE when reading icon for removed session.
Jeff Sharkey [Wed, 2 Aug 2017 15:28:53 +0000 (09:28 -0600)]
Fix NPE when reading icon for removed session.

The underlying session may have been destroyed before we go back to
read out the icon.

Test: builds, boots
Bug: 63795821
Change-Id: I16eb32c74a0e3b1d0605392878d65f28437006a6

7 years agoSend TYPE_NOTIFICATION_STATE_CHANGED events for IMPORTANCE_LOW notifications.
Dan Sandler [Wed, 2 Aug 2017 00:55:59 +0000 (20:55 -0400)]
Send TYPE_NOTIFICATION_STATE_CHANGED events for IMPORTANCE_LOW notifications.

They shouldn't make noise, but because they appear on-screen
we should report them to a11y services to potentially
announce them to the user in some other way.

Bug: 38500162
Test: runtest systemui-notification
Change-Id: I3a022329f54d17c7229a05130dce14c0101ec24a

7 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev
TreeHugger Robot [Wed, 2 Aug 2017 15:20:57 +0000 (15:20 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev

7 years agoMerge "Fix deadlock between AMS and EphemeralResolverConnection" into oc-mr1-dev
Todd Kennedy [Wed, 2 Aug 2017 14:59:19 +0000 (14:59 +0000)]
Merge "Fix deadlock between AMS and EphemeralResolverConnection" into oc-mr1-dev

7 years agoLightStatus: Fix notification icon color filter
Adrian Roos [Wed, 2 Aug 2017 14:57:11 +0000 (16:57 +0200)]
LightStatus: Fix notification icon color filter

Fixes an issue with the color filter applied to status bar icons where the
tint's alpha channel was ignored.

Change-Id: Idf22c70524fb718995d09ef339b825425ca5f7a7
Fixes: 64139391
Test: Look at light status bar with notifications; verify that icons have slightly gray tint instead of fully black

7 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev
TreeHugger Robot [Wed, 2 Aug 2017 14:49:10 +0000 (14:49 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dr1-dev
Bill Yi [Wed, 2 Aug 2017 14:35:59 +0000 (14:35 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev
am: 9ce641fd81  -s ours

Change-Id: I1dff9545bf7cc357ef8d3bac8954d59c0c23b5c4

7 years agoSysUI: Move all sensor operations to the background thread
Adrian Roos [Wed, 2 Aug 2017 14:26:50 +0000 (16:26 +0200)]
SysUI: Move all sensor operations to the background thread

Registering / unregistering listeners for sensors now frequently takes several hundred
miliseconds. Work around this by moving all sensor operations off the main thread.

Change-Id: Ic3537889e1d6e045149942bebb0211afe1192033
Fixes: 64103634
Test: Turn on phone from AOD2. Verify no jank.

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dr1-dev
TreeHugger Robot [Wed, 2 Aug 2017 14:25:24 +0000 (14:25 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev

7 years agoMerge "Add new API to retrieve app names in a batch" into oc-mr1-dev
Todd Kennedy [Wed, 2 Aug 2017 14:23:16 +0000 (14:23 +0000)]
Merge "Add new API to retrieve app names in a batch" into oc-mr1-dev

7 years agoAdded null test to avoid regression for onRemoteVolumeChanged.
Beverly [Fri, 28 Jul 2017 18:05:30 +0000 (14:05 -0400)]
Added null test to avoid regression for onRemoteVolumeChanged.

Change-Id: Iebcf30a381250c06055143528914632a00e474bc
Fixes: 63946353
Test: runtest systemui

7 years agoEnsure that all displays are updated upon any changes to rotation.
Santos Cordon [Fri, 28 Jul 2017 18:08:23 +0000 (11:08 -0700)]
Ensure that all displays are updated upon any changes to rotation.

There's generally only ever 1 display on most devices, so this code
has no change. If any additional displays have rotation support, their
displays will be updated accordingly with this change. At the moment,
this only affect VR's virtual display.

This fixes a bug where the Activity on a virtual display never ran
through PhoneWindowManager's rotation policy until it came across an
Activity that had any value for screenOrientation.
The result would be that the activity would display the natural
landscape orientation of the virtual display instead of the portrait
preference that is written into PhoneWindowManager. This change ensures
that the rotation is confirmed with PhoneWindowManager during Activity
layout.

Test: Before change - Run virtual display and see that it doesn't get
it's orientation set via PhoneWindowManager's policy.  After change -
see that the orientation is updated accordingly as part of this change.
Bug: 6328931262862109

Change-Id: I7de7aea790fd11daba36097227e13874bd9aacaa

7 years agoStart all visible running activities when attaching app
Jorim Jaggi [Wed, 2 Aug 2017 12:37:49 +0000 (14:37 +0200)]
Start all visible running activities when attaching app

This fixes an issue where a translucent activity was on top of a
normal activity in the same process. Now, when reopening the
translucent activity after the process has been killed we only
used to start the very top activity, leaving the normal activity
in destroyed state. However, we make the activity visible already
so in window manager we are waiting for it but a window is never
added to it.

This fixes the issue by starting all activities that are visible
and running once the app is attached.

Test: go/wm-smoke
Test: Have app with translucent activity on top of normal
activity, kill app via shell, navigate back to app via recents.
Observe no excessive delay.

Change-Id: I444b7064b8e2e878fac5fa9ac8b36e0e2fe248bc
Fixes: 33269100

7 years agoMerge "Refine condition for starting window skip" into oc-dr1-dev
Jorim Jaggi [Wed, 2 Aug 2017 12:22:58 +0000 (12:22 +0000)]
Merge "Refine condition for starting window skip" into oc-dr1-dev
am: 612de053b8

Change-Id: I687dad0a2177c8235e0a2acfd574a92a2a5cd6bb

7 years agoMerge "Refine condition for starting window skip" into oc-dr1-dev
Jorim Jaggi [Wed, 2 Aug 2017 12:15:40 +0000 (12:15 +0000)]
Merge "Refine condition for starting window skip" into oc-dr1-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 2 Aug 2017 07:57:25 +0000 (00:57 -0700)]
Import translations. DO NOT MERGE

Change-Id: I80d58d6708464b7254857c5fca1680bbf4f0212b
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

7 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 2 Aug 2017 07:37:29 +0000 (00:37 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ic83f9d7c74d8562b3d2637b6aca331ad7e3b2f0a
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

7 years agoMerge "Show correct security type for PasspointConfiguration" into oc-mr1-dev
TreeHugger Robot [Wed, 2 Aug 2017 06:01:04 +0000 (06:01 +0000)]
Merge "Show correct security type for PasspointConfiguration" into oc-mr1-dev

7 years agoMerge "Merge "Cherry-picked some Autofill Javadoc improvements from master." into...
Android Build Merger (Role) [Wed, 2 Aug 2017 00:47:17 +0000 (00:47 +0000)]
Merge "Merge "Cherry-picked some Autofill Javadoc improvements from " into oc-dev am: 6829a1dace am: 27eb322ed2  -s ours" into oc-mr1-dev

7 years agoImprove docs about exceptions through Binder.
Dianne Hackborn [Wed, 2 Aug 2017 00:41:00 +0000 (17:41 -0700)]
Improve docs about exceptions through Binder.

Test: built

Change-Id: I5b6af61daa373c92f7d7b3b341a20fbd9e691da9

7 years agoMerge "Cherry-picked some Autofill Javadoc improvements from master." into oc-dev...
Felipe Leme [Wed, 2 Aug 2017 00:44:00 +0000 (00:44 +0000)]
Merge "Cherry-picked some Autofill Javadoc improvements from " into oc-dev am: 6829a1dace
am: 27eb322ed2  -s ours

Change-Id: I44079cc5dec0f7c513370ae9effdcd93180da38c

7 years agoMerge "Make a11y shortcut dialog themeable" into oc-mr1-dev
TreeHugger Robot [Wed, 2 Aug 2017 00:43:41 +0000 (00:43 +0000)]
Merge "Make a11y shortcut dialog themeable" into oc-mr1-dev

7 years agoMerge "Cherry-picked some Autofill Javadoc improvements from master." into oc-dev...
Felipe Leme [Wed, 2 Aug 2017 00:35:45 +0000 (00:35 +0000)]
Merge "Cherry-picked some Autofill Javadoc improvements from " into oc-dev am: 6829a1dace
am: 27eb322ed2  -s ours

Change-Id: I4e65c04b63813ef95ec8bb99e783dfe223ca7a5a

7 years agoMerge "Cherry-picked some Autofill Javadoc improvements from master." into oc-dev
Felipe Leme [Wed, 2 Aug 2017 00:26:37 +0000 (00:26 +0000)]
Merge "Cherry-picked some Autofill Javadoc improvements from " into oc-dev
am: 6829a1dace

Change-Id: I41dec3cb31e6b523927717950f827f45dadabd8b

7 years agoMerge "Cherry-picked some Autofill Javadoc improvements from master." into oc-dev
TreeHugger Robot [Wed, 2 Aug 2017 00:08:15 +0000 (00:08 +0000)]
Merge "Cherry-picked some Autofill Javadoc improvements from " into oc-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 1 Aug 2017 23:55:49 +0000 (16:55 -0700)]
Import translations. DO NOT MERGE

Change-Id: I2c6419d6531613745bd3911f59bec65c2cbcbf51
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

7 years agoMerge "Fix broken robotests." into oc-dr1-dev
Sundeep Ghuman [Tue, 1 Aug 2017 22:47:07 +0000 (22:47 +0000)]
Merge "Fix broken robotests." into oc-dr1-dev
am: a048e3c03f

Change-Id: If07fc6d27b94cd515f2b205ab2cd77bd84302942

7 years agoMerge "Fix broken robotests." into oc-dr1-dev
TreeHugger Robot [Tue, 1 Aug 2017 22:38:28 +0000 (22:38 +0000)]
Merge "Fix broken robotests." into oc-dr1-dev

7 years agoFixed an issue where icons were jumping
Selim Cinek [Tue, 1 Aug 2017 00:47:45 +0000 (17:47 -0700)]
Fixed an issue where icons were jumping

Because width and height are different for icons on
some devices, the animation could jump unfortunately.
This was mainly introduced since we changed the
statusbar height.

Test: observe icon animations (Especially on last notification)
Change-Id: Iee4f63467895045146c92d68eb4f9ca8a38d943a
Fixes: 64008528

7 years agoFixed a clipping issue in AOD
Selim Cinek [Sat, 29 Jul 2017 01:19:03 +0000 (18:19 -0700)]
Fixed a clipping issue in AOD

We're now guaranteeing that notifications beyond the first element
are hidden on AOD and not just based on the algorithm calculations.

Change-Id: I6c0cddbc2ac2c9544c010cd28f2a766c379700f0
Fixes: 64078213
Test: turn on redaction, add gmail notification with other notifications present.

7 years agoMerge "Fixed an issue where the statusbar was expanded" into oc-dr1-dev
Selim Cinek [Tue, 1 Aug 2017 21:58:33 +0000 (21:58 +0000)]
Merge "Fixed an issue where the statusbar was expanded" into oc-dr1-dev
am: bbd9264c46

Change-Id: I0e0d6fac50335a93b5ee15af75096d7db0389a70

7 years agoMerge "Fixed an issue where the statusbar was expanded" into oc-dr1-dev
TreeHugger Robot [Tue, 1 Aug 2017 21:37:00 +0000 (21:37 +0000)]
Merge "Fixed an issue where the statusbar was expanded" into oc-dr1-dev

7 years agoMerge "docs: Noted that JobIntentService is usually a better choice" into oc-dev...
Andrew Solovay [Tue, 1 Aug 2017 21:31:59 +0000 (21:31 +0000)]
Merge "docs: Noted that JobIntentService is usually a better choice" into oc-dev am: d71cc3b72e
am: 9e1b7759dc

Change-Id: I9b6e9c02f2237c48fdac4fd6f0c4afc4eb8b03cd

7 years agoMerge "docs: Noted that JobIntentService is usually a better choice" into oc-dev
Andrew Solovay [Tue, 1 Aug 2017 21:21:58 +0000 (21:21 +0000)]
Merge "docs: Noted that JobIntentService is usually a better choice" into oc-dev
am: d71cc3b72e

Change-Id: I8130d71136078d17196e198db6ff36f7f8489a5c

7 years agoView: fix setTransientState
Dake Gu [Tue, 1 Aug 2017 20:42:42 +0000 (13:42 -0700)]
View: fix setTransientState

Following four steps with RecyclerView - CardView - ImageView:
a. fade in imageview in onBind:
calling imageView.setTransientState(true)
b. RecyclerView animate the item: calling
cardView.setTransientState(true)
c. fade-in finishes, calling imageView.setTransientState(false)
d. RecyclerView animation finishes: calling
cardView.setTransientState(false)

After these four steps, RecyclerView unexpectedly has transient
state.

The problem is in step b, when calling cardView.setTransientState()
it incorrectly calls parent.childHasTransientStateChanged(this, true)
which causes RecyclerView's mChildCountWithTransientState increased
to 2. And it's decreased to 1 in step d and stay as 1 forever.

The child should only call childHasTransientStateChanged() when
actual hasTransientState() changed.

Bug: 64235615
Test: ViewTransientStateTest
Change-Id: I99ed35cc9c49e54d36590d8f1d206501fd3288f2

7 years agoMerge "docs: Noted that JobIntentService is usually a better choice" into oc-dev
Andrew Solovay [Tue, 1 Aug 2017 21:07:18 +0000 (21:07 +0000)]
Merge "docs: Noted that JobIntentService is usually a better choice" into oc-dev

7 years agoMake a11y shortcut dialog themeable
Phil Weaver [Fri, 28 Jul 2017 19:58:15 +0000 (12:58 -0700)]
Make a11y shortcut dialog themeable

Bug: 64145430
Test: Brought up dialog. It's now blue.
Change-Id: Ib830734da43001260628133c05f3f3faee9c1563
(cherry picked from commit 5351872f4f033badbb176b273e38afb5d33b35b8)

7 years agoMerge "Volume slider content description" into oc-mr1-dev
Lucas Dupin [Tue, 1 Aug 2017 20:49:39 +0000 (20:49 +0000)]
Merge "Volume slider content description" into oc-mr1-dev

7 years agoMerge "Add new Dolby Vision Profile types" into oc-mr1-dev
TreeHugger Robot [Tue, 1 Aug 2017 20:31:01 +0000 (20:31 +0000)]
Merge "Add new Dolby Vision Profile types" into oc-mr1-dev

7 years agoMerge "Set default value for T3T_PMM." into oc-dr1-dev
Love Khanna [Tue, 1 Aug 2017 20:03:44 +0000 (20:03 +0000)]
Merge "Set default value for T3T_PMM." into oc-dr1-dev
am: 756d93964d

Change-Id: Idf050b3f7a144a5074b33677269305d9eadd312d

7 years agoMerge "Fix issue #64224738: Document return value of IBinder.transact()" into oc...
Dianne Hackborn [Tue, 1 Aug 2017 20:01:32 +0000 (20:01 +0000)]
Merge "Fix issue #64224738: Document return value of IBinder.transact()" into oc-mr1-dev

7 years agoMerge "Revert "Fixing occasional jump when launching certain apps from Recents."...
Adam Cohen [Tue, 1 Aug 2017 19:56:04 +0000 (19:56 +0000)]
Merge "Revert "Fixing occasional jump when launching certain apps from Recents."" into oc-dr1-dev
am: 0151c395b5

Change-Id: I2ae775926cdd52e2e0fb00cd2c2fb2b7dc92e863

7 years agoMerge "Make it easier to click on phone nav buttons" into oc-dr1-dev
Jason Monk [Tue, 1 Aug 2017 19:52:08 +0000 (19:52 +0000)]
Merge "Make it easier to click on phone nav buttons" into oc-dr1-dev
am: 7d08ca6e4d

Change-Id: I8e2c578cb564b2bc2de7c793eb40dea2639fa04e

7 years agoClarifies how the autofill service should check for signature hashes.
Felipe Leme [Mon, 31 Jul 2017 18:34:14 +0000 (11:34 -0700)]
Clarifies how the autofill service should check for signature hashes.

Test: m update-api

Bug: 64125551
Fixes: 63991811

Change-Id: I1ba66787ef91c0fc5fab20b5e9e9fd47aee46412

7 years agoMerge "Set default value for T3T_PMM." into oc-dr1-dev
TreeHugger Robot [Tue, 1 Aug 2017 19:48:12 +0000 (19:48 +0000)]
Merge "Set default value for T3T_PMM." into oc-dr1-dev

7 years agoFix deadlock between AMS and EphemeralResolverConnection
Snild Dolkow [Wed, 14 Jun 2017 07:57:36 +0000 (09:57 +0200)]
Fix deadlock between AMS and EphemeralResolverConnection

The ActivityManagerService lock may be taken when calling into ERC
through ActivityStarter.startActivityMayWait().

At the same time, a PackageManagerService.getLastChosenActivity() call
could take the ERC lock and call unbindService(), requesting the AMS
lock.

Deadlock.

Solved by making sure to drop the ERC lock before calling into AMS.
This necessitated an extra state to prevent multiple callers from
clobbering the binding, so mIsBinding became mBindState.

The IDLE state means that nothing is currently binding.

The BINDING state means someone is initiating a bind, including the
wait() call thereafter.

The PENDING state means that bindService() has been called, but the
caller's timeout expired (i.e. the new caller may want to rebind).

Fixes: 63150916
Test: for x in $(seq 100); do adb shell am start  http://127.0.0.1/does-not-exist.html; adb shell input keyevent 3; done
Change-Id: I2cb5610a2277ef641f8e2d7f5ad1c4a72bb4f026

7 years agoMerge "Log package parse timings" into oc-mr1-dev
TreeHugger Robot [Tue, 1 Aug 2017 19:46:29 +0000 (19:46 +0000)]
Merge "Log package parse timings" into oc-mr1-dev

7 years agoMerge "Revert "Fixing occasional jump when launching certain apps from Recents."...
Adam Cohen [Tue, 1 Aug 2017 19:41:42 +0000 (19:41 +0000)]
Merge "Revert "Fixing occasional jump when launching certain apps from Recents."" into oc-dr1-dev

7 years agoMerge "Make it easier to click on phone nav buttons" into oc-dr1-dev
Jason Monk [Tue, 1 Aug 2017 19:41:10 +0000 (19:41 +0000)]
Merge "Make it easier to click on phone nav buttons" into oc-dr1-dev

7 years agoMerge "Minor Autofill javadoc fix." into oc-mr1-dev
Felipe Leme [Tue, 1 Aug 2017 19:33:25 +0000 (19:33 +0000)]
Merge "Minor Autofill javadoc fix." into oc-mr1-dev