34116 Commits

Author SHA1 Message Date
Christopher Tate
5f3af83acc am 4e2eb658: Merge "Update airplane-mode manipulation for the new Settings namespace" into jb-mr1-dev
* commit '4e2eb6581f8ee91166cbfd80b531f628dedab89a':
  Update airplane-mode manipulation for the new Settings namespace
2012-09-10 17:18:48 -07:00
Christopher Tate
4e2eb6581f Merge "Update airplane-mode manipulation for the new Settings namespace" into jb-mr1-dev 2012-09-10 17:16:17 -07:00
Kenny Root
bc6f15893f am 2e7d0cb5: Merge "Move native libraries to /data/app-lib" into jb-mr1-dev
* commit '2e7d0cb592381e2efd9b86d5ee38d8ec657b6a1a':
  Move native libraries to /data/app-lib
2012-09-10 17:07:51 -07:00
Kenny Root
2e7d0cb592 Merge "Move native libraries to /data/app-lib" into jb-mr1-dev 2012-09-10 17:05:47 -07:00
Christopher Tate
c09cdce1b0 Update airplane-mode manipulation for the new Settings namespace
Quick Settings and global actions (aka longpress-Power) toggles are
included in this CL.  The Settings app manipulations are updated in
a different CL because that's a different git package.

Bug 7132230

Change-Id: I50838f5e8d7b25a750d2bcae90bf384b09816dbb
2012-09-10 16:50:57 -07:00
John Reck
20f26418f7 am bdf8fa0c: Merge "Fix some destroy bugs" into jb-mr1-dev
* commit 'bdf8fa0c1b762d82b056fa8d929ceaff47ae241b':
  Fix some destroy bugs
2012-09-10 16:33:17 -07:00
John Reck
bdf8fa0c1b Merge "Fix some destroy bugs" into jb-mr1-dev 2012-09-10 16:30:19 -07:00
Katie McCormick
54f6784794 am a25526ae: am 51740d6d: am 0e9f34bf: Doc update: ACTION_APPWIDGET_OPTIONS_CHANGED link
* commit 'a25526ae400641ae414d2dbf03495f54a0c46d2d':
  Doc update: ACTION_APPWIDGET_OPTIONS_CHANGED link
2012-09-10 16:29:51 -07:00
Katie McCormick
a25526ae40 am 51740d6d: am 0e9f34bf: Doc update: ACTION_APPWIDGET_OPTIONS_CHANGED link
* commit '51740d6d786bf583cd46d12beb8515aa00d84bee':
  Doc update: ACTION_APPWIDGET_OPTIONS_CHANGED link
2012-09-10 16:27:20 -07:00
Katie McCormick
51740d6d78 am 0e9f34bf: Doc update: ACTION_APPWIDGET_OPTIONS_CHANGED link
* commit '0e9f34bffdfc476122337d077453f722fc22038f':
  Doc update: ACTION_APPWIDGET_OPTIONS_CHANGED link
2012-09-10 16:25:17 -07:00
Katie McCormick
0e9f34bffd Doc update: ACTION_APPWIDGET_OPTIONS_CHANGED link
Change-Id: I62def95b138282eba4f2e70fd4ab4de35aa03e89
2012-09-10 16:20:20 -07:00
John Reck
095e8aa02b Fix some destroy bugs
Bug: 6961494
 Don't call clearHelpers in destroy(). It is already called
 in onDetach, which is where it needs to be. It can't be
 called by the finalizer

 Switch onCancel listener to onDismiss listener. Fixes an issue
 where destroying can live the webcore thread hung because onCancel
 won't be called, but onDismiss is

Change-Id: I669c389c8c9a81d92c27f88d83bcb711c6c0a5ee
2012-09-10 16:07:04 -07:00
Siva Velusamy
0dffc8d5d0 am bc91c5f8: Merge "Report the user id of every app to ddms." into jb-mr1-dev
* commit 'bc91c5f8b175c20f7e63ee245bd70c7e7bba2ba5':
  Report the user id of every app to ddms.
2012-09-10 16:02:28 -07:00
Siva Velusamy
bc91c5f8b1 Merge "Report the user id of every app to ddms." into jb-mr1-dev 2012-09-10 15:59:36 -07:00
Dianne Hackborn
68e18e5558 am 009ea5a0: Merge "USER_CURRENT_OR_SELF had the same int as USER_CURRENT!" into jb-mr1-dev
* commit '009ea5a04c38dd209b73d28cb867f05e63ec89cc':
  USER_CURRENT_OR_SELF had the same int as USER_CURRENT!
2012-09-10 15:51:26 -07:00
Dianne Hackborn
009ea5a04c Merge "USER_CURRENT_OR_SELF had the same int as USER_CURRENT!" into jb-mr1-dev 2012-09-10 15:49:59 -07:00
Dianne Hackborn
a5ba6b33ba am 4573e29f: Merge "Flesh out multi-user in am commands." into jb-mr1-dev
* commit '4573e29faf40983f9d1df99bb0f506d77a868e05':
  Flesh out multi-user in am commands.
2012-09-10 15:40:36 -07:00
Dianne Hackborn
4573e29faf Merge "Flesh out multi-user in am commands." into jb-mr1-dev 2012-09-10 15:39:02 -07:00
Dianne Hackborn
8a9f5d42a5 USER_CURRENT_OR_SELF had the same int as USER_CURRENT!
Change-Id: I0f2b0fa4fb82d1f871450b509a7a4d13e9817320
2012-09-10 15:37:53 -07:00
Dianne Hackborn
1676c856d6 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
2012-09-10 14:52:30 -07:00
Siva Velusamy
d693dfa75b 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
2012-09-10 14:44:38 -07:00
Victoria Lease
73b21be0e4 am d7f5a51b: Merge "IME support for trackball and generic motion events" into jb-mr1-dev
* commit 'd7f5a51baf2c46436dc5bac3807fb0d46cbff304':
  IME support for trackball and generic motion events
2012-09-10 14:16:20 -07:00
Victoria Lease
d7f5a51baf Merge "IME support for trackball and generic motion events" into jb-mr1-dev 2012-09-10 14:12:48 -07:00
Victoria Lease
b38070caa5 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
2012-09-10 14:01:42 -07:00
Chet Haase
efba28f928 am e11dc0dd: Merge "Fix clone() for Animators with just a \'to\' value" into jb-mr1-dev
* commit 'e11dc0ddab438d3b6545bc5d1582e1deddb5d465':
  Fix clone() for Animators with just a 'to' value
2012-09-10 13:59:33 -07:00
Chet Haase
e11dc0ddab Merge "Fix clone() for Animators with just a 'to' value" into jb-mr1-dev 2012-09-10 13:56:47 -07:00
Chet Haase
00177e483d 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  ObjectAnimator.clone() does not work properly for single parameter

Change-Id: I08bf03b7687a65eb613c1671a58e4cbfae66a30e
2012-09-10 13:42:07 -07:00
Jamie Gennis
4382ad1834 am cae2e388: Merge "SurfaceTexture: add updateTexImage synchronization" into jb-mr1-dev
* commit 'cae2e3887d826f1c50e2bdc621b824def7ab855e':
  SurfaceTexture: add updateTexImage synchronization
2012-09-10 13:35:51 -07:00
Jamie Gennis
cae2e3887d Merge "SurfaceTexture: add updateTexImage synchronization" into jb-mr1-dev 2012-09-10 13:31:39 -07:00
Kenny Root
ddbe50df2c Move native libraries to /data/app-lib
Instead of unpacking libraries into /data/data/<appname>/lib, unpack
them into /data/app-lib so that multi-user applications can use the same
libraries.

Change-Id: I636dafb5a9eea8cf5a41f1360698e7695455f385
2012-09-10 11:54:36 -07:00
Svetoslav Ganov
d17937491c am 1434e29a: Merge "Check for null ViewRootImpl when saving accessibility focus in ListView." into jb-mr1-dev
* commit '1434e29ac6a157130c9882606ca577567c91ddc4':
  Check for null ViewRootImpl when saving accessibility focus in ListView.
2012-09-10 11:33:48 -07:00
alanv
27093def8d Check for null ViewRootImpl when saving accessibility focus in ListView.
Bug: 7135071
Change-Id: Ide8b6af38b7f1b9bb809e4f8b1c933cb5ddb5e86
2012-09-10 11:10:25 -07:00
Wu-cheng Li
ed0878bfef am 753e1280: Merge "Unhide INTENT_ACTION_STILL_IMAGE_CAMERA_SECURE." into jb-mr1-dev
* commit '753e1280cbc3f0006b04f67385f02e1f92019f7d':
  Unhide INTENT_ACTION_STILL_IMAGE_CAMERA_SECURE.
2012-09-10 00:50:50 -07:00
Wu-cheng Li
753e1280cb Merge "Unhide INTENT_ACTION_STILL_IMAGE_CAMERA_SECURE." into jb-mr1-dev 2012-09-10 00:48:26 -07:00
Jamie Gennis
f09263e957 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
2012-09-09 17:53:27 -07:00
Kenny Root
c42f974e0b am be3267aa: Merge "Add a native library to test APKs" into jb-mr1-dev
* commit 'be3267aad1faacc0ee767e746018e7b795a9b151':
  Add a native library to test APKs
2012-09-09 15:20:38 -07:00
Kenny Root
57d1d078d6 am 785aaa2d: Merge "Add more testing for native libraries" into jb-mr1-dev
* commit '785aaa2d19c690248dfdb5db6e589474192709cf':
  Add more testing for native libraries
2012-09-09 15:18:55 -07:00
Kenny Root
be3267aad1 Merge "Add a native library to test APKs" into jb-mr1-dev 2012-09-09 15:18:35 -07:00
Kenny Root
785aaa2d19 Merge "Add more testing for native libraries" into jb-mr1-dev 2012-09-09 15:17:11 -07:00
Kenny Root
e64e097147 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
2012-09-09 15:12:16 -07:00
Kenny Root
7e921a157d 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
2012-09-09 15:12:16 -07:00
Dianne Hackborn
592877daab am 8727a731: Merge "A little cleanup." into jb-mr1-dev
* commit '8727a73127dde026a797511d28355868797f0e46':
  A little cleanup.
2012-09-09 14:49:11 -07:00
Dianne Hackborn
8727a73127 Merge "A little cleanup." into jb-mr1-dev 2012-09-09 14:45:58 -07:00
Dianne Hackborn
1b8ecc5031 A little cleanup.
Change-Id: Ie33fd1b02011606e67ce08df3cce887c07680c60
2012-09-09 14:41:34 -07:00
Kenny Root
e1f36f514f am 25c925e6: Throw ALL the exceptions! (in the PackageManagerTests)
* commit '25c925e6659e57f1cc8fef83be07f3917a108e3c':
  Throw ALL the exceptions! (in the PackageManagerTests)
2012-09-09 12:35:44 -07:00
Kenny Root
25c925e665 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
2012-09-09 12:32:03 -07:00
Jeff Brown
1c897dc9ac am a3909a93: Work around crash when display is removed.
* commit 'a3909a93958676d341424d574752bc7b3280d421':
  Work around crash when display is removed.
2012-09-09 01:15:56 -07:00
Jeff Brown
a3909a9395 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
2012-09-09 01:05:38 -07:00
Jeff Brown
2ff27aae3b am 20ec8ac5: Merge "Improve Wifi display discovery API." into jb-mr1-dev
* commit '20ec8ac58665e6e2991988c134ba3b8590911648':
  Improve Wifi display discovery API.
2012-09-09 00:26:09 -07:00
Jeff Brown
20ec8ac586 Merge "Improve Wifi display discovery API." into jb-mr1-dev 2012-09-09 00:23:59 -07:00