5520 Commits

Author SHA1 Message Date
Jim Miller
3f543cd02b am c4d1763e: Merge "Fix touch accessibility in keyguard." into klp-dev
* commit 'c4d1763e68a549d93636e28d67ddeb2eaa315217':
  Fix touch accessibility in keyguard.
2013-10-09 16:54:50 -07:00
Jim Miller
7de6672943 am 12677272: Merge "Have SearchPanel fade camera and search buttons when activated" into klp-dev
* commit '1267727241c941af42faf19bfc1e21034112e0da':
  Have SearchPanel fade camera and search buttons when activated
2013-10-09 16:51:20 -07:00
Jim Miller
c4d1763e68 Merge "Fix touch accessibility in keyguard." into klp-dev 2013-10-09 23:50:19 +00:00
Jim Miller
1267727241 Merge "Have SearchPanel fade camera and search buttons when activated" into klp-dev 2013-10-09 23:49:12 +00:00
Jim Miller
ad178a43ba Have SearchPanel fade camera and search buttons when activated
Bug 10991981

Change-Id: Iabc497ce992b675bff1df634add755e67a7fb794
2013-10-09 16:29:24 -07:00
Jim Miller
7d8abaeb7d Fix touch accessibility in keyguard.
This changes the accessibility code to monitor state changes
and replace the touch listeners with click listeners when
touch exploration is enabled.

It also fixes a bug where the first touch on the camera was being
ignored by ensuring KeyguardTouchDelegate has started the service
by the time the button is touched.

Bug 10991981

Change-Id: I7c4bf01f9bfa10f54cadb0809b6af526c5386af5
2013-10-09 16:10:27 -07:00
John Spurlock
d3758420a2 am 65e91126: Merge "Allow IMEs to extend below nav bar, remove SystemUI veto." into klp-dev
* commit '65e911261d972758577f76cf41c6c0c532896fe1':
  Allow IMEs to extend below nav bar, remove SystemUI veto.
2013-10-09 15:06:29 -07:00
John Spurlock
65e911261d Merge "Allow IMEs to extend below nav bar, remove SystemUI veto." into klp-dev 2013-10-09 21:57:01 +00:00
Jeff Sharkey
d0da14a92f am aa841672: Merge "Support overriding calling package in Documents." into klp-dev
* commit 'aa8416723a19863071d500507943c06bf91483ea':
  Support overriding calling package in Documents.
2013-10-09 14:01:14 -07:00
Jeff Sharkey
4df901a40c am 7cd3e905: Merge "Drop <meta-data> support for DocumentsProviders." into klp-dev
* commit '7cd3e905de4210c76efdc20a854ac8b959775b61':
  Drop <meta-data> support for DocumentsProviders.
2013-10-09 14:01:11 -07:00
Jeff Sharkey
aa8416723a Merge "Support overriding calling package in Documents." into klp-dev 2013-10-09 20:56:26 +00:00
Jeff Sharkey
7cd3e905de Merge "Drop <meta-data> support for DocumentsProviders." into klp-dev 2013-10-09 20:56:12 +00:00
Jeff Sharkey
15be83612c Support overriding calling package in Documents.
Calling package is only used to pick the stack to restore, not for
security purposes.  This lets other system tools (like Printing)
indicate the real caller.

Bug: 11149540
Change-Id: I155e32577eaeda7dfcb80a7d84ac3b54f281590a
2013-10-09 13:52:26 -07:00
Jeff Sharkey
d2e1e810a7 Drop <meta-data> support for DocumentsProviders.
Prebuilts have finished migrating to new <intent-filter> based
approach.  Also update isDocumentUri() to match new definition.

Bug: 11109484
Change-Id: Ib95e2c3f5a9ff70b8d5e411f68ad49d1990dae8c
2013-10-09 13:31:13 -07:00
John Spurlock
c68d577f29 Allow IMEs to extend below nav bar, remove SystemUI veto.
Layout IMEs below the nav bar, offset by bottom padding and
associated guard rectangle with a black background to ensure
they do not appear as islands during transitions.

This makes it safe to remove the SystemUI forced opaque transition
when showing an IME, making the overall transition less expensive,
quicker and smoother overall.

Bug:11058746
Change-Id: I460912ee7c117480c57b947ed31eca330819f32c
2013-10-09 16:23:15 -04:00
Mindy DelliCarpini
e0221f02ac am d7c44ee6: Merge "deblue notification dividers" into klp-dev
* commit 'd7c44ee6b676d1c80fa6ad3763d718f8f2ff1554':
  deblue notification dividers
2013-10-09 13:16:09 -07:00
Mindy DelliCarpini
d7c44ee6b6 Merge "deblue notification dividers" into klp-dev 2013-10-09 20:14:15 +00:00
Craig Mautner
af47d751b3 am e8a057a9: Merge "Remove overly tight constraint on drawn Keyguard." into klp-dev
* commit 'e8a057a9aea661a9398ddaa3161e7ea6ab6675b8':
  Remove overly tight constraint on drawn Keyguard.
2013-10-09 12:12:14 -07:00
Craig Mautner
e8a057a9ae Merge "Remove overly tight constraint on drawn Keyguard." into klp-dev 2013-10-09 19:10:45 +00:00
Jeff Sharkey
6359585916 am e6d419de: Merge "Grab Activity reference before leaving fragment." into klp-dev
* commit 'e6d419de77344300e342c8a0f6c013afeec87a72':
  Grab Activity reference before leaving fragment.
2013-10-09 00:28:03 -07:00
Jeff Sharkey
e6d419de77 Merge "Grab Activity reference before leaving fragment." into klp-dev 2013-10-09 07:26:11 +00:00
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
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
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
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
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
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
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
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
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