OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Add support for locking the screen when the lid is closed" am: 9dc3c36c9c...
Michael Wright [Tue, 8 Dec 2015 11:03:45 +0000 (03:03 -0800)]
Merge "Add support for locking the screen when the lid is closed" am: 9dc3c36c9c am: 4d9e6190b1
am: 37c8bcbcc9

* commit '37c8bcbcc9f5098a2a7fde91a3b112abd35a85ad':
  Add support for locking the screen when the lid is closed

8 years agoMerge "Add rotary encoder input source" into cw-e-dev am: 487f0d3d15 am: 6344cb8144...
Prashant Malani [Tue, 8 Dec 2015 11:02:16 +0000 (03:02 -0800)]
Merge "Add rotary encoder input source" into cw-e-dev am: 487f0d3d15 am: 6344cb8144 am: 3ebd5ceb90
am: 54909b8e6b

* commit '54909b8e6b45c913081df54496423bb35bd8955c':
  Add rotary encoder input source

8 years agoMerge "Add support for locking the screen when the lid is closed" am: 9dc3c36c9c
Michael Wright [Tue, 8 Dec 2015 10:55:07 +0000 (10:55 +0000)]
Merge "Add support for locking the screen when the lid is closed" am: 9dc3c36c9c
am: 4d9e6190b1

* commit '4d9e6190b186f1d2e1cd25defd0d6e12dd833b38':
  Add support for locking the screen when the lid is closed

8 years agoMerge "Make base user restrictions queriable for system apps"
Zoltan Szatmary-Ban [Tue, 8 Dec 2015 10:24:08 +0000 (10:24 +0000)]
Merge "Make base user restrictions queriable for system apps"

8 years agoMerge "Fix freeform to recents animating window being cuttoff."
Filip Gruszczynski [Tue, 8 Dec 2015 02:40:40 +0000 (02:40 +0000)]
Merge "Fix freeform to recents animating window being cuttoff."

8 years agoFix freeform to recents animating window being cuttoff.
Filip Gruszczynski [Mon, 7 Dec 2015 23:05:49 +0000 (15:05 -0800)]
Fix freeform to recents animating window being cuttoff.

The window will appear cutoff during the animation if the window was
cropped due to stack or decor bounds before the animation started. We
need to disable the cropping (both from decor and from stack bounds)
for the duration of the animation.

Unfortunately, by disabling cropping of a freeform window to the stack
bounds, we will make it appear above the docked window during the
animation (because the animation will lift the layer). To fix this, we
need to treat the docked stack like the pinned stack and assume it's
always on top for the layering purposes.

CL also includes refactoring of mSystemDecorRect and
mLastSystemDecorRect which can be moved from WindowState to
WindowStateAnimator and made private there.

Bug: 24913782
Change-Id: Idbea99ba04e9449d0563d0c02636f8b4b63087f7

8 years agoMerge "Follow-up to Switch to the latest version of Caliper"
Andreas Gampe [Tue, 8 Dec 2015 02:30:21 +0000 (02:30 +0000)]
Merge "Follow-up to Switch to the latest version of Caliper"

8 years agoMerge "Follow-up to Switch to the latest version of Caliper"
Andreas Gampe [Tue, 8 Dec 2015 02:29:52 +0000 (02:29 +0000)]
Merge "Follow-up to Switch to the latest version of Caliper"

8 years agoMerge "APIs to obtain SharedPreferences paths."
Jeff Sharkey [Tue, 8 Dec 2015 02:27:07 +0000 (02:27 +0000)]
Merge "APIs to obtain SharedPreferences paths."

8 years agoAPIs to obtain SharedPreferences paths.
Jeff Sharkey [Tue, 8 Dec 2015 02:25:19 +0000 (19:25 -0700)]
APIs to obtain SharedPreferences paths.

Needed for apps that want to migrate SharedPreferences from CE to DE
storage.  Note that a device will only ever enter a CE mode with a
factory reset, so apps should only be using these APIs when they
want to migrate files to a consistent location on non-FBE devices
for simplicity.

Bug: 25503089
Change-Id: Ic846215da1617d116a048e036415ac7ad523b770

8 years agoFollow-up to Switch to the latest version of Caliper
Andreas Gampe [Tue, 8 Dec 2015 02:25:10 +0000 (18:25 -0800)]
Follow-up to Switch to the latest version of Caliper

Translate ResourcesBenchmark to work with the new version of Caliper.

Bug: 24848946
Change-Id: If4a4e5da5cd14da83d093a418147ad6d12c170cc

8 years agoFollow-up to Switch to the latest version of Caliper
Andreas Gampe [Tue, 8 Dec 2015 02:24:08 +0000 (18:24 -0800)]
Follow-up to Switch to the latest version of Caliper

Remove LOCAL_NO_STANDARD_LIBRARIES.

Bug: 24848946
Change-Id: I19feea042c9b4823d4979f4d951476792600edbc

8 years agoFix thumbnail header animations in freeform to recents.
Filip Gruszczynski [Mon, 7 Dec 2015 19:50:57 +0000 (11:50 -0800)]
Fix thumbnail header animations in freeform to recents.

The thumbnail header animations were constructed based on opening apps,
in this case Recents. This is obviously wrong, but used to work because
there was only one closing app in non-multi window world.

For the animation to work correctly, i.e. each thumbnail have its own
header animation, we need to correctly construct animations for either
opening apps or closing apps (depending on the transition type we are
seeing).

The CL also refactors handleAppTransition into smaller methods.

Bug: 24913782
Change-Id: I9f30a53d2f90f0628bb8c6238b2d0f35592b8f63

8 years agoMerge "Improve debugging setup for window manager package."
Filip Gruszczynski [Tue, 8 Dec 2015 02:08:09 +0000 (02:08 +0000)]
Merge "Improve debugging setup for window manager package."

8 years agoImprove debugging setup for window manager package.
Filip Gruszczynski [Mon, 7 Dec 2015 23:43:52 +0000 (15:43 -0800)]
Improve debugging setup for window manager package.

This moves debug flags to a dedicated class and also provides a
mechanism to either have fine grained tags or one common tag for easier
grepping the logcat. This mimicks the approach in activity manager
package.

Change-Id: Ie8c08b9a3d8b182335ee5547ee05d21b5933db6b

8 years agoMerge "Add rotary encoder input source" into cw-e-dev am: 487f0d3d15 am: 6344cb8144
Prashant Malani [Tue, 8 Dec 2015 01:43:27 +0000 (01:43 +0000)]
Merge "Add rotary encoder input source" into cw-e-dev am: 487f0d3d15 am: 6344cb8144
am: 3ebd5ceb90

* commit '3ebd5ceb90137572262efeda12cdce4b503ddded':
  Add rotary encoder input source

8 years agoMerge "Add rotary encoder input source" into cw-e-dev am: 487f0d3d15
Prashant Malani [Tue, 8 Dec 2015 01:37:05 +0000 (01:37 +0000)]
Merge "Add rotary encoder input source" into cw-e-dev am: 487f0d3d15
am: 6344cb8144

* commit '6344cb8144647e4e49bc69cbf34a084ca7712115':
  Add rotary encoder input source

8 years agoMerge "Mount storage after unlock, fix leaving emulation."
Jeff Sharkey [Tue, 8 Dec 2015 01:35:28 +0000 (01:35 +0000)]
Merge "Mount storage after unlock, fix leaving emulation."

8 years agoMerge "Add rotary encoder input source" into cw-e-dev
Prashant Malani [Tue, 8 Dec 2015 01:31:31 +0000 (01:31 +0000)]
Merge "Add rotary encoder input source" into cw-e-dev
am: 487f0d3d15

* commit '487f0d3d1556296ef53c449d7ec5de5a0dac1f83':
  Add rotary encoder input source

8 years agoMerge "Add rotary encoder input source" into cw-e-dev
Prashant Malani [Tue, 8 Dec 2015 01:27:18 +0000 (01:27 +0000)]
Merge "Add rotary encoder input source" into cw-e-dev

8 years agoReset recents translation when launching
Jorim Jaggi [Tue, 8 Dec 2015 01:15:16 +0000 (17:15 -0800)]
Reset recents translation when launching

So we don't end up with empty content after having cancelled
the drag in gesture.

Change-Id: If00c526806816df58c751cd715e0575dbb7adf17

8 years agoMount storage after unlock, fix leaving emulation.
Jeff Sharkey [Mon, 7 Dec 2015 22:35:42 +0000 (15:35 -0700)]
Mount storage after unlock, fix leaving emulation.

Delay mounting of storage devices until after the user is unlocked,
which means any emulated storage areas will be ready for use.  Track
separate per-user unlocked states for local versus system lifecycle
state.

Switch to explicitly lock or unlock user keys during boot of a
device without native FBE support.  This allows us to recover when
the user has disabled emulated FBE.

Force reboot when changing FBE emulation state.

Bug: 2601060726027473
Change-Id: Idaf8b63e69f886ddbd848a9fab6d143a5fd10500

8 years agoMerge "Build hwui test scenes as common test code"
Chris Craik [Tue, 8 Dec 2015 00:55:26 +0000 (00:55 +0000)]
Merge "Build hwui test scenes as common test code"

8 years agoBuild hwui test scenes as common test code
Chris Craik [Mon, 7 Dec 2015 18:01:38 +0000 (10:01 -0800)]
Build hwui test scenes as common test code

And start using them in other non-macrobench tests

Change-Id: If155b531f3c89f97491001c06d1996df527b9f85

8 years agoMerge "Fix issue #25656837: Static initialization order bug in ArrayMap leading to...
Dianne Hackborn [Tue, 8 Dec 2015 00:37:43 +0000 (00:37 +0000)]
Merge "Fix issue #25656837: Static initialization order bug in ArrayMap leading to NPEs"

8 years agoMerge "Fix locking error when a new user is created"
Fyodor Kupolov [Tue, 8 Dec 2015 00:35:53 +0000 (00:35 +0000)]
Merge "Fix locking error when a new user is created"

8 years agoMerge "Check NPE beforehand instead of catching it at runtime" into cw-e-dev am:...
Chenjie Luo [Tue, 8 Dec 2015 00:02:55 +0000 (00:02 +0000)]
Merge "Check NPE beforehand instead of catching it at runtime" into cw-e-dev am: e56f7b0d1d am: bef0525c38 am: e4db3f0757
am: d7b61ca662

* commit 'd7b61ca6620565cad00de91284ecdfb93ddfbd50':
  Check NPE beforehand instead of catching it at runtime

8 years agoMerge "Add support for reading and writing double array values" am: 61c0b7cd4d am...
Samuel Tan [Tue, 8 Dec 2015 00:00:45 +0000 (00:00 +0000)]
Merge "Add support for reading and writing double array values" am: 61c0b7cd4d am: ff8ef28e73
am: e769f25fa4

* commit 'e769f25fa496827bf1ba9d74518bafd40082ceb6':
  Add support for reading and writing double array values

8 years agoMerge "Switch to the latest version of Caliper" am: ae119af517 am: 5e2d958157
Paul Duffin [Mon, 7 Dec 2015 23:58:26 +0000 (23:58 +0000)]
Merge "Switch to the latest version of Caliper" am: ae119af517 am: 5e2d958157
am: 2a56ed70b1

* commit '2a56ed70b1e40039a532e4060074d62062713fcd':
  Switch to the latest version of Caliper

8 years agoMerge "Adding StateMachine.hasMessages(), StateMachine.hasDeferredMessages()" into...
Amit Mahajan [Mon, 7 Dec 2015 23:51:52 +0000 (23:51 +0000)]
Merge "Adding StateMachine.hasMessages(), StateMachine.hasDeferredMessages()" into mnc-dr1.5-dev am: cd2cc9aa9b am: d515b124f7
am: 0dfeda60c0

* commit '0dfeda60c06c7bdbb4fde197e50a4c46f4024bd7':
  Adding StateMachine.hasMessages(), StateMachine.hasDeferredMessages()

8 years agoMerge "Fix radio button flash on hour change." into mnc-dr1.5-dev am: dde5a6ef28...
Julia Reynolds [Mon, 7 Dec 2015 23:50:14 +0000 (23:50 +0000)]
Merge "Fix radio button flash on hour change." into mnc-dr1.5-dev am: dde5a6ef28 am: 5ff55cec79
am: bfa2be0f58

* commit 'bfa2be0f583e149dab8891dfe9322debaa46f6e6':
  Fix radio button flash on hour change.

8 years agoMerge "Specify private resource package in Android.mk"
Adam Lesinski [Mon, 7 Dec 2015 23:43:03 +0000 (23:43 +0000)]
Merge "Specify private resource package in Android.mk"

8 years agoMerge "Check NPE beforehand instead of catching it at runtime" into cw-e-dev am:...
Chenjie Luo [Mon, 7 Dec 2015 23:42:07 +0000 (23:42 +0000)]
Merge "Check NPE beforehand instead of catching it at runtime" into cw-e-dev am: e56f7b0d1d am: bef0525c38
am: e4db3f0757

* commit 'e4db3f0757fccdf26d98ab4295ac4828a479e8eb':
  Check NPE beforehand instead of catching it at runtime

8 years agoMerge "Add support for reading and writing double array values" am: 61c0b7cd4d
Samuel Tan [Mon, 7 Dec 2015 23:38:14 +0000 (23:38 +0000)]
Merge "Add support for reading and writing double array values" am: 61c0b7cd4d
am: ff8ef28e73

* commit 'ff8ef28e73c0959a4993fea975d0bdefbc27a20b':
  Add support for reading and writing double array values

8 years agoMerge "Switch to the latest version of Caliper" am: ae119af517
Paul Duffin [Mon, 7 Dec 2015 23:35:20 +0000 (23:35 +0000)]
Merge "Switch to the latest version of Caliper" am: ae119af517
am: 5e2d958157

* commit '5e2d958157d8043d5a7aca1263af2186fdf17e6c':
  Switch to the latest version of Caliper

8 years agoMerge "Adding StateMachine.hasMessages(), StateMachine.hasDeferredMessages()" into...
Amit Mahajan [Mon, 7 Dec 2015 23:32:22 +0000 (23:32 +0000)]
Merge "Adding StateMachine.hasMessages(), StateMachine.hasDeferredMessages()" into mnc-dr1.5-dev am: cd2cc9aa9b
am: d515b124f7

* commit 'd515b124f7f966a3e4725dc6f6179ade869df636':
  Adding StateMachine.hasMessages(), StateMachine.hasDeferredMessages()

8 years agoMerge "Fix radio button flash on hour change." into mnc-dr1.5-dev am: dde5a6ef28
Julia Reynolds [Mon, 7 Dec 2015 23:30:22 +0000 (23:30 +0000)]
Merge "Fix radio button flash on hour change." into mnc-dr1.5-dev am: dde5a6ef28
am: 5ff55cec79

* commit '5ff55cec79b7bda67dd3e458263ccb8e2896af30':
  Fix radio button flash on hour change.

8 years agoMerge "Check NPE beforehand instead of catching it at runtime" into cw-e-dev am:...
Chenjie Luo [Mon, 7 Dec 2015 23:28:44 +0000 (23:28 +0000)]
Merge "Check NPE beforehand instead of catching it at runtime" into cw-e-dev am: e56f7b0d1d
am: bef0525c38

* commit 'bef0525c385c95f4ff6710ad9b117429a4d5ce63':
  Check NPE beforehand instead of catching it at runtime

8 years agoMerge "Add support for locking the screen when the lid is closed"
Michael Wright [Mon, 7 Dec 2015 23:19:53 +0000 (23:19 +0000)]
Merge "Add support for locking the screen when the lid is closed"
am: 9dc3c36c9c

* commit '9dc3c36c9cd796d90b65543567495d910d266e4c':
  Add support for locking the screen when the lid is closed

8 years agoMerge "Add support for reading and writing double array values"
Samuel Tan [Mon, 7 Dec 2015 23:15:15 +0000 (23:15 +0000)]
Merge "Add support for reading and writing double array values"
am: 61c0b7cd4d

* commit '61c0b7cd4d73381a2f4e3d3836389b130b5006d9':
  Add support for reading and writing double array values

8 years agoMerge "Switch to the latest version of Caliper"
Paul Duffin [Mon, 7 Dec 2015 23:12:48 +0000 (23:12 +0000)]
Merge "Switch to the latest version of Caliper"
am: ae119af517

* commit 'ae119af517fc427ead5bd6a3394b3b1f92df790d':
  Switch to the latest version of Caliper

8 years agoFix locking error when a new user is created
Fyodor Kupolov [Tue, 1 Dec 2015 01:42:43 +0000 (17:42 -0800)]
Fix locking error when a new user is created

Installer should not be called with mPackages lock held.

Bug: 25934378
Change-Id: I619af324d997dd1e4a2ac99171cb0e683c5713d1

8 years agoMerge "Adding StateMachine.hasMessages(), StateMachine.hasDeferredMessages()" into...
Amit Mahajan [Mon, 7 Dec 2015 23:10:55 +0000 (23:10 +0000)]
Merge "Adding StateMachine.hasMessages(), StateMachine.hasDeferredMessages()" into mnc-dr1.5-dev
am: cd2cc9aa9b

* commit 'cd2cc9aa9bfdc21a06ffd7049a4b4ad07bbf6886':
  Adding StateMachine.hasMessages(), StateMachine.hasDeferredMessages()

8 years agoMerge "Fix radio button flash on hour change." into mnc-dr1.5-dev
Julia Reynolds [Mon, 7 Dec 2015 23:08:01 +0000 (23:08 +0000)]
Merge "Fix radio button flash on hour change." into mnc-dr1.5-dev
am: dde5a6ef28

* commit 'dde5a6ef2846bfb6b253b0946a7b9e42a11b8348':
  Fix radio button flash on hour change.

8 years agoMerge "Check NPE beforehand instead of catching it at runtime" into cw-e-dev
Chenjie Luo [Mon, 7 Dec 2015 23:06:36 +0000 (23:06 +0000)]
Merge "Check NPE beforehand instead of catching it at runtime" into cw-e-dev
am: e56f7b0d1d

* commit 'e56f7b0d1d92390c3409999ea841525514163f65':
  Check NPE beforehand instead of catching it at runtime

8 years agoSpecify private resource package in Android.mk
Adam Lesinski [Mon, 7 Dec 2015 22:02:15 +0000 (14:02 -0800)]
Specify private resource package in Android.mk

Private resource package shouldn't be buried in some resource file.
It can now be specified on the command line via the Android.mk file.

Change-Id: I9e3cb0bf54830d6b021077af271913306c024701

8 years agoBetter protection for system broadcast intents.
Jeff Sharkey [Fri, 4 Dec 2015 21:49:52 +0000 (14:49 -0700)]
Better protection for system broadcast intents.

When the system sends broadcast intents, it's in a very authoritative
position, and many apps blindly trust the sender.  This is why we've
historically had the concept of "protected broadcasts" which can only
be sent by the system.

However, it's far too easy to send new broadcasts from the system
without adding them to the protected list.  This CL adds logic to help
catch those cases.  Currently it just logs the error and continues
sending the broadcast.

Based on boot analysis of a typical device, add 36 new protected
broadcasts.

Bug: 24571095
Change-Id: Ie2cc6b0b2026e67c64730af897e4eb3e0e8404f1

8 years agoMerge "Fix round rect in divider handle"
Jorim Jaggi [Mon, 7 Dec 2015 22:37:02 +0000 (22:37 +0000)]
Merge "Fix round rect in divider handle"

8 years agoFix round rect in divider handle
Jorim Jaggi [Mon, 7 Dec 2015 22:18:16 +0000 (14:18 -0800)]
Fix round rect in divider handle

Also make it a bit larger to make it more grabable.

Change-Id: I2335e85b35a90d87d1b6f889921731833199cd3e

8 years agoMerge "Quick setting tile to toggle work mode for managed profiles"
Rubin Xu [Mon, 7 Dec 2015 21:53:45 +0000 (21:53 +0000)]
Merge "Quick setting tile to toggle work mode for managed profiles"

8 years agoMerge "Introduce quiet mode state to managed profile users"
Rubin Xu [Mon, 7 Dec 2015 21:52:40 +0000 (21:52 +0000)]
Merge "Introduce quiet mode state to managed profile users"

8 years agoMerge "Correct GradientDrawable outline alpha computation"
Chris Craik [Mon, 7 Dec 2015 21:51:30 +0000 (21:51 +0000)]
Merge "Correct GradientDrawable outline alpha computation"

8 years agoMerge "Allow IMEs to opt out the opaque navigation guard view."
Seigo Nonaka [Mon, 7 Dec 2015 21:51:06 +0000 (21:51 +0000)]
Merge "Allow IMEs to opt out the opaque navigation guard view."

8 years agoCorrect GradientDrawable outline alpha computation
Chris Craik [Mon, 7 Dec 2015 19:21:50 +0000 (11:21 -0800)]
Correct GradientDrawable outline alpha computation

bug:26066107

GradientDrawable should provide a shadow casting outline if using a
translucent fill.

Change-Id: Ie6b409bafe3fcf9c5216662168d7349e2a9e3413

8 years agoMerge "Add support for locking the screen when the lid is closed"
Michael Wright [Mon, 7 Dec 2015 21:34:59 +0000 (21:34 +0000)]
Merge "Add support for locking the screen when the lid is closed"

8 years agoMerge "Fix requestLayout() optimizations"
Chet Haase [Mon, 7 Dec 2015 21:29:00 +0000 (21:29 +0000)]
Merge "Fix requestLayout() optimizations"

8 years agoFix requestLayout() optimizations
Chet Haase [Mon, 7 Dec 2015 20:58:06 +0000 (12:58 -0800)]
Fix requestLayout() optimizations

A bug in recent layout optimizations was causing the framework to avoid
laying out containers with WRAP_CONTENT in one axis or the other.
This fix updates the logic in the code that finds dependent layout axes
to correctly account for this case.

Issue #25980198 requestLayout() sometimes doesn't result in measure/layout for view

Change-Id: Ie5f678beef5d8c4ba25291ffdcd59797d4697acc

8 years agoMerge "Move surface save state tracking to WindowState."
Rob Carr [Mon, 7 Dec 2015 21:11:35 +0000 (21:11 +0000)]
Merge "Move surface save state tracking to WindowState."

8 years agoMerge "Check NPE beforehand instead of catching it at runtime" into cw-e-dev
Chenjie Luo [Mon, 7 Dec 2015 21:04:14 +0000 (21:04 +0000)]
Merge "Check NPE beforehand instead of catching it at runtime" into cw-e-dev

8 years agoMerge "Fix incorrect style parent"
Adam Lesinski [Mon, 7 Dec 2015 20:58:11 +0000 (20:58 +0000)]
Merge "Fix incorrect style parent"

8 years agoMerge "Add subtypeId for SpellCheckerSubtype."
Yohei Yukawa [Mon, 7 Dec 2015 20:58:02 +0000 (20:58 +0000)]
Merge "Add subtypeId for SpellCheckerSubtype."

8 years agoMerge "Merged op dispatch in OpReorderer"
Chris Craik [Mon, 7 Dec 2015 20:37:31 +0000 (20:37 +0000)]
Merge "Merged op dispatch in OpReorderer"

8 years agoMerged op dispatch in OpReorderer
Chris Craik [Thu, 3 Dec 2015 20:16:56 +0000 (12:16 -0800)]
Merged op dispatch in OpReorderer

bug:22480459

Also switches std::functions to function pointers on OpReorderer, and
switches AssetAtlas' entry getter methods to using pixelRef pointers,
so it's clear they're the keys.

Change-Id: I3040ce5ff4e178a8364e0fd7ab0876ada7d4de05

8 years agoFix incorrect style parent
Adam Lesinski [Mon, 7 Dec 2015 19:56:11 +0000 (11:56 -0800)]
Fix incorrect style parent

AAPT wrongly allowed a style parent to be an attribute. This will not
do any runtime dynamic parent resolving and will result in an incorrect style.

Bug:26061260
Change-Id: Id5d43e5786a64ff939b69a2d84e53733db6baf29

8 years agoMove surface save state tracking to WindowState.
Robert Carr [Thu, 3 Dec 2015 02:39:45 +0000 (18:39 -0800)]
Move surface save state tracking to WindowState.

In the current set up, surface saving is managed by the app window
token. So when destroySavedSurfaces is called, all saved surfaces
assosciated with a given app will be destroyed. This causes pretty weird
behavior where hiding child windows can destroy the parent window. We
move this tracking to WindowState and allow child windows to exempt themselves.

Bug: 25780116
Change-Id: I3ab92221d83297092dfd98a71e6a5fe96381de8b

8 years agoMerge "Add support for reading and writing double array values"
Samuel Tan [Mon, 7 Dec 2015 18:56:01 +0000 (18:56 +0000)]
Merge "Add support for reading and writing double array values"

8 years agoMerge "Added SynchronousUserSwitchObserver"
Fyodor Kupolov [Mon, 7 Dec 2015 18:55:09 +0000 (18:55 +0000)]
Merge "Added SynchronousUserSwitchObserver"

8 years agoMerge "Allow --user current in dpm command"
Fyodor Kupolov [Mon, 7 Dec 2015 18:38:04 +0000 (18:38 +0000)]
Merge "Allow --user current in dpm command"

8 years agoQuick setting tile to toggle work mode for managed profiles
Rubin Xu [Wed, 4 Nov 2015 17:45:03 +0000 (17:45 +0000)]
Quick setting tile to toggle work mode for managed profiles

Status bar will also show a different badge icon when managed profile
is in quiet mode i.e. work mode is off. The tile is invisible for now
until the full feature lands.

Bug: 22541941
Change-Id: I53f33ea346cd9215ecee2ca42de137af61e4c8a2

8 years agoIntroduce quiet mode state to managed profile users
Rubin Xu [Wed, 4 Nov 2015 15:11:48 +0000 (15:11 +0000)]
Introduce quiet mode state to managed profile users

Quiet mode means the user will be free from visual and audio interruptions
from apps inside the managed profile, including notifications, widgets and
others. This CL adds the underlying state bit to users and exposes various
APIs to control and query the quiet mode state.

Bug: 22541941
Change-Id: If5f8e5a897843050e83b6ec26cb39561098f12b9

8 years agoMerge "Adding StateMachine.hasMessages(), StateMachine.hasDeferredMessages()" into...
Amit Mahajan [Mon, 7 Dec 2015 18:15:38 +0000 (18:15 +0000)]
Merge "Adding StateMachine.hasMessages(), StateMachine.hasDeferredMessages()" into mnc-dr1.5-dev

8 years agoMerge "Changed ActivityManager.requestBugreport() to take a 'progress' parameter."
Felipe Leme [Mon, 7 Dec 2015 18:02:40 +0000 (18:02 +0000)]
Merge "Changed ActivityManager.requestBugreport() to take a 'progress' parameter."

8 years agoDo not force keyguard orientation to no sensor.
Xiaohui Chen [Mon, 7 Dec 2015 17:42:48 +0000 (09:42 -0800)]
Do not force keyguard orientation to no sensor.

Fixing a bug that if the device is hold in landscape mode during
initial device setup, after the setup is done, the screen would rotate
to portrait mode and then back to landscape.

Bug: 25817950
Change-Id: Ibbcb7be01d8f14d7b6a98f069cb7eb3a94da12bb

8 years agoMerge "Import translations. DO NOT MERGE"
Geoff Mendal [Mon, 7 Dec 2015 17:40:19 +0000 (17:40 +0000)]
Merge "Import translations. DO NOT MERGE"

8 years agoRefactoring: merge two snippets of adding activity to stopped.
Filip Gruszczynski [Fri, 4 Dec 2015 22:52:25 +0000 (14:52 -0800)]
Refactoring: merge two snippets of adding activity to stopped.

Change-Id: I70777333ca9ff6c4f0736e036bd0946add4b041f

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 7 Dec 2015 17:14:13 +0000 (18:14 +0100)]
Import translations. DO NOT MERGE

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

8 years agoAPIs for activity to know when its windowing/pip modes change
Wale Ogunwale [Fri, 4 Dec 2015 23:35:38 +0000 (15:35 -0800)]
APIs for activity to know when its windowing/pip modes change

Added APIs that allow activities to ask the system if they are currently
in multi-window or picture-in-picture mode and also get notified when
their modes change.

Bug: 25509834
Bug: 25683717
Change-Id: I4b8c316a49940bd6a8b31a93b345f9fd725a4721

8 years agoMerge "Add ephemeral installs"
Todd Kennedy [Mon, 7 Dec 2015 15:33:05 +0000 (15:33 +0000)]
Merge "Add ephemeral installs"

8 years agoMerge "Fix radio button flash on hour change." into mnc-dr1.5-dev
Julia Reynolds [Mon, 7 Dec 2015 15:06:03 +0000 (15:06 +0000)]
Merge "Fix radio button flash on hour change." into mnc-dr1.5-dev

8 years agoFix radio button flash on hour change.
Julia Reynolds [Thu, 5 Nov 2015 16:08:02 +0000 (11:08 -0500)]
Fix radio button flash on hour change.

Also delete confusing debug variable.

Bug: 25459795
Bug: 25783349
Change-Id: I9208ece4edf5fbcff5f257994f47d81a901766e8

8 years agoMerge "Send pwchange broadcast to caller only in FBE case"
Robin Lee [Mon, 7 Dec 2015 14:37:50 +0000 (14:37 +0000)]
Merge "Send pwchange broadcast to caller only in FBE case"

8 years agoMerge "Fix possibility of ScrollView not allowing clicks after a fling"
Chris Banes [Mon, 7 Dec 2015 13:54:34 +0000 (13:54 +0000)]
Merge "Fix possibility of ScrollView not allowing clicks after a fling"

8 years agoMerge "Import translations. DO NOT MERGE"
Geoff Mendal [Mon, 7 Dec 2015 13:50:36 +0000 (13:50 +0000)]
Merge "Import translations. DO NOT MERGE"

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 7 Dec 2015 13:49:49 +0000 (05:49 -0800)]
Import translations. DO NOT MERGE

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

8 years agoMerge "Import translations. DO NOT MERGE"
Geoff Mendal [Mon, 7 Dec 2015 13:40:53 +0000 (13:40 +0000)]
Merge "Import translations. DO NOT MERGE"

8 years agoSend pwchange broadcast to caller only in FBE case
Robin Lee [Thu, 19 Nov 2015 20:05:50 +0000 (20:05 +0000)]
Send pwchange broadcast to caller only in FBE case

When per-user encryption is set up and we change the password of a
profile, the parent and other profiles shouldn't receive an
ACTION_PASSWORD_CHANGED as they have their own distinct passwords.

Change-Id: I70d4ec81277a9bdc3ac6cd952b84cd769a2800b4

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 7 Dec 2015 13:39:02 +0000 (05:39 -0800)]
Import translations. DO NOT MERGE

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

8 years agoMerge "Switch to the latest version of Caliper"
Paul Duffin [Mon, 7 Dec 2015 13:34:27 +0000 (13:34 +0000)]
Merge "Switch to the latest version of Caliper"

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 7 Dec 2015 13:17:15 +0000 (05:17 -0800)]
Import translations. DO NOT MERGE

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

8 years agoSwitch to the latest version of Caliper
Paul Duffin [Tue, 1 Dec 2015 15:41:36 +0000 (15:41 +0000)]
Switch to the latest version of Caliper

Added an Android.mk file to core/tests/benchmarks to build the
benchmarks against caliper-api-target to ensure that they build
correctly. Changed the implementations to work with the new
version of Caliper.

Bug: 24848946
Change-Id: Ib28026816dbc5c1d54f65974f4a1abfee299c43f

8 years agoFix possibility of ScrollView not allowing clicks after a fling
Chris Banes [Mon, 7 Dec 2015 11:53:26 +0000 (11:53 +0000)]
Fix possibility of ScrollView not allowing clicks after a fling

The reason that manifests is because SV's
onInterceptTouchEvent checks if it's scroller.isFinished()
returns true. The result of Scroller.isFinished() is only
valid if it has had computeScrollOffset() called on it before.

ScrollView currently posts a invalidation after a computeScroll()
call, which means that isFinished() *should* be valid, but it's
better to be explicit which CL adds.

BUG: 26051101
Change-Id: If78f48dc855de1776011cb7b0f95cb0a80d9b777

8 years agoMake base user restrictions queriable for system apps
Zoltan Szatmary-Ban [Thu, 26 Nov 2015 13:45:51 +0000 (13:45 +0000)]
Make base user restrictions queriable for system apps

Needed by e.g. Settings > Location

Bug:22541939
Change-Id: I6cdd5f1c32cde143232eb53f531bbf3a737d8a9a

8 years agoMerge "Wire support for archives to DocumentsUI."
Tomasz Mikolajewski [Mon, 7 Dec 2015 03:50:02 +0000 (03:50 +0000)]
Merge "Wire support for archives to DocumentsUI."

8 years agoWire support for archives to DocumentsUI.
Tomasz Mikolajewski [Wed, 25 Nov 2015 04:01:18 +0000 (13:01 +0900)]
Wire support for archives to DocumentsUI.

Bug: 20176812
Change-Id: I8220afa2f53b07aa842bf6ac24fcc62afd4e2617

8 years agoMerge "Update client configuration when resizing without crossing size threshold."
Filip Gruszczynski [Mon, 7 Dec 2015 02:17:47 +0000 (02:17 +0000)]
Merge "Update client configuration when resizing without crossing size threshold."

8 years agoMerge "Don't lose stopping state when getting paused confirmation."
Filip Gruszczynski [Mon, 7 Dec 2015 01:11:01 +0000 (01:11 +0000)]
Merge "Don't lose stopping state when getting paused confirmation."

8 years agoChanged ActivityManager.requestBugreport() to take a 'progress' parameter.
Felipe Leme [Sat, 5 Dec 2015 00:37:28 +0000 (16:37 -0800)]
Changed ActivityManager.requestBugreport() to take a 'progress' parameter.

When progress is set to 'true', it calls the new, enhanced
'bugreportplus' service, while when 'false' it calls the regular
'bugreport' service.

'bugreportplus' is more user-friendly (it shows a system notification
with the progress, allow user to cancel, etc...), at the cost of
consuming more resources. As such, the "Take Bug Report" UI will be
changed to offer the user a combo with these 2 options, but for now it's
always going to be 'bugreportplus'

BUG: 26034608
Change-Id: I21a6b5b092a85614e91d523b8f4df1fb00e49b3b

8 years agoMerge commit 'da131290ae5e476691e05e5eb4ac6d507012a0ac' into tgunn-mncvtdev-to-master...
Tyler Gunn [Sat, 5 Dec 2015 05:05:15 +0000 (21:05 -0800)]
Merge commit 'da131290ae5e476691e05e5eb4ac6d507012a0ac' into tgunn-mncvtdev-to-master-2015-12-04

8 years agoMerge commit '9aadad47a0085c4298307781a423064207933f0b' into tgunn-mncvtdev-to-master...
Tyler Gunn [Sat, 5 Dec 2015 05:04:50 +0000 (21:04 -0800)]
Merge commit '9aadad47a0085c4298307781a423064207933f0b' into tgunn-mncvtdev-to-master-2015-12-04

8 years agoMerge commit '70da83381f77e0ee9ada47eafaae395038ff77ad' into tgunn-mncvtdev-to-master...
Tyler Gunn [Sat, 5 Dec 2015 05:04:44 +0000 (21:04 -0800)]
Merge commit '70da83381f77e0ee9ada47eafaae395038ff77ad' into tgunn-mncvtdev-to-master-2015-12-04