87400 Commits

Author SHA1 Message Date
Irfan Sheriff
17cf1f2bbc Fix build
had local changes from b/7318044

Change-Id: Idc6907d648a07d36f93dee859e361e9655cdd8e6
2012-10-09 17:13:37 -07:00
Dianne Hackborn
a8a9bd65bf Fix issue #7311376: Add API to allow apps to know if they are...
...running as the foreground user

Add UserManager.isUserRunning() which is the public version of the
existing method on ActivityManager.

Also add UserManager.isUserRunningOrStopping() since that seems like
it will be useful.

And fix the internal function that returns the array of currently
running users to not include stopped users.

Change-Id: I84672fa8748fc027fd402729586b5603f640e498
2012-10-09 17:00:31 -07:00
Jeff Brown
a003f8c6e6 am f545660d: Merge "Prevent full wake lock from keeping device awake while dreaming." into jb-mr1-dev
* commit 'f545660dcb54f90ad6a79ef0d7dccb509dc69017':
  Prevent full wake lock from keeping device awake while dreaming.
2012-10-09 16:57:15 -07:00
Jeff Brown
07d655e68d am 637a30fd: Merge "Fix a segfault when there is no power module." into jb-mr1-dev
* commit '637a30fde7d1754f8b8a76c08326e1c432ffd93d':
  Fix a segfault when there is no power module.
2012-10-09 16:54:26 -07:00
Jeff Brown
f545660dcb Merge "Prevent full wake lock from keeping device awake while dreaming." into jb-mr1-dev 2012-10-09 16:54:12 -07:00
Jeff Brown
637a30fde7 Merge "Fix a segfault when there is no power module." into jb-mr1-dev 2012-10-09 16:51:49 -07:00
Eric Laurent
9e6e8355f8 fix concurrent headset and HDMI connection
Fix a bug in WiredAccessoryManager causing an
HDMI disconnection to be signaled to AudioService when a
headset is connected.

Bug 7313250.

Change-Id: I7c6446104c55f9a4fc146abe7020df45ad6ba5e7
2012-10-09 16:41:32 -07:00
Irfan Sheriff
1525345318 am 79dc154a: Merge "Disable poor network avoidance by default" into jb-mr1-dev
* commit '79dc154afeece0db6ef602c70a34dd69bada03dc':
  Disable poor network avoidance by default
2012-10-09 16:33:54 -07:00
Svetoslav Ganov
96985fccdc Return true on successful accessiblity action click/long click.
1. If a view is clickable or long clickable perfroming the corresponding
   accessiblity action should return true no matter whether there is a
   registered on click/long click listener. Currently true is returned
   only if there is a listener but it is also possible that a sub-class
   overrides performClick and does work there. For example CompoundButton.
   Now if the view is clickable or long clickable we will call the
   perfrom* method and return true, which is we clicked.

2. Fixed some JavaDoc indentation.

bug:7318777

Change-Id: Id603fee378b8f7d07f1128b5641ede57640bab53
2012-10-09 16:32:50 -07:00
Irfan Sheriff
79dc154afe Merge "Disable poor network avoidance by default" into jb-mr1-dev 2012-10-09 16:31:03 -07:00
John Spurlock
fafdb6f9ca Disable Camera + Search until USER_SETUP_COMPLETE.
Check the status of Settings.Secure.USER_SETUP_COMPLETE for the current
user when showing the keyguard, disabling the Camera + Search touchpoints
entirely until the user makes it through the setup wizard.

Bug:7308791
Change-Id: Ic8e3596582c2aefc7fe15af1824ed6bfd541dffa
2012-10-09 19:10:33 -04:00
Christopher Tate
d44525dcd3 am b30a8568: Merge "Defer wifi bounce following restore for 1 minute..." into jb-mr1-dev
* commit 'b30a8568a8b31578b10af948869558ae218d0d5c':
  Defer wifi bounce following restore for 1 minute...
2012-10-09 16:09:39 -07:00
Christopher Tate
b30a8568a8 Merge "Defer wifi bounce following restore for 1 minute..." into jb-mr1-dev 2012-10-09 16:05:04 -07:00
Christopher Tate
711b4fcadd am c9c47f82: Merge "Back up / restore the "Avoid poor connections" wifi setting" into jb-mr1-dev
* commit 'c9c47f821af22c6fae4c97fe185c6a651a6f9b67':
  Back up / restore the "Avoid poor connections" wifi setting
2012-10-09 16:01:59 -07:00
Christopher Tate
c9c47f821a Merge "Back up / restore the "Avoid poor connections" wifi setting" into jb-mr1-dev 2012-10-09 15:57:06 -07:00
Jeff Brown
10428748f9 Prevent full wake lock from keeping device awake while dreaming.
A dream may itself hold a wake lock in order to keep the screen
bright as it runs.  However this wake lock also causes the device
to stay awake even when it is not plugged in which is undesirable.

This change makes full wake locks behave differently when napping
or dreaming.  The wake lock still keeps the screen bright but
it does not prevent the device from falling asleep.  This is
similar to our policy of ignoring full wake locks completely when
the device is manually put to sleep by the user.

Bug: 7295909
Change-Id: Id99e82d2143ae1a81629281d6407d7527efb8137
2012-10-09 15:52:31 -07:00
Dirk Dougherty
8048b9ec0c am 28a40e01: am aa0d43ba: Merge "Doc change: Link to AVDs docs from tablet quality checklist." into jb-dev-docs
* commit '28a40e01fec9e00c74e52a88a5f6fca98057af91':
  Doc change: Link to AVDs docs from tablet quality checklist.
2012-10-09 15:52:13 -07:00
Dirk Dougherty
28a40e01fe am aa0d43ba: Merge "Doc change: Link to AVDs docs from tablet quality checklist." into jb-dev-docs
* commit 'aa0d43ba2581bb97f9ee955ea185b4f2759055c6':
  Doc change: Link to AVDs docs from tablet quality checklist.
2012-10-09 15:50:12 -07:00
Irfan Sheriff
bbe461b78f Disable poor network avoidance by default
Bug: 7318044
Change-Id: Icf27e823453eeaba901aad6f3f8eedea242794f9
2012-10-09 15:49:33 -07:00
Dirk Dougherty
aa0d43ba25 Merge "Doc change: Link to AVDs docs from tablet quality checklist." into jb-dev-docs 2012-10-09 15:48:34 -07:00
Dirk Dougherty
f32b582597 Doc change: Link to AVDs docs from tablet quality checklist.
Change-Id: Ifb20a903a0dd32009b6db6e583a6d0c86cddb52e
2012-10-09 15:43:10 -07:00
Christopher Tate
16eb7cd457 Back up / restore the "Avoid poor connections" wifi setting
Bug 7318177

Change-Id: I8fdc037f823b8c57727e7d49c5bffdc9b3c10ebb
2012-10-09 15:26:30 -07:00
Kenny Root
e8b90ef442 am a8a6b084: Merge "Add fused location provider to real provider list" into jb-mr1-dev
* commit 'a8a6b0848d1c11c3ed0fcb846e3d6c39b91536a0':
  Add fused location provider to real provider list
2012-10-09 15:23:58 -07:00
Eino-Ville Talvala
685a512868 am cbdb2136: Merge "Camera: Query AudioService for shutter sound enforcement." into jb-mr1-dev
* commit 'cbdb21364653910179da1eddd43f4b932420b75b':
  Camera: Query AudioService for shutter sound enforcement.
2012-10-09 15:23:54 -07:00
Kenny Root
a8a6b0848d Merge "Add fused location provider to real provider list" into jb-mr1-dev 2012-10-09 15:21:36 -07:00
Eino-Ville Talvala
cbdb213646 Merge "Camera: Query AudioService for shutter sound enforcement." into jb-mr1-dev 2012-10-09 15:21:36 -07:00
Danielle Millett
61413b5ed2 Face Unlock is shown correctly during a phone call - fix b/7271718
If the user was in the middle of a phone call and went to the lock screen
it would show a black box with an X, but Face Unlock wouldn't pop up and
the X was unresponsive.

There were a few issues causing this.  The X on the default view wasn't a
button, so it has been changed to a button which will go to the backup
lock.  The concept of show() and hide() in FaceUnlock.java are obsolete
because Face Unlock is no longer being overlayed on top of the backup so
there's isn't a black box to show or hide. In addition, since it's not being
overlayed, Face Unlock doesn't cover the backup lock so fading to the backup
looks janky.  The flip animation is more appropriate.

Change-Id: I730aa4bbce42b4656ee1bce61352b8aefbd6892d
2012-10-09 18:15:49 -04:00
Jim Miller
af5a45a771 am 74bc9b68: Merge "Implement music and user priority scheme in keyguard" into jb-mr1-dev
* commit '74bc9b68510d8e88fb1c806313aad3f35543202b':
  Implement music and user priority scheme in keyguard
2012-10-09 15:15:13 -07:00
Jim Miller
74bc9b6851 Merge "Implement music and user priority scheme in keyguard" into jb-mr1-dev 2012-10-09 15:12:44 -07:00
Christopher Tate
d488bc0ef4 Defer wifi bounce following restore for 1 minute...
...to allow network-reliant restore actions by apps to get underway.

Bug 7304761

Change-Id: Ia1d2321ef86609588efbc7add043c24a12ec6a20
2012-10-09 15:11:01 -07:00
Brian Colonna
cc4104fd71 Suppressing FUL after user switch (fix b/7316467)
When switching users, Face Unlock starts in onResume().  However,
there is no signal to indicate when the user actually sees their
unlock screen.  This means Face Unlock could be running unseen, timing
out soon after it becomes visible, or letting the user in before they
see the preview.

This fix simply suppresses Face Unlock immediately after switching
users.  This is not the ideal behavior, but there is no easy way to
make Face Unlock start only after the unlock screen becomes visible.
When the user changes screens it becomes unsuppressed, so if they go
back to the multi-select widget screen or login, Face Unlock works as
expected and is only suppressed again when the user is switched.

Change-Id: I80a302b0aefc1dee3c2dc77557978cbe062de435
2012-10-09 17:50:46 -04:00
Jeff Brown
0a19d001c4 Fix a segfault when there is no power module.
This can happen in the emulator.

Bug: 7315152
Change-Id: I4a3f547127419fcd4dc4fc1c6f7ee869706cf12e
2012-10-09 14:47:05 -07:00
&& repo sync -j8
4fd6c20b17 Doc changes: misc GCM updates.
Change-Id: I12e7ae6c4b52b8aa54dc355d09916c3b4499f172
2012-10-09 14:30:41 -07:00
rich cannings
dcecd6f3b3 am f1b246dd: Merge "Fix verfication bypassed for adb installs" into jb-mr1-dev
* commit 'f1b246ddfed6757180768eea080b80c1538333f3':
  Fix verfication bypassed for adb installs
2012-10-09 14:13:13 -07:00
rich cannings
f1b246ddfe Merge "Fix verfication bypassed for adb installs" into jb-mr1-dev 2012-10-09 14:11:21 -07:00
rich cannings
36070b414a Fix verfication bypassed for adb installs
ADB installs appear as UserHandle.USER_ALL, and can only be performed by
UserHandle.USER_OWNER, so use the package verifier for UserHandle.USER_OWNER.
This returns a valid userId to call PackageManagerService.getPackageUid.

Bug: 7293091
Change-Id: I7a5497cfe5fa2e7aa804345cf9f507ec26a0db21
2012-10-09 13:34:51 -07:00
Robert Greenwalt
b24373e04a am 64cb35c0: Merge "Add config resource to help ATT prepaid" into jb-mr1-dev
* commit '64cb35c078d58d9025d2f14b3674ca59f2e6d80b':
  Add config resource to help ATT prepaid
2012-10-09 13:30:49 -07:00
Robert Greenwalt
64cb35c078 Merge "Add config resource to help ATT prepaid" into jb-mr1-dev 2012-10-09 13:27:45 -07:00
Adam Powell
db38041002 am 16062128: Merge "Allow more scaling values to be tuned in resource overlays" into jb-mr1-dev
* commit '160621280d7eaba7eeddc183c4c11aa49d32e30e':
  Allow more scaling values to be tuned in resource overlays
2012-10-09 13:27:42 -07:00
Adam Powell
160621280d Merge "Allow more scaling values to be tuned in resource overlays" into jb-mr1-dev 2012-10-09 13:25:12 -07:00
Craig Mautner
f1f3b49b94 Remove debugging statements before final ROM.
Change-Id: I18afd1a4c4f8f945308edc9b3af48b8c8adb3b9e
2012-10-09 13:23:08 -07:00
Kenny Root
c3575188c2 Add fused location provider to real provider list
During testing it's possible to mock a location provider, but the fused
location provider wasn't being inserted into the "mRealProviders" map so
when the fused location provider was unmocked, it would disappear
permanently from the list until the next reboot.

Bug: 6949478
Change-Id: I4993aa7fbbd21cea16bdbf2722d637c909b1cd73
2012-10-09 12:44:42 -07:00
Victoria Lease
45bdc2c170 am c0c0c0e6: Merge "Multiuser love for LocationManager" into jb-mr1-dev
* commit 'c0c0c0e612e1ccf1e55eb2a9338ddfff40d8d7f2':
  Multiuser love for LocationManager
2012-10-09 12:24:42 -07:00
Victoria Lease
c0c0c0e612 Merge "Multiuser love for LocationManager" into jb-mr1-dev 2012-10-09 12:22:03 -07:00
Winson Chung
5191ccb368 am e45c4e42: Merge "Increasing timeout for screenshot chord in keyguard. (Bug 6941775)" into jb-mr1-dev
* commit 'e45c4e42d26f13d2e405d1d87a665f5796cd1b6d':
  Increasing timeout for screenshot chord in keyguard. (Bug 6941775)
2012-10-09 12:20:35 -07:00
Robert Greenwalt
901ac560ca Add config resource to help ATT prepaid
bug:7306353
Change-Id: I8da9e7591ad5e28d5b319df11435333da44fb7d3
2012-10-09 12:20:08 -07:00
Winson Chung
e45c4e42d2 Merge "Increasing timeout for screenshot chord in keyguard. (Bug 6941775)" into jb-mr1-dev 2012-10-09 12:18:02 -07:00
Christopher Tate
b17fdf7b51 am af3cd21b: Merge "New command line tool: "settings"" into jb-mr1-dev
* commit 'af3cd21b08dd22d6ffd747c6314fd49fed3170a0':
  New command line tool: "settings"
2012-10-09 11:46:28 -07:00
Robert Ly
261ba62073 am 0f31450f: am fba8b7f5: am f19e4b42: Merge "docs: nfc ndef helper methods bug 5957772" into jb-dev
* commit '0f31450fe059f4557ac285ea4ec0cd5122422ea1':
  docs: nfc ndef helper methods bug 5957772
2012-10-09 11:44:49 -07:00
Christopher Tate
af3cd21b08 Merge "New command line tool: "settings"" into jb-mr1-dev 2012-10-09 11:43:56 -07:00