OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Ensure injected gestures respect magnification" into nyc-dev
Svetoslav Ganov [Wed, 13 Apr 2016 22:09:17 +0000 (22:09 +0000)]
Merge "Ensure injected gestures respect magnification" into nyc-dev

8 years agoEnsure injected gestures respect magnification
Svetoslav Ganov [Wed, 13 Apr 2016 22:03:51 +0000 (15:03 -0700)]
Ensure injected gestures respect magnification

Change-Id: Ie828f4be4eb1ec620549c1346ec7cc335908612f

8 years agoMerge "Optimize ResTable::getLocales() to improve bindApplication performance" into...
Adam Lesinski [Wed, 13 Apr 2016 21:53:46 +0000 (21:53 +0000)]
Merge "Optimize ResTable::getLocales() to improve bindApplication performance" into nyc-dev

8 years agoMerge "Open drawer only on first update." into nyc-dev
Ben Lin [Wed, 13 Apr 2016 21:48:54 +0000 (21:48 +0000)]
Merge "Open drawer only on first update." into nyc-dev

8 years agoMerge "Minor changes needed to support EXT_protected_content." into nyc-dev
Craig Donner [Wed, 13 Apr 2016 21:46:06 +0000 (21:46 +0000)]
Merge "Minor changes needed to support EXT_protected_content." into nyc-dev

8 years agoMerge "Make ResolverActivity respect selector intent when making filters" into nyc-dev
Adam Powell [Wed, 13 Apr 2016 21:35:31 +0000 (21:35 +0000)]
Merge "Make ResolverActivity respect selector intent when making filters" into nyc-dev

8 years agoMerge "Dismiss keyguard when user button is tapped" into nyc-dev
TreeHugger Robot [Wed, 13 Apr 2016 21:32:20 +0000 (21:32 +0000)]
Merge "Dismiss keyguard when user button is tapped" into nyc-dev

8 years agoRefine long-press enter and exit animations
Jorim Jaggi [Wed, 13 Apr 2016 01:59:45 +0000 (18:59 -0700)]
Refine long-press enter and exit animations

Bug: 27154882
Change-Id: I13a1a6ea7eabdefc7e5c32ae0471d9fa14cc3f86

8 years agoMerge "Trace screenshotApplications" into nyc-dev
Jorim Jaggi [Wed, 13 Apr 2016 20:57:35 +0000 (20:57 +0000)]
Merge "Trace screenshotApplications" into nyc-dev

8 years agoMerge "Camera: update expectation of post RAW sensitivity control" into nyc-dev
Yin-Chia Yeh [Wed, 13 Apr 2016 20:33:46 +0000 (20:33 +0000)]
Merge "Camera: update expectation of post RAW sensitivity control" into nyc-dev

8 years agoTrace screenshotApplications
Jorim Jaggi [Wed, 13 Apr 2016 20:31:17 +0000 (13:31 -0700)]
Trace screenshotApplications

Bug: 27864285
Change-Id: I5b2b84e5369d136af5057bbfadc3fe4e9b38ab30

8 years agoOptimize ResTable::getLocales() to improve bindApplication performance
Adam Lesinski [Tue, 12 Apr 2016 03:03:01 +0000 (20:03 -0700)]
Optimize ResTable::getLocales() to improve bindApplication performance

Change from linear searching for uniqueness to binary search.

Bug:27198799
Change-Id: Ifa4672929df286c4693ab1f77716f08945941b0c

8 years agoOpen drawer only on first update.
Ben Lin [Wed, 13 Apr 2016 18:48:04 +0000 (11:48 -0700)]
Open drawer only on first update.

Bug: 27406768
Change-Id: Ib95ecf68be3ba68bf08ccf7311c641e2e934e9c6

8 years agoMerge "Update {set,get}{Long,Short}SupportMessage APIs to use CharSequence." into...
Sudheer Shanka [Wed, 13 Apr 2016 20:12:02 +0000 (20:12 +0000)]
Merge "Update {set,get}{Long,Short}SupportMessage APIs to use CharSequence." into nyc-dev

8 years agoMerge "QS: Add content description to page indicator" into nyc-dev
Jason Monk [Wed, 13 Apr 2016 19:11:20 +0000 (19:11 +0000)]
Merge "QS: Add content description to page indicator" into nyc-dev

8 years agoDo not transfer starting window to translucent activity
Jorim Jaggi [Sat, 9 Apr 2016 07:29:07 +0000 (00:29 -0700)]
Do not transfer starting window to translucent activity

When starting the "App may not work in split-screen" activity which
is translucent we used to transfer the starting window, and then the
frame was drawn quickly so the starting window from the behind was
removed, leading to a black hole.

Bug: 28094732
Change-Id: I828f0ea8b0465a5a113fd76a82d33177c8faa566

8 years agoMerge "Mark DocumentsUI as a "privileged" app." into nyc-dev
Steve McKay [Wed, 13 Apr 2016 18:59:32 +0000 (18:59 +0000)]
Merge "Mark DocumentsUI as a "privileged" app." into nyc-dev

8 years agoMerge "Fix NPE when the vr manager isn't around at first." into nyc-dev
Daniel Sandler [Wed, 13 Apr 2016 18:58:20 +0000 (18:58 +0000)]
Merge "Fix NPE when the vr manager isn't around at first." into nyc-dev

8 years agoMerge "Fix selecting all in DocumentsUI." into nyc-dev
Steve McKay [Wed, 13 Apr 2016 18:57:54 +0000 (18:57 +0000)]
Merge "Fix selecting all in DocumentsUI." into nyc-dev

8 years agoMerge "Correct PopupWindow spaceAbove calculation." into nyc-dev
Rob Carr [Wed, 13 Apr 2016 18:54:59 +0000 (18:54 +0000)]
Merge "Correct PopupWindow spaceAbove calculation." into nyc-dev

8 years agoMerge "Make WifiScanner state not static and use ConnectivityThread" into nyc-dev
Mitchell Wills [Wed, 13 Apr 2016 18:41:54 +0000 (18:41 +0000)]
Merge "Make WifiScanner state not static and use ConnectivityThread" into nyc-dev

8 years agoDismiss keyguard when user button is tapped
Kaori Katou [Tue, 26 May 2015 07:25:04 +0000 (16:25 +0900)]
Dismiss keyguard when user button is tapped

When multi-user is disabled and user button is tapped
on the keyguard, the contact app is displayed behind the keyguard.
The keyguard should be dismissed when the contact app is launched.

Change-Id: I7daa0bec84b5172e78668cc71e51955f166ede0a
(cherry picked from commit 0a334053298c988a816a754c4235ed3b01cc9cfc)

8 years agoMerge "Make task fullscreen when locked" into nyc-dev
Andrii Kulian [Wed, 13 Apr 2016 18:00:34 +0000 (18:00 +0000)]
Merge "Make task fullscreen when locked" into nyc-dev

8 years agoMerge "Revert warning logic so it has a "don't show again" message." into nyc-dev
TreeHugger Robot [Wed, 13 Apr 2016 17:56:33 +0000 (17:56 +0000)]
Merge "Revert warning logic so it has a "don't show again" message." into nyc-dev

8 years agoMerge "Add ContentObserver for animation scale changes" into nyc-dev
Chong Zhang [Wed, 13 Apr 2016 17:54:43 +0000 (17:54 +0000)]
Merge "Add ContentObserver for animation scale changes" into nyc-dev

8 years agoMerge "Add an intent action ACTION_SHOW_APP_INFO." into nyc-dev
Sudheer Shanka [Wed, 13 Apr 2016 17:47:04 +0000 (17:47 +0000)]
Merge "Add an intent action ACTION_SHOW_APP_INFO." into nyc-dev

8 years agoMerge "(Test only) A little more debug output for voice interaction test" into nyc-dev
Dianne Hackborn [Wed, 13 Apr 2016 17:45:34 +0000 (17:45 +0000)]
Merge "(Test only) A little more debug output for voice interaction test" into nyc-dev

8 years agoMerge "Fix issue #28035090: Disallow abuse of JobScheduler" into nyc-dev
Dianne Hackborn [Wed, 13 Apr 2016 17:44:50 +0000 (17:44 +0000)]
Merge "Fix issue #28035090: Disallow abuse of JobScheduler" into nyc-dev

8 years agoFix issue #28035090: Disallow abuse of JobScheduler
Dianne Hackborn [Fri, 8 Apr 2016 00:54:41 +0000 (17:54 -0700)]
Fix issue #28035090: Disallow abuse of JobScheduler

We now keep track of how long each app has been running a job
for, in 30 minute batches.  If it is running jobs frequently,
we will bump down the priority its jobs run at to allow other
jobs to run before it.

Currently we count both pending and active as the job running,
which means that an app that has jobs waiting in the pending
queue will count against its abuse prevention.  This could
allow starvation -- if we bump down the priority of an app's
jobs and the system is so busy continually that they sit
in the pending queue a lot -- it could never recover.  But I
think that is okay...  if we are really in a state where we
are continually running as many jobs as possible, we probably
have other larger issues.

Change-Id: I838aa4b5840e91df49a1e17b53188d6e4a66a6d1

8 years agoAdd ContentObserver for animation scale changes
Chong Zhang [Wed, 13 Apr 2016 00:12:42 +0000 (17:12 -0700)]
Add ContentObserver for animation scale changes

bug: 27291666

Change-Id: Ic80af9d1cb0c58fb2decbe66591e29c584384a23

8 years agoMerge "Fix widget not being masked when freshly added." into nyc-dev
TreeHugger Robot [Wed, 13 Apr 2016 17:38:22 +0000 (17:38 +0000)]
Merge "Fix widget not being masked when freshly added." into nyc-dev

8 years agoFix NPE when the vr manager isn't around at first.
Dan Sandler [Wed, 13 Apr 2016 17:22:44 +0000 (13:22 -0400)]
Fix NPE when the vr manager isn't around at first.

There's a race condition when grabbing the VR service during
ImmersiveModeConfirmation's constructor since the window
manager allocates the ImmersiveModeConfirmation in its own
init(); vr may still be starting up at that time.

Change-Id: Ic0aa0fbf8fd087f01f4690c14e1c68f0670b0bc0
Fixes: 28159168

8 years agoMerge "Fix StaticLayout left/right indent" into nyc-dev
Siyamed Sinir [Wed, 13 Apr 2016 17:29:20 +0000 (17:29 +0000)]
Merge "Fix StaticLayout left/right indent" into nyc-dev

8 years agoMerge "Allow leading spaces in path string (to keep behavior consistent)" into nyc-dev
Doris Liu [Wed, 13 Apr 2016 17:26:52 +0000 (17:26 +0000)]
Merge "Allow leading spaces in path string (to keep behavior consistent)" into nyc-dev

8 years agoMark DocumentsUI as a "privileged" app.
Steve McKay [Wed, 13 Apr 2016 17:20:46 +0000 (10:20 -0700)]
Mark DocumentsUI as a "privileged" app.

This fixes the issues with CTS resulting from the change to intent filtering.
Bug: 28081616

Change-Id: I81f87ff56b5fbb0d526863da44a2fcef29a3aa2c

8 years agoMerge "Increase the SoundPoolThread queue size to 128 entries." into nyc-dev
Philip Cuadra [Wed, 13 Apr 2016 17:23:35 +0000 (17:23 +0000)]
Merge "Increase the SoundPoolThread queue size to 128 entries." into nyc-dev

8 years agoMerge "rm log spam" into nyc-dev
Doris Liu [Wed, 13 Apr 2016 17:22:56 +0000 (17:22 +0000)]
Merge "rm log spam" into nyc-dev

8 years agoMerge "Fix translationY not being set correctly for VD during animation" into nyc-dev
Doris Liu [Wed, 13 Apr 2016 17:22:18 +0000 (17:22 +0000)]
Merge "Fix translationY not being set correctly for VD during animation" into nyc-dev

8 years agoMerge "Fall back to setting the level of the entire progress drawable" into nyc-dev
Alan Viverette [Wed, 13 Apr 2016 17:19:03 +0000 (17:19 +0000)]
Merge "Fall back to setting the level of the entire progress drawable" into nyc-dev

8 years agoQS: Add content description to page indicator
Jason Monk [Wed, 13 Apr 2016 17:01:14 +0000 (13:01 -0400)]
QS: Add content description to page indicator

Change-Id: I4e9bdfe803d681484eb4c8915c44e37be40d8aa2
Fixes: 27325720

8 years agoMerge changes Ieefeb843,Ic2a94b09 into nyc-dev
Wale Ogunwale [Wed, 13 Apr 2016 16:59:35 +0000 (16:59 +0000)]
Merge changes Ieefeb843,Ic2a94b09 into nyc-dev

* changes:
  Update surface insets on window elevation changes.
  Fixed bug with cropping out drop shadow for pinned stack.

8 years agoMerge "Remove UsageStats post-OTA package update filter" into nyc-dev
David Brazdil [Wed, 13 Apr 2016 16:43:13 +0000 (16:43 +0000)]
Merge "Remove UsageStats post-OTA package update filter" into nyc-dev

8 years agoRevert warning logic so it has a "don't show again" message.
Felipe Leme [Tue, 12 Apr 2016 21:00:07 +0000 (14:00 -0700)]
Revert warning logic so it has a "don't show again" message.

BUG: 28140003

Change-Id: I93e7b1494a0f4c5ca080fbe9dd94dc2168092ffa

8 years agoFix widget not being masked when freshly added.
Rubin Xu [Wed, 13 Apr 2016 16:21:07 +0000 (17:21 +0100)]
Fix widget not being masked when freshly added.

Bug: 26721345
Change-Id: I6bc7142c6f488b8666651330039abac27782bda9

8 years agoMerge "Add a log if the printing activity died unexpectly." into nyc-dev
Philip P. Moltmann [Wed, 13 Apr 2016 16:20:33 +0000 (16:20 +0000)]
Merge "Add a log if the printing activity died unexpectly." into nyc-dev

8 years agoMerge "Add error logging for softap commands" into nyc-dev
Rebecca Silberstein [Wed, 13 Apr 2016 16:07:49 +0000 (16:07 +0000)]
Merge "Add error logging for softap commands" into nyc-dev

8 years agoAdd a log if the printing activity died unexpectly.
Philip P. Moltmann [Wed, 13 Apr 2016 15:54:27 +0000 (08:54 -0700)]
Add a log if the printing activity died unexpectly.

Bug: 27861927
Change-Id: I431ba996e113043c224039a62a76ae23e9c7494a

8 years agoMake ResolverActivity respect selector intent when making filters
Henrik Engström [Thu, 17 Jul 2014 10:18:29 +0000 (12:18 +0200)]
Make ResolverActivity respect selector intent when making filters

When the ResolverActivity makes a filter after an intent is chosen,
either for remembering last used or an "always use" choice for the
user it doesn't consider the selector in the intent if present.

This means that when a resolver activity is launched for an intent
with a selector, the selector is used for resolving preferred
activities, and for populating the list, but when the same intent
is sent again it doesn't match the filter created by the previous
ResolverActivity.

This in turn means that the user will get another ResolverActivity
even if "Always Use" was chosen the last time.

Bug: 28129216

Change-Id: I29be7010e7c890caf9789673b3c3f821ba362761

8 years agoMerge "Remove color and appearance" into nyc-dev
Jason Monk [Wed, 13 Apr 2016 15:43:13 +0000 (15:43 +0000)]
Merge "Remove color and appearance" into nyc-dev

8 years agoRemove UsageStats post-OTA package update filter
David Brazdil [Wed, 13 Apr 2016 15:39:23 +0000 (16:39 +0100)]
Remove UsageStats post-OTA package update filter

Filtering packages for boot-time post-OTA update with
UsageStatsManager idleness API is too aggressive and leaves out even
apps used heavily in the foreground. Remove for now.

Bug: 27902702
Bug: 28161327

Change-Id: I7912f9ad5d8c6206c19068a76383e370d24818db

8 years agoMerge "Clean up Drawable annotations" into nyc-dev
Alan Viverette [Wed, 13 Apr 2016 15:22:02 +0000 (15:22 +0000)]
Merge "Clean up Drawable annotations" into nyc-dev

8 years agoRemove color and appearance
Jason Monk [Wed, 13 Apr 2016 15:01:19 +0000 (11:01 -0400)]
Remove color and appearance

Also fix crash.

Change-Id: I16abec61d63e2d503b07047c08664c2e96689c50
Fixes: 28163234

8 years agoMerge "Don't run the WebView preparation if using the same non-replaced package"...
Gustav Sennton [Wed, 13 Apr 2016 14:54:53 +0000 (14:54 +0000)]
Merge "Don't run the WebView preparation if using the same non-replaced package" into nyc-dev

8 years agoMerge "change directory name" into nyc-dev
Nick Kralevich [Wed, 13 Apr 2016 14:51:13 +0000 (14:51 +0000)]
Merge "change directory name" into nyc-dev

8 years agochange directory name
Nick Kralevich [Wed, 13 Apr 2016 14:49:28 +0000 (07:49 -0700)]
change directory name

external/sepolicy was renamed system/sepolicy

Change-Id: Id27cd8c22d966958e481c9ed0171f637b3ffe2c0

8 years agoClean up Drawable annotations
Alan Viverette [Wed, 13 Apr 2016 14:14:06 +0000 (10:14 -0400)]
Clean up Drawable annotations

No functional changes.

Bug: 23621364
Change-Id: Ia5ac34eb8464ee40afd7052f34b42bb6153260bf

8 years agoMerge "Crash early when requesting a keyboard shortcut helper..." into nyc-dev
Michael Wright [Wed, 13 Apr 2016 13:58:15 +0000 (13:58 +0000)]
Merge "Crash early when requesting a keyboard shortcut helper..." into nyc-dev

8 years agoMerge "Remove temporary workaround of restoring periodic syncs." into nyc-dev
Rubin Xu [Wed, 13 Apr 2016 13:41:20 +0000 (13:41 +0000)]
Merge "Remove temporary workaround of restoring periodic syncs." into nyc-dev

8 years agoMerge "API polish in DPM for organization color and name methods" into nyc-dev
Michal Karpinski [Wed, 13 Apr 2016 13:28:06 +0000 (13:28 +0000)]
Merge "API polish in DPM for organization color and name methods" into nyc-dev

8 years agoMerge "Change method name in VectorDrawable_Delegate" into nyc-dev
Jerome Gaillard [Wed, 13 Apr 2016 12:13:32 +0000 (12:13 +0000)]
Merge "Change method name in VectorDrawable_Delegate" into nyc-dev

8 years agoMerge "Suspend work status bar icon should be removed when work profile is deleted...
Nicolas Prévot [Wed, 13 Apr 2016 11:00:01 +0000 (11:00 +0000)]
Merge "Suspend work status bar icon should be removed when work profile is deleted." into nyc-dev

8 years agoChange method name in VectorDrawable_Delegate
Jerome Gaillard [Wed, 13 Apr 2016 10:48:28 +0000 (11:48 +0100)]
Change method name in VectorDrawable_Delegate

Following change in VectorDrawable from commit cdedc9a80d.

Change-Id: I5d17b2e77c9600fe3da981c77a3e39dcd4df1d1f

8 years agoMerge "Update display text in cert notification" into nyc-dev
Victor Chang [Wed, 13 Apr 2016 10:15:28 +0000 (10:15 +0000)]
Merge "Update display text in cert notification" into nyc-dev

8 years agoSuspend work status bar icon should be removed when work profile is deleted.
Nicolas Prevot [Wed, 13 Apr 2016 09:28:58 +0000 (10:28 +0100)]
Suspend work status bar icon should be removed when work profile is deleted.

BUG:26787011
Change-Id: Ifb3de2a670b1d5ac74200b8d344bb576f683ed61

8 years agoMerge "Don't kill apps when only clearing caches." into nyc-dev
TreeHugger Robot [Wed, 13 Apr 2016 08:23:19 +0000 (08:23 +0000)]
Merge "Don't kill apps when only clearing caches." into nyc-dev

8 years agoMerge "Synchronize access to the main looper" into nyc-dev
Diego Perez [Wed, 13 Apr 2016 08:14:55 +0000 (08:14 +0000)]
Merge "Synchronize access to the main looper" into nyc-dev

8 years agoFix selecting all in DocumentsUI.
Tomasz Mikolajewski [Wed, 13 Apr 2016 07:18:15 +0000 (16:18 +0900)]
Fix selecting all in DocumentsUI.

Bug: 28152042
Change-Id: Ie241874af77aaca4fd6c6cbc18a9a7e8ba31d87d

8 years agoMerge "Improve captalization in InputMethodSubtype#getDisplayName()." into nyc-dev
Yohei Yukawa [Wed, 13 Apr 2016 06:51:32 +0000 (06:51 +0000)]
Merge "Improve captalization in InputMethodSubtype#getDisplayName()." into nyc-dev

8 years agoMerge "Fix a memory leak in ConnectivityManager." into nyc-dev
Pierre Imai [Wed, 13 Apr 2016 06:37:31 +0000 (06:37 +0000)]
Merge "Fix a memory leak in ConnectivityManager." into nyc-dev

8 years agoDo not allow to select non-selectable items via mouse.
Tomasz Mikolajewski [Mon, 11 Apr 2016 04:44:01 +0000 (13:44 +0900)]
Do not allow to select non-selectable items via mouse.

Bug: 28101625
Change-Id: I9f6cd4e259f7860bbc6c74c4d24c43e2c3ba1047

8 years agoMerge "Do not crash when trying to select unselectable items with keyboard." into...
Tomasz Mikolajewski [Wed, 13 Apr 2016 06:34:02 +0000 (06:34 +0000)]
Merge "Do not crash when trying to select unselectable items with keyboard." into nyc-dev

8 years agoMake task fullscreen when locked
Andrii Kulian [Wed, 13 Apr 2016 00:59:27 +0000 (17:59 -0700)]
Make task fullscreen when locked

Previously if we were in multi-window mode and some task called
startLockTask() or kiosk mode was started - other tasks remained
on screen. User could still interact with other tasks, locked or
pinned task could be removed.
This CL makes tasks move to fullscreen when they are locked.

Bug: 27876860
Change-Id: I547a94be50276c7f418343600877e51b6b40c7a7

8 years agoImprove captalization in InputMethodSubtype#getDisplayName().
Yohei Yukawa [Tue, 12 Apr 2016 05:09:57 +0000 (22:09 -0700)]
Improve captalization in InputMethodSubtype#getDisplayName().

The goal of this CL is to enable
InputMethodSubtype#getLocaleDisplayName() to return more natural locale
display name in terms of capitalization rules.

The key idea here is to use LocaleDisplayNames#localeDisplayName() with
an appropriate DisplayContext.CAPITALIZATION_FOR_* parameter rather than
relying on Locale#getDisplayName().

Bug: 22845728
Change-Id: If105082ce703db7a86738455db7e9fb37f3c6fe8

8 years agoMerge "Handle error result returned from MTP API correctly." into nyc-dev
Daichi Hirono [Wed, 13 Apr 2016 05:30:21 +0000 (05:30 +0000)]
Merge "Handle error result returned from MTP API correctly." into nyc-dev

8 years agoMerge "Delete CR LF at the same time with one backspace key." into nyc-dev
Seigo Nonaka [Wed, 13 Apr 2016 05:14:24 +0000 (05:14 +0000)]
Merge "Delete CR LF at the same time with one backspace key." into nyc-dev

8 years agoHandle error result returned from MTP API correctly.
Daichi Hirono [Wed, 13 Apr 2016 04:47:40 +0000 (13:47 +0900)]
Handle error result returned from MTP API correctly.

 * Check null result for all MTP APIs that can return null.
 * Don't regard valid parent handles that are more than 0x80000000 as
   error.
 * Check boolean result from importFile.

Change-Id: I262511ac3c935ebb54e52c03eaefd3535a3e2f29
Fix: 28155538

8 years agoMerge "Make wallpapers direct-boot aware." into nyc-dev
TreeHugger Robot [Wed, 13 Apr 2016 04:40:17 +0000 (04:40 +0000)]
Merge "Make wallpapers direct-boot aware." into nyc-dev

8 years agoMerge "TRON refinements for multi-window" into nyc-dev
TreeHugger Robot [Wed, 13 Apr 2016 04:18:30 +0000 (04:18 +0000)]
Merge "TRON refinements for multi-window" into nyc-dev

8 years agoDo not crash when trying to select unselectable items with keyboard.
Tomasz Mikolajewski [Mon, 11 Apr 2016 04:09:53 +0000 (13:09 +0900)]
Do not crash when trying to select unselectable items with keyboard.

Bug: 28103071
Change-Id: I6e9bc918433eee4b1309ccf8ea597ea774e5559e

8 years agoMerge "Remove the toolbar icon from DocumentsUI." into nyc-dev
Tomasz Mikolajewski [Wed, 13 Apr 2016 03:51:31 +0000 (03:51 +0000)]
Merge "Remove the toolbar icon from DocumentsUI." into nyc-dev

8 years agoMerge "PIP: Fix crash in Recents when restrict profile is enabled" into nyc-dev
Jaewan Kim [Wed, 13 Apr 2016 03:25:08 +0000 (03:25 +0000)]
Merge "PIP: Fix crash in Recents when restrict profile is enabled" into nyc-dev

8 years agoDon't kill apps when only clearing caches.
Jeff Sharkey [Wed, 13 Apr 2016 03:23:05 +0000 (21:23 -0600)]
Don't kill apps when only clearing caches.

Bug: 28152575
Change-Id: I469e87a75ce7ce6ddfeb934e00f8087cddcaa30a

8 years agoMake wallpapers direct-boot aware.
Jeff Sharkey [Wed, 13 Apr 2016 00:23:31 +0000 (18:23 -0600)]
Make wallpapers direct-boot aware.

If the user's wallpaper isn't direct-boot aware, wait around for
the user to be unlocked, instead of clearing the wallpaper.

Also switch a few classes to using SystemService lifecycle, since
events are dispatched faster than through broadcasts.  Fix bug where
ContentService.systemReady() was never called, and make sure
EntropyMixer doesn't risk being GC'ed.

Bug: 26280055
Change-Id: I9fff468a439b868baa68cf11bb6ee9f7d52b7b5a

8 years agoMerge "Added api to delete cache files for a given user" into nyc-dev
TreeHugger Robot [Wed, 13 Apr 2016 03:13:47 +0000 (03:13 +0000)]
Merge "Added api to delete cache files for a given user" into nyc-dev

8 years agoMerge "Added null check in appendSettingToCursor" into nyc-dev
TreeHugger Robot [Wed, 13 Apr 2016 03:10:22 +0000 (03:10 +0000)]
Merge "Added null check in appendSettingToCursor" into nyc-dev

8 years agoTRON refinements for multi-window
Jorim Jaggi [Tue, 12 Apr 2016 06:43:42 +0000 (23:43 -0700)]
TRON refinements for multi-window

Bug: 26013430
Change-Id: I89b139b4ca3e7b6a06d8b5b351d67ffac240f73f

8 years agoMerge "Removed redundant notification title." into nyc-dev
TreeHugger Robot [Wed, 13 Apr 2016 02:41:04 +0000 (02:41 +0000)]
Merge "Removed redundant notification title." into nyc-dev

8 years agoMerge "Fix calculation of content insets" into nyc-dev
Jorim Jaggi [Wed, 13 Apr 2016 02:40:40 +0000 (02:40 +0000)]
Merge "Fix calculation of content insets" into nyc-dev

8 years agoFix calculation of content insets
Jorim Jaggi [Tue, 12 Apr 2016 04:08:17 +0000 (21:08 -0700)]
Fix calculation of content insets

When calculating all the frames and insets, we need to use the actual
frame instead of layoutContainingFrame. To do this, we layout mFrame
with layoutContaining/layoutDisplayFrame, calculate all the content
frames and insets, and then offset everything by the constant offset.

Bug: 28075359
Change-Id: I78f0a54ca2a0cc6c7c8be21153c2b2c8f1d5c0a9

8 years agoMerge "No input for windows in minimized docked stack" into nyc-dev
Jorim Jaggi [Wed, 13 Apr 2016 02:31:47 +0000 (02:31 +0000)]
Merge "No input for windows in minimized docked stack" into nyc-dev

8 years agoFix StaticLayout left/right indent
Siyamed Sinir [Wed, 13 Apr 2016 02:30:44 +0000 (19:30 -0700)]
Fix StaticLayout left/right indent

Because of a min/max issue, while processing each paragraph StaticLayout
would trim the left/right indent arrays incorrectly.

Bug: 28090810
Change-Id: Ib2b9b48963861e0952bd45a079179e3cca86ffcf

8 years agoMerge "If we want to release the lock, release instead of acquiring it." into nyc-dev
Lorenzo Colitti [Wed, 13 Apr 2016 02:30:31 +0000 (02:30 +0000)]
Merge "If we want to release the lock, release instead of acquiring it." into nyc-dev

8 years agoNo input for windows in minimized docked stack
Jorim Jaggi [Tue, 12 Apr 2016 01:27:58 +0000 (18:27 -0700)]
No input for windows in minimized docked stack

Also make them unfocusable, and don't focus the docked
stack when tapping into it in that state.

Bug: 27972642
Change-Id: Ic24ff9a5f39f596fe4a2f50567566d4400f9c125

8 years agoMerge "Add shadow for minimized dock" into nyc-dev
Jorim Jaggi [Wed, 13 Apr 2016 02:24:55 +0000 (02:24 +0000)]
Merge "Add shadow for minimized dock" into nyc-dev

8 years agoAdd shadow for minimized dock
Jorim Jaggi [Mon, 11 Apr 2016 18:39:13 +0000 (11:39 -0700)]
Add shadow for minimized dock

Bug: 27972642
Change-Id: Ic4c8145f61694ff2bb0e237da1142093c6a4d965

8 years agoMerge "Add many more emoji tests" into nyc-dev
Roozbeh Pournader [Wed, 13 Apr 2016 02:01:17 +0000 (02:01 +0000)]
Merge "Add many more emoji tests" into nyc-dev

8 years agoRemove the toolbar icon from DocumentsUI.
Tomasz Mikolajewski [Tue, 12 Apr 2016 03:56:57 +0000 (12:56 +0900)]
Remove the toolbar icon from DocumentsUI.

Bug: 27565928
Change-Id: I5181466a770e11716f173cf8cc66f62ba71ac710

8 years agoMerge "Trigger enabling of NDO when startProvisioning() is called." into nyc-dev
TreeHugger Robot [Wed, 13 Apr 2016 01:54:09 +0000 (01:54 +0000)]
Merge "Trigger enabling of NDO when startProvisioning() is called." into nyc-dev

8 years agoAdded null check in appendSettingToCursor
Suprabh Shukla [Wed, 13 Apr 2016 01:45:34 +0000 (18:45 -0700)]
Added null check in appendSettingToCursor

Added check for null setting before adding to MatrixCursor.

Bug: b/27908871
Change-Id: I0b71c3d5347cad705b8def98fda7e9e463c295e2

8 years agoMerge "If Internet probe is redirected, pass redirect destination to NetworkAgent...
Paul Jensen [Wed, 13 Apr 2016 01:33:35 +0000 (01:33 +0000)]
Merge "If Internet probe is redirected, pass redirect destination to NetworkAgent." into nyc-dev