OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Add new window type TYPE_DRAWN_APPLICATION" into nyc-mr1-dev
Chong Zhang [Tue, 16 Aug 2016 19:49:28 +0000 (19:49 +0000)]
Merge "Add new window type TYPE_DRAWN_APPLICATION" into nyc-mr1-dev

7 years agoMerge "Add null check to KeyEventDispatcher." into nyc-mr1-dev
Phil Weaver [Tue, 16 Aug 2016 19:33:27 +0000 (19:33 +0000)]
Merge "Add null check to KeyEventDispatcher." into nyc-mr1-dev

7 years agoMerge "Fixed a bug where the summary could become visible even if it was suppressed...
TreeHugger Robot [Tue, 16 Aug 2016 18:36:24 +0000 (18:36 +0000)]
Merge "Fixed a bug where the summary could become visible even if it was suppressed" into nyc-mr1-dev

7 years agoMerge "NavBar: Use rotation watcher" into nyc-mr1-dev
Adrian Roos [Tue, 16 Aug 2016 18:32:26 +0000 (18:32 +0000)]
Merge "NavBar: Use rotation watcher" into nyc-mr1-dev

7 years agoMerge "Support auto-downgrade to audio when data disabled." into nyc-mr1-dev
Tyler Gunn [Tue, 16 Aug 2016 18:32:12 +0000 (18:32 +0000)]
Merge "Support auto-downgrade to audio when data disabled." into nyc-mr1-dev

7 years agoMerge "Replace android auto assets with the latest" into nyc-mr1-dev
Sriram Viswanathan [Tue, 16 Aug 2016 18:20:10 +0000 (18:20 +0000)]
Merge "Replace android auto assets with the latest" into nyc-mr1-dev

7 years agoFixed a bug where the summary could become visible even if it was suppressed
Selim Cinek [Tue, 16 Aug 2016 02:39:55 +0000 (19:39 -0700)]
Fixed a bug where the summary could become visible even if it was suppressed

Because the updating of the suppression was prohibited, some groups could loose
their suppression state when they were heads upped. This would lead to duplicate
notifications. We're now still allowing the state to be properly modified instead
but don't notify listeners anymore since that was only an internal update.

Change-Id: I6ae96ea8cfab00ef6bdb1ef047f8b77ea88e8206
Fixes: 30608517

7 years agoFix maps resume being blank
John Reck [Tue, 16 Aug 2016 16:44:23 +0000 (09:44 -0700)]
Fix maps resume being blank

Bug: 30889568

Fixes an issue where mLayer didn't have
the mSurface set on it in certain resume
scenarios.

Change-Id: Ib75065d3d75e6141d6cd8f306584f6a569b9907c

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Tue, 16 Aug 2016 15:32:03 +0000 (15:32 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Tue, 16 Aug 2016 15:30:36 +0000 (15:30 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 16 Aug 2016 09:02:06 +0000 (02:02 -0700)]
Import translations. DO NOT MERGE

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

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 16 Aug 2016 07:29:56 +0000 (00:29 -0700)]
Import translations. DO NOT MERGE

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

7 years agoMerge changes I082e323e,I326bf776 into nyc-mr1-dev
Rob Carr [Tue, 16 Aug 2016 01:31:31 +0000 (01:31 +0000)]
Merge changes I082e323e,I326bf776 into nyc-mr1-dev

* changes:
  Limit seamless rotation to TRANSFORM_INVERSE_DISPLAY children.
  Allow seamless rotation before mTopIsFullscreen is set.

7 years agoMerge "Doc change: escape lt char in generic type in pre block." into nyc-dev
Dirk Dougherty [Tue, 16 Aug 2016 01:30:07 +0000 (01:30 +0000)]
Merge "Doc change: escape lt char in generic type in pre block." into nyc-dev
am: 114c09498d

Change-Id: Ie7f79a9236823a9066867fb52bf352523730ec3f

7 years agoDoc change: escape lt char in generic type in pre block.
Dirk Dougherty [Tue, 16 Aug 2016 01:30:04 +0000 (01:30 +0000)]
Doc change: escape lt char in generic type in pre block.
am: 1035b25825

Change-Id: I4e4c01fe612bbcf05c31c6d33da6bbbe837aa468

7 years agoMerge "Introduce new constant for double tap gesture rotation hint." into nyc-mr1-dev
TreeHugger Robot [Tue, 16 Aug 2016 01:21:56 +0000 (01:21 +0000)]
Merge "Introduce new constant for double tap gesture rotation hint." into nyc-mr1-dev

7 years agoMerge "Doc change: escape lt char in generic type in pre block." into nyc-dev
Dirk Dougherty [Tue, 16 Aug 2016 01:17:31 +0000 (01:17 +0000)]
Merge "Doc change: escape lt char in generic type in pre block." into nyc-dev

7 years agoAdd null check to KeyEventDispatcher.
Phil Weaver [Tue, 16 Aug 2016 00:49:55 +0000 (17:49 -0700)]
Add null check to KeyEventDispatcher.

Make sure we don't try to dispatch key events to services
that have died. Doing so crashes the device.

Bug: 30866905
Change-Id: I1cc0515cca8924b0c2744de98ac75a901b94246d

7 years agoNavBar: Use rotation watcher
Adrian Roos [Thu, 11 Aug 2016 17:41:08 +0000 (10:41 -0700)]
NavBar: Use rotation watcher

Replaces the display changed listener with a
rotation watcher. The display listener fired
too late and did not produce a rotated frame
in time. Also cleans up logging tags.

Change-Id: I3336275ae123f868ed9ee8cc28a6285a06f2e1a6
Fixes: 30312602

7 years agoAdd new window type TYPE_DRAWN_APPLICATION
Chong Zhang [Tue, 16 Aug 2016 00:14:16 +0000 (17:14 -0700)]
Add new window type TYPE_DRAWN_APPLICATION

This type behaves like a normal TYPE_APPLICATION, except that WM
will always wait for it to be drawn before starting a transition.

WM always waits for TYPE_BASE_APPLICATION (main window), but for
TYPE_APPLICATION, it only waits if the window relayouts to visible
and gets a surface before the main window is drawn. If main window
itself is ready very fast, transition could start without the other
window.

bug: 30830849
Change-Id: Ife71a9812db7c8eba6ee4ead10ce4f31d9e93b40

7 years agoMerge "Changing user inactivity and warning dialog timeouts" into nyc-mr1-dev
TreeHugger Robot [Tue, 16 Aug 2016 00:21:34 +0000 (00:21 +0000)]
Merge "Changing user inactivity and warning dialog timeouts" into nyc-mr1-dev

7 years agoMerge "Count failed install as finished" into nyc-mr1-dev
TreeHugger Robot [Mon, 15 Aug 2016 23:58:06 +0000 (23:58 +0000)]
Merge "Count failed install as finished" into nyc-mr1-dev

7 years agoMerge "Fix bug where RemoteInputView didn't reopen the IME" into nyc-mr1-dev
TreeHugger Robot [Mon, 15 Aug 2016 23:45:04 +0000 (23:45 +0000)]
Merge "Fix bug where RemoteInputView didn't reopen the IME" into nyc-mr1-dev

7 years agoMerge "AAPT: Fix use-after-free error" into nyc-mr1-dev
TreeHugger Robot [Mon, 15 Aug 2016 22:56:00 +0000 (22:56 +0000)]
Merge "AAPT: Fix use-after-free error" into nyc-mr1-dev

7 years agoChanging user inactivity and warning dialog timeouts
Suprabh Shukla [Mon, 15 Aug 2016 19:50:32 +0000 (12:50 -0700)]
Changing user inactivity and warning dialog timeouts

Increasing the inactivity timeout to 90 seconds to accomodate the longest
app. demo video for retail. Also, removing the warning dialog by setting
the countdown timeout to 0, so it can be re-enabled by overriding the value
through gservices if needed.

Bug: 30426773
Bug: 30866394
Change-Id: I6735943adfaf3d210ed9eb9163b5c7ce8dcf53ec

7 years agoMerge "Add missing remote conference property set." into nyc-mr1-dev
Tyler Gunn [Mon, 15 Aug 2016 22:32:02 +0000 (22:32 +0000)]
Merge "Add missing remote conference property set." into nyc-mr1-dev

7 years agoCount failed install as finished
Fyodor Kupolov [Mon, 15 Aug 2016 22:29:47 +0000 (15:29 -0700)]
Count failed install as finished

Otherwise DEMO_USER_SETUP_COMPLETE will not be set.

Bug: 30445353
Change-Id: Id2a0c1b1643dd9846328a20f4c67e11e69b3bc84

7 years agoLimit seamless rotation to TRANSFORM_INVERSE_DISPLAY children.
Robert Carr [Mon, 15 Aug 2016 19:19:00 +0000 (12:19 -0700)]
Limit seamless rotation to TRANSFORM_INVERSE_DISPLAY children.

In what can only be called an unfortunate workaround we require
seamlessly rotated child windows to have the
TRANSFORM_TO_DISPLAY_INVERSE
flag. Due to limitations in the client API, there is no way for the
client to set this flag in a race free fashion. If we seamlessly rotate
a window which does not have this flag, but then it gains it,
we will have an incorrect visual result (rotated buffer contents). This
means if we want to support seamlessly rotating windows which could gain
this flag, we can't seamlessly rotate windows which don't have it. This
unfortunately limits seamless rotation in N to Camera framework users,
native code, and applications without child windows. This is unfortunate
but having the camera work was always our primary use case, and it's not
as if we are offering an API for it, it's a behind the scenes
enhancement of ROTATION_ANIMATION_JUMPCUT.

Bug: 30171992
Change-Id: I082e323ee569cfc1ff2559657cc22194c251c7ec

7 years agoFix bug where RemoteInputView didn't reopen the IME
Adrian Roos [Mon, 15 Aug 2016 22:02:46 +0000 (15:02 -0700)]
Fix bug where RemoteInputView didn't reopen the IME

Editable TextViews are implicitly selectable. Setting the selectable
property to true however causes a bug where the onTouch logic thinks
the view is not editable and thus doesn't show the IME when clicking
that view.

Change-Id: I9dd6139195bd98b26293e330290650d4e5549a6d
Fixes: 30595718

7 years agoFixed an issue where the background could show in a wrong way
Selim Cinek [Mon, 15 Aug 2016 19:40:57 +0000 (12:40 -0700)]
Fixed an issue where the background could show in a wrong way

Change-Id: Icefeb2275d6cbabc576c35990ce4441b3a41ebd9
Fixes: 30855224

7 years agoAAPT: Fix use-after-free error
Adam Lesinski [Mon, 15 Aug 2016 21:19:46 +0000 (14:19 -0700)]
AAPT: Fix use-after-free error

Re-order deletion of ResXMLTree and the Asset object
it iterates over.

Bug:30844391
Change-Id: Ied033d0a8f93343006228a2054c6d0f42bb4717a

7 years agoMerge "Docs only: N is no longer a shrug." into nyc-mr1-dev
Dianne Hackborn [Mon, 15 Aug 2016 21:16:41 +0000 (21:16 +0000)]
Merge "Docs only: N is no longer a shrug." into nyc-mr1-dev

7 years agoWallpaper target selection during animation
Chong Zhang [Fri, 12 Aug 2016 23:03:29 +0000 (16:03 -0700)]
Wallpaper target selection during animation

In case of double tapping from Home, there could be two set of
transitions, first is launcher->Recents, followed shortly by
Recents->app. On the second transition, it should be running
a wallpaper close, but because of the way we pick wallpaper
target, sometimes we pick launcher if both launcher & Recents
are animating away. This makes us to run a different animation
which could involve dimming the wallpaper briefly.

Also, findWallpaperTarget() sometimes could toggle between two
valid wallpaper targets, picking either of them gives correct
result for showing the wallpaper, but could result in different
exit transition.

This change prefers the visible target if there is only one
visible, otherwise the one in opening or closing app list. This
helps maybeUpdateTransitToWallpaper to better choose transition.

bug: 30831873
Change-Id: I0eaa89bdc35f5f51875d5cbeceba11ce40f4791f

7 years agoDO NOT MERGE ANYWHERE: Make slow brightness display ramp rate configurable. am: 13edf...
Julius D'souza [Mon, 15 Aug 2016 19:47:33 +0000 (19:47 +0000)]
DO NOT MERGE ANYWHERE: Make slow brightness display ramp rate configurable. am: 13edf0a70b  -s ours am: 0903c5fe7a  -s ours
am: f51dfc24d1  -s ours

Change-Id: Iada12a5685d32efafedd18b4d6fba5b8cc642f60

7 years agoDO NOT MERGE ANYWHERE: Make slow brightness display ramp rate configurable. am: 13edf...
Julius D'souza [Mon, 15 Aug 2016 19:33:29 +0000 (19:33 +0000)]
DO NOT MERGE ANYWHERE: Make slow brightness display ramp rate configurable. am: 13edf0a70b  -s ours
am: 0903c5fe7a  -s ours

Change-Id: Iba7ccc2ec071ea8c13d146b39aab48d2f4fc4977

7 years agoMerge "QS Footer: Don't update icon from wrong thread." into nyc-mr1-dev
TreeHugger Robot [Mon, 15 Aug 2016 19:25:45 +0000 (19:25 +0000)]
Merge "QS Footer: Don't update icon from wrong thread." into nyc-mr1-dev

7 years agoAllow seamless rotation before mTopIsFullscreen is set.
Robert Carr [Mon, 15 Aug 2016 19:05:21 +0000 (12:05 -0700)]
Allow seamless rotation before mTopIsFullscreen is set.

The difference between mTopFullscreenOpaqueWindowState != null
and mTopIsFullscreen relates to whether the status bar is animating.
However the flag won't be cleared until the next layout pass following
the animation. As long as the window isn't animating we are fine to
rotate seamlessly. This check was copied from selectRotationAnimationLw.
A little code archaeology implies it was perhaps historical and
introduced before the flag had this meaning.

Bug: 30171992
Change-Id: I326bf7766f8ebe307b833d1ca0c0cdfe80b1eb6c

7 years agoIntroduce new constant for double tap gesture rotation hint.
Robert Carr [Mon, 15 Aug 2016 19:00:35 +0000 (12:00 -0700)]
Introduce new constant for double tap gesture rotation hint.

As discussed in ag/1192965/ we have a special case for rotation
animation selection in launch from double tap. This was set to
ROTATION_ANIMATION_CROSSFADE as the goal was just to avoid
ROTATION_ANIMATION_ROTATE on the viewfinder surface and
seamless rotation in launch scenarios was initially descoped. Now we
are aiming at fixing this though, and ROTATION_ANIMATION_CROSSFADE
does not quality for seamless rotation. ROTATION_ANIMATION_JUMPCUT
also would not be a good choice because in the situation that the
rotation occurs before the app starting window appears, then we would
jump cut from unrotated wallpaper to rotated app, I think we want
a crossfade in this scenario. To this end introduce and use a new @hide constant
ROTATION_ANIMATION_SEAMLESS which qualifies for seamless but falls back
to CROSSFADE if seamless can't occur.

Bug: 30171992
Change-Id: If1945b17b5159be4cd5ba0b139d6bea9f7fcca33

7 years agoDO NOT MERGE ANYWHERE: Make slow brightness display ramp rate configurable.
Julius D'souza [Mon, 15 Aug 2016 19:25:33 +0000 (19:25 +0000)]
DO NOT MERGE ANYWHERE: Make slow brightness display ramp rate configurable.
am: 13edf0a70b  -s ours

Change-Id: I7c02cea3ea0008f3f112063b6a06d08049c4998b

7 years agoDO NOT MERGE ANYWHERE: Make slow brightness display ramp rate configurable.
Julius D'souza [Fri, 5 Aug 2016 21:34:38 +0000 (14:34 -0700)]
DO NOT MERGE ANYWHERE: Make slow brightness display ramp rate configurable.

Add overlay setting with current default value.

Bug: 30085530
Change-Id: Ib5d2448b88cfb66a97febcdf06e2118c84b16cd0

7 years agoRevert "DO NOT MERGE -- Revert the following two commits as they're causing flickering"
Chong Zhang [Mon, 15 Aug 2016 18:09:29 +0000 (11:09 -0700)]
Revert "DO NOT MERGE -- Revert the following two commits as they're causing flickering"

This reverts commit 44bd57ee25484bd74025c116f8a83d1df5990f34.

bug: 30831873
bug: 30790402

7 years agoMerge "Allow performShowLocked when transition animation started" into nyc-mr1-dev
Chong Zhang [Mon, 15 Aug 2016 19:04:47 +0000 (19:04 +0000)]
Merge "Allow performShowLocked when transition animation started" into nyc-mr1-dev

7 years agoMerge "Fixed that HUNs wouldn't show when the keyguard is occluded" into nyc-mr1-dev
Selim Cinek [Mon, 15 Aug 2016 18:35:57 +0000 (18:35 +0000)]
Merge "Fixed that HUNs wouldn't show when the keyguard is occluded" into nyc-mr1-dev

7 years agoQS Footer: Don't update icon from wrong thread.
Jason Monk [Mon, 15 Aug 2016 17:57:43 +0000 (13:57 -0400)]
QS Footer: Don't update icon from wrong thread.

Change-Id: I25191818579fac57236b67d7291b6ee00dd838b5
Fixes: 30748384

7 years agoAdd missing remote conference property set.
Tyler Gunn [Mon, 15 Aug 2016 17:56:12 +0000 (10:56 -0700)]
Add missing remote conference property set.

When creating a new remote conference, there was a missing call to
"setConnectionProperties".  This would prevent remote conferences from
being created with the correct properties as defined in the actual
conference.

Bug: 30383741
Change-Id: I335e35c222ae18b0d6ea7e750b91bcc36aa40ece

7 years agoAllow performShowLocked when transition animation started
Chong Zhang [Mon, 15 Aug 2016 01:47:54 +0000 (18:47 -0700)]
Allow performShowLocked when transition animation started

Some transitions can have no animation, in which case
isReadyForDisplayIgnoringKeyguard() will wait for VIEW visibility
to become VISIBLE. But if we have a saved surface, the transition
could have already started. This causes exiting app to be hidden,
while entering app's performShowLocked() still hold back waiting
for the relayout to visible.

If we started animating with saved surface, it should also count
as transition animation started.

b/30855380

Change-Id: I6260a323b48e57d8337267d9136f630226a48dc8

7 years agoMerge "Update RenderScript docs: reduction, other API 23/24 changes, cleanup." into...
David Gross [Mon, 15 Aug 2016 17:23:17 +0000 (17:23 +0000)]
Merge "Update RenderScript docs: reduction, other API 23/24 changes, cleanup." into nyc-dev
am: 8cb4ca439e

Change-Id: I1507e8d3d8bf588ea48e17b3d93ced19228d5d21

7 years agoUpdate RenderScript docs: reduction, other API 23/24 changes, cleanup.
David Gross [Mon, 15 Aug 2016 17:23:14 +0000 (17:23 +0000)]
Update RenderScript docs: reduction, other API 23/24 changes, cleanup.
am: b50e856fc7

Change-Id: I37cf0227be2a32261b44f19f6d45a5ea4ff6f624

7 years agoMerge "Update RenderScript docs: reduction, other API 23/24 changes, cleanup." into...
David Gross [Mon, 15 Aug 2016 17:17:01 +0000 (17:17 +0000)]
Merge "Update RenderScript docs: reduction, other API 23/24 changes, cleanup." into nyc-dev

7 years agoMerge "SamplingTimer: Fix issue with summary recording too much" into nyc-mr1-dev
TreeHugger Robot [Sat, 13 Aug 2016 00:40:52 +0000 (00:40 +0000)]
Merge "SamplingTimer: Fix issue with summary recording too much" into nyc-mr1-dev

7 years agoMerge "Remember all wallpapers' backup-allow state" into nyc-mr1-dev
TreeHugger Robot [Sat, 13 Aug 2016 00:24:10 +0000 (00:24 +0000)]
Merge "Remember all wallpapers' backup-allow state" into nyc-mr1-dev

7 years agoMerge "Fix LockscreenWallpaper jank" into nyc-mr1-dev
TreeHugger Robot [Sat, 13 Aug 2016 00:12:59 +0000 (00:12 +0000)]
Merge "Fix LockscreenWallpaper jank" into nyc-mr1-dev

7 years agoDocs only: N is no longer a shrug.
Dianne Hackborn [Fri, 12 Aug 2016 23:15:44 +0000 (16:15 -0700)]
Docs only: N is no longer a shrug.

Change-Id: I6fa8f77d93f53b7969ec6aab4c7e9ca27d17d01f

7 years agoMerge "Copy exiting app token list while stepping animation." into nyc-mr1-dev
TreeHugger Robot [Fri, 12 Aug 2016 23:48:12 +0000 (23:48 +0000)]
Merge "Copy exiting app token list while stepping animation." into nyc-mr1-dev

7 years agoSamplingTimer: Fix issue with summary recording too much
Adam Lesinski [Fri, 12 Aug 2016 22:49:44 +0000 (15:49 -0700)]
SamplingTimer: Fix issue with summary recording too much

The summary is supposed to just hold enough data to continue counting
once the device has reset. Since kernel stats reset when the device
resets, and the first update is ignored to account for soft resets where the
kernel continues running, SamplingTimer should not be recording the last value
it saw from /proc/wakelocks in the summary.

Bug:30575302
Change-Id: Ic193bc5af9a0ede514e3abc8146523d7316c47d3

7 years agoFix LockscreenWallpaper jank
Adrian Roos [Fri, 12 Aug 2016 22:29:36 +0000 (15:29 -0700)]
Fix LockscreenWallpaper jank

Change-Id: I3f11d26eaa51eb509284fb1bb25eab03a4f243a0
Fixes: 30493315

7 years agoCopy exiting app token list while stepping animation.
Robert Carr [Fri, 12 Aug 2016 20:50:38 +0000 (13:50 -0700)]
Copy exiting app token list while stepping animation.

Stepping the animation can lead to WindowStateAnimator#finishExit,
which can lead to WindowManagerService#removeWindowInnerLocked, which
can immediately call WindowSurfacePlacer.performSurfacePlacement. From
here we will directly modify mExitingAppTokens for each stack and remove
tokens where exiting is complete. I think removeWindowInnerLocked making
a direct call to performSurfacePlacement is questionable...but changing
semantics there is very risky. For now, simply avoid processing tokens
in the animator if the surface placer has removed them. It seems all we
would want to do is trigger a layout pass, which has just occured anyway.

Bug: 30813094
Change-Id: Iaff77d227e09839f7e6edda6b8f188d164e6da74

7 years agoMerge "Fix documentation." into nyc-mr1-dev
Hui Shu [Fri, 12 Aug 2016 21:24:42 +0000 (21:24 +0000)]
Merge "Fix documentation." into nyc-mr1-dev

7 years agoSupport auto-downgrade to audio when data disabled.
Tyler Gunn [Fri, 12 Aug 2016 21:14:13 +0000 (14:14 -0700)]
Support auto-downgrade to audio when data disabled.

Add carrier config option to determine if carrier supports downgrade to
audio.
Add new telephony Connection events to signal Dialer that there was a
downgrade to audio, and why.

Bug: 30702393
Change-Id: Idd5272aafd71601e92291644640f52afe200208e

7 years agoRemember all wallpapers' backup-allow state
Christopher Tate [Fri, 12 Aug 2016 21:13:02 +0000 (14:13 -0700)]
Remember all wallpapers' backup-allow state

...not just system wallpapers.

Bug 30751829

Change-Id: If9f5df33e587e31080a7e65b1cbcae03f9a39f3c

7 years agoLimit capabilities of a11y gesture dispatch.
Phil Weaver [Fri, 12 Aug 2016 21:05:15 +0000 (21:05 +0000)]
Limit capabilities of a11y gesture dispatch.
am: 157f416a35

Change-Id: I260318856e390a585b0fdf404a10916f2ee5af82

7 years agoReplace android auto assets with the latest
Sriram Viswanathan [Fri, 12 Aug 2016 20:51:10 +0000 (13:51 -0700)]
Replace android auto assets with the latest

The latest assets which matches up with that in the App.
Also the matches up with sizes with icons the nexus launcher.

BUG:30388078

Change-Id: Iffac75b86c3d736392fa7a1809ffdf921d610b3d

7 years agoMerge "Assist: Allow disabling the disclosure animation" into nyc-mr1-dev
TreeHugger Robot [Fri, 12 Aug 2016 20:28:10 +0000 (20:28 +0000)]
Merge "Assist: Allow disabling the disclosure animation" into nyc-mr1-dev

7 years agoMerge "Add restart to GlobalActions." into nyc-mr1-dev
Alison Cichowlas [Fri, 12 Aug 2016 20:12:37 +0000 (20:12 +0000)]
Merge "Add restart to GlobalActions." into nyc-mr1-dev

7 years agoMerge "Add property to force restorecon to run." into nyc-mr1-dev
TreeHugger Robot [Fri, 12 Aug 2016 20:12:15 +0000 (20:12 +0000)]
Merge "Add property to force restorecon to run." into nyc-mr1-dev

7 years agoMerge "Fix NPE in deferToPendingTransaction." into nyc-mr1-dev
Rob Carr [Fri, 12 Aug 2016 20:00:05 +0000 (20:00 +0000)]
Merge "Fix NPE in deferToPendingTransaction." into nyc-mr1-dev

7 years agoMerge "DO NO MERGE -- Revert the following two commits as they're causing flickering...
Chong Zhang [Fri, 12 Aug 2016 19:44:11 +0000 (19:44 +0000)]
Merge "DO NO MERGE -- Revert the following two commits as they're causing flickering" into nyc-mr1-dev

7 years agoDO NO MERGE -- Revert the following two commits as they're causing flickering
Chong Zhang [Fri, 12 Aug 2016 18:44:52 +0000 (11:44 -0700)]
DO NO MERGE -- Revert the following two commits as they're causing flickering

When double tapping Recents, need to reinvestigate.

b/30831873
b/30790402

Revert "Clear WS.mDestroying on AWT.clearAnimatingFlags"

This reverts commit c2661e52eae3161ac8c02e831290ad50ad395be2.

Revert "Some fixes for transition animation selection"

This reverts commit 73e9bc3f1557f0320c8af843dfb051f27187361d.

7 years agoMerge "Account for scaling of surfaceInset area in magnification." into nyc-mr1-dev
Rob Carr [Fri, 12 Aug 2016 19:37:15 +0000 (19:37 +0000)]
Merge "Account for scaling of surfaceInset area in magnification." into nyc-mr1-dev

7 years agoAssist: Allow disabling the disclosure animation
Adrian Roos [Thu, 11 Aug 2016 22:42:40 +0000 (15:42 -0700)]
Assist: Allow disabling the disclosure animation

Change-Id: I6e7ed00f066fda7cc268119e7aa4133010aa69c1
Fixes: 30809067

7 years agoAdd property to force restorecon to run.
Jeff Sharkey [Fri, 12 Aug 2016 18:26:54 +0000 (12:26 -0600)]
Add property to force restorecon to run.

As an optimization, we typically only run restorecon when
seapp_contexts changes.  This CL checks a property that can be used
to always force a restorecon to help investigate boot timing.

Bug: 30213213
Change-Id: I4d65c1a4e4a0830ef4a32cd2fae1d3ab188b65cc

7 years agoUpdate RenderScript docs: reduction, other API 23/24 changes, cleanup.
David Gross [Fri, 12 Aug 2016 18:06:29 +0000 (11:06 -0700)]
Update RenderScript docs: reduction, other API 23/24 changes, cleanup.

Substantive changes:
- Add discussion of reduction kernels.
- Use RS_KERNEL in place of __attribute__((kernel)).
- Discuss "context" special argument.
- Special arguments x, y, z may be of type int.
- Discuss multiple inputs for mapping kernels.
- Mention that script-side global writes are not visible in Java.
- Rewrite part of discussion regarding when to use support library.
- Change minimum device version for support library from Android 2.2 (API level 8)
  to Android 2.3 (API level 9).

Stylistic changes (better conformance with style guide):
- Proper use of <i> (italic) versus <em> (emphasis).
- Proper case for headings.
- Proper pattern for Android version numbers.
- Do not use e.g. or i.e.
- Prefer active rather than passive voice.
- Prefer present rather than future tense.

Miscellaneous minor editorial changes.

Bug: 27299393
Bug: 30000147

Change-Id: Ie0a26152714cf8f619d4914218f7262d675bb25f
(cherry picked from commit 05eef3040ed1bbd7640151b395072b8264b6d53d)

7 years agoMerge "Fix a race to detemine IME switcher visibilityde" into nyc-mr1-dev
Yohei Yukawa [Fri, 12 Aug 2016 17:43:42 +0000 (17:43 +0000)]
Merge "Fix a race to detemine IME switcher visibilityde" into nyc-mr1-dev

7 years agoAdd restart to GlobalActions.
Alison Cichowlas [Fri, 5 Aug 2016 18:50:27 +0000 (14:50 -0400)]
Add restart to GlobalActions.

Update power icon in GlobalActions for consistency
with new restart icon.

Bug: 30395806
Change-Id: I5ab20c15c889384fb685fc678fbf9ed912fcde5d

7 years agoMerge "Start listening on notifications/QS panels on expansion started" into nyc...
Jason Monk [Fri, 12 Aug 2016 17:04:45 +0000 (17:04 +0000)]
Merge "Start listening on notifications/QS panels on expansion started" into nyc-mr1-dev

7 years agoMerge "Add ImsReason codes and DisconnectCauses for data disconnects." into nyc-mr1-dev
Tyler Gunn [Fri, 12 Aug 2016 14:54:26 +0000 (14:54 +0000)]
Merge "Add ImsReason codes and DisconnectCauses for data disconnects." into nyc-mr1-dev

7 years agoMerge "Fix NPE in TextureView" into nyc-mr1-dev
John Reck [Fri, 12 Aug 2016 14:25:14 +0000 (14:25 +0000)]
Merge "Fix NPE in TextureView" into nyc-mr1-dev

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Fri, 12 Aug 2016 10:44:40 +0000 (10:44 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Fri, 12 Aug 2016 09:24:37 +0000 (09:24 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Fri, 12 Aug 2016 09:24:19 +0000 (09:24 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 12 Aug 2016 07:26:31 +0000 (00:26 -0700)]
Import translations. DO NOT MERGE

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

7 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 12 Aug 2016 07:13:54 +0000 (00:13 -0700)]
Import translations. DO NOT MERGE

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

7 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 12 Aug 2016 07:06:34 +0000 (00:06 -0700)]
Import translations. DO NOT MERGE

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

7 years agoFix a race to detemine IME switcher visibilityde
Yohei Yukawa [Fri, 12 Aug 2016 02:16:02 +0000 (19:16 -0700)]
Fix a race to detemine IME switcher visibilityde

When the current user is switching to a user who requires password to
unlock, there is a chance that InputMethodManagerService has not
completed InputMethodManagerService#onSwitchUser() when the keyguard is
calling InputMethodManager#getEnabledInputMethodList() to detemine
whether the IME switcher icon should be shown or not.  If this occurs,
and if the previous user enables only one IME but the new user enables
multiple IMEs, it's possible that the IME switcher icon is not shown
when it should be.  Although the user is still able to work around this
by switch back to the previous user then the current user again until
the icon shows up, or can rely on a way to switch to next
IME (e.g. globe key) if it's available, the lack of the IME switcher
is still concerning since it can prevent the user from unlocking the
device.

As a quick workaround for this situation, this CL introduces a delayed
task to re-evaluate if we need to show the IME switcher icon on the
keyguard or not (currently the delay is set to 500msec) until this race
condition is fundamentally fixed.

Bug: 30640917
Change-Id: I93ea71d73540c31fbbe1cc4bd6747871f957dcc6

7 years agoMerge "Make data warning notification heads up." into nyc-mr1-dev
Sanket Padawe [Fri, 12 Aug 2016 01:38:44 +0000 (01:38 +0000)]
Merge "Make data warning notification heads up." into nyc-mr1-dev

7 years agoMerge "Allow to keep screen on only if window can be seen" into nyc-mr1-dev
Chong Zhang [Fri, 12 Aug 2016 00:42:56 +0000 (00:42 +0000)]
Merge "Allow to keep screen on only if window can be seen" into nyc-mr1-dev

7 years agoFix documentation.
Hui Shu [Tue, 9 Aug 2016 01:22:11 +0000 (18:22 -0700)]
Fix documentation.

Remove spurious duplicate line in JavaDoc.

Change-Id: I7ee7339d2ef21241ff21e66683e37e8ea0bbfaa4

7 years agoMerge "Include tids in android.util.Process exceptions." into nyc-mr1-dev
Ruben Brunk [Fri, 12 Aug 2016 00:00:35 +0000 (00:00 +0000)]
Merge "Include tids in android.util.Process exceptions." into nyc-mr1-dev

7 years agoMake data warning notification heads up.
Sanket Padawe [Thu, 11 Aug 2016 23:34:10 +0000 (16:34 -0700)]
Make data warning notification heads up.

Bug: 30760683
Change-Id: Id3fed0a62936dddabcb169536a4a917d750259d7

7 years agoMerge "Clean up when recycling a pid with a pending launch" into nyc-mr1-dev
Amith Yamasani [Thu, 11 Aug 2016 20:48:26 +0000 (20:48 +0000)]
Merge "Clean up when recycling a pid with a pending launch" into nyc-mr1-dev

7 years agoMerge changes Ide94af72,Ie2c94439 into nyc-mr1-dev
Wale Ogunwale [Thu, 11 Aug 2016 20:43:26 +0000 (20:43 +0000)]
Merge changes Ide94af72,Ie2c94439 into nyc-mr1-dev

* changes:
  Clear WS.mDestroying on AWT.clearAnimatingFlags
  Some fixes for transition animation selection

7 years agoLimit capabilities of a11y gesture dispatch.
Phil Weaver [Fri, 5 Aug 2016 18:23:50 +0000 (11:23 -0700)]
Limit capabilities of a11y gesture dispatch.

Changing the service side to accept descriptions of
motion events, not motion events themselves, so we can
control their creation.

Bug: 30647115
Change-Id: Ia6772a1fc05df91818e3f88959d1e2b4a35fe0cc
(cherry picked from commit a8918f23c712e97fa1dc4911f64827d64fc906e5)

7 years agoMerge "Limit capabilities of a11y gesture dispatch." into nyc-mr1-dev
Phil Weaver [Thu, 11 Aug 2016 20:35:11 +0000 (20:35 +0000)]
Merge "Limit capabilities of a11y gesture dispatch." into nyc-mr1-dev

7 years agoMerge "Don't preserve a11y focus in hierarchy state." into nyc-mr1-dev
Phil Weaver [Thu, 11 Aug 2016 20:34:41 +0000 (20:34 +0000)]
Merge "Don't preserve a11y focus in hierarchy state." into nyc-mr1-dev

7 years agoMerge "Dump out last real used app transit type" into nyc-mr1-dev
TreeHugger Robot [Thu, 11 Aug 2016 20:29:41 +0000 (20:29 +0000)]
Merge "Dump out last real used app transit type" into nyc-mr1-dev

7 years agoMerge "Check system & lock wallpaper backup eligibility independently" into nyc-mr1-dev
Chris Tate [Thu, 11 Aug 2016 20:20:08 +0000 (20:20 +0000)]
Merge "Check system & lock wallpaper backup eligibility independently" into nyc-mr1-dev

7 years agoAdd ImsReason codes and DisconnectCauses for data disconnects.
Tyler Gunn [Thu, 11 Aug 2016 20:13:51 +0000 (13:13 -0700)]
Add ImsReason codes and DisconnectCauses for data disconnects.

Adding reason code and disconnect causes for:
1. disconnects due to user disabling data.
2. disconnects due to data limit being reached.

Bug: 30702393
Change-Id: Id6ea5ee4f5aac1a8602094315f893e2f7b3cc8d6

7 years agoFix NPE in deferToPendingTransaction.
Robert Carr [Thu, 11 Aug 2016 20:03:02 +0000 (13:03 -0700)]
Fix NPE in deferToPendingTransaction.

Just because a child window has a surface doesn't necessarily
mean the parent window will have a surface. destroySurfaceLocked()
only takes care of setting mAttachedHidden so the child surface
will be invisible, but it may not be destroyed until a later point.

Bug: 30813094
Change-Id: Idb1b03fd61a7537ebfe33bafc93f278c0e6751f4

7 years agoMerge "Do not toggle OEM unlock if bootloader unlocked" into nyc-mr1-dev
TreeHugger Robot [Thu, 11 Aug 2016 18:45:25 +0000 (18:45 +0000)]
Merge "Do not toggle OEM unlock if bootloader unlocked" into nyc-mr1-dev

7 years agoCheck system & lock wallpaper backup eligibility independently
Christopher Tate [Wed, 10 Aug 2016 23:13:14 +0000 (16:13 -0700)]
Check system & lock wallpaper backup eligibility independently

Bug 30751829

Change-Id: Ic94689dd63238449222d1aea07231d9fd29fc76d