OSDN Git Service

android-x86/frameworks-base.git
12 years agoMerge "Fix issue #5398675: It's (too) easy to keep the navigation bar..." into ics-mr0
Dianne Hackborn [Sun, 16 Oct 2011 21:15:21 +0000 (14:15 -0700)]
Merge "Fix issue #5398675: It's (too) easy to keep the navigation bar..." into ics-mr0

12 years agoFix issue #5398675: It's (too) easy to keep the navigation bar...
Dianne Hackborn [Sun, 16 Oct 2011 20:21:33 +0000 (13:21 -0700)]
Fix issue #5398675: It's (too) easy to keep the navigation bar...

...from ever becoming visible

Now there is a 1 second delay from when the user dismisses the nav bar
until when it can be re-hidden.

Also move the code for capturing touch events while nav bar is hidden
out to be used even when there is no nav bar, so this API behaves
consistently across devices whether or not they have some element of
the UI that is being hidden.  On devices with a nav bar, this will
all work the same as prime (the flag is set, the app gets the callback
about the flag being set, when the user touches that touch is captured
so the app doesn't see it put does clear the flag and tell the app
about this).

Change-Id: Icb5ea0ddaf614aa3f12d2140796217f128761dee

12 years agoFix 5466793: Fix memory leak in system process when face lock is enabled.
Jim Miller [Sun, 16 Oct 2011 19:46:06 +0000 (12:46 -0700)]
Fix 5466793: Fix memory leak in system process when face lock is enabled.

Previously, the code was not unregistering the callback when we unlocked
the device, which kept a reference to LockPatternKeyguardView indirectly
by a reference to mFaceLockCallback.

It now correcly removes the callback when we unlock the device.

Change-Id: Ie592d007a1dfc2416b9e8956aba2c34e3d0120ee

12 years agoNew aapt feature to do smarter filtering of configurations.
Dianne Hackborn [Thu, 13 Oct 2011 23:26:02 +0000 (16:26 -0700)]
New aapt feature to do smarter filtering of configurations.

This adds a --preferred-configurations flag that specifies the
specific configurations you would like to have.

It is smarter than "-c" because it will avoid stripping a
configuration if that would result in there being no value
for the resource.

It is dumber than "-c" because it can't process as many kinds
of resources.  It is really only intended for bitmaps and use
with density configs.

This required re-arranging AaptAssets to group files together
by config again, like they used to be.  I think this hasn't
broken anything.  Hopefully.

Change-Id: I4e9d12ff6e6dbd1abb8fd4cb1814c6674b19d0e5

12 years agoMerge "going directly to backup after face unlock fails 15 times" into ics-mr0
Uriel Rodriguez [Sat, 15 Oct 2011 15:44:21 +0000 (08:44 -0700)]
Merge "going directly to backup after face unlock fails 15 times" into ics-mr0

12 years agoMerge "docs: a couple notes for a11y methods in View and cleanup to the A11y service...
Scott Main [Sat, 15 Oct 2011 00:19:17 +0000 (17:19 -0700)]
Merge "docs: a couple notes for a11y methods in View and cleanup to the A11y service HTML to be semantically correct and thus improve its accessibility :)" into ics-mr0

12 years agodocs: a couple notes for a11y methods in View and cleanup to the
Scott Main [Wed, 12 Oct 2011 23:45:18 +0000 (16:45 -0700)]
docs: a couple notes for a11y methods in View and cleanup to the
A11y service HTML to be semantically correct and thus improve its accessibility :)

Change-Id: I483a8a441d802b056f68f82e0e782d86a73298ac

12 years agoMerge "Check MediaPlayer state, do not teardown() from UI thread." into ics-mr0
Bart Sears [Fri, 14 Oct 2011 23:09:46 +0000 (16:09 -0700)]
Merge "Check MediaPlayer state, do not teardown() from UI thread." into ics-mr0

12 years agoMerge "Add a LayerScreenshot" into ics-mr0
Mathias Agopian [Fri, 14 Oct 2011 22:35:54 +0000 (15:35 -0700)]
Merge "Add a LayerScreenshot" into ics-mr0

12 years agoMerge "Moving text cursor to nodpi" into ics-mr0
Justin Ho [Fri, 14 Oct 2011 22:12:13 +0000 (15:12 -0700)]
Merge "Moving text cursor to nodpi" into ics-mr0

12 years agoUpdate stat_ icons
Peter Ng [Fri, 14 Oct 2011 21:56:06 +0000 (14:56 -0700)]
Update stat_ icons

Change-Id: Ibc74ba990303d05a34ab35fd0ce3b8ec530782cf

12 years agoMerge "Fix 5458658: Fix memory leak in lock screen" into ics-mr0
Jim Miller [Fri, 14 Oct 2011 21:51:56 +0000 (14:51 -0700)]
Merge "Fix 5458658: Fix memory leak in lock screen" into ics-mr0

12 years agoMerge "Updating numberpicker assets" into ics-mr0
Justin Ho [Fri, 14 Oct 2011 21:41:45 +0000 (14:41 -0700)]
Merge "Updating numberpicker assets" into ics-mr0

12 years agoMerge "Updated codelock assets" into ics-mr0
Justin Ho [Fri, 14 Oct 2011 21:41:37 +0000 (14:41 -0700)]
Merge "Updated codelock assets" into ics-mr0

12 years agoMerge "Update presence away asset" into ics-mr0
Justin Ho [Fri, 14 Oct 2011 21:41:28 +0000 (14:41 -0700)]
Merge "Update presence away asset" into ics-mr0

12 years agoMoving text cursor to nodpi
Justin Ho [Fri, 14 Oct 2011 21:39:03 +0000 (14:39 -0700)]
Moving text cursor to nodpi

Change-Id: I84bd5a1eaeb1b65ed40b9b036b7586598ccfbd59

12 years agoMerge "Update list selector background (disabled state)" into ics-mr0
Justin Ho [Fri, 14 Oct 2011 21:36:03 +0000 (14:36 -0700)]
Merge "Update list selector background (disabled state)" into ics-mr0

12 years agoMerge "Update share pack assets" into ics-mr0
Justin Ho [Fri, 14 Oct 2011 21:35:54 +0000 (14:35 -0700)]
Merge "Update share pack assets" into ics-mr0

12 years agoAdd a LayerScreenshot
Mathias Agopian [Thu, 13 Oct 2011 23:02:48 +0000 (16:02 -0700)]
Add a LayerScreenshot

A LayerScreenshot is a special type of layer that contains a screenshot of
the screen acquired when its created. It works just like LayerDim.

Bug: 5446982
Change-Id: I7814aff2380e7e146937f2b641907be2a30c76cc

12 years agoMerge "fix android beam demo path" into ics-mr0
Scott Main [Fri, 14 Oct 2011 21:31:09 +0000 (14:31 -0700)]
Merge "fix android beam demo path" into ics-mr0

12 years agofix android beam demo path
Scott Main [Fri, 14 Oct 2011 21:29:14 +0000 (14:29 -0700)]
fix android beam demo path

Change-Id: I16a467155feac54fb14b1b7af034a3854efe1fb7

12 years agoMerge "Update rating star buttons" into ics-mr0
Justin Ho [Fri, 14 Oct 2011 21:26:58 +0000 (14:26 -0700)]
Merge "Update rating star buttons" into ics-mr0

12 years agoMerge "Update unlock halo asset" into ics-mr0
Justin Ho [Fri, 14 Oct 2011 21:23:41 +0000 (14:23 -0700)]
Merge "Update unlock halo asset" into ics-mr0

12 years agoMerge "Update lockscreen assets" into ics-mr0
Justin Ho [Fri, 14 Oct 2011 21:17:26 +0000 (14:17 -0700)]
Merge "Update lockscreen assets" into ics-mr0

12 years agoUpdate unlock halo asset
Justin Ho [Fri, 14 Oct 2011 21:17:00 +0000 (14:17 -0700)]
Update unlock halo asset

Change-Id: I99ec31894566df272041b001590db799d7f9adfd

12 years agoUpdate share pack assets
Justin Ho [Fri, 14 Oct 2011 21:14:55 +0000 (14:14 -0700)]
Update share pack assets

Change-Id: Ia568911c32839ede9d58544e708f7949cbf6be45

12 years agoUpdate presence away asset
Justin Ho [Fri, 14 Oct 2011 21:12:50 +0000 (14:12 -0700)]
Update presence away asset

Change-Id: I4e151e8a0e8d16b40dacb9676e5412c07ce68315

12 years agoMerge "Update bullet permission asset" into ics-mr0
Justin Ho [Fri, 14 Oct 2011 21:12:02 +0000 (14:12 -0700)]
Merge "Update bullet permission asset" into ics-mr0

12 years agoCheck MediaPlayer state, do not teardown() from UI thread.
Ben Murdoch [Fri, 14 Oct 2011 14:12:41 +0000 (15:12 +0100)]
Check MediaPlayer state, do not teardown() from UI thread.

The teardown() function should only be called from the native
thread when WebCore is happy for us to release the media player.

When we lose audio focus, simply stop playback. Also be careful
not to check the playing state of the MediaPlayer if we are in
the error state.

Bug: 5461143

Change-Id: Iba03bdad5c39b104b3071129430d7ef2177e9358

12 years agoUpdate lockscreen assets
Justin Ho [Fri, 14 Oct 2011 21:10:35 +0000 (14:10 -0700)]
Update lockscreen assets

Change-Id: I2196c234780caea05532149d2fa5256ad68b7a18

12 years agoUpdate bullet permission asset
Justin Ho [Fri, 14 Oct 2011 21:04:19 +0000 (14:04 -0700)]
Update bullet permission asset

Change-Id: I0bc24450d01871f2d83eeea6a45032c521a25b60

12 years agoMerge "Update indicator_code lock assets" into ics-mr0
Justin Ho [Fri, 14 Oct 2011 20:58:52 +0000 (13:58 -0700)]
Merge "Update indicator_code lock assets" into ics-mr0

12 years agoMerge "Update text select handles" into ics-mr0
Justin Ho [Fri, 14 Oct 2011 20:55:08 +0000 (13:55 -0700)]
Merge "Update text select handles" into ics-mr0

12 years agoMerge "Update spinners" into ics-mr0
Justin Ho [Fri, 14 Oct 2011 20:54:58 +0000 (13:54 -0700)]
Merge "Update spinners" into ics-mr0

12 years agoUpdate list selector background (disabled state)
Justin Ho [Fri, 14 Oct 2011 20:54:32 +0000 (13:54 -0700)]
Update list selector background (disabled state)

Change-Id: Iee1c9a8d560a180617d840ac5e679eb7182fe39b

12 years agoMerge "Updated scrubber_control assets" into ics-mr0
Justin Ho [Fri, 14 Oct 2011 20:53:08 +0000 (13:53 -0700)]
Merge "Updated scrubber_control assets" into ics-mr0

12 years agoMerge "Update fastscroll" into ics-mr0
Justin Ho [Fri, 14 Oct 2011 20:52:57 +0000 (13:52 -0700)]
Merge "Update fastscroll" into ics-mr0

12 years agoMerge "Update checkboxes" into ics-mr0
Justin Ho [Fri, 14 Oct 2011 20:52:45 +0000 (13:52 -0700)]
Merge "Update checkboxes" into ics-mr0

12 years agoUpdate rating star buttons
Justin Ho [Fri, 14 Oct 2011 20:52:12 +0000 (13:52 -0700)]
Update rating star buttons

Change-Id: I293315b48ff32fb82af16db4663a2088398bc045

12 years agoMerge "Updating rating stars" into ics-mr0
Justin Ho [Fri, 14 Oct 2011 20:51:25 +0000 (13:51 -0700)]
Merge "Updating rating stars" into ics-mr0

12 years agoUpdate text select handles
Justin Ho [Fri, 14 Oct 2011 20:50:59 +0000 (13:50 -0700)]
Update text select handles

Change-Id: I05948268e9f8c640e3bd674119c44d9c75d6b242

12 years agoUpdated codelock assets
Justin Ho [Fri, 14 Oct 2011 20:48:48 +0000 (13:48 -0700)]
Updated codelock assets

Change-Id: Ie0f217240acfad11830725f26ff77898e8b2aaa6

12 years agoUpdate indicator_code lock assets
Justin Ho [Fri, 14 Oct 2011 20:46:40 +0000 (13:46 -0700)]
Update indicator_code lock assets

Change-Id: I58d66b107c0f7e8a96a43c98d9728801bc404bee

12 years agoFix 5458658: Fix memory leak in lock screen
Jim Miller [Fri, 14 Oct 2011 20:46:19 +0000 (13:46 -0700)]
Fix 5458658: Fix memory leak in lock screen

This fixes a memory leak caused by not unregistering the info callback
held when LockPatternKeyguardView gets destroyed.

Change-Id: I8c008b6f8a5e8471bd0e1fd3939aa75175923ce5

12 years agoUpdated scrubber_control assets
Justin Ho [Fri, 14 Oct 2011 20:42:26 +0000 (13:42 -0700)]
Updated scrubber_control assets

Change-Id: I33e71b89f53550ff6626c18d6464972a0e4a30db

12 years agoUpdate spinners
Justin Ho [Fri, 14 Oct 2011 20:31:17 +0000 (13:31 -0700)]
Update spinners

Change-Id: Ie15c7005605b87c03540e7e7c3094cc96e4cc8cc

12 years agoUpdate fastscroll
Justin Ho [Fri, 14 Oct 2011 20:30:04 +0000 (13:30 -0700)]
Update fastscroll

Change-Id: I91eab04d1b9b43b0dc92d7ad7b9648f58ae8487e

12 years agoUpdate checkboxes
Justin Ho [Fri, 14 Oct 2011 20:28:00 +0000 (13:28 -0700)]
Update checkboxes

Change-Id: Ia4a8fc2841ebe135f7c95e89590cdde3f1356c10

12 years agoUpdating rating stars
Justin Ho [Fri, 14 Oct 2011 20:26:52 +0000 (13:26 -0700)]
Updating rating stars

Change-Id: I5245b3733128e2f533c67e451079e2fd69422738

12 years agogoing directly to backup after face unlock fails 15 times
Uriel Rodriguez [Fri, 14 Oct 2011 15:04:37 +0000 (11:04 -0400)]
going directly to backup after face unlock fails 15 times

- after 15 failed face unlock attempts, go to backup until the backup method is successful
- if the backup method times out (because too many unsuccessful unlocking attempts),
  face unlock will not be launched until the backup method is used sucessfully
- fixes 5365919

Change-Id: I9aef7a4f1abcceefc5d6f1c0458ae5cbe8a902df

12 years agoUpdating numberpicker assets
Justin Ho [Fri, 14 Oct 2011 20:14:48 +0000 (13:14 -0700)]
Updating numberpicker assets

Change-Id: I4e34edd1a6ea89d8eecf8819ebf1b86449563ebc

12 years agoMerge "Remove NfcFragment from activity when no longer sharing." into ics-mr0
Martijn Coenen [Fri, 14 Oct 2011 19:57:34 +0000 (12:57 -0700)]
Merge "Remove NfcFragment from activity when no longer sharing." into ics-mr0

12 years agoMerge "Indicate screen off condition to audio framework." into ics-mr0
Eric Laurent [Fri, 14 Oct 2011 19:56:52 +0000 (12:56 -0700)]
Merge "Indicate screen off condition to audio framework." into ics-mr0

12 years agoMerge "Surface: fix a protected buffer test" into ics-mr0
Jamie Gennis [Fri, 14 Oct 2011 19:56:28 +0000 (12:56 -0700)]
Merge "Surface: fix a protected buffer test" into ics-mr0

12 years agoMerge "Adjust text sizes for better behavior under user scaling." into ics-mr0
Daniel Sandler [Fri, 14 Oct 2011 19:22:07 +0000 (12:22 -0700)]
Merge "Adjust text sizes for better behavior under user scaling." into ics-mr0

12 years agoMerge "docs: misc changes to overview and add known issues link to sdk tools notes...
Scott Main [Fri, 14 Oct 2011 19:12:53 +0000 (12:12 -0700)]
Merge "docs: misc changes to overview and add known issues link to sdk tools notes" into ics-mr0

12 years agodocs: misc changes to overview and add known issues link to sdk tools notes
Scott Main [Fri, 14 Oct 2011 18:25:46 +0000 (11:25 -0700)]
docs: misc changes to overview and add known issues link to sdk tools notes

Change-Id: Ia1c6b7947eb861c5bf32107c3efed3279e890b8e

12 years agoIndicate screen off condition to audio framework.
Eric Laurent [Thu, 13 Oct 2011 15:57:54 +0000 (08:57 -0700)]
Indicate screen off condition to audio framework.

Add a mechanism for AudioService to notify audio framework and audio HAL
that screen is turned on or off. This indication can be used by lower
audio layers to trigger low power audio playback mode.
Current implementaiton based on setParameters() method is experimental
and will be replaced by a different interface when ready.

Change-Id: Ie72ada0a8edec3d71b47681b9f51cb5bc839d45b

12 years agoMerge "Invalidate SuggestionSpan with FLAG_AUTO_CORRECTION when it's removed." into...
satok [Fri, 14 Oct 2011 18:15:05 +0000 (11:15 -0700)]
Merge "Invalidate SuggestionSpan with FLAG_AUTO_CORRECTION when it's removed." into ics-mr0

12 years agoFix build.
Jim Miller [Fri, 14 Oct 2011 18:06:33 +0000 (11:06 -0700)]
Fix build.

Change-Id: Ifd5fe7933065f555f50ea91c4c301f87ca09dcdc

12 years agoMerge "docs: add developer guide cross-references, Project ACRE, Round 2" into ics-mr0
Joe Fernandez [Fri, 14 Oct 2011 17:52:33 +0000 (10:52 -0700)]
Merge "docs: add developer guide cross-references, Project ACRE, Round 2" into ics-mr0

12 years agoMerge "DO NOT MERGE - Require device encryption password for adb backup/restore"...
Christopher Tate [Fri, 14 Oct 2011 17:33:13 +0000 (10:33 -0700)]
Merge "DO NOT MERGE - Require device encryption password for adb backup/restore" into ics-mr0

12 years agoMerge "Use ringer assets for notification volume since the two volumes are tied....
Amith Yamasani [Fri, 14 Oct 2011 17:30:43 +0000 (10:30 -0700)]
Merge "Use ringer assets for notification volume since the two volumes are tied." into ics-mr0

12 years agoMerge "change android beam sample name" into ics-mr0
Scott Main [Fri, 14 Oct 2011 17:29:53 +0000 (10:29 -0700)]
Merge "change android beam sample name" into ics-mr0

12 years agoMerge "Fix 5358124: Better transport control visibility management in lock screen...
Jim Miller [Fri, 14 Oct 2011 17:19:13 +0000 (10:19 -0700)]
Merge "Fix 5358124: Better transport control visibility management in lock screen" into ics-mr0

12 years agodocs: add developer guide cross-references, Project ACRE, Round 2
Joe Fernandez [Thu, 13 Oct 2011 23:47:36 +0000 (16:47 -0700)]
docs: add developer guide cross-references, Project ACRE, Round 2

Change-Id: I39a534ae3a2a34b4dabc333a09961012ef911d3e

12 years agoMerge "Shrink the ticker's icon to match the status bar." into ics-mr0
Daniel Sandler [Fri, 14 Oct 2011 17:16:14 +0000 (10:16 -0700)]
Merge "Shrink the ticker's icon to match the status bar." into ics-mr0

12 years agoMerge "Stat icons for phone are now the right size" into ics-mr0
Peter Ng [Fri, 14 Oct 2011 17:15:08 +0000 (10:15 -0700)]
Merge "Stat icons for phone are now the right size" into ics-mr0

12 years agoAdjust text sizes for better behavior under user scaling.
Daniel Sandler [Fri, 14 Oct 2011 17:14:46 +0000 (13:14 -0400)]
Adjust text sizes for better behavior under user scaling.

Text that is supposed to go in the status bar must be sized
in dp, because the bar doesn't get bigger when the user text
scale increases.

Bug: 5108533 // related
Change-Id: I36c3f750ec78562555d4bbe68d601d18250e36ec

12 years agoMerge "Fixup JNI" into ics-mr0
John Reck [Fri, 14 Oct 2011 17:10:07 +0000 (10:10 -0700)]
Merge "Fixup JNI" into ics-mr0

12 years agoRemove NfcFragment from activity when no longer sharing.
Martijn Coenen [Fri, 14 Oct 2011 16:32:09 +0000 (09:32 -0700)]
Remove NfcFragment from activity when no longer sharing.

This fixes scenarios where the same activity sets, unsets
and re-sets an NdefMessage and/or callback.

Bug: 5454848
Change-Id: I5ed98047b9cfe90d2f48656d978f2d08bb4bf0cc

12 years agoShrink the ticker's icon to match the status bar.
Daniel Sandler [Thu, 13 Oct 2011 20:29:57 +0000 (16:29 -0400)]
Shrink the ticker's icon to match the status bar.

Bug: 5108533
Change-Id: Iff28aaefe068feb50a636fc1456c5a31d7bdb46e

12 years agoInvalidate SuggestionSpan with FLAG_AUTO_CORRECTION when it's removed.
satok [Fri, 14 Oct 2011 15:43:00 +0000 (00:43 +0900)]
Invalidate SuggestionSpan with FLAG_AUTO_CORRECTION when it's removed.

Bug: 5460262

Change-Id: I4ca71020a6d4b7057f60ca99944c479775cca8b7

12 years agoMerge "Fix 5380695 Lockscreen transport control must reflect error state" into ics-mr0
Jean-Michel Trivi [Fri, 14 Oct 2011 16:01:08 +0000 (09:01 -0700)]
Merge "Fix 5380695 Lockscreen transport control must reflect error state" into ics-mr0

12 years agoMerge "Fix 5367082 correct assets for "next" and "previous" in lockscreen" into ics-mr0
Jean-Michel Trivi [Fri, 14 Oct 2011 15:44:50 +0000 (08:44 -0700)]
Merge "Fix 5367082 correct assets for "next" and "previous" in lockscreen" into ics-mr0

12 years agoMerge "Fix 5153611 remove remote control client/display log from AudioService" into...
Jean-Michel Trivi [Fri, 14 Oct 2011 15:44:15 +0000 (08:44 -0700)]
Merge "Fix 5153611 remove remote control client/display log from AudioService" into ics-mr0

12 years agoMerge "docs: add new screenshots for hc gallery sample" into ics-mr0
Scott Main [Fri, 14 Oct 2011 11:19:36 +0000 (04:19 -0700)]
Merge "docs: add new screenshots for hc gallery sample" into ics-mr0

12 years agodocs: add new screenshots for hc gallery sample
Scott Main [Fri, 14 Oct 2011 11:00:44 +0000 (04:00 -0700)]
docs: add new screenshots for hc gallery sample

Change-Id: Id5aa0a76f6ed5e442acd80036dc10067fcc85199

12 years agoMerge "docs: preliminary homepage announcement (offline version)" into ics-mr0
Scott Main [Fri, 14 Oct 2011 11:00:03 +0000 (04:00 -0700)]
Merge "docs: preliminary homepage announcement (offline version)" into ics-mr0

12 years agodocs: preliminary homepage announcement (offline version)
Scott Main [Fri, 14 Oct 2011 10:58:31 +0000 (03:58 -0700)]
docs: preliminary homepage announcement (offline version)

Change-Id: I7f3c14077d22437df888fe95e7be991a5a403f16

12 years agodocs: revisions to ics api overview
Scott Main [Fri, 14 Oct 2011 06:36:19 +0000 (23:36 -0700)]
docs: revisions to ics api overview

Change-Id: Ife97666c8ab3922e915d38ae475a3426d4e778ac

12 years agochange android beam sample name
Scott Main [Fri, 14 Oct 2011 08:24:57 +0000 (01:24 -0700)]
change android beam sample name

Change-Id: Ic3c1d6d75d06a4de55824e69fa9d4d9564bfdb95

12 years agoFix 5358124: Better transport control visibility management in lock screen
Jim Miller [Fri, 14 Oct 2011 01:22:13 +0000 (18:22 -0700)]
Fix 5358124: Better transport control visibility management in lock screen

This changes TransportControlView to be "sticky" on lockscreen.  Basically, once it
appears on lockscreen, it stays there until unlocked and then locked again in paused state.

Tested basic design goals (using Music2):
- play then lock -> shows
- pause then lock -> not shown
- toggle pause to play while locked and not shown -> shows
- pause after played once while locked -> stays until we unlock and lock again while paused
- remote control play while paused & sleeping -> resume lockscreen -> shows

Also tested:
- configuration changes (orientation) to ensure widget continues to show after it once appears
- remote events while lock screen on -> keeps lockscreen on.
- remote events while sleeping -> doesn't wake.

Change-Id: I23418c5f7dfd1457c0844d2683772e8a3ed0abd1

12 years agoMerge "Making FaceUnlock not pop up for overlays Fixes 5451837 Fixes 5446341" into...
Steven Ross [Fri, 14 Oct 2011 04:02:15 +0000 (21:02 -0700)]
Merge "Making FaceUnlock not pop up for overlays Fixes 5451837 Fixes 5446341" into ics-mr0

12 years agoFixed problem where Face Unlock area was showing
Brian Colonna [Fri, 14 Oct 2011 02:43:28 +0000 (22:43 -0400)]
Fixed problem where Face Unlock area was showing

I introduced a bug cl https://android-git.corp.google.com/g/#/c/141926
that caused black box to hide lock pattern even when not using Face
Unlock.

Fixed by adding the corresponding check to make sure Face Unlock is
being used.

Change-Id: I9c429c99d7db4d1ab831080f23a1e10123dbfe3e

12 years agoFixup JNI
John Reck [Fri, 14 Oct 2011 02:07:50 +0000 (19:07 -0700)]
Fixup JNI

 Bug: 5459736

Change-Id: Iefb5daaf52eb56f2a4c3aaeedc977a16a1cfa086

12 years agoMaking FaceUnlock not pop up for overlays Fixes 5451837 Fixes 5446341
Steven Ross [Thu, 13 Oct 2011 11:04:37 +0000 (07:04 -0400)]
Making FaceUnlock not pop up for overlays Fixes 5451837 Fixes 5446341

When the screen turns on because of an incoming phone call or
when the emergency dialer is selected, FaceUnlock is deactivated
until the phone call is completed and the screen is turned off.

This also checks for non-phone overlays.
If the lockscreen becomes unfocused while the screen is on,
we assume that the reason is an overlay and prevent FaceUnlock
from starting.  The normal clock app is not considered an overlay by
this approach, and thus it works as intended (back button
brings up FaceUnlock).

Also reverts: https://android-git.corp.google.com/g/#/c/139885/2
to make FaceUnlock appear when music is playing again

Change-Id: Id715878556667d2b7e35c30a28d91be6a4eee575

12 years agoMerge "Fix 5451144: Poking wakelock upon fallback" into ics-mr0
Brian Colonna [Fri, 14 Oct 2011 01:19:30 +0000 (18:19 -0700)]
Merge "Fix 5451144: Poking wakelock upon fallback" into ics-mr0

12 years agoFix 5153611 remove remote control client/display log from AudioService
Jean-Michel Trivi [Fri, 14 Oct 2011 01:09:26 +0000 (18:09 -0700)]
Fix 5153611 remove remote control client/display log from AudioService

Do not log debug messages for the RemoteControlClient and
 IRemoteControlDisplay related features.

Change-Id: I81bfeec1770f81b78b679dc03fb40806393b170a

12 years agoMerge "In releaseWifiLockLocked call noteReleaseWifiLock." into ics-mr0
Wink Saville [Fri, 14 Oct 2011 00:40:01 +0000 (17:40 -0700)]
Merge "In releaseWifiLockLocked call noteReleaseWifiLock." into ics-mr0

12 years agoDO NOT MERGE - Require device encryption password for adb backup/restore
Christopher Tate [Mon, 10 Oct 2011 20:51:12 +0000 (13:51 -0700)]
DO NOT MERGE - Require device encryption password for adb backup/restore

This supersedes any backup-password that the user might supply.  Per
design, the device encryption password is also always used to encrypt
the backup archive.

The CL introduces two new strings, used for prompting the user for
their device encryption password rather than their settings-defined
"backup password" when confirming a full backup or restore operation.

Bug 5382487

Change-Id: I278737927a4ecbb765bfb5ecfd28a4cb8dae52ef

12 years agoFix 5451144: Poking wakelock upon fallback
Brian Colonna [Fri, 14 Oct 2011 00:11:57 +0000 (20:11 -0400)]
Fix 5451144: Poking wakelock upon fallback

Now poking the wakelock when Face Unlock goes to the fallback method.
Previously, the backup lock would stay up for a varying amount of
time depending on how long Face Unlock took before fallback.  The
backup is now consistently displayed for 5 seconds.

Also added comments to some older code.

Change-Id: I9f6bdd2d3015e7eb9cb90143737a3cdc87189993

12 years agoMerge "Add support for signature in getPackageArchiveInfo" into ics-mr0
Kenny Root [Fri, 14 Oct 2011 00:10:17 +0000 (17:10 -0700)]
Merge "Add support for signature in getPackageArchiveInfo" into ics-mr0

12 years agoStat icons for phone are now the right size
Peter Ng [Fri, 14 Oct 2011 00:00:41 +0000 (17:00 -0700)]
Stat icons for phone are now the right size

Bug: 5401987
Change-Id: I16fa782b2be8556b7a7b447cb27ece21d902a403

12 years agoMerge "Do Not Merge darker notification press state and divider" into ics-mr0
Peter Ng [Thu, 13 Oct 2011 23:56:01 +0000 (16:56 -0700)]
Merge "Do Not Merge darker notification press state and divider" into ics-mr0

12 years agoIn releaseWifiLockLocked call noteReleaseWifiLock.
Wink Saville [Thu, 13 Oct 2011 23:55:20 +0000 (16:55 -0700)]
In releaseWifiLockLocked call noteReleaseWifiLock.

Bug: 5452027
Change-Id: I45786a9cfe752f02a9c2e75e5b6f35bc5dfed6ae

12 years agoFix 5380695 Lockscreen transport control must reflect error state
Jean-Michel Trivi [Thu, 13 Oct 2011 23:53:08 +0000 (16:53 -0700)]
Fix 5380695 Lockscreen transport control must reflect error state

When a RemoteControlClient reports an error for its playstate,
 make the play/pause button display the warning platform icon.

Note that a specific image description is not available for this
 state at this time, but the one being used (the same as for the
 play icon) is valid as it correctly describes the action the
 button performs.

Change-Id: I59aadab3fe5bcc09a2f7be0b9e4cffb0c500e865

12 years agoMerge "Send ACTION_USER_PRESENT when provisioning is completed." into ics-mr0
Martijn Coenen [Thu, 13 Oct 2011 23:47:02 +0000 (16:47 -0700)]
Merge "Send ACTION_USER_PRESENT when provisioning is completed." into ics-mr0

12 years agoMerge "Fix bug with CLEAR_TASK -- wouldn't clear the top activity." into ics-mr0
Dianne Hackborn [Thu, 13 Oct 2011 23:44:26 +0000 (16:44 -0700)]
Merge "Fix bug with CLEAR_TASK -- wouldn't clear the top activity." into ics-mr0

12 years agoMerge "Add hidden API for pre-authorizing URIs." into ics-mr0
Dave Santoro [Thu, 13 Oct 2011 23:32:17 +0000 (16:32 -0700)]
Merge "Add hidden API for pre-authorizing URIs." into ics-mr0