OSDN Git Service

android-x86/frameworks-base.git
11 years agoMerge "Various fixes." into jb-mr1-dev
Dianne Hackborn [Mon, 10 Sep 2012 01:19:50 +0000 (18:19 -0700)]
Merge "Various fixes." into jb-mr1-dev

11 years agoVarious fixes.
Dianne Hackborn [Mon, 10 Sep 2012 00:49:39 +0000 (17:49 -0700)]
Various fixes.

Bug #7132226: Can't start instrumentation due to ActivityManagerService crash
Bug #6912004: tap on gmail notification sends me to home screen

Change-Id: I824128b01f368de95dee288f8e49039b84479a7e

11 years agoMerge "Handle case where user info might not be available." into jb-mr1-dev
Jeff Brown [Mon, 10 Sep 2012 00:31:00 +0000 (17:31 -0700)]
Merge "Handle case where user info might not be available." into jb-mr1-dev

11 years agoHandle case where user info might not be available.
Jeff Brown [Mon, 10 Sep 2012 00:26:50 +0000 (17:26 -0700)]
Handle case where user info might not be available.

The CursorLoader can return a null cursor if the query
failed for some reason.  This may happen in certain states
where the provider is not available.

Bug: 7133411
Change-Id: Id7b383bca45a61bc8726ba9f6115cbbc07e5d0b4

11 years agoMerge "Update WifiP2pWfdDevInfo from device found event" into jb-mr1-dev
Irfan Sheriff [Mon, 10 Sep 2012 00:16:35 +0000 (17:16 -0700)]
Merge "Update WifiP2pWfdDevInfo from device found event" into jb-mr1-dev

11 years agoUpdate WifiP2pWfdDevInfo from device found event
Irfan Sheriff [Mon, 10 Sep 2012 00:10:47 +0000 (17:10 -0700)]
Update WifiP2pWfdDevInfo from device found event

Change-Id: I197e84e16147d3db7362e3d6d169ff917c112de2

11 years agoam 61d09810: am 3150feef: am bfe1ab82: Merge "Fix aapt to get expat header files...
Elliott Hughes [Sun, 9 Sep 2012 23:13:11 +0000 (16:13 -0700)]
am 61d09810: am 3150feef: am bfe1ab82: Merge "Fix aapt to get expat header files from the approved location."

* commit '61d09810a7b478810adc15af2495136255377e25':
  Fix aapt to get expat header files from the approved location.

11 years agoam 3150feef: am bfe1ab82: Merge "Fix aapt to get expat header files from the approved...
Elliott Hughes [Sun, 9 Sep 2012 23:11:04 +0000 (16:11 -0700)]
am 3150feef: am bfe1ab82: Merge "Fix aapt to get expat header files from the approved location."

* commit '3150feef0b27ad34370904eb12875805f6c84e8a':
  Fix aapt to get expat header files from the approved location.

11 years agoam bfe1ab82: Merge "Fix aapt to get expat header files from the approved location."
Elliott Hughes [Sun, 9 Sep 2012 23:09:15 +0000 (16:09 -0700)]
am bfe1ab82: Merge "Fix aapt to get expat header files from the approved location."

* commit 'bfe1ab825731d365fef169deab646d7ceeafc998':
  Fix aapt to get expat header files from the approved location.

11 years agoMerge "Add a native library to test APKs" into jb-mr1-dev
Kenny Root [Sun, 9 Sep 2012 22:18:34 +0000 (15:18 -0700)]
Merge "Add a native library to test APKs" into jb-mr1-dev

11 years agoMerge "Add more testing for native libraries" into jb-mr1-dev
Kenny Root [Sun, 9 Sep 2012 22:17:11 +0000 (15:17 -0700)]
Merge "Add more testing for native libraries" into jb-mr1-dev

11 years agoMerge "Fix aapt to get expat header files from the approved location."
Elliott Hughes [Sun, 9 Sep 2012 22:16:45 +0000 (15:16 -0700)]
Merge "Fix aapt to get expat header files from the approved location."

11 years agoMerge "Update PackageSetting flags when updating" into jb-mr1-dev
Kenny Root [Sun, 9 Sep 2012 22:14:55 +0000 (15:14 -0700)]
Merge "Update PackageSetting flags when updating" into jb-mr1-dev

11 years agoAdd a native library to test APKs
Kenny Root [Sun, 9 Sep 2012 20:22:06 +0000 (13:22 -0700)]
Add a native library to test APKs

In order to make sure we have unpacking and deletion working, add a fake
JNI library to every APK.

This can be expanded in the future to make sure replacement is working
correctly as well.

Change-Id: I1ad04c61df9518429aa17795b8a9d3608791cd8e

11 years agoAdd more testing for native libraries
Kenny Root [Sun, 9 Sep 2012 05:02:21 +0000 (22:02 -0700)]
Add more testing for native libraries

Make sure that native library paths have the correct permissions and
owners. Also make it easier to do a "String#startsWith" test so we can
get better errors when it fails.

Change the observer to have more sane semantics with a CountDownLatch
instead of weird synchronization on a local variable.

Change-Id: I2437e5ea886d6e6cb8b4edeab80d6053b79857d4

11 years agoUpdate PackageSetting flags when updating
Kenny Root [Sun, 9 Sep 2012 21:52:10 +0000 (14:52 -0700)]
Update PackageSetting flags when updating

Commit 5e03e2ca7d25b899b129baad2dd5eca6bf99d88a moved from
PacakgeParser.Package to PackageSetting which revealed that we weren't
updating the pkgFlags when replacing an existing application.

Add flags to PackageSetting so that deletion of the package later succeeds.

Change-Id: I2e0d4e07da31f48b68601f3f3240966b6e17dbdf

11 years agoMerge "Use correct PowerManager call to wake up screen" into jb-mr1-dev
Guang Zhu [Sun, 9 Sep 2012 21:46:44 +0000 (14:46 -0700)]
Merge "Use correct PowerManager call to wake up screen" into jb-mr1-dev

11 years agoMerge "A little cleanup." into jb-mr1-dev
Dianne Hackborn [Sun, 9 Sep 2012 21:45:57 +0000 (14:45 -0700)]
Merge "A little cleanup." into jb-mr1-dev

11 years agoFix aapt to get expat header files from the approved location.
Elliott Hughes [Sun, 9 Sep 2012 21:45:32 +0000 (14:45 -0700)]
Fix aapt to get expat header files from the approved location.

Change-Id: Ic7c796e048cfe98ee355c18b3708fee5ea716e2e

11 years agoUse correct PowerManager call to wake up screen
Guang Zhu [Sun, 9 Sep 2012 21:38:23 +0000 (14:38 -0700)]
Use correct PowerManager call to wake up screen

The current implementation does not actually wakes up the screen.

Change-Id: Ief2dca013cfe40e03b64273fe7b09822e9ad42a7

11 years agoA little cleanup.
Dianne Hackborn [Sun, 9 Sep 2012 00:03:52 +0000 (17:03 -0700)]
A little cleanup.

Change-Id: Ie33fd1b02011606e67ce08df3cce887c07680c60

11 years agoMerge "Copy all mutable state before sending to clients." into jb-mr1-dev
Jeff Brown [Sun, 9 Sep 2012 21:20:52 +0000 (14:20 -0700)]
Merge "Copy all mutable state before sending to clients." into jb-mr1-dev

11 years agoCopy all mutable state before sending to clients.
Jeff Brown [Sun, 9 Sep 2012 20:56:17 +0000 (13:56 -0700)]
Copy all mutable state before sending to clients.

This resolves an issue with ConcurrentModificationException
or inconsistent data being perceived by clients.

Fixed an NPE in the WifiP2pDeviceList copy constructor.

Bug: 7133752
Change-Id: I37a4d004f7b1ca21d490f131039d81695db2ba42

11 years agoMerge "Disable wifi display API when the adapter is not registered." into jb-mr1-dev
Jeff Brown [Sun, 9 Sep 2012 20:29:19 +0000 (13:29 -0700)]
Merge "Disable wifi display API when the adapter is not registered." into jb-mr1-dev

11 years agoDisable wifi display API when the adapter is not registered.
Jeff Brown [Sun, 9 Sep 2012 20:26:55 +0000 (13:26 -0700)]
Disable wifi display API when the adapter is not registered.

Bug: 7132341
Change-Id: I46d859082077afd2c8adc829ad285977dff80d07

11 years agoThrow ALL the exceptions! (in the PackageManagerTests)
Kenny Root [Sun, 9 Sep 2012 05:02:21 +0000 (22:02 -0700)]
Throw ALL the exceptions! (in the PackageManagerTests)

Change all the test method headers to throw Exception so we don't have
to try to catch anything during the tests. Catching an exception might
mask an error during the tests.

Also fix a lot of formatting errors that have built up over the years.
This includes 3-space indentations instead of 4-space, missing spaces
between braces and parens, too-long lines, wrapping when it isn't
needed, etc.

Change-Id: Ifccea5f0706b6f9235f37974a5f80bee76c654dd

11 years agoRemove "protect" command from installd
Kenny Root [Sun, 9 Sep 2012 00:03:48 +0000 (17:03 -0700)]
Remove "protect" command from installd

No one uses the "protect" command anymore, so remove it from installd.

Change-Id: Ia990bae6f95cd6e317496f5dd173ec15164d7164

11 years agoViewport should zoom out when screen magnification is disabled.
Svetoslav Ganov [Sun, 9 Sep 2012 18:13:53 +0000 (11:13 -0700)]
Viewport should zoom out when screen magnification is disabled.

1. If screen magnification is disabled when the screen is in a
   magnified state we have to zoom out since otherwise the user
   is stuck in a magnified state without ability to pan/zoom/
   toggle magnification which renders the device useless.

bug:7131030

Change-Id: I8f3339f31310448ec8742f3101c1fdc61a6a5f83

11 years agoMerge "Viewport should zoom out when screen magnification is disabled." into jb-mr1-dev
Svetoslav Ganov [Sun, 9 Sep 2012 17:50:34 +0000 (10:50 -0700)]
Merge "Viewport should zoom out when screen magnification is disabled." into jb-mr1-dev

11 years agoViewport should zoom out when screen magnification is disabled.
Svetoslav Ganov [Sun, 9 Sep 2012 17:46:07 +0000 (10:46 -0700)]
Viewport should zoom out when screen magnification is disabled.

1. If screen magnification is disabled when the screen is in a
   magnified state we have to zoom out since otherwise the user
   is stuck in a magnified state without ability to pan/zoom/
   toggle magnification which renders the device useless.

bug:7131030

Change-Id: Ia620954fbd594e7cd470e43b89d9ed04c0397c3c

11 years agoWork around crash when display is removed.
Jeff Brown [Sun, 9 Sep 2012 07:57:09 +0000 (00:57 -0700)]
Work around crash when display is removed.

After a display is removed, there may be a brief time
when a Context still exists that is bound to it.
We need to provide metrics in this case.

Bug: 7131637
Change-Id: I11b264a000653adbf0f3da399eaab66c4b40fb2a

11 years agoMerge "Add skeleton Wifi-Display tile in QS." into jb-mr1-dev
Jeff Brown [Sun, 9 Sep 2012 07:25:48 +0000 (00:25 -0700)]
Merge "Add skeleton Wifi-Display tile in QS." into jb-mr1-dev

11 years agoMerge "Improve Wifi display discovery API." into jb-mr1-dev
Jeff Brown [Sun, 9 Sep 2012 07:23:58 +0000 (00:23 -0700)]
Merge "Improve Wifi display discovery API." into jb-mr1-dev

11 years agoAdd skeleton Wifi-Display tile in QS.
Jeff Brown [Sun, 9 Sep 2012 06:15:12 +0000 (23:15 -0700)]
Add skeleton Wifi-Display tile in QS.

Pop up a little dialog when the tile is touched with options
to connect, scan and disconnect.

Change-Id: Ic9e28344899310692ace36c322974df175f82e08

11 years agoImprove Wifi display discovery API.
Jeff Brown [Sun, 9 Sep 2012 06:15:00 +0000 (23:15 -0700)]
Improve Wifi display discovery API.

Change-Id: I4d46503e5413f52da16f79bbc9c631cc5ae9c178

11 years agoMerge "More multi-user methods in PM" into jb-mr1-dev
Amith Yamasani [Sun, 9 Sep 2012 03:20:57 +0000 (20:20 -0700)]
Merge "More multi-user methods in PM" into jb-mr1-dev

11 years agoMore multi-user methods in PM
Amith Yamasani [Sat, 8 Sep 2012 02:25:16 +0000 (19:25 -0700)]
More multi-user methods in PM

pm can list installed packages by user now.

Bug: 6926465

Change-Id: I822311bfd6e7e2d6fb315fc484739fbf953c9bb6

11 years agoMerge "Make display manager tell input system about viewports." into jb-mr1-dev
Jeff Brown [Sun, 9 Sep 2012 01:19:14 +0000 (18:19 -0700)]
Merge "Make display manager tell input system about viewports." into jb-mr1-dev

11 years agoMake display manager tell input system about viewports.
Jeff Brown [Sun, 9 Sep 2012 01:05:28 +0000 (18:05 -0700)]
Make display manager tell input system about viewports.

The window manager is no longer responsible for telling the
input system about the display viewport.

Change-Id: I932882bae55decef55f25093bb2a7ebac1620bb1

11 years agoMerge "Initial changes to add QuickSettings." into jb-mr1-dev
Winson Chung [Sat, 8 Sep 2012 22:54:20 +0000 (15:54 -0700)]
Merge "Initial changes to add QuickSettings." into jb-mr1-dev

11 years agoInitial changes to add QuickSettings.
Winson Chung [Thu, 6 Sep 2012 00:34:41 +0000 (17:34 -0700)]
Initial changes to add QuickSettings.

Change-Id: If510f74d6046929e5e8a794c6dc2fddb15a03d6b

11 years agoMerge "Enable auto-brightness adjustment feature with system prop." into jb-mr1-dev
Jeff Brown [Sat, 8 Sep 2012 22:53:49 +0000 (15:53 -0700)]
Merge "Enable auto-brightness adjustment feature with system prop." into jb-mr1-dev

11 years agoEnable auto-brightness adjustment feature with system prop.
Jeff Brown [Sat, 8 Sep 2012 22:11:11 +0000 (15:11 -0700)]
Enable auto-brightness adjustment feature with system prop.

This feature is experimental and disabled by default.

Change-Id: I183534370da7613557e4d1535f556873f8a763df

11 years agoMerge "Add new wifi display discovery API." into jb-mr1-dev
Jeff Brown [Sat, 8 Sep 2012 21:55:02 +0000 (14:55 -0700)]
Merge "Add new wifi display discovery API." into jb-mr1-dev

11 years agoMerge "Retry wifi display connections." into jb-mr1-dev
Jeff Brown [Sat, 8 Sep 2012 21:53:58 +0000 (14:53 -0700)]
Merge "Retry wifi display connections." into jb-mr1-dev

11 years agoAdd new wifi display discovery API.
Jeff Brown [Sat, 8 Sep 2012 03:36:36 +0000 (20:36 -0700)]
Add new wifi display discovery API.

The API is quite simple.  There are a few extra functions
on DisplayManager to scan, connect and disconnect from
wifi displays and get status, and a single protected
broadcast sent when the status changes.

Change-Id: Ic91dbab5ee818e790b27fa32e1a1e93788793be0

11 years agoMerge "Add permissions to control and configure wifi display." into jb-mr1-dev
Jeff Brown [Sat, 8 Sep 2012 21:51:55 +0000 (14:51 -0700)]
Merge "Add permissions to control and configure wifi display." into jb-mr1-dev

11 years agoMerge "Fix doc typo." into jb-mr1-dev
Jason Sams [Sat, 8 Sep 2012 05:25:52 +0000 (22:25 -0700)]
Merge "Fix doc typo." into jb-mr1-dev

11 years agoMerge "Fix memory corruption in LayerRenderer::copyLayer" into jb-mr1-dev
Romain Guy [Sat, 8 Sep 2012 01:44:39 +0000 (18:44 -0700)]
Merge "Fix memory corruption in LayerRenderer::copyLayer" into jb-mr1-dev

11 years agoFix memory corruption in LayerRenderer::copyLayer
Romain Guy [Sat, 8 Sep 2012 01:42:38 +0000 (18:42 -0700)]
Fix memory corruption in LayerRenderer::copyLayer

The pixel store pack alignment was not set for the source texture,
causing a write to occur outside of the destination bitmap's
bounds.

Change-Id: Iaa5767acf7b5943fbc2765c3810a142f06b1a796

11 years agoMerge "Sanity-check existence of restore agent" into jb-mr1-dev
Christopher Tate [Sat, 8 Sep 2012 01:38:09 +0000 (18:38 -0700)]
Merge "Sanity-check existence of restore agent" into jb-mr1-dev

11 years agoMerge "Fix crash in ShapeDrawable" into jb-mr1-dev
Romain Guy [Sat, 8 Sep 2012 01:38:02 +0000 (18:38 -0700)]
Merge "Fix crash in ShapeDrawable" into jb-mr1-dev

11 years agoFix crash in ShapeDrawable
Romain Guy [Sat, 8 Sep 2012 01:35:22 +0000 (18:35 -0700)]
Fix crash in ShapeDrawable

Change-Id: Ibc277db46912a73dc3f971f8487baa5eafa8bc84

11 years agoMerge "Don't hide the PIN keyboard even when a physical keyboard is present." into...
Jim Miller [Sat, 8 Sep 2012 01:36:43 +0000 (18:36 -0700)]
Merge "Don't hide the PIN keyboard even when a physical keyboard is present." into jb-mr1-dev

11 years agoMerge "Add Binder.getCallingUserHandle()." into jb-mr1-dev
Dianne Hackborn [Sat, 8 Sep 2012 01:35:02 +0000 (18:35 -0700)]
Merge "Add Binder.getCallingUserHandle()." into jb-mr1-dev

11 years agoAdd Binder.getCallingUserHandle().
Dianne Hackborn [Sat, 8 Sep 2012 01:33:18 +0000 (18:33 -0700)]
Add Binder.getCallingUserHandle().

Change-Id: I2a7eedfdc7baeeb4c2cd2ca0153aa95e0cf0bf45

11 years agoSanity-check existence of restore agent
Christopher Tate [Sat, 8 Sep 2012 01:32:12 +0000 (18:32 -0700)]
Sanity-check existence of restore agent

When a restore dataset includes data for an app that used to have
a backup agent, but does not in the currently-installed version, we
were merrily trying to bring up the agent for restore anyway, and
crashing.  Now we don't do that; we check whether there's actually
going to be an agent to handle the data before doing any of the
heavy work.

Bug 7130695

Change-Id: I0a38c2a8bb51d4a140a72d22896fa58d98ebaa02

11 years agoMerge "Enable lazy-loading of security views in keyguard" into jb-mr1-dev
Jim Miller [Sat, 8 Sep 2012 01:13:56 +0000 (18:13 -0700)]
Merge "Enable lazy-loading of security views in keyguard" into jb-mr1-dev

11 years agoMerge "Log all individual settings restored" into jb-mr1-dev
Christopher Tate [Sat, 8 Sep 2012 01:10:02 +0000 (18:10 -0700)]
Merge "Log all individual settings restored" into jb-mr1-dev

11 years agoLog all individual settings restored
Christopher Tate [Sat, 8 Sep 2012 01:09:03 +0000 (18:09 -0700)]
Log all individual settings restored

Trying to get a handle on bug 7129406

Change-Id: If436c7888f0a8565d83c03024c54ea6ec83e7955

11 years agoEnable lazy-loading of security views in keyguard
Jim Miller [Fri, 7 Sep 2012 23:43:51 +0000 (16:43 -0700)]
Enable lazy-loading of security views in keyguard

This change removes all but the default KeyguardSelectorView from KeyguardViewHost
to (1) reduce the overall memory footprint (2) reduce initial layout inflation
time and (3) avoid initializing the camera until needed by face unlock.

Fixes bug 7127666

Change-Id: Ibac1838dd7a490dcadbfab5bdfdd82734b69055a

11 years agoMerge "Explicitly specify current user everywhere home is started." into jb-mr1-dev
Dianne Hackborn [Sat, 8 Sep 2012 01:01:22 +0000 (18:01 -0700)]
Merge "Explicitly specify current user everywhere home is started." into jb-mr1-dev

11 years agoRetry wifi display connections.
Jeff Brown [Sat, 8 Sep 2012 00:41:20 +0000 (17:41 -0700)]
Retry wifi display connections.

Change-Id: I48c62c7e272c2696022ddeea1c3107d24a9431b8

11 years agoAdd permissions to control and configure wifi display.
Jeff Brown [Sat, 8 Sep 2012 00:41:02 +0000 (17:41 -0700)]
Add permissions to control and configure wifi display.

Change-Id: I54af6da53b7243516becd6a3d5985c0feda6c225

11 years agoDisable hardcoded wifi display adapter.
Jeff Brown [Sat, 8 Sep 2012 00:50:18 +0000 (17:50 -0700)]
Disable hardcoded wifi display adapter.

Change-Id: Id0f7d59b6eafa8794ff7616cf54a0b94ba78c763

11 years agoExplicitly specify current user everywhere home is started.
Dianne Hackborn [Fri, 7 Sep 2012 22:58:52 +0000 (15:58 -0700)]
Explicitly specify current user everywhere home is started.

Change-Id: I58d86136de7f9cef1eaf72793d0e200b852d7355

11 years agoMerge "Fixing off by one error in the ScreenMagnifier." into jb-mr1-dev
Svetoslav Ganov [Sat, 8 Sep 2012 00:34:01 +0000 (17:34 -0700)]
Merge "Fixing off by one error in the ScreenMagnifier." into jb-mr1-dev

11 years agoFixing off by one error in the ScreenMagnifier.
Svetoslav Ganov [Fri, 7 Sep 2012 23:27:01 +0000 (16:27 -0700)]
Fixing off by one error in the ScreenMagnifier.

Change-Id: Ia0ccfb6b354b7a18633e7cf26647c6436ebf5c08

11 years agoDon't hide the PIN keyboard even when a physical keyboard is present.
Jim Miller [Fri, 7 Sep 2012 23:48:41 +0000 (16:48 -0700)]
Don't hide the PIN keyboard even when a physical keyboard is present.

Originally this was done for aesthetics when we had a physical keyboard on
devices.  The code also used to hide the PIN keyboard when a BT keyboard is
attached.

We now always show the keyboard, even when a physical keyboard is present.

Change-Id: I8e1f3af200071382bfe267c28d92062758ebb790

11 years agoMerge "Make mirroring automatic based on Windows on display." into jb-mr1-dev
Jeff Brown [Fri, 7 Sep 2012 23:01:36 +0000 (16:01 -0700)]
Merge "Make mirroring automatic based on Windows on display." into jb-mr1-dev

11 years agoMerge "Add support for Wifi display." into jb-mr1-dev
Jeff Brown [Fri, 7 Sep 2012 23:00:12 +0000 (16:00 -0700)]
Merge "Add support for Wifi display." into jb-mr1-dev

11 years agoMerge "installd: fix forward locking symlink" into jb-mr1-dev
Nick Kralevich [Fri, 7 Sep 2012 22:58:43 +0000 (15:58 -0700)]
Merge "installd: fix forward locking symlink" into jb-mr1-dev

11 years agoMerge "Move verification settings to Settings.Global" into jb-mr1-dev
rich cannings [Fri, 7 Sep 2012 22:54:12 +0000 (15:54 -0700)]
Merge "Move verification settings to Settings.Global" into jb-mr1-dev

11 years agoMerge "Fix crash when setting wallpaper from non-primary user." into jb-mr1-dev
Dianne Hackborn [Fri, 7 Sep 2012 22:52:37 +0000 (15:52 -0700)]
Merge "Fix crash when setting wallpaper from non-primary user." into jb-mr1-dev

11 years agoFix crash when setting wallpaper from non-primary user.
Dianne Hackborn [Fri, 7 Sep 2012 22:35:17 +0000 (15:35 -0700)]
Fix crash when setting wallpaper from non-primary user.

When accessing a content provider, there is a check for whether
the provider can run in the caller's process; if so, even if the
provider is currently published, we return to the caller that it
can run locally.

This check was broken -- it had an old condition that allowed
content providers owned by the system UID to run in any other UID's
process.  This is wrong, since by definition the other
UIDs would not be able to access the data under the original UID.

We ran into this because the activity picker is part of the
android platform manifest, so runs as the system process.  However
it needs to run as the user who invoked it, so when coming from the
non-primary user we spin up a "system" process running as a uid of
that user.  Now when that process tries to access the settings
provider, the broken check would think that a new instance of the
settings provider should be created in the caller's process.

Change-Id: I7bf495ed8370cb271bdaec073d5b7dda9e38c546

11 years agoinstalld: fix forward locking symlink
Nick Kralevich [Fri, 7 Sep 2012 22:48:11 +0000 (15:48 -0700)]
installd: fix forward locking symlink

installd was not creating a compatibility symlink when
installing a forward locked application.  Fix.

Bug: 7121527
Change-Id: Ied507ab2b759d8658af563e6ac8f0dbb0d286cce

11 years agoMerge "Fix incorrect indexing calculation." into jb-mr1-dev
Craig Mautner [Fri, 7 Sep 2012 22:48:06 +0000 (15:48 -0700)]
Merge "Fix incorrect indexing calculation." into jb-mr1-dev

11 years agoFix doc typo.
Jason Sams [Fri, 7 Sep 2012 22:42:55 +0000 (15:42 -0700)]
Fix doc typo.

Change-Id: Ib18172ac72886865dc9ae4535a577b2f8f3468e9

11 years agoFix incorrect indexing calculation.
Craig Mautner [Fri, 7 Sep 2012 22:40:24 +0000 (15:40 -0700)]
Fix incorrect indexing calculation.

Fixes bug 7129583.

Change-Id: Ia395a7acded05686668d5b3cee09d49025a9f339

11 years agoMerge "Add greyscale intrinsic test." into jb-mr1-dev
Jason Sams [Fri, 7 Sep 2012 22:40:00 +0000 (15:40 -0700)]
Merge "Add greyscale intrinsic test." into jb-mr1-dev

11 years agoMerge "Document ColorMatrix intrinsic and add helpers" into jb-mr1-dev
Jason Sams [Fri, 7 Sep 2012 22:38:24 +0000 (15:38 -0700)]
Merge "Document ColorMatrix intrinsic and add helpers" into jb-mr1-dev

11 years agoMove verification settings to Settings.Global
rich cannings [Fri, 7 Sep 2012 21:43:43 +0000 (14:43 -0700)]
Move verification settings to Settings.Global

Move Settings.Secure.PACKAGE_VERIFIER_ENABLE,
Settings.Secure.PACKAGE_VERIFIER_TIMEOUT,
Settings.Secure.PACKAGE_VERIFIER_DEFAULT_RESPONSE to
Settings.Global.PACKAGE_VERIFIER_ENABLE,
Settings.Global.PACKAGE_VERIFIER_TIMEOUT,
Settings.Global.PACKAGE_VERIFIER_DEFAULT_RESPONSE, respectively.

Bug: 7082362
Change-Id: I21fde031a330563891c0129132f3d6369ac5e7a5

11 years agoMerge "Resolve the correct home intent for secondary users" into jb-mr1-dev
Amith Yamasani [Fri, 7 Sep 2012 22:28:09 +0000 (15:28 -0700)]
Merge "Resolve the correct home intent for secondary users" into jb-mr1-dev

11 years agoMerge "Handle different x, y scales in drawLines AA path" into jb-mr1-dev
Chris Craik [Fri, 7 Sep 2012 22:27:05 +0000 (15:27 -0700)]
Merge "Handle different x, y scales in drawLines AA path" into jb-mr1-dev

11 years agoam 2ff43774: (-s ours) Reconcile with jb-mr0-release - do not merge
The Android Open Source Project [Fri, 7 Sep 2012 22:24:05 +0000 (15:24 -0700)]
am 2ff43774: (-s ours) Reconcile with jb-mr0-release - do not merge

* commit '2ff437745ec1e3463d4e7b831bf2b173aa38dad4':
  DO NOT MERGE - Make WebView track focal points more accurately
  DO NOT MERGE - Delay starting scale gesture events until a touch slop threshold

11 years agoReconcile with jb-mr0-release - do not merge
The Android Open Source Project [Fri, 7 Sep 2012 22:21:16 +0000 (15:21 -0700)]
Reconcile with jb-mr0-release - do not merge

Change-Id: I1e3c8a0ea72c31ae91cdbd6453c32d8c6901a29a

11 years agoHandle different x, y scales in drawLines AA path
Chris Craik [Fri, 7 Sep 2012 20:56:43 +0000 (13:56 -0700)]
Handle different x, y scales in drawLines AA path

bug:7114630

Fixes different x, y scales, and fixes boundaryWidthProportion to be from
center, not edge.

Also adds drawLine tests that previously drew blurry.

Change-Id: I2b648a60361ad3931eac67647b9b27909525ee1e

11 years agoMerge "Fix Time.parse and Time.parse3339 crashing bugs. DO NOT MERGE" into jb-mr1-dev
Raph Levien [Fri, 7 Sep 2012 22:08:42 +0000 (15:08 -0700)]
Merge "Fix Time.parse and Time.parse3339 crashing bugs. DO NOT MERGE" into jb-mr1-dev

11 years agoResolve the correct home intent for secondary users
Amith Yamasani [Fri, 31 Aug 2012 22:11:01 +0000 (15:11 -0700)]
Resolve the correct home intent for secondary users

Fix some searches through the Activity stack.

This allows SetupWizard to be launched for the second user.

Change-Id: Icd306319f511c902557bd9985d80dda228e32d96

11 years agoMerge "Refer to STAY_ON_WHILE_PLUGGED_IN via the Global namespace" into jb-mr1-dev
Christopher Tate [Fri, 7 Sep 2012 22:02:38 +0000 (15:02 -0700)]
Merge "Refer to STAY_ON_WHILE_PLUGGED_IN via the Global namespace" into jb-mr1-dev

11 years agoRefer to STAY_ON_WHILE_PLUGGED_IN via the Global namespace
Christopher Tate [Fri, 7 Sep 2012 22:00:54 +0000 (15:00 -0700)]
Refer to STAY_ON_WHILE_PLUGGED_IN via the Global namespace

It moved from System to Global, so writes are not automatically redirected
to the new namespace (else apps would start crashing).

Bug 7126575

Change-Id: Ief31fcb5a6107a098da04d30d146e16921dee776

11 years agoMerge "AudioSystem: new audio device enums" into jb-mr1-dev
Eric Laurent [Fri, 7 Sep 2012 21:53:29 +0000 (14:53 -0700)]
Merge "AudioSystem: new audio device enums" into jb-mr1-dev

11 years agoMake mirroring automatic based on Windows on display.
Craig Mautner [Fri, 7 Sep 2012 20:55:58 +0000 (13:55 -0700)]
Make mirroring automatic based on Windows on display.

Tell the display manager whenever a given logical display
contains interesting windows.  If so, then the display
manager arranges to show that content on a physical display,
otherwise it ignores the logical display and makes its
associated primary physical display mirror the default
display.

Assign DisplayContents when Displays are added, remove them when
Displays are removed, and update the DisplayInfo when Displays
change.

Change-Id: I36e08ec538055acabe1e24cdd12c40de4e47a158

11 years agoMerge "Enable changing properties of layer paint" into jb-mr1-dev
Chet Haase [Fri, 7 Sep 2012 21:44:43 +0000 (14:44 -0700)]
Merge "Enable changing properties of layer paint" into jb-mr1-dev

11 years agoMerge "Refer to STAY_ON_WHILE_PLUGGED_IN in the global namespace" into jb-mr1-dev
Christopher Tate [Fri, 7 Sep 2012 21:22:59 +0000 (14:22 -0700)]
Merge "Refer to STAY_ON_WHILE_PLUGGED_IN in the global namespace" into jb-mr1-dev

11 years agoRefer to STAY_ON_WHILE_PLUGGED_IN in the global namespace
Christopher Tate [Fri, 7 Sep 2012 21:19:43 +0000 (14:19 -0700)]
Refer to STAY_ON_WHILE_PLUGGED_IN in the global namespace

This is the one relevant setting that moved from System to Global,
a move that we do not automatically redirect on writes.

Change-Id: I7b26d0c364695c4a10a7cd477db3dfcfe89d7ef5

11 years agoMerge "More multi-user stuff:" into jb-mr1-dev
Dianne Hackborn [Fri, 7 Sep 2012 21:11:56 +0000 (14:11 -0700)]
Merge "More multi-user stuff:" into jb-mr1-dev

11 years agoMerge "Reduce the number of locks acquired by display lists" into jb-mr1-dev
Romain Guy [Fri, 7 Sep 2012 21:01:30 +0000 (14:01 -0700)]
Merge "Reduce the number of locks acquired by display lists" into jb-mr1-dev

11 years agoReduce the number of locks acquired by display lists
Romain Guy [Fri, 7 Sep 2012 18:58:36 +0000 (11:58 -0700)]
Reduce the number of locks acquired by display lists

Change-Id: I1123aae0355de84db705bb75042c7083fc69c9f2

11 years agoMore multi-user stuff:
Dianne Hackborn [Thu, 6 Sep 2012 21:21:19 +0000 (14:21 -0700)]
More multi-user stuff:

- New (hidden) isUserRunning() API.
- Maintain LRU list of visited users.
- New FLAG_IS_DATA_ONLY for ApplicationInfo.
- Clean up pending intent records when force-stopping a user (or package).
  (Also fixes bug #6880627: PendingIntent.getService() returns stale
  intent of force stopped app)
- Fix force-stopping when installing an app to do the force-stop across
  all users for that app.
- When selecting which processes to kill during a force stop, do this
  based on the actual packages loaded in the process, not just process
  name matching.
- You can now use --user option in am when starting activities, services,
  and instrumentation.
- The am --user option accepts "current" and "all" as arguments.
- The pm uninstall command now uninstalls for all users, so it matches
  the semantics of the install command.
- PhoneWindowManager now explicitly says to start home in the current
  user.
- Activity manager call to retrieve the MIME type from a content provider
  now takes a user argument, so it will direct this to the proper user.
- The package manager uninstall paths are now implemented around
  PackageSetting, not PackageParser.Package.  This allows them to work
  even if the application's apk has been removed (in which case it only
  exists as a PackageSetting, not the PackageParser.Package parsed from
  the apk).

Change-Id: I3522f6fcf32603090bd6e01cc90ce70b6c5aae40