6281 Commits

Author SHA1 Message Date
Craig Mautner
4e8a19c73a Remove overly tight constraint on drawn Keyguard.
The requirement that a window that is invisible will not be drawn is
incorrect. In particular the test fails before a surface has even been
added (mHasSurface == false) or shown (mPolicyVisibility == false).
This was causing the screen to turn on before Keyguard had been drawn
and exposing surfaces that would have normally remained hidden.

Also, don't pass null into KeyguardServiceDelegate.onShown() or we
will immediately turn the screen on before Keyguard is drawn.

Fixes bug 11062635.

Change-Id: I964c7ef186d0a94678020b9c27ca6b79e5433350
2013-10-08 21:32:37 -07:00
Jeff Sharkey
78b1370308 Grab Activity reference before leaving fragment.
When creating a new directory, we spawn an AsyncTask and finish the
fragment.  This change keeps an Activity reference to report the
result back to.

Bug: 11137561
Change-Id: Icfccc5e50e8f53a50dced589e1564d64457e0ed0
2013-10-08 17:11:49 -07:00
Jim Miller
94b9d0cb96 am eb9a619e: am 888022cf: Merge "Fix default clock localization in keyguard." into klp-dev
* commit 'eb9a619e151df96aa48d2a8250a332ee1ac93483':
  Fix default clock localization in keyguard.
2013-10-08 16:15:57 -07:00
Jim Miller
eb9a619e15 am 888022cf: Merge "Fix default clock localization in keyguard." into klp-dev
* commit '888022cfd81599e3cf32899f3453c9df44d850e6':
  Fix default clock localization in keyguard.
2013-10-08 16:09:37 -07:00
Jim Miller
888022cfd8 Merge "Fix default clock localization in keyguard." into klp-dev 2013-10-08 23:04:40 +00:00
Svetoslav
e039b0fe67 am e0ac69db: am ea7f975b: am dcd05b44: Merge "Fix a crash in the select printers activity." into klp-dev
* commit 'e0ac69db93991e80be866e54571cfe6c15d9dc4f':
  Fix a crash in the select printers activity.
2013-10-08 16:02:58 -07:00
Michael Jurka
d32437fd99 am c9456566: am 04a938cf: am c39bfa9f: Merge "Wallpaper cropper should inherit translucent theme" into klp-dev
* commit 'c9456566c879b82155018a8bdf0a72d3896b1d8f':
  Wallpaper cropper should inherit translucent theme
2013-10-08 16:02:51 -07:00
John Spurlock
8c65d2f179 am 08de4b32: am b772eb3c: am fe124594: Merge "Tweak status bar gradient." into klp-dev
* commit '08de4b3279d9c34707f6aef4f49588ebf7059e5c':
  Tweak status bar gradient.
2013-10-08 16:02:47 -07:00
Daniel Sandler
32bc10303c am 4be3db70: am f3a56199: am 40bacdf4: Merge "Don\'t wake users up with low battery sounds." into klp-dev
* commit '4be3db7018154406ab74e029482a7d82dbcd3a5a':
  Don't wake users up with low battery sounds.
2013-10-08 16:02:16 -07:00
Daniel Sandler
1eaac4559f am d78b94a9: am 59089be1: am cd85db33: Merge "Out with the sliders, in with the cog." into klp-dev
* commit 'd78b94a96bdbfe5b9742c50f221c2923fdd9be8e':
  Out with the sliders, in with the cog.
2013-10-08 16:02:13 -07:00
Dan Sandler
abdc01c6fb am bc16fdc0: am 0dfec173: Merge "Revert "Show no_sim icon when no SIM card is available."" into klp-dev
* commit 'bc16fdc0a1493e40dfb53e7a46cc7b5d9f363779':
  Revert "Show no_sim icon when no SIM card is available."
2013-10-08 15:41:56 -07:00
Dan Sandler
bc16fdc0a1 am 0dfec173: Merge "Revert "Show no_sim icon when no SIM card is available."" into klp-dev
* commit '0dfec173655173b6bcbefa40a4fa0d137ae13e31':
  Revert "Show no_sim icon when no SIM card is available."
2013-10-08 15:35:55 -07:00
Dan Sandler
0dfec17365 Merge "Revert "Show no_sim icon when no SIM card is available."" into klp-dev 2013-10-08 22:32:45 +00:00
Jim Miller
38ab277ad4 Fix default clock localization in keyguard.
Uses new DateFormat.getBestDateTimePattern() to get localized format
string.

Fixes bug 11120830

Change-Id: If49a95ac4f222da7d16523c99476c5895326d71e
2013-10-08 15:32:09 -07:00
Dan Sandler
99270a8972 Revert "Show no_sim icon when no SIM card is available."
It doesn't look good in the combo RSSI layout, and while we could make 
it look better by adding some padding (like the airplane icon), we haven't
had a no_sim icon since ICS and people are pretty much OK with it.

This reverts commit 2eeacc02a252607e7c2fd1a00c60d8aa567694cc.

Bug: 11127588
Change-Id: Ibefd6096171588fcab1e3c5174abda9758cc5f6d
2013-10-08 22:31:25 +00:00
Svetoslav
e0ac69db93 am ea7f975b: am dcd05b44: Merge "Fix a crash in the select printers activity." into klp-dev
* commit 'ea7f975b957e3361211e250abdc3e46d995001cf':
  Fix a crash in the select printers activity.
2013-10-08 14:35:16 -07:00
Svetoslav
ea7f975b95 am dcd05b44: Merge "Fix a crash in the select printers activity." into klp-dev
* commit 'dcd05b440d81ededd567a417a6e10a02ccdfa07b':
  Fix a crash in the select printers activity.
2013-10-08 14:32:19 -07:00
Michael Jurka
c9456566c8 am 04a938cf: am c39bfa9f: Merge "Wallpaper cropper should inherit translucent theme" into klp-dev
* commit '04a938cf330ccfbe4c3ce0d9bc63268b08c8467f':
  Wallpaper cropper should inherit translucent theme
2013-10-08 14:31:45 -07:00
John Spurlock
08de4b3279 am b772eb3c: am fe124594: Merge "Tweak status bar gradient." into klp-dev
* commit 'b772eb3c0381dbc2a2f235279c9d2680dcbdbe66':
  Tweak status bar gradient.
2013-10-08 14:31:42 -07:00
Michael Jurka
04a938cf33 am c39bfa9f: Merge "Wallpaper cropper should inherit translucent theme" into klp-dev
* commit 'c39bfa9f0eb16181bb1bb99721eea00af1145416':
  Wallpaper cropper should inherit translucent theme
2013-10-08 14:28:50 -07:00
John Spurlock
b772eb3c03 am fe124594: Merge "Tweak status bar gradient." into klp-dev
* commit 'fe124594d66d4cf7a960bdc97215c0f178444269':
  Tweak status bar gradient.
2013-10-08 14:28:44 -07:00
Svetoslav
dcd05b440d Merge "Fix a crash in the select printers activity." into klp-dev 2013-10-08 21:28:13 +00:00
Michael Jurka
c39bfa9f0e Merge "Wallpaper cropper should inherit translucent theme" into klp-dev 2013-10-08 21:27:14 +00:00
John Spurlock
fe124594d6 Merge "Tweak status bar gradient." into klp-dev 2013-10-08 21:25:11 +00:00
John Spurlock
02b1bdc28a Tweak status bar gradient.
Bug:10967264
Change-Id: I803420ba332934398b4878644e3a168bd99701ad
2013-10-08 17:22:56 -04:00
Daniel Sandler
4be3db7018 am f3a56199: am 40bacdf4: Merge "Don\'t wake users up with low battery sounds." into klp-dev
* commit 'f3a56199a526bb21f4196e35a355d8476e4604ce':
  Don't wake users up with low battery sounds.
2013-10-08 13:07:53 -07:00
Daniel Sandler
d78b94a96b am 59089be1: am cd85db33: Merge "Out with the sliders, in with the cog." into klp-dev
* commit '59089be16eb398647b46c40324ae32de4f7d8736':
  Out with the sliders, in with the cog.
2013-10-08 13:07:49 -07:00
Daniel Sandler
f3a56199a5 am 40bacdf4: Merge "Don\'t wake users up with low battery sounds." into klp-dev
* commit '40bacdf4843ac227b8a19cea47f4424138c8490f':
  Don't wake users up with low battery sounds.
2013-10-08 13:05:14 -07:00
Daniel Sandler
59089be16e am cd85db33: Merge "Out with the sliders, in with the cog." into klp-dev
* commit 'cd85db331dd319d63f57f7b4c942bc506606b5b0':
  Out with the sliders, in with the cog.
2013-10-08 13:05:11 -07:00
Daniel Sandler
40bacdf484 Merge "Don't wake users up with low battery sounds." into klp-dev 2013-10-08 20:03:06 +00:00
Daniel Sandler
cd85db331d Merge "Out with the sliders, in with the cog." into klp-dev 2013-10-08 20:02:49 +00:00
Michael Jurka
33c493e653 Wallpaper cropper should inherit translucent theme
Change-Id: Icd13130d6250759c71ef016f62d10d7359cf067e
2013-10-08 12:47:22 -07:00
Svetoslav
53e8a26d61 Fix a crash in the select printers activity.
When the search view is attached and detached we announce that
 for accessibility. The trouble is that if the activity is being
 torn down we are trying to access resources from a fragment that
 is detached and the qcrash occurs. This change does not try to
 access resources if the activity is finishing and also we do not
 load resource strings if accessibility is not enabled.

bug:11127814

Change-Id: I4a47a8ed3b6a13544cf17b4395560246a33f0e2d
2013-10-08 12:05:24 -07:00
Jim Miller
359f248480 am 674d7222: am d00284c3: am c23ee579: Merge "Disable dragging the challenge area when there are no widgets" into klp-dev
* commit '674d72220a586008c30329327713352f37d64b53':
  Disable dragging the challenge area when there are no widgets
2013-10-08 11:47:05 -07:00
Jim Miller
674d72220a am d00284c3: am c23ee579: Merge "Disable dragging the challenge area when there are no widgets" into klp-dev
* commit 'd00284c3affb40ed7245327e7ec7b08f13c1ba8f':
  Disable dragging the challenge area when there are no widgets
2013-10-08 11:43:14 -07:00
Jim Miller
d00284c3af am c23ee579: Merge "Disable dragging the challenge area when there are no widgets" into klp-dev
* commit 'c23ee579ac21f1f67a30d75e8ac7cbd49ba2fe7d':
  Disable dragging the challenge area when there are no widgets
2013-10-08 11:40:09 -07:00
Jim Miller
c23ee579ac Merge "Disable dragging the challenge area when there are no widgets" into klp-dev 2013-10-08 18:38:26 +00:00
Daniel Sandler
dea6462aab Don't wake users up with low battery sounds.
Battery sounds will always play when the screen is on, and
then for Settings.Global.LOW_BATTERY_SOUND_TIMEOUT
milliseconds after the screen goes off. After that, low
battery alerts will be pushed out the airlock until the
screen comes back on again.

If battery sounds are suppressed via this mechanism you'll
see a log line like:

	V/PowerUI ( 3161): screen off too long (5779ms, limit
	5000ms): not waking up the user with low battery sound

The default value of LOW_BATTERY_SOUND_TIMEOUT is a settings
provider resource: R.integer.def_low_battery_sound_timeout.

Bug: 10487557
Change-Id: Iddd42038aa630631dc8f1833f20fcc5a0c646681
2013-10-08 17:37:06 +00:00
Chris Craik
2b1ed49c48 am df947299: am 2b126b6c: am 46ec729a: Merge "Clean up unused resources" into klp-dev
* commit 'df9472996a73eba58fdb80448dfe6c15a8aeaba4':
  Clean up unused resources
2013-10-08 10:33:59 -07:00
Chris Craik
df9472996a am 2b126b6c: am 46ec729a: Merge "Clean up unused resources" into klp-dev
* commit '2b126b6c403d107974477654de223fa1ea8941fe':
  Clean up unused resources
2013-10-08 10:32:07 -07:00
Chris Craik
2b126b6c40 am 46ec729a: Merge "Clean up unused resources" into klp-dev
* commit '46ec729a88079d3878a95a57ab703e64638dfc1a':
  Clean up unused resources
2013-10-08 10:29:29 -07:00
Daniel Sandler
9f6ed15b7a Out with the sliders, in with the cog.
Bug: 11103061
Change-Id: I58895c426f76f81148e4b0b08115c85f40debf6a
2013-10-08 13:27:33 -04:00
Chris Craik
46ec729a88 Merge "Clean up unused resources" into klp-dev 2013-10-08 17:26:59 +00:00
Ari Sachter-Zeltzer
47c13844fe deblue notification dividers
Change-Id: I6530b7c777c1ef793033d2333f229e9e06f0db70
2013-10-08 09:54:37 -07:00
Svetoslav Ganov
70b7fd36f0 am bd91ecfa: am 84e95d19: am c2242aac: Merge "Show unavailable printers disabled and grayed out." into klp-dev
* commit 'bd91ecfa0de6e4833c0eb7fe3d2b8814eaa6eb80':
  Show unavailable printers disabled and grayed out.
2013-10-08 09:47:47 -07:00
Svetoslav Ganov
a9ac787e97 am 61b1e48a: am 06c74315: am 92f8648e: Merge "Make the print dialog floating." into klp-dev
* commit '61b1e48afc4cb6f9a6bd33baf0022084e496abff':
  Make the print dialog floating.
2013-10-08 09:44:14 -07:00
Svetoslav Ganov
bd91ecfa0d am 84e95d19: am c2242aac: Merge "Show unavailable printers disabled and grayed out." into klp-dev
* commit '84e95d19d2f97dc03b235076e3134541cf161676':
  Show unavailable printers disabled and grayed out.
2013-10-08 09:42:36 -07:00
Svetoslav Ganov
84e95d19d2 am c2242aac: Merge "Show unavailable printers disabled and grayed out." into klp-dev
* commit 'c2242aac0cd6c214422a1507dfd4b4673642cd98':
  Show unavailable printers disabled and grayed out.
2013-10-08 09:39:21 -07:00
Svetoslav Ganov
61b1e48afc am 06c74315: am 92f8648e: Merge "Make the print dialog floating." into klp-dev
* commit '06c74315e920f91feb9536d4aa25e1dc7fc0afa9':
  Make the print dialog floating.
2013-10-08 09:39:04 -07:00
Svetoslav Ganov
06c74315e9 am 92f8648e: Merge "Make the print dialog floating." into klp-dev
* commit '92f8648ebd5b569d489420badd1895df763085ae':
  Make the print dialog floating.
2013-10-08 09:35:45 -07:00