304 Commits

Author SHA1 Message Date
Jim Miller
318249e467 Merge "Manual merge of Ida6a4cdd3abcbcab7e2fe8450a25c0dc36765f04" into kraken 2010-04-15 17:55:18 -07:00
Jim Miller
5169fc57e3 Manual merge of Ida6a4cdd3abcbcab7e2fe8450a25c0dc36765f04
Fix 2572446: Also watch keyboard changes in PIN/Password unlock.

The PIN/Password unlock screen was monitoring orientation changes.
However, while docked, this isn't useful since orientation remains
fixed. This change makes PasswordUnlockScreen also looks for
changes to config.hardKeyboardHidden.

Tested:
WVGA device while docked and opening/closing the keyboard.

Change-Id: Iaadb277028f2dd1f85fd0f627a686a86ac51a2ed
2010-04-15 17:53:23 -07:00
Jim Miller
ecaced9a78 Manual merge of Idf6bb25438336616e6453e7afe0e79f227af98d3
Fix 2575838: Update emergency button in AccountUnlockScreen DO NOT MERGE

AccountUnlockScreen wasn't registered to receive updates from
UpdateMonitor. It now correctly updates the Emergency call button
to allow the user to return to the call in progress (InCallScreen).

Tested on WVGA device with keyboard:
- hitting Home during call, observing state, and pressing button to return to call.
- hitting Home while not in call to ensure it still invokes EmergencyDialer.
- above in various keyboard states.

Change-Id: Ic4480ff69ff4479557ddb7f76c751b005b1c60bf
2010-04-15 17:39:17 -07:00
Daniel Sandler
e82ca2dec0 Manually integrating froyo lockscreen fixes:
I6872c3ad135bc34348adafa76e08a3878f1b506f
	"Add emergency call button to PUK'd lockscreen."
	Bug: 2568732

	I5ad8745443fc97225af9efb938e4640cfc29b5d7
	"Restore text field used by sliding tab to give ringer
	mode feedback."
	Bug: 2587358

Change-Id: Ide3ad839aaf029930c0bf7ba4b9f6587efbd811d
2010-04-13 14:47:25 -04:00
Joe Onorato
a5c51373d4 Finish moving the policies out of frameworks/policies/base and into frameworks/base.
Change-Id: Id3a0c06202b0f6f2206acf490c8655d340ee0556
2010-04-06 20:21:30 -05:00
Jean-Baptiste Queru
6e251d7d66 de-activate makefile
Change-Id: I6def51dea7aab002f7dbbe1e2573f52a2caa94fe
2010-04-06 15:43:25 -07:00
Joe Onorato
e6b6f42eff am 7d8866f9: Redo the look of the recent apps switcher.
Merge commit '7d8866f9ef026870d4735d6f2ede49525150e53e' into kraken

* commit '7d8866f9ef026870d4735d6f2ede49525150e53e':
  Redo the look of the recent apps switcher.
2010-04-06 08:41:42 -07:00
Joe Onorato
e58d1c4e4a Redo the look of the recent apps switcher.
Change-Id: Icb523e2f5949c2b502aa8003aa14b7ac98a616f2
2010-04-05 16:16:40 -05:00
Jim Miller
fc8686b9ec am 876b0644: Fix 2555028: Restore showing tab unlock before PIN & password entry.
Merge commit '876b0644770d1790b21e4049bc7f40851045dc86' into kraken

* commit '876b0644770d1790b21e4049bc7f40851045dc86':
  Fix 2555028: Restore showing tab unlock before PIN & password entry.
2010-03-30 18:20:03 -07:00
Jim Miller
466d77617a Fix 2555028: Restore showing tab unlock before PIN & password entry.
This fixes a bug introduced in change 46594 that prevents showing
the tab unlock screen before PIN & password entry.

Change-Id: Ibd603921f6a22b603652c4751fa0f2f7d9129bb2
2010-03-29 19:31:26 -07:00
Romain Guy
7836b05105 am 71836f4c: Remove scroll barrier constant. Bug #2553595
Merge commit '71836f4cb6389042d839d2a26582f796c6e97c26' into kraken

* commit '71836f4cb6389042d839d2a26582f796c6e97c26':
  Remove scroll barrier constant.
2010-03-29 15:05:08 -07:00
Romain Guy
8154cd3bbc Remove scroll barrier constant.
Bug #2553595

Change-Id: Ie3bb31930b57ed1a658b79632786dfef9435ccf3
2010-03-29 14:41:15 -07:00
Daniel Sandler
d323995d31 Redesigned keyguard layout in the no-SIM case. DO NOT MERGE
The emergency call button has been removed (since the user
can disable the keyguard, open the phone app, and enter the
emergency number there).

This change also restores a number of the informational &
help messages that were previously removed from the lock
screen.

Bug: 2421380
Change-Id: I4dda16be5d54c1e0ab4e26914c63d1f5b922cfe8
2010-03-26 11:52:52 -04:00
Jim Miller
f7c5d0e46c Fix 2535700: Add support for enforcing password quality
Change-Id: I945eea1a3869f48d636ed0c1172063f7bc57e889
2010-03-25 19:55:23 -07:00
Fred Quintana
cd8aed8c50 change the account unlock enabling logic use async calls rather than
blocking calls

limit the account unlocks to google accounts

Change-Id: If412a7557716503f7d122ec3ff31375f47b624b9
http://b/issue?id=2544496
2010-03-25 14:50:20 -07:00
Adam Powell
00f4d986c6 Fix bug 2386867 - Phone DecorViews FOCUS_AFTER_DESCENDANTS
Change-Id: Iade2c2d8ea575fc452897dbfd3d8454b5b7972ed
2010-03-24 11:17:03 -07:00
Mike LeBeau
bfd25cacf8 Tell SearchManager to stopSearch on long-press of search. Also,
do the long-press haptic feedback first, to avoid any slowdown
in the responsiveness of that.

Fixes http://b/2526697

Change-Id: I607063b67bdde92303ee112663b76d6e4e9a369b
2010-03-22 17:40:35 -07:00
Dirk Balfanz
cf59a0b72d Instead of asking whether accounts are SAML accounts to figure out whether they can be used for screen unlocking, we ask directly whether they support confirmCredentials().
Change-Id: Ib83c89133b67661e2eb0827baecc32910b386f63
2010-03-19 11:31:33 -07:00
Dianne Hackborn
75787398fa Policy part of fixing issue #2519590: Lock screen stuck in landscape mode
Change-Id: Id7f3a7102a86f4fecb7f7ef40b1275b75e27dac4
2010-03-18 01:12:42 -07:00
Jim Miller
e78fab5a2e Merge "Fix 2520598: Disable password entry in keyguard while in lockout" 2010-03-18 00:50:07 -07:00
Jim Miller
f1818ffd82 Fix 2520598: Disable password entry in keyguard while in lockout
The password unlock wasn't abiding by the 30s lockout rule.
This change adds the necessary logic and countdown timer to
disable text entry while in lockout mode. After 30s, text entry
is re-enabled until the next lockout count is reached.

Change-Id: I4d860565cad91cb88c36615b40d1837a5d97fe21
2010-03-17 19:17:55 -07:00
Daniel Sandler
0060a9b544 Suppress lock sound effect on screen timeout.
Bug: 2512130
(without regressing http://b/2453032)

Change-Id: I79c90e6f59b95c3096808ad5ee9845369a2e50ce
2010-03-15 23:10:58 -04:00
Daniel Sandler
687a3274f0 Remove the secure lock icon from the status bar.
Added in I0e08a952904cc4728621953a42806edf26eb8e46, but
takes up too much room.

An undocumented system setting, "show_status_bar_lock", can
be set to 1 (e.g. in Spare Parts) to bring this back.

Bug: 2511090
Change-Id: I8869ac18c303a786eeb7f1a0c4ae08529b45d59c
2010-03-15 21:33:56 -04:00
Jim Miller
1e5b478fe6 Merge "Fix 2428368: Fix most of the lockscreen orientation refresh bugs" 2010-03-15 15:33:44 -07:00
Jim Miller
5475906f53 Fix 2428368: Fix most of the lockscreen orientation refresh bugs
This change removes the legacy notification of orientation and configuration changed events
from KeyguardUpdateMonitor and moves them into the individual activities.  This was necessary
to guarantee order of events.

In addition, to minimize discrepencies due to notification lag, Keyguard screens (LockScreen,
PatternUnlock, etc.) are now responsible for handling onConfigurationChanged() notification and
forwarding them to LockPatternKeyguardView by a call to recreateMe() with the new configuration.

This also removes the hack that used to prevent drawing while the configuration was in flux.

Change-Id: I6b72e8c06cebb2c5c83e2debeb478e89b6f6f386
2010-03-12 17:35:59 -08:00
David Brown
baf8d09292 Accessibility: optionally allow Power key to end the current call.
This is part 2 of the fix for bug 2364220 "Accessibility improvements for
ending calls".

This change updates the POWER key logic in interceptKeyTq() to check the
value of Settings.Secure.INCALL_POWER_BUTTON_BEHAVIOR, which allows the
user to specify that the Power button should hang up while in-call,
instead of just turning off the screen.

Bug: 2364220

Change-Id: If6d8e3155f7d60142ab6fd61f0a9db7f0b0d95ab
2010-03-11 15:27:09 -08:00
Dianne Hackborn
5f3063e370 Update for new layout flow.
Now does lock screen and status bar management in the animation pass, to better
match actual changes on screen.

Change-Id: I9a68fcfa1968dfa71961bc164a6fda15b2cd7d47
2010-03-10 16:01:58 -08:00
Mike Lockwood
b101d99ee5 Move dock wakelock code to UiModeManagerService.
Change-Id: Ide758a9e68002b13ba2d61bd9e9701d449edb65b
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-03-05 15:46:24 -05:00
Dianne Hackborn
78968395dd Update to use new dock broadcasts. 2010-03-05 10:58:34 -08:00
Daniel Sandler
055ea248a4 Use new vibrate icon in power menu.
Change-Id: I54725ae73bac731a2078a9c61d75d77c0cbb3680
2010-03-05 09:34:52 -05:00
Jim Miller
0340b42992 Fix 2420689: Fix bug that prevents pattern unlock from showing lockout dialog.
This fixes the problem where the lockout dialog wasn't showing.  It also fixes a problem
where the "forgot pattern" button would stop working.
2010-03-04 13:26:17 -08:00
Dianne Hackborn
c20115c500 Fix issue #2445481: onNewIntent is called twice if SEARCH button is "long-pressed" 2010-03-02 23:32:01 -08:00
Jim Miller
8b9dda28c9 Fix 2481917: allows keyboards with overlapping qwerty/numeric keys to work w/o requiring hitting the <alt> key.
Some devices have a qwerty layout without separate numeric keys. This makes PIN entry painful.
The workaround is to set an explicit numeric key listener when in numeric mode.
2010-03-02 17:24:48 -08:00
Jim Miller
98f182f78e Merge "Fix 2447470: always update the battery status when it's below the threshold." 2010-03-02 13:00:17 -08:00
Dianne Hackborn
6019c9d9ca Pointer location in framework, no longer need to link common. 2010-03-01 21:43:11 -08:00
Daniel Sandler
82d6c68b39 Support refined vibrate/silent behavior.
See change I14cf91b0 for explanation and required framework
support.

Bug: 2457183
Change-Id: I09ad7d697ff17c24fc41744ed70add214d132bd3
2010-03-01 20:16:11 -05:00
Jim Miller
cdb70af791 Fix 2447470: always update the battery status when it's below the threshold.
Previously, the battery percentage was only shown when the battery level
transitioned below the LOW_BATTERY_THRESHOLD (20%).  This change makes it so it gets updated
whenever we get a battery status update where the level is below LOW_BATTERY_THRESHOLD.

Note: this only applies to the pattern unlock screen.
2010-03-01 16:51:43 -08:00
Jim Miller
0d9f798e9f Fix 2468960: Make sure unlock screen gets updated when SIM state changes.
Added code to let us lazily re-create the unlock screen when the SIM
status changes.  This fixes a bug where we sometimes show the Pattern/Password unlock
instead of the SIM PIN unlock due to an ordering issue with recent changes
to the telephony layer SIM update logic. It now correctly re-evaluates the SIM state
and updates the UI accordingly.
2010-02-25 21:33:48 -08:00
Jim Miller
c23024d327 Fix 2336057: Provide a way for the user to return to a call from LockScreen.
This makes the "Emergency call" button dual-purpose. If there's a call in progress,
the button will show "Return to call" and take them back to the call.
2010-02-25 20:14:06 -08:00
Dianne Hackborn
746c4c4464 Update to reflect android-common no longer in framework. 2010-02-24 20:03:34 -08:00
Daniel Sandler
aec967acab Move lockscreen sound effects to the system stream.
Bug: 2458106, 2451532
Change-Id: I01869e3fd461dc24aa3157bf38aba9d2967526ec
2010-02-22 15:11:05 -05:00
Daniel Sandler
f2d8e74c02 Suppress unlock noises while in-call.
Bug: 2458106
2010-02-22 13:27:55 -05:00
Jim Miller
43cfa0e2d3 Merge "Fix 2448345: Fix tactile feedback bug in password/PIN and pattern unlock." 2010-02-19 18:18:14 -08:00
Jim Miller
966b126ea7 Fix 2448345: Fix tactile feedback bug in password/PIN and pattern unlock. 2010-02-18 19:55:29 -08:00
Daniel Sandler
f129859ee8 Suppress screen lock sound effect on first boot.
Bug: 2453032
2010-02-18 11:42:36 -05:00
Jim Miller
015398f3fd Merge "Partial Fix for 2416967: Fix potential memory leak in PasswordUnlockScreen." 2010-02-16 23:30:40 -08:00
Jim Miller
42b432d84c Partial Fix for 2416967: Fix potential memory leak in PasswordUnlockScreen.
PasswordUnlockScreen was previously registering for multiple callbacks which *sometimes*
caused a memory leak because a reference stuck around in the callback list.  I wasn't able to
track down the cause, but it looks like an interaction between switching between various lockscreen
modes and ordering of CONFIGURATION_CHANGED events.

I found one instance where the callback was being registered twice (fixed).  However, I'm
still able to reproduce the bug but far less frequently.

As a workaround, I've added code to prevent adding additional callbacks and added logging to
detect when a callback is already registered.

Also fixed an instance where we'd recreate the password unlock screen in LockPatternKeyguardView.updateScreen()
so it should be quite a bit faster switching orientations now.

Renamed UnlockScreen.java to PatternUnlockScreen.java for consistency.
2010-02-16 20:18:54 -08:00
Daniel Sandler
676074890e Merge "Support for lockscreen/keyguard sound effects." 2010-02-12 20:33:46 -08:00
Wink Saville
d13e213396 am 79484171: am f010b5d2: Change EndCallBehavior while in UTS test mode.
Merge commit '794841710d11f59fd1736d1c889cc9b91f38f78e'

* commit '794841710d11f59fd1736d1c889cc9b91f38f78e':
  Change EndCallBehavior while in UTS test mode.
2010-02-12 16:02:27 -08:00
Wink Saville
72c94b9f38 am f010b5d2: Change EndCallBehavior while in UTS test mode.
Merge commit 'f010b5d26f1e1c93b93576995e76ffd63db2f96e' into eclair-plus-aosp

* commit 'f010b5d26f1e1c93b93576995e76ffd63db2f96e':
  Change EndCallBehavior while in UTS test mode.
2010-02-12 15:57:25 -08:00