84407 Commits

Author SHA1 Message Date
Baligh Uddin
5dbeb6a8ff Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-09-17 08:55:59 -07:00
Siva Velusamy
9d7657c5b5 Merge "PhoneStatusBar: Fix NPE while accessing quick settings." into jb-mr1-dev 2012-09-17 08:42:05 -07:00
Eino-Ville Talvala
b181909eef Merge "Camera: Document face detection confidence recommendations." into jb-mr1-dev 2012-09-17 08:37:44 -07:00
Eric Laurent
39a37c3bb3 Merge "headphone volume limitation" into jb-mr1-dev 2012-09-17 08:16:01 -07:00
Irfan Sheriff
89c82814db Merge "Add restoreCallingIdentity under finally" into jb-mr1-dev 2012-09-16 18:53:25 -07:00
Dianne Hackborn
8406d05b0f Merge "New uninstall option to uninstall for all users." into jb-mr1-dev 2012-09-16 18:29:58 -07:00
Dianne Hackborn
6d235d8265 New uninstall option to uninstall for all users.
Change-Id: Ie8eb59564078069633a89fc8a92d4f8531baa1aa
2012-09-16 18:25:40 -07:00
Dianne Hackborn
443e474881 Merge "Fix issue #7175553: GRANT_URI_PERMISSION doesn't apper to work on secondary user" into jb-mr1-dev 2012-09-16 18:07:14 -07:00
Irfan Sheriff
3d33a63391 Add restoreCallingIdentity under finally
Change-Id: I068b1a2fc93300aa9bd17da6933bc8c5f0a6b5e4
2012-09-16 17:59:13 -07:00
Eric Laurent
c34dcc1e1e headphone volume limitation
Limit music volume when headphones or headset are inserted.
Display warning message when user wants to increase the volume
above a platform specific volume and request user acknowledgement
before proceeding.

TODO: exact wording of the warning message must be defined by UX.

Change-Id: I00f429f602534c6d8783126b929371c4d432e6e2
2012-09-16 17:44:45 -07:00
Irfan Sheriff
db831da426 Fix permission accessing getCurrentUser
Bug: 7174737
Change-Id: I0a6a9a46f4115743d16ada401cd67e3cf30fb380
2012-09-16 17:40:59 -07:00
Irfan Sheriff
61e8180b09 Merge "Fix suspend settings at boot" into jb-mr1-dev 2012-09-16 17:19:21 -07:00
Dianne Hackborn
11f0cb7d07 Fix issue #7175553: GRANT_URI_PERMISSION doesn't apper to work on secondary user
Change-Id: I0ab372978f8599d0fe8d5da8aeb73965ab85797f
2012-09-16 17:12:34 -07:00
Adam Powell
fa9fc5bc15 Merge "Add a minimum height of 64dp for AlertDialog content" into jb-mr1-dev 2012-09-16 17:08:18 -07:00
Irfan Sheriff
1c045ec2b7 Fix suspend settings at boot
Bug: 7175460
Change-Id: Ibf5e063603866289b3dbae278bc384b833e4a75e
2012-09-16 17:04:48 -07:00
Adam Powell
489f3451e2 Add a minimum height of 64dp for AlertDialog content
Bug 7094388

Change-Id: Ia4316c9d9d5971734c8930fcb1c4cd6ae3661a94
2012-09-16 17:04:20 -07:00
Dianne Hackborn
b137c8065d Merge "More adjustments to permissions." into jb-mr1-dev 2012-09-16 16:42:43 -07:00
Dianne Hackborn
2ca2c87871 More adjustments to permissions.
- New "cost money" flag can be put on a permission to
  have this emphasized in the UI.
- Some further re-organization of permissions to better
  match UX spec.

Change-Id: I450ac739eff6b90e7c7fc39589d68db82b61f897
2012-09-16 16:41:27 -07:00
Kenny Root
a40b2b3457 Merge "Add test for failed dexopt" into jb-mr1-dev 2012-09-16 16:35:57 -07:00
rich cannings
97e7c59c5f Merge "Enable package verification" into jb-mr1-dev 2012-09-16 16:30:25 -07:00
Iliyan Malchev
86e85efe9b Merge "Set backlight brightness in correct order." into jb-mr1-dev 2012-09-16 16:27:47 -07:00
Kenny Root
e15bdc2da4 Add test for failed dexopt
Bug: 7010829
Change-Id: Ie0616ff2c3739ad73733857de6d04243b2be2fca
2012-09-16 16:25:51 -07:00
rich cannings
36c67c236e Enable package verification
Turn on package verification, if a verifier exists. Play app is a verifier.

Bug: 7064853
Change-Id: Id7d478a216d10b0a612678d6a9b0ee7f2037204a
2012-09-16 16:20:23 -07:00
Adam Powell
1f13a98cf2 Merge "Import panel background assets from UX" into jb-mr1-dev 2012-09-16 16:18:59 -07:00
Adam Powell
2d5b6e8204 Import panel background assets from UX
Change-Id: I13b890cf24d71fdcfeb329f6cbc276b780f3cb02
2012-09-16 16:17:40 -07:00
Jeff Brown
735f740fe8 Set backlight brightness in correct order.
Disable backlight before turning off the screen.
Enable backlight after turning on the screen.

Bug: 7016215
Change-Id: Idb763f85f7a40e852483c57e0a0d1b27eb943f08
2012-09-16 16:15:38 -07:00
rich cannings
42af7518f5 Merge "Add setting to change verifier visibility" into jb-mr1-dev 2012-09-16 15:48:23 -07:00
Adam Powell
89e68d783b Merge "Create main activity intents as needed for TaskStackBuilder/Up nav" into jb-mr1-dev 2012-09-16 15:46:58 -07:00
Irfan Sheriff
3849490c63 Merge "Return empty scan results for background user" into jb-mr1-dev 2012-09-16 15:23:55 -07:00
Adam Powell
5a4010c054 Create main activity intents as needed for TaskStackBuilder/Up nav
If a generated parent intent targets an Activity that itself has no
parent specified, generate the intent using Intent.makeMainActivity
to gather the correct flags for the root intent of a task.

Bug 6457058

Change-Id: I8d4a3823eda752306da18c2c38fa7e57f0a33bf3
2012-09-16 15:15:46 -07:00
Ying Wang
df5bdd721b Merge "Make librs_jni depend on libRSDriver to remove circular dependency" into jb-mr1-dev 2012-09-16 14:49:43 -07:00
Adam Cohen
6253985988 Merge "Second pass on Keyguard multi-user switcher" into jb-mr1-dev 2012-09-16 14:46:55 -07:00
Adam Cohen
24b351ab74 Second pass on Keyguard multi-user switcher
-> animating active user to inactive, fading out lock
   selector, freezing screen, then switching users
-> for now, just using a fade, but this will likely
   see iteration

Change-Id: I3acc0b53f2cbf132741e3e0529e2e53fa2824542
2012-09-16 14:46:02 -07:00
John Huang
4505a43f30 Merge "Add support for per-package policy for sending premium SMS." into jb-mr1-dev 2012-09-16 14:31:16 -07:00
rich cannings
e6686b3e23 Add setting to change verifier visibility
Added a setting that will be used to control whether the user can see the
package verification setting in the Setting app.

Bug: 7022814
Change-Id: Ifa096682e90c83760df5db12c4cf72e2f897db9c
2012-09-16 14:02:20 -07:00
Ying Wang
12618a7f20 Make librs_jni depend on libRSDriver to remove circular dependency
Change-Id: Ia607f732f2f22968fd6f1793c2f252f08300357d
2012-09-16 13:31:30 -07:00
Victoria Lease
306df86302 Merge "New location service permission strings." into jb-mr1-dev 2012-09-16 13:06:08 -07:00
Victoria Lease
b278933bbf New location service permission strings.
Updated for the new LocationManager's COARSE / FINE distinction.

Bug: 6996292
Change-Id: I6cb579c20dd4b6a44218cc1f19a849f845da6e6b
2012-09-16 12:39:54 -07:00
Irfan Sheriff
330b187574 Return empty scan results for background user
Bug: 7087342
Change-Id: I62493e5004111311b7ac9b7610c85e6784e2c7e4
2012-09-16 12:39:06 -07:00
Adam Powell
b1861c3e89 Minor fixes/clarifications for previous patch.
Change-Id: Ib44f6de570064b3f3ddf70b6727b479a09ae5d7a
2012-09-16 12:17:53 -07:00
Jim Miller
b45965f519 Merge "Fix keyguard timeout dialog messages" into jb-mr1-dev 2012-09-16 11:57:23 -07:00
Adam Powell
7db4eec595 Merge "Squish!" into jb-mr1-dev 2012-09-16 11:52:31 -07:00
Craig Mautner
a91f9e2959 Make more items per-Display.
Moving DimSurfaces, DimBackgrounds and Rotation surfaces into
per-display class.

Fixes bug 7167028.

Change-Id: I7408b3a27b5a7a8d0d59e9d6109c002fc627e536
2012-09-16 10:44:06 -07:00
Adam Powell
828e56ea6e Squish!
Take touch point size into account during the detection of scaling
gestures. Average together the major/minor axes of the size.

Add a config resource for tuning the minimum span requred to begin
(or end) a scale. This may be altered in a device-specific overlay
for devices that deviate too far from their assigned density bucket.

Change-Id: I2986888e9427a7e4cb56717d59c4fa7858ba9ca7
2012-09-16 10:27:03 -07:00
Dianne Hackborn
d65afc65ea Merge "More multi-user stuff." into jb-mr1-dev 2012-09-16 00:05:46 -07:00
Dianne Hackborn
398bad04a0 Merge "Fix debug log." into jb-mr1-dev 2012-09-16 00:03:39 -07:00
Dianne Hackborn
5dc5a00e7e More multi-user stuff.
- New public APIs to find out when a user goes to the foreground,
  background, and is first initializing.
- New activity manager callback to be involved in the user switch
  process, allowing other services to let it know when it is safe
  to stop freezing the screen.
- Wallpaper service now implements this to handle its user switch,
  telling the activity manager when it is done.  (Currently this is
  only handling the old wallpaper going away, we need a little more
  work to correctly wait for the new wallpaper to get added.)
- Lock screen now implements the callback to do its user switch.  It
  also now locks itself when this happens, instead of relying on
  some other entity making sure it is locked.
- Pre-boot broadcasts now go to all users.
- WallpaperManager now has an API to find out if a named wallpaper is
  in use by any users.

Change-Id: I27877aef1d82126c0a1428c3d1861619ee5f8653
2012-09-15 23:58:55 -07:00
Eino-Ville Talvala
8df3b2b398 Camera: Document face detection confidence recommendations.
Bug: 7108023
Change-Id: I9de583254d127f9c1f702b7ed159a7080bcbfd25
2012-09-15 14:32:14 -07:00
Jeff Sharkey
d0c6ccbafd Move NetworkPolicy from apps to UID.
For multi-user devices, switch to storing policy per-user instead of
per-app.  Also watch for user added/removed broadcasts to clean up
policies and apply global restrictions.

Bug: 7121279
Change-Id: Ia7326bd0ebe0586fa4ec6d3a62f6313dc8814007
2012-09-14 23:00:27 -07:00
Jeff Sharkey
ee100445b7 Updating public API.
Change-Id: I7b549af9af5cee21600fb356a411794320e84c56
2012-09-14 21:57:38 -07:00