OSDN Git Service

android-x86/frameworks-base.git
11 years agoam 51740d6d: am 0e9f34bf: Doc update: ACTION_APPWIDGET_OPTIONS_CHANGED link
Katie McCormick [Mon, 10 Sep 2012 23:27:20 +0000 (16:27 -0700)]
am 51740d6d: am 0e9f34bf: Doc update: ACTION_APPWIDGET_OPTIONS_CHANGED link

* commit '51740d6d786bf583cd46d12beb8515aa00d84bee':
  Doc update: ACTION_APPWIDGET_OPTIONS_CHANGED link

11 years agoam 0e9f34bf: Doc update: ACTION_APPWIDGET_OPTIONS_CHANGED link
Katie McCormick [Mon, 10 Sep 2012 23:25:17 +0000 (16:25 -0700)]
am 0e9f34bf: Doc update: ACTION_APPWIDGET_OPTIONS_CHANGED link

* commit '0e9f34bffdfc476122337d077453f722fc22038f':
  Doc update: ACTION_APPWIDGET_OPTIONS_CHANGED link

11 years agoDoc update: ACTION_APPWIDGET_OPTIONS_CHANGED link
Katie McCormick [Mon, 10 Sep 2012 22:32:46 +0000 (15:32 -0700)]
Doc update: ACTION_APPWIDGET_OPTIONS_CHANGED link

Change-Id: I62def95b138282eba4f2e70fd4ab4de35aa03e89

11 years agoMerge "Allow simultaneous scale and pan in magnified state." into jb-mr1-dev
Svetoslav Ganov [Mon, 10 Sep 2012 23:03:11 +0000 (16:03 -0700)]
Merge "Allow simultaneous scale and pan in magnified state." into jb-mr1-dev

11 years agoMerge "Report the user id of every app to ddms." into jb-mr1-dev
Siva Velusamy [Mon, 10 Sep 2012 22:59:36 +0000 (15:59 -0700)]
Merge "Report the user id of every app to ddms." into jb-mr1-dev

11 years agoAllow simultaneous scale and pan in magnified state.
Svetoslav Ganov [Mon, 10 Sep 2012 22:57:10 +0000 (15:57 -0700)]
Allow simultaneous scale and pan in magnified state.

1. Before in magnified state the user was able to only scale or
   pan. Based on user input this change allows performing pan
   or scale or both. If the user scales more than a threshold
   we are performing a scale and independently of that if the
   use pans more than a threshold we are performing a pan.

bug:7138928

Change-Id: Ic1511500ba3369091dcfd070669d3e4f0286fbe5

11 years agoMerge "USER_CURRENT_OR_SELF had the same int as USER_CURRENT!" into jb-mr1-dev
Dianne Hackborn [Mon, 10 Sep 2012 22:49:59 +0000 (15:49 -0700)]
Merge "USER_CURRENT_OR_SELF had the same int as USER_CURRENT!" into jb-mr1-dev

11 years agoMerge "Flesh out multi-user in am commands." into jb-mr1-dev
Dianne Hackborn [Mon, 10 Sep 2012 22:39:02 +0000 (15:39 -0700)]
Merge "Flesh out multi-user in am commands." into jb-mr1-dev

11 years agoUSER_CURRENT_OR_SELF had the same int as USER_CURRENT!
Dianne Hackborn [Mon, 10 Sep 2012 22:37:53 +0000 (15:37 -0700)]
USER_CURRENT_OR_SELF had the same int as USER_CURRENT!

Change-Id: I0f2b0fa4fb82d1f871450b509a7a4d13e9817320

11 years agoFlesh out multi-user in am commands.
Dianne Hackborn [Mon, 10 Sep 2012 21:52:30 +0000 (14:52 -0700)]
Flesh out multi-user in am commands.

Now we default to the current user instead of user 0 for most commands
(except where we can do the command for all users).

Many more commands take a user argument: force-stop, kill, profile,
dumpheap.

Improved help text.

Change-Id: I719a13b4d31b668f57ca21e51d7043ac3e0d4e1b

11 years agoReport the user id of every app to ddms.
Siva Velusamy [Mon, 10 Sep 2012 21:36:58 +0000 (14:36 -0700)]
Report the user id of every app to ddms.

This CL extends the HELO and APNM packets to include the user id
of the application. This allows ddms users to differentiate between
the same app running for multiple users.

Bug 7110696.

Change-Id: I490d0e3781b8fb9db65cf81188677a0955650511

11 years agoMerge "IME support for trackball and generic motion events" into jb-mr1-dev
Victoria Lease [Mon, 10 Sep 2012 21:12:47 +0000 (14:12 -0700)]
Merge "IME support for trackball and generic motion events" into jb-mr1-dev

11 years agoIME support for trackball and generic motion events
Victoria Lease [Fri, 24 Aug 2012 20:46:02 +0000 (13:46 -0700)]
IME support for trackball and generic motion events

Trackball and generic motion events now pass through the IME in case
it would like to handle them before passing them on to the view
hierarchy.

While I was at it, I also...
...fixed the documentation on InputMethodService.onKeyUp()
...added documentation to InputMethodService.onTrackballEvent()
...added trackball and generic motion events to the "input" command
...fixed input consistency verification involving ACTION_OUTSIDE

Bug: 7050005
Change-Id: I40ab68df4a9542af6df25de6ec2ec500e4c02902

11 years agoMerge "Fix clone() for Animators with just a 'to' value" into jb-mr1-dev
Chet Haase [Mon, 10 Sep 2012 20:56:47 +0000 (13:56 -0700)]
Merge "Fix clone() for Animators with just a 'to' value" into jb-mr1-dev

11 years agoFix clone() for Animators with just a 'to' value
Chet Haase [Mon, 10 Sep 2012 20:42:07 +0000 (13:42 -0700)]
Fix clone() for Animators with just a 'to' value

Previously, clone() on an Animator with only one value would mistakenly
think that the clone had a real starting value (which would end up being 0 in the
int and float cases). Fix is to set the 'mHasFirstValue' flag appropriately for the
clone, based on the state of the cloned animator.

Issue #7106442 ObjectAnimator.clone() does not work properly for single parameter

Change-Id: I08bf03b7687a65eb613c1671a58e4cbfae66a30e

11 years agoMerge "SurfaceTexture: add updateTexImage synchronization" into jb-mr1-dev
Jamie Gennis [Mon, 10 Sep 2012 20:31:39 +0000 (13:31 -0700)]
Merge "SurfaceTexture: add updateTexImage synchronization" into jb-mr1-dev

11 years agoMerge "Fix port logic in WifiDisplayController." into jb-mr1-dev
Andreas Huber [Mon, 10 Sep 2012 18:41:23 +0000 (11:41 -0700)]
Merge "Fix port logic in WifiDisplayController." into jb-mr1-dev

11 years agoFix port logic in WifiDisplayController.
Andreas Huber [Mon, 10 Sep 2012 18:35:15 +0000 (11:35 -0700)]
Fix port logic in WifiDisplayController.

It's not the port advertised in the sink's wfd IE, it's the one our
source broadcasts in its wfd IE. In addition some dongles ignore the
broadcast port and have to be special cased.

Change-Id: Id5d279652e336391ba34dfc30bba700043d49b1d

11 years agoMerge "Check for null ViewRootImpl when saving accessibility focus in ListView."...
Svetoslav Ganov [Mon, 10 Sep 2012 18:31:00 +0000 (11:31 -0700)]
Merge "Check for null ViewRootImpl when saving accessibility focus in ListView." into jb-mr1-dev

11 years agoMerge "Reset GL buffer state after functor invocation" into jb-mr1-dev
Chet Haase [Mon, 10 Sep 2012 18:17:53 +0000 (11:17 -0700)]
Merge "Reset GL buffer state after functor invocation" into jb-mr1-dev

11 years agoMerge "Import translations. DO NOT MERGE" into jb-mr1-dev
Baligh Uddin [Mon, 10 Sep 2012 18:13:44 +0000 (11:13 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-mr1-dev

11 years agoCheck for null ViewRootImpl when saving accessibility focus in ListView.
alanv [Mon, 10 Sep 2012 18:10:25 +0000 (11:10 -0700)]
Check for null ViewRootImpl when saving accessibility focus in ListView.

Bug: 7135071
Change-Id: Ide8b6af38b7f1b9bb809e4f8b1c933cb5ddb5e86

11 years agoMerge "Notifications: Hide ticker updates from background users." into jb-mr1-dev
John Spurlock [Mon, 10 Sep 2012 18:07:21 +0000 (11:07 -0700)]
Merge "Notifications: Hide ticker updates from background users." into jb-mr1-dev

11 years agoMerge "Improve scaling vs pan in screen magnifier." into jb-mr1-dev
Svetoslav Ganov [Mon, 10 Sep 2012 17:54:25 +0000 (10:54 -0700)]
Merge "Improve scaling vs pan in screen magnifier." into jb-mr1-dev

11 years agoImprove scaling vs pan in screen magnifier.
Svetoslav Ganov [Mon, 10 Sep 2012 17:48:58 +0000 (10:48 -0700)]
Improve scaling vs pan in screen magnifier.

1. Due to frequent changes of the behavior of ScaleGestureDetector
   this patch rolls in a gesture detector used for changing the
   screen magnification level. It has an improved algorithm which
   uses the diameter of min circle around the points as the span, the
   center of this circle as the focal point, and the average slop
   of the lines from each pointer to the center to determine the
   angle of the diameter used when computing the span x and y.

Change-Id: I5cee8dba84032a0702016b8f9632f78139024bbe

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 10 Sep 2012 17:44:19 +0000 (10:44 -0700)]
Import translations. DO NOT MERGE

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

11 years agoMerge "Fix DevicePolicyManager crash when settings password quality (and possibly...
Amith Yamasani [Mon, 10 Sep 2012 17:27:12 +0000 (10:27 -0700)]
Merge "Fix DevicePolicyManager crash when settings password quality (and possibly others)." into jb-mr1-dev

11 years agoFix DevicePolicyManager crash when settings password quality (and possibly others).
Amith Yamasani [Mon, 10 Sep 2012 17:24:36 +0000 (10:24 -0700)]
Fix DevicePolicyManager crash when settings password quality (and possibly others).

Bug: 7130570

Clear the calling identity before broadcasting to all users.

Change-Id: Ibe84af1ee00aecfe4b2d5bb7731a952f617b4885

11 years agoReset GL buffer state after functor invocation
Chet Haase [Sun, 9 Sep 2012 23:13:26 +0000 (16:13 -0700)]
Reset GL buffer state after functor invocation

Functors in WebView were binding to different buffers than we
assumed in the toolkit, eventually causing a crash due to improper
dereferencing in the currently bound buffer. Fix is to reset state
after invoking functors.

Issue #6666279 Native crash in Currents, mostly on Nakasi

Change-Id: I3697812d83613fffc9193daa99beea4dbf26474a

11 years agoNotifications: Hide ticker updates from background users.
John Spurlock [Mon, 10 Sep 2012 13:43:27 +0000 (09:43 -0400)]
Notifications: Hide ticker updates from background users.

We should only update the notification ticker area when
the notification is for the current user.

Bug:6924835
Change-Id: Ieaccbd8c972b3d0f62c74d29d42e0fa77ec3148c

11 years agoMerge "Unhide INTENT_ACTION_STILL_IMAGE_CAMERA_SECURE." into jb-mr1-dev
Wu-cheng Li [Mon, 10 Sep 2012 07:48:25 +0000 (00:48 -0700)]
Merge "Unhide INTENT_ACTION_STILL_IMAGE_CAMERA_SECURE." into jb-mr1-dev

11 years agoMerge "Fix device list update" into jb-mr1-dev
Irfan Sheriff [Mon, 10 Sep 2012 07:36:17 +0000 (00:36 -0700)]
Merge "Fix device list update" into jb-mr1-dev

11 years agoFix device list update
Irfan Sheriff [Mon, 10 Sep 2012 07:34:26 +0000 (00:34 -0700)]
Fix device list update

Change-Id: I6a57d90f3750590db4ac5d538956b989d9589501

11 years agoMerge "Pass EXCLUDE_FROM_RECENTS when starting secure camera." into jb-mr1-dev
Wu-cheng Li [Mon, 10 Sep 2012 06:39:34 +0000 (23:39 -0700)]
Merge "Pass EXCLUDE_FROM_RECENTS when starting secure camera." into jb-mr1-dev

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 agoSurfaceTexture: add updateTexImage synchronization
Jamie Gennis [Mon, 10 Sep 2012 00:53:27 +0000 (17:53 -0700)]
SurfaceTexture: add updateTexImage synchronization

This change makes the SurfaceTexture JNI updateTexImage call the native
SurfaceTexture's doGLFenceWait method to perform the needed synchronization.

Change-Id: Ie70a1fe6b44d439d1ffe7b97689a421ff8c02fda

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