34805 Commits

Author SHA1 Message Date
Amith Yamasani
8015f039c7 Merge "Enforce a user limit" into jb-mr1-dev 2012-09-11 11:08:38 -07:00
Eino-Ville Talvala
6fc7275d0e Merge "Camera: Add enableShutterSound method." into jb-mr1-dev 2012-09-11 11:06:13 -07:00
Selim Gurun
06ee8cdec5 Merge "Remove defunct searchbox implementation from webview." into jb-mr1-dev 2012-09-11 11:01:32 -07:00
Amith Yamasani
faea76ff8b Enforce a user limit
By default only 1 user is allowed. Some devices permit more than 1.
Set the real user limit in a device overlay for config.xml

Change-Id: I2e0bffa13393b954fcd20e55b92f20de980c58c0
2012-09-11 10:59:48 -07:00
Adam Cohen
0aa2d42e87 Adding notion of keyguard widgets
-> Persisting certain appwidget options
-> Adding ability to specify appwidget options on bind
   so as to avoid AppWidgetProvider update call with no
   options.

Change-Id: I5631039f19f1822b8e123b559b6353c880c0192e
2012-09-11 10:53:57 -07:00
Selim Gurun
0e9292b94a Remove defunct searchbox implementation from webview.
The search box implementation has not been in use since ICS. This
removes dead code from webview.

Change-Id: I8a28eeeec556619abc4a902a3abec2ac52bad319
2012-09-11 10:40:28 -07:00
Selim Gurun
b743a23fc5 Added annotations for injected accessibility objects
Bug: 7073422

Provided @JavascriptInterface to methods that are accessible from
js.

Change-Id: If3bf8f5aa2b6ff38fe5358aad534ea31f6f546ae
2012-09-11 10:24:44 -07:00
John Spurlock
9f750af6c1 Update the dream manager to be multi-user aware.
Dream settings are stored per-user, so dream manager operations
must act according to the calling or current user.

Bug:7041514
Change-Id: I4a0bbbd76886e6440b1afd89c61af5f4569b0e18
2012-09-11 09:50:23 -04:00
Dianne Hackborn
0bac8bcbcc Merge "Animations for user switching." into jb-mr1-dev 2012-09-10 21:04:55 -07:00
Fabrice Di Meglio
4497e0c3c6 Fix bug #7141044 GlobalActions dialog (power off / airplane mode / sound off) should be RTL aware
- add android:supportsRtl="true" to the manifest for system_process

Change-Id: I9794f6880c883d91751d0037646253810b086d46
2012-09-10 20:46:33 -07:00
Svetoslav Ganov
ee6c6ae5b2 Fixing implementation of View.requestRectangleOnScreen(Rect, boolean).
1. The implementation was not taking into account the transformation
   matrices if the views.

2. The rectangle that was passed as an argument to
   ViewParent.requestChildRectangleOnScreen was modified by
   some implementations - now care is taken to prevent it.

3. The scroll of child was used when a rectangle of its coordinate
   system was mapped to one in the parent system. However, the
   scroll shows how much a parent has scrolled its descendants, so
   the scroll of the parent has to be used not the child.

bug:7139556

Change-Id: I5b09eb7f105047e95282f74308968d5465831c84
2012-09-10 20:01:23 -07:00
Dianne Hackborn
9d9ece3c1e Animations for user switching.
The window manager now has a facility to provide a full-screen
animation, which the activity manager uses every time a user
switch happens.

The current animation is just a simple dumb slide until we get
a design from UX.

Also some cleanup: moved the portrait task animations to the
default config so we always have an animation for them, and finally
got the java symbol stuff out of public.xml.

Change-Id: I726f77422b2ef5f2d98f961f8da003e045f0ebe8
2012-09-10 19:58:21 -07:00
Christopher Tate
272e2a5cec am 23e03832: am e1f02ef0: Merge "Miscellaneous fixes for Settings" into jb-mr1-dev
* commit '23e038323dc79c3d5355ba4b4b77060a763a1a91':
  Miscellaneous fixes for Settings
2012-09-10 19:25:29 -07:00
Christopher Tate
e1f02ef080 Merge "Miscellaneous fixes for Settings" into jb-mr1-dev 2012-09-10 19:21:53 -07:00
Selim Gurun
6eb6157da6 am d2d3bff2: am befab9e6: Merge "Control access to inherited methods of jsinterface objects" into jb-mr1-dev
* commit 'd2d3bff22c339bc30452a6c79b703b6d22f08d3b':
  Control access to inherited methods of jsinterface objects
2012-09-10 18:21:14 -07:00
Jim Miller
a090b7429d am bd5cd21d: am eeabf942: Merge "Allow pattern to start from outside pattern view" into jb-mr1-dev
* commit 'bd5cd21d827a422a5ab787b87625d25a5d35f7bb':
  Allow pattern to start from outside pattern view
2012-09-10 18:21:08 -07:00
Amith Yamasani
71fd13dcde am c648ef27: am 5bf7800d: Merge "Force keyguard if there are multiple users" into jb-mr1-dev
* commit 'c648ef27b25c4d0a45801e42fcc5bc9a1a6e66a4':
  Force keyguard if there are multiple users
2012-09-10 18:19:26 -07:00
Selim Gurun
befab9e6b8 Merge "Control access to inherited methods of jsinterface objects" into jb-mr1-dev 2012-09-10 18:15:37 -07:00
Jim Miller
eeabf94226 Merge "Allow pattern to start from outside pattern view" into jb-mr1-dev 2012-09-10 18:13:57 -07:00
Amith Yamasani
5bf7800de6 Merge "Force keyguard if there are multiple users" into jb-mr1-dev 2012-09-10 18:12:42 -07:00
Amith Yamasani
b70ff9a181 Force keyguard if there are multiple users
Otherwise there would be no way to switch users if a user chooses None as lock screen.

Also adjust some layout params for Preference items to align the icons and text.

Change-Id: Ib11bb961edaef90de280bc7137d10b68765aea98
2012-09-10 18:11:46 -07:00
Jeff Brown
43aa159128 Allow adb shell am display-size to use bigger sizes.
We now support scaling the logical display to fit the
physical display, whatever size it is.  So we can allow
adb shell am display-size to use more or less arbitrary sizes
although we do enforce an upper and lower bound to
protect the user.

Change-Id: I5fe6ba32ad1f9e4fbcd6915f7d36850b987bbcc0
2012-09-10 17:50:18 -07:00
Christopher Tate
d5fe147924 Miscellaneous fixes for Settings
(1) It's okay to write literal null as a settings element value
(2) Properly convey the user handle in the put-for-user variant

Bug 7137201
Bug 7139826

Change-Id: I0ed77d65e8377f0e0580a2668f10b7167ad34928
2012-09-10 17:32:39 -07:00
Christopher Tate
aba94657fa am ee370ae1: am 4e2eb658: Merge "Update airplane-mode manipulation for the new Settings namespace" into jb-mr1-dev
* commit 'ee370ae1f6ddaba7e7aa8a61a5566d1b4e894ced':
  Update airplane-mode manipulation for the new Settings namespace
2012-09-10 17:25:19 -07:00
Kenny Root
b973bfba92 am 4ff58510: am 2e7d0cb5: Merge "Move native libraries to /data/app-lib" into jb-mr1-dev
* commit '4ff58510c039a037c72f7084fd1fc25bf038ed1f':
  Move native libraries to /data/app-lib
2012-09-10 17:25:05 -07:00
John Reck
8627875d1c am 814b9a6c: am bdf8fa0c: Merge "Fix some destroy bugs" into jb-mr1-dev
* commit '814b9a6cc161da3ec5c897783776faf48877d2e5':
  Fix some destroy bugs
2012-09-10 17:16:53 -07:00
Katie McCormick
211ae7472f am 757e5600: am a25526ae: am 51740d6d: am 0e9f34bf: Doc update: ACTION_APPWIDGET_OPTIONS_CHANGED link
* commit '757e5600d5bc7762d65e682de13ba9fbd0476eea':
  Doc update: ACTION_APPWIDGET_OPTIONS_CHANGED link
2012-09-10 17:16:45 -07:00
Siva Velusamy
fbd598fc10 am 5b5d482c: am bc91c5f8: Merge "Report the user id of every app to ddms." into jb-mr1-dev
* commit '5b5d482c0c6a048c4a95b63359226ec9015012e9':
  Report the user id of every app to ddms.
2012-09-10 17:16:33 -07:00
Dianne Hackborn
9d8d90b59d am 31c95b93: am 009ea5a0: Merge "USER_CURRENT_OR_SELF had the same int as USER_CURRENT!" into jb-mr1-dev
* commit '31c95b93c64601994732dda6ed9de7c44f838596':
  USER_CURRENT_OR_SELF had the same int as USER_CURRENT!
2012-09-10 17:16:25 -07:00
Dianne Hackborn
3dd94ced96 am 206aa76c: am 4573e29f: Merge "Flesh out multi-user in am commands." into jb-mr1-dev
* commit '206aa76cdce6bc9697833f4657e7fc5de4d8f065':
  Flesh out multi-user in am commands.
2012-09-10 17:16:20 -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
Victoria Lease
57ff180fe9 am 64a5c4cf: am d7f5a51b: Merge "IME support for trackball and generic motion events" into jb-mr1-dev
* commit '64a5c4cf2f53c11b1a9141228a39ea4305b856fc':
  IME support for trackball and generic motion events
2012-09-10 17:15:57 -07:00
Chet Haase
d1651064ab am d8f68060: am e11dc0dd: Merge "Fix clone() for Animators with just a \'to\' value" into jb-mr1-dev
* commit 'd8f680601da495a084bacb347e1dddf1313b4cc7':
  Fix clone() for Animators with just a 'to' value
2012-09-10 17:15:42 -07:00
Jamie Gennis
9b9b70cb5f am 515c34f2: am cae2e388: Merge "SurfaceTexture: add updateTexImage synchronization" into jb-mr1-dev
* commit '515c34f22ed675933c76d286b90e2f661a283c8a':
  SurfaceTexture: add updateTexImage synchronization
2012-09-10 17:15:34 -07:00
Svetoslav Ganov
e607dd880d am ef94c988: am 1434e29a: Merge "Check for null ViewRootImpl when saving accessibility focus in ListView." into jb-mr1-dev
* commit 'ef94c988a2caf503a730686f3259385b0f4e4e2f':
  Check for null ViewRootImpl when saving accessibility focus in ListView.
2012-09-10 17:14:58 -07:00
Wu-cheng Li
f87bc01766 am 774f1fca: am 753e1280: Merge "Unhide INTENT_ACTION_STILL_IMAGE_CAMERA_SECURE." into jb-mr1-dev
* commit '774f1fca6fff5ba9ecd5a7db9548f6644cfaff27':
  Unhide INTENT_ACTION_STILL_IMAGE_CAMERA_SECURE.
2012-09-10 17:13:37 -07:00
Kenny Root
edf57b6cdd am 008180c1: am be3267aa: Merge "Add a native library to test APKs" into jb-mr1-dev
* commit '008180c1d083bcff3dee0c86891bb71a82a6460d':
  Add a native library to test APKs
2012-09-10 17:12:19 -07:00
Kenny Root
1bfaf5dc2b am ce2a2ffc: am 785aaa2d: Merge "Add more testing for native libraries" into jb-mr1-dev
* commit 'ce2a2ffc6775581128cefaa99100097e555ea552':
  Add more testing for native libraries
2012-09-10 17:12:15 -07:00
Dianne Hackborn
9e0709c6fb am 1d0467ae: am 8727a731: Merge "A little cleanup." into jb-mr1-dev
* commit '1d0467ae1d7207c9a115241e17361442bb343f0f':
  A little cleanup.
2012-09-10 17:12:02 -07:00
Kenny Root
8b919cbad5 am e671ef1b: am 25c925e6: Throw ALL the exceptions! (in the PackageManagerTests)
* commit 'e671ef1bf19033a44f16a66018d2b3f9374d039d':
  Throw ALL the exceptions! (in the PackageManagerTests)
2012-09-10 17:11:34 -07:00
Jeff Brown
251193c05a am fbb2da7a: am a3909a93: Work around crash when display is removed.
* commit 'fbb2da7a4d3588a9deea835e4b94d1c3547735e4':
  Work around crash when display is removed.
2012-09-10 17:10:56 -07:00
Jeff Brown
496e48466f am d07934db: am 20ec8ac5: Merge "Improve Wifi display discovery API." into jb-mr1-dev
* commit 'd07934dbc60d3f52c8133ae8249ef3d609ff2751':
  Improve Wifi display discovery API.
2012-09-10 17:10:40 -07:00
Amith Yamasani
b69fc7b54c am 46148f22: am 8f008e73: Merge "More multi-user methods in PM" into jb-mr1-dev
* commit '46148f22650e4e390a9488a2d31d0acd641eeffa':
  More multi-user methods in PM
2012-09-10 17:10:32 -07:00
Jeff Brown
b61469c513 am de758bd0: am 1edf63ef: Merge "Enable auto-brightness adjustment feature with system prop." into jb-mr1-dev
* commit 'de758bd07df9bacb2c95ba9d00b3693b4e40b96b':
  Enable auto-brightness adjustment feature with system prop.
2012-09-10 17:10:19 -07:00
Jeff Brown
b6e9976497 am fb7a8045: am b0d10aa9: Merge "Add new wifi display discovery API." into jb-mr1-dev
* commit 'fb7a80459206322468144029c06e38c084b35255':
  Add new wifi display discovery API.
2012-09-10 17:10:14 -07:00
Jeff Brown
8d6a6be927 am 9fd7ce72: am f82b5836: Merge "Add permissions to control and configure wifi display." into jb-mr1-dev
* commit '9fd7ce728b613372307b9f2ec9f22412058c16e6':
  Add permissions to control and configure wifi display.
2012-09-10 17:10:06 -07:00
Dianne Hackborn
234f00b9e8 am 789203ec: am 5d75052b: Merge "Add Binder.getCallingUserHandle()." into jb-mr1-dev
* commit '789203ec530e61f7678c9883a67135bf8cd3c679':
  Add Binder.getCallingUserHandle().
2012-09-10 17:09:33 -07:00
Jim Miller
fcfa12a9ab am 2e5e74f2: am ddb12e84: Merge "Enable lazy-loading of security views in keyguard" into jb-mr1-dev
* commit '2e5e74f2d38cb50a43c13a7b3fdedccadbac9fc6':
  Enable lazy-loading of security views in keyguard
2012-09-10 17:09:28 -07:00
Jeff Brown
8eee7890c1 am 54b7362c: am 7017e483: Merge "Add support for Wifi display." into jb-mr1-dev
* commit '54b7362cd676e34a9492eba4b463d04b454b26d8':
  Add support for Wifi display.
2012-09-10 17:08:33 -07:00
Nick Kralevich
93e62e2e18 am 4088457d: am cd620591: Merge "installd: fix forward locking symlink" into jb-mr1-dev
* commit '4088457d91ee4578369471e9d2ea127b799399bf':
  installd: fix forward locking symlink
2012-09-10 17:08:30 -07:00