354 Commits

Author SHA1 Message Date
Fred Quintana
261259b673 account manager api review changes 2009-10-05 10:00:08 -07:00
Dianne Hackborn
73b1ec8961 Work on issue #2163789: Way too much logging
Dr.No from mcleron.

Change-Id: I44d49221b15a6ae2c22504869b14d610d234ccc9
2009-10-04 13:44:16 -07:00
Jim Miller
36931ac9b3 Fix for 2129239: Always enable the menu hard key in LockScreen when 'ro.monkey' is set.
BUG=2129239
DRNO=discussed with hiroshi/mcleron who gave thumbs up.
2009-10-02 17:51:30 -07:00
Android (Google) Code Review
9227af0571 Merge change I46ea3489 into eclair
* changes:
  Make sure we wake up the screen if the keyguard is not visible when we think it should be.
2009-10-02 14:03:43 -04:00
David Brown
4c48b6b410 Add placeholder onGrabbedStateChange() method.
Update LockScreen to implement the latest RotarySelector
OnDialTriggerListener interface.  In a followup CL we'll use this to
display onscreen hint text while dragging.

BUG=2158434
DRNO=timsullivan
TESTED=exercised the lock screen widget, confirmed there's no new behavior.
2009-10-01 19:27:44 -07:00
Mike Lockwood
3754b0d563 Make sure we wake up the screen if the keyguard is not visible when we think it should be.
I am hoping this will fix bug b/2155529

Change-Id: I46ea34898864d7b39391d76b802858c0f092b578
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-10-01 14:50:15 -04:00
Mike Lockwood
db460fe7cf Move status bar disabling from KeyguardViewMediator to Phone app
This allows us to disable the keyguard while docked without disabling the status bar.

Change-Id: I06ff48dcb1922a26e356faee0aefa91b7c871e6a
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-10-01 08:15:40 -04:00
Costin Manolache
563b3e61ca Remove GAIA string 2009-09-29 22:49:09 -07:00
Android (Google) Code Review
39187ab260 Merge change I880426e8 into eclair
* changes:
  Fix for 2133391: Allow menu hard key to be disabled in LockScreen on some devices
2009-09-29 21:20:25 -04:00
Dianne Hackborn
63b90f2885 Fix issue #2153749: Window manager deadlock around the Eclair lock screen
Don't synchronously call into the account manager from the lock screen.

Change-Id: I2741c81bb31537ddfcce96b1b199ac50fd48e727
2009-09-29 17:44:09 -07:00
Jim Miller
8ed9870f54 Fix for 2133391: Allow menu hard key to be disabled in LockScreen on some devices
Changed to use config.xml and overlays to enable.
2009-09-29 17:05:50 -07:00
Android (Google) Code Review
2034804356 Merge change Ie3edea1f into eclair
* changes:
  Fix for 2137900: Be more conservative about poking the wakelock
2009-09-29 18:41:48 -04:00
Dianne Hackborn
b1a7980800 Whoops forgot the change to actually check for safe mode!
Change-Id: Iba0ad151ed786be8ae8659bfefe2a29776ce6311
2009-09-29 15:18:31 -07:00
Jim Miller
72f230e32e Fix for 2137900: Be more conservative about poking the wakelock 2009-09-29 14:16:41 -07:00
Dianne Hackborn
d7f7deb286 Fix potential race when removing keyguard view.
Change-Id: Ia636bc8a73d18b8ebe2dca2b29bb74793a3f0396
2009-09-25 17:35:10 -07:00
Dan Murphy
cd3d3f22ab fw/policy/base:Phonewindowmanager: Make vkey button haptics part of global haptic setting
This change ties the virtual key haptics to the global haptics settings

Signed-off-by: Dan Murphy <D.Murphy@motorola.com>
2009-09-25 14:10:44 -07:00
Android (Google) Code Review
74711dc7b8 Merge change 27039 into eclair
* changes:
  Fix volume key handling when in-call and screen is off due to proximity sensor.
2009-09-25 14:54:56 -04:00
Mike Lockwood
a53e381665 Fix volume key handling when in-call and screen is off due to proximity sensor.
Fixes bug b/2136633

Change-Id: If963d0267496878978ad82d915f821af2bd03383
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-09-25 14:47:10 -04:00
Karl Rosaen
a35d753add Remove keyguard view after a delay instead of just hiding it.
The delay should make sure the animation works, and by still removing it, we
preserve the initialization logic that depends on being reinstantiated each time
the screen turns off.  The logic could be adjusted to work without this, but
seems safer to maintain the existing behavior. Also reduces risk from having
keyguard around all the time.
2009-09-25 10:26:22 -07:00
Dianne Hackborn
d0071448cc Maybe fix #2127747: IllegalStateException from window manager when resuming from sleep
It looks like there may have been a race when restoring that would allow
you to show the menu before it is restored.  I couldn't repro on my current
device before the fix, though.

Change-Id: I624e1306871344d3ee39f69dde832b3db2530a5f
2009-09-25 01:35:29 -07:00
Dianne Hackborn
01ad2f4a2d Implement fade out of lock screen.
Change-Id: I516aa2257c788a9fb618ac37c9d227b1e7a3c2ae
2009-09-24 19:33:30 -07:00
Karl Rosaen
b17dc443c6 Initialze battery state properly in pattern unlock screen. 2009-09-24 18:11:28 -07:00
Karl Rosaen
18fe8a5022 Whoops, count down text is not updating... fixed! 2009-09-24 17:13:56 -07:00
Karl Rosaen
add3930c01 Update unlock screen logic to display battery, next alarm info. 2009-09-24 16:48:14 -07:00
Karl Rosaen
80be841eaf Tweak LockScreen to make use of landscape layout. 2009-09-24 10:17:42 -07:00
Dianne Hackborn
4994c66c09 Fix issue #2133206: dialogs/menus should auto-dismiss when screen turns off
Perform clear system dialogs when turning on the lock screen.

Change-Id: I2a3104a9df942d59308a94377f93787f17dbb2ce
2009-09-23 22:21:23 -07:00
Dianne Hackborn
0572658afd Allow dock keep screen on to select between AC and USB power.
Change-Id: I2309992f5ad7b93006eb52f31758f71c48ed98f1
2009-09-22 18:59:46 -07:00
Joe Onorato
1b58b3ebee The nosensor flag wasn't being honored. 2009-09-22 17:30:34 -07:00
Dianne Hackborn
39c2d71950 Fixes and improvements to lock screen hiding, dock launching.
- Implement new window flags for dismissing non-secure lock screens.

- Implement launching of docks from the home key.

Change-Id: If29f299db47e3759c3e146983f59d0f86ed22c4c
2009-09-22 13:31:29 -07:00
Dianne Hackborn
b446e9767a Improvements to lock screen management:
- The window flag to hide the lock screen will now allow you to press home,
and automatically dismiss the lock screen if it is not needed for security.

- When opening the lid, if the lock screen will be shown, try to avoid
turning on the screen until it is ready.  There is actually still some
problem with this.

Change-Id: I51d769b8e6cff7b439b1ffea927c0a01376427b1
2009-09-21 17:39:09 -07:00
Android (Google) Code Review
aa6a474309 Merge change 26169 into eclair
* changes:
  Dock event overrides SCREEN_ORIENTATION_NOSENSOR so Home will rotate in the car dock.
2009-09-21 14:09:57 -04:00
Mike Lockwood
cbc51607ac Dock event overrides SCREEN_ORIENTATION_NOSENSOR so Home will rotate in the car dock.
Change-Id: Id768332d846d85f3d37a36bdf41a70cbaceb5332
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-09-21 13:40:31 -04:00
Jinghui Guo
fe1fee5545 Handle Emergency Callback Mode and Airplane Mode interactions
For UI interface consistency with airplane mode change from setting menu,
an ECM exit dialog should also be shown up when user wants to change airplane
mode in ECM after long key pressing power key. Then based on the user's choice to change
airplane mode. i.e. press Yes to exit ECM and turn on airplane mode or press No
to keep ECM and do not change airplane mode.

Change-Id: I0fe7e5cdeec0f33852615b491b75f65a46257590
2009-09-21 09:24:18 -07:00
Karl Rosaen
36a64148b4 Show silent mode toast immediately, and for 3.5 seconds instead of 2. 2009-09-20 15:09:42 -07:00
Karl Rosaen
7b8a5cf16a Don't show battery info when unplugging (fixes bug 2128323). 2009-09-20 14:01:09 -07:00
Android (Google) Code Review
7c285956c6 Merge change 25960 into eclair
* changes:
  Show silent mode icon associated with current state instead of what it will be.
2009-09-20 13:04:10 -04:00
Karl Rosaen
2a138a4e7e Show silent mode icon associated with current state instead of what it will be.
Also:
- fix bug where icons weren't showing for charging, next alarm
- tweak layout
2009-09-20 09:55:55 -07:00
Mike Lockwood
e9867d2862 Support for forcing accelerometer based orientation management when docked.
Change-Id: I5436a7191263a0a2a5ca8108da2f7c094c49b88a
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-09-20 09:03:59 -04:00
Dianne Hackborn
f54c8f9dd8 Add ability to keep screen on while docked.
Change-Id: I11f22e92e85d0fb384c70b614d0a55633f74902e
2009-09-19 14:03:57 -07:00
Android (Google) Code Review
d3fd8cefd0 Merge change 25784 into eclair
* changes:
  Tweak the lock screen date format to be like "Fri, Sep 18, 2009".
2009-09-18 15:23:24 -04:00
Karl Rosaen
ec3fc0a641 Tweak the lock screen date format to be like "Fri, Sep 18, 2009". 2009-09-18 12:22:30 -07:00
Dianne Hackborn
abe0da0a79 Policy changes for lock screen on live wallpaper.
Change-Id: Ib875ef839b7727194461b13684b77bf38ad3c52e
2009-09-18 09:27:35 -07:00
Karl Rosaen
871be31f54 Show a message about silent mode being toggled after user rotates widget to left.
This is based on feedback that users had a hard time knowing what happened
when they toggle silent mode using the lock screen.
2009-09-17 17:54:06 -07:00
Mike Lockwood
016e39780b Revert "Don't activate keyguard if screen is turned off while proximity sensor is active."
This reverts commit 4daf9485eca9bab9591bef83dd117cbde1e8beec.
2009-09-17 11:57:36 -04:00
Karl Rosaen
cfe3e90b30 Minor tweaks to address code review. 2009-09-17 03:46:54 -07:00
Karl Rosaen
bf019065f0 First pass at pattern lock screen that includes date / time and carrier info (andoid.policy portion)
- code to update carrier / date and time
2009-09-17 03:00:15 -07:00
Mike Lockwood
2d1efbde2f Allow specifying separate orientation rotations for car and desk dock.
Change-Id: Ic6762d6f2882420bd7d5a13d36057599d51dfc66
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-09-16 12:15:53 -04:00
Dianne Hackborn
2862fff6c2 Update policy for hiding navigation keys, configuration.
Change-Id: Ieeb523cdc05316d34501872d684531142132b402
2009-09-15 22:56:29 -07:00
Android (Google) Code Review
c8764fc7e7 Merge change 24116 into eclair
* changes:
  Add rotary based lock screen, and only show security pattern screen when pattern is set.
2009-09-15 23:18:07 -04:00
Karl Rosaen
d322c437fe Add rotary based lock screen, and only show security pattern screen when pattern is set.
When a pattern is enabled, there is no informational lock screen, just the pattern
screen.  Eventually we will get a new layout that manages to show the relevent information
(date / time / charging info / alarm) on the pattern screen.

Also: I noticed that when there is no backup option available, we still showed
the "forgot pattern?" button, which would do nothing.  I fixed that; we
no longer show the "forgot pattern" button if there is no account unlock
option available.

a
2009-09-15 20:15:58 -07:00