982 Commits

Author SHA1 Message Date
Adam Powell
d42c029100 am b24f45d5: am 1a4c4334: Merge "Fix bug 5396097 - menu theme consistency" into ics-mr0
* commit 'b24f45d542d2838c6f910e4fd57dc5bf738a1ffd':
  Fix bug 5396097 - menu theme consistency
2011-10-12 12:37:47 -07:00
Adam Powell
b24f45d542 am 1a4c4334: Merge "Fix bug 5396097 - menu theme consistency" into ics-mr0
* commit '1a4c4334f02152c96cfc71136dc31085826c6894':
  Fix bug 5396097 - menu theme consistency
2011-10-11 15:33:33 -07:00
Adam Powell
538e565c06 Fix bug 5396097 - menu theme consistency
Fix a bug where action bar menus were using the wrong context to
inflate stock views. This was causing them to use the action bar's
themed widget context instead of the current theme's specific action
bar items.

Note that action views in the menu will still be inflated using the
themed widget context. This can produce some weird side effects if
the action views use theme attributes relating to these action bar
item attributes.

Change-Id: Ied3614d1fedb10a0f5366bbe7b90cd5f2f1ff969
2011-10-11 13:49:28 -07:00
Daniel Sandler
fe1d0ace8d am b545851d: Merge "Stop enabling all disabled status bar features from GlobalActions."
* commit 'b545851dd59766f5e9471a08fdd7b60318492eb9':
  Stop enabling all disabled status bar features from GlobalActions.
2011-10-11 12:02:40 -07:00
Daniel Sandler
b545851dd5 Merge "Stop enabling all disabled status bar features from GlobalActions." 2011-10-11 12:01:15 -07:00
Jim Miller
81ff5596ee am 12b6fa1d: Merge "Fix 5386408: Fix battery state information propagation in Lock Screen"
* commit '12b6fa1da82567b9a36664b759d10464f4970e6f':
  Fix 5386408: Fix battery state information propagation in Lock Screen
2011-10-10 22:07:58 -07:00
Jim Miller
baa2812b37 Fix 5386408: Fix battery state information propagation in Lock Screen
This fixes a bug where Lock Screen would sometimes inappropriately show
"charged" if it took a while for Lock Screen to get an update on the
battery state.  It now starts with the state set to BATTERY_STATUS_UNKNOWN
so we properly update listeners when we finally get battery information
in handleBatteryUpdate().

Change-Id: I71018a233f38b2f897ff2e6592d7e310550fa016
2011-10-10 22:02:54 -07:00
Jim Miller
2b29f307b8 am 2b78c700: Merge "Fix 5406921: Register for receiving phone state changes when KGSVM gets created."
* commit '2b78c7006aabe9473ad7da932b0bc221684013e4':
  Fix 5406921: Register for receiving phone state changes when KGSVM gets created.
2011-10-10 16:32:41 -07:00
Steven Ross
004dd5f6ac am 51ee6a7a: Merge "Fixes 5429869 Only displaying FaceUnlock when window is focused"
* commit '51ee6a7ad9ca66451e2c17c9ac169920a30bb692':
  Fixes 5429869 Only displaying FaceUnlock when window is focused
2011-10-10 16:30:41 -07:00
Jim Miller
2b78c7006a Merge "Fix 5406921: Register for receiving phone state changes when KGSVM gets created." 2011-10-10 16:30:06 -07:00
Steven Ross
c3892c525d Fixes 5429869 Only displaying FaceUnlock when window is focused
Makes sure that the screen is on and the window is focused before bringing up FaceUnlock

Change-Id: I4c138c5c60fde217b6243627bd043194278835c2
2011-10-10 06:46:20 -04:00
Daniel Sandler
d27a0cb96e Stop enabling all disabled status bar features from GlobalActions.
Leaky singleton bug! GlobalActions, recents, and the
keyguard are all in the same process and therefore receive
the same StatusBarManager instance. Therefore, their calls
to enable() and disable() clobber one another.

Bug: 5423182
Change-Id: I724d17dfc5289141690560cc8ff83cc8543b25b1
2011-10-09 21:21:04 -04:00
Dianne Hackborn
be870e81e8 am ba8ecd20: Merge "Fix how we hide and show the nav bar."
* commit 'ba8ecd206cc6f175767f952d380c88f70ece04cf':
  Fix how we hide and show the nav bar.
2011-10-07 15:14:55 -07:00
Dianne Hackborn
ba8ecd206c Merge "Fix how we hide and show the nav bar." 2011-10-07 15:12:17 -07:00
Steven Ross
074a6a856a am 705a6642: Merge "Fixing alarm clock bug"
* commit '705a6642c40156648d9b426e142975cf86c93bd8':
  Fixing alarm clock bug
2011-10-07 14:38:05 -07:00
Dianne Hackborn
df89e65bf0 Fix how we hide and show the nav bar.
The PhoneWindowManager is now responsible for hiding and showing
the nav bar.

For hiding, it just moves it off the screen (easy way to get a
nice slide animation on and off).  At the same time, we use a
new WM facility to put up a fake input window to capture all
touch events.

When a touch event is received, we force the system UI to clear
the navigation hiding bit so it will be shown again.

This removes a bunch of code from the system UI for hiding and
showing the nav bar.  Also removes the code calling from userActivity()
to the system UI, which was bad.  (Also no longer using userActivity()
fixes bugs around re-showing the nav bar due to key presses and
other wrong things.)

Change-Id: I8c3174873b5bcaa36a92322a51e8f7993e88e551
2011-10-07 14:32:01 -07:00
Jim Miller
19eb7014bd Fix 5406921: Register for receiving phone state changes when KGSVM gets created.
This fixes a bug where the state wasn't being updated because it wasn't
registered for KeyguardUpdateMonitor state changes when the view first created, like on first boot.

Change-Id: Ic6838afffd0de51decdc43a8e8a796696aed49df
2011-10-07 13:47:46 -07:00
Steven Ross
9c2df26179 Fixing alarm clock bug
The alarm clock doesn't actually hide the view until AFTER Facelock starts
hence the need to kill Facelock after it has started when the even is caught
Also fixing phone black box background in case the user cancels the call quickly

Also eliminating blackscreen after 4s for multiple reasons
so people can login if lockscreen locks up
also so cancel fade is to the backup lock

Change-Id: I8162ff67453038559f289408f4f0d452d4f79ab3
2011-10-07 16:11:08 -04:00
Dianne Hackborn
3c32c7a92e am 85b9edf2: Merge "Fix issue #5371530: SYSTEMUI_FLAG_HIDE_NAVIGATION reasserts itself immediately"
* commit '85b9edf2da0534bc53d139bb88cda8866d265afe':
  Fix issue #5371530: SYSTEMUI_FLAG_HIDE_NAVIGATION reasserts itself immediately
2011-10-06 15:21:12 -07:00
Dianne Hackborn
85b9edf2da Merge "Fix issue #5371530: SYSTEMUI_FLAG_HIDE_NAVIGATION reasserts itself immediately" 2011-10-06 15:15:32 -07:00
Dianne Hackborn
9a230e01a1 Fix issue #5371530: SYSTEMUI_FLAG_HIDE_NAVIGATION reasserts itself immediately
This cleans up how ui flags are managed between the client and window manager.
It still reports the global UI mode state to the callback, but we now only clear
certain flags when the system goes out of a state (currently this just means the
hide nav bar mode), and don't corrupt other flags in the application when the
global state changes.

Also introduces a sequence number between the app and window manager, to avoid
using bad old data coming from the app during these transitions.

Change-Id: I40bbd12d9b7b69fc0ff1c7dc0cb58a933d4dfb23
2011-10-06 14:57:37 -07:00
Jeff Brown
b070aff670 am 219f3c71: Merge "Make SENSOR orientation modes trump rotation lock. Bug: 5371750"
* commit '219f3c71269ff0bd8949b88af07f92c4e4eddc67':
  Make SENSOR orientation modes trump rotation lock. Bug: 5371750
2011-10-05 17:27:49 -07:00
Jeff Brown
219f3c7126 Merge "Make SENSOR orientation modes trump rotation lock. Bug: 5371750" 2011-10-05 17:24:29 -07:00
Jeff Brown
4dfce20cac Make SENSOR orientation modes trump rotation lock.
Bug: 5371750

Change-Id: I4d18b6c8ba1de0afd5929ddb8d7123272e35fbe2
2011-10-05 16:12:07 -07:00
Brian Colonna
9fbc048b06 am fe7fcd23: Merge "Added callback for Face Unlock service to poke the wakelock"
* commit 'fe7fcd23d5b306db7b1fb31c901cbcbb6b66db1d':
  Added callback for Face Unlock service to poke the wakelock
2011-10-05 14:00:32 -07:00
Brian Colonna
0c422a72ed Added callback for Face Unlock service to poke the wakelock
Change-Id: I76a4e0f8ac0fe17e39195f4593fac7e36d7281f0
2011-10-05 16:13:18 -04:00
Steven Ross
45a976440c am 94d2f366: Merge "Killing Facelock when a phonecall comes in"
* commit '94d2f366f971bc052da9856e9f8867094e738cd1':
  Killing Facelock when a phonecall comes in
2011-10-05 12:47:59 -07:00
Steven Ross
dce0bb62ce Killing Facelock when a phonecall comes in
This needs to actively listen for phonecall callbacks,
or calls that come in while Facelock is active will drop.

Change-Id: I818433e5de9085f0357f61d6a04b395e58871396
2011-10-05 13:51:45 -04:00
Jim Miller
656d086c1d am 85b10b0d: Fix 5317948: Don\'t display facelock when transport controls are showing.
* commit '85b10b0dd0e568699f349ba500ddc8d3e6c1c12d':
  Fix 5317948: Don't display facelock when transport controls are showing.
2011-10-05 06:37:26 -07:00
Jim Miller
85b10b0dd0 Fix 5317948: Don't display facelock when transport controls are showing.
Change-Id: I0061fa9ec184846b0ed82c977a2e48b36cb079af
2011-10-04 21:14:15 -07:00
Ben Komalo
f98a21ee7f am a1aebdf7: Merge "New PIN unlock screen layout."
* commit 'a1aebdf787443413ba870fc9203639405a5ff7bf':
  New PIN unlock screen layout.
2011-10-04 14:29:51 -07:00
Ben Komalo
a1aebdf787 Merge "New PIN unlock screen layout." 2011-10-04 14:27:24 -07:00
Amith Yamasani
ea7f9f473d am e5320a02: Merge "Tie the lockscreen sounds with the ringer volume."
* commit 'e5320a0270816122ba7939431cc80ed37a5b691b':
  Tie the lockscreen sounds with the ringer volume.
2011-10-04 13:04:12 -07:00
Amith Yamasani
e5320a0270 Merge "Tie the lockscreen sounds with the ringer volume." 2011-10-04 13:02:31 -07:00
Ben Komalo
51ea88a86e New PIN unlock screen layout.
Moves "OK" to the right and moves backspace up to beside the text field.

Bug: 5255976
Change-Id: I1b97ee108c9f10f11e5feb361810150bd6dbc776
2011-10-03 18:29:39 -07:00
Danielle Millett
24a936febd am fee5cb54: Merge "Reworked biometric weak check functions"
* commit 'fee5cb54af9c86c045f1cb5d129c2cc395fe56db':
  Reworked biometric weak check functions
2011-10-03 17:39:54 -07:00
Danielle Millett
fee5cb54af Merge "Reworked biometric weak check functions" 2011-10-03 17:38:47 -07:00
Danielle Millett
58396984ef Reworked biometric weak check functions
Renamed isBiometricEnabled to isBiometricWeakInstalled.  This function
now checks if the system property is set, the facelock package is
installed, and if the phone has a front facing camera.  It no longer
checks if facelock is currently set as the unlock method.
Added isBiometricWeakInstalled checks to all cases where facelock is used
in LockPatternKeyguardView

Change-Id: Ia86a7ad6118101c6aab90ffb2ee9c42bf2548149
2011-10-03 18:41:01 -04:00
Justin Ho
77193b28e4 am 893746be: Merge "allow override of HDMI rotation"
* commit '893746bef59277072403b953a3f84743a32a522d':
  allow override of HDMI rotation
2011-10-03 15:33:29 -07:00
Justin Ho
893746bef5 Merge "allow override of HDMI rotation" 2011-10-03 15:32:14 -07:00
Adam Powell
527d9a1dd6 am be25ca29: Merge "Fix bugs around overlay action modes."
* commit 'be25ca2997ab98e1257d5625dd510e643dcead95':
  Fix bugs around overlay action modes.
2011-10-03 13:34:19 -07:00
Adam Powell
f8419a0299 Fix bugs around overlay action modes.
Multiple focusable windows cause undesired behavior around selection
modes. TextView isn't sure how to behave when it loses window focus
with regard to selection handles and action modes need to be focusable
for WebView find on page since it uses an EditText as a custom view.

For now:

* Use a layered window decor for overlay action mode when there is no
  action bar requested. This eliminates an extra window and avoids the
  issue described for full-screen UIs.

* Disable WebView's find-on-page mode when the action mode's UI will
  not be focusable. This only affects WebViews in floating windows.

Also remove the "Text Selection" title for WebView's selection mode at
UX's request, as it is inconsistent with TextView's selection mode and
the string does not fit on phones in portrait even on wide
devices. This now uses the same mechanism used in TextView to decide
whether to use title text.

Change-Id: I80caeecea9b47728cf26bb0a388153ca0bdeafe1
2011-10-03 13:20:23 -07:00
Amith Yamasani
8cb751b05a Tie the lockscreen sounds with the ringer volume.
Actual volume is a ratio of the ringer volume and drops along with
but slower than the ringer volume, so that at lowest ringer volume,
the lockscreen sounds are still somewhat audible.

Don't start the sounds if the ringer is muted.

Bug: 5394473
Change-Id: Ifcf242b3198b4ec8f12334e26ec23ebf05a96b83
2011-09-30 17:14:18 -07:00
Marco Nelissen
1ea9a20dce am ee1d541e: Merge "Use SoundPool instead of Ringtone."
* commit 'ee1d541ec89e1d2724a382c90276586e2c28b278':
  Use SoundPool instead of Ringtone.
2011-09-29 13:14:25 -07:00
Marco Nelissen
ee1d541ec8 Merge "Use SoundPool instead of Ringtone." 2011-09-29 13:13:17 -07:00
Marco Nelissen
d5545bd0a9 Use SoundPool instead of Ringtone.
The lock screen was using Ringtone for the lock/unlock sounds, which
meant two new MediaPlayers were created every time a sound needed to
be played. In addition, the Ringtone was assigned to a local variable,
which means it could go be garbage collected and finalized while it
was still playing.
For short sounds that need to be played repeatedly, SoundPool is a
better option anyway, so use that instead.
b/5382634

Change-Id: I8794cbb24604fa7c03032bd5e32ceab37a858054
2011-09-29 12:52:04 -07:00
Mike Cleron
8d61759236 am 2d56123b: Merge "Fix lockscreen Bug: 5391404"
* commit '2d56123b110ff20dd849875be328f1712d128dee':
  Fix lockscreen Bug: 5391404
2011-09-29 12:38:48 -07:00
Justin Ho
b9a4b3c18a Fix lockscreen
Bug: 5391404

Change-Id: I021a37705b72ab1990f7651fecbe743a8af4e372
2011-09-29 12:33:28 -07:00
Adam Powell
62816ac56c am 8f847653: Merge "Fix bug 5386915 - Action mode is intercepting touches it shouldn\'t be"
* commit '8f847653859d9f4c0e0d54f390673b7dccf0b5eb':
  Fix bug 5386915 - Action mode is intercepting touches it shouldn't be
2011-09-28 22:48:15 -07:00
Adam Powell
e0b6cd14ac Fix bug 5386915 - Action mode is intercepting touches it shouldn't be
Standalone action mode windows should not be touch modal.

Change-Id: Ia3bab69b3ac344837093a17c4b58451bcc3471bf
2011-09-28 22:06:39 -07:00