5502 Commits

Author SHA1 Message Date
Adam Lesinski
6c906dc52d Merge "Fix SystemUI crash on devices with WiFi only" into klp-dev 2013-10-10 23:03:54 +00:00
Adam Lesinski
c08ae4432c Fix SystemUI crash on devices with WiFi only
A recent change to QuickSettings forgot to
check whether the device has a radio or not.

Change-Id: I0b89634b290e82a1702de7b2f539cef3efa6d246
2013-10-10 15:49:57 -07:00
David Christie
000bffabb8 Merge "New icons that eliminate location "crosshair" -b/8142654" into klp-dev 2013-10-10 22:29:45 +00:00
Daniel Sandler
9dc7e12c67 Merge "Properly size KG camera animation for translucent bars." into klp-dev 2013-10-10 20:40:28 +00:00
John Spurlock
d9b95382c7 Merge "Update navigation bar gradient." into klp-dev 2013-10-10 20:33:09 +00:00
John Spurlock
80d7fc50d7 Update navigation bar gradient.
Bug:10967264
Change-Id: I6a057fb0895ab46bddb4082d49c8b53b329f0c73
2013-10-10 16:28:34 -04:00
Jim Miller
10d196d32f Merge "Keyguard customization for mcc262-mnc07" into klp-dev 2013-10-10 20:28:01 +00:00
Daniel Sandler
26b7bf6e3c Properly size KG camera animation for translucent bars.
The KGHV now plumbs insets information down into the camera
so that it can leave space for the navigation bar if the KG
window happens to extend underneath it. The camera widget
preview must therefore be rendered to fit the size of the
smaller inset content area, which means there's now a hole
at the bottom; we fill this bottom area during animation
with a fake navigation bar: a black view occupying the area
underneath the real navbar.

Bug: 11048015
Change-Id: Ia23b62e155686ad9f17a25ccc14f6c97b53dafea
2013-10-10 16:18:28 -04:00
Adam Lesinski
97fee81867 Merge "Reinflate QSB RSSI Tile on config change" into klp-dev 2013-10-10 19:54:42 +00:00
Adam Lesinski
828e4c49a0 Reinflate QSB RSSI Tile on config change
Resources that change based on MCC or MNC will now
show on the RSSI tile in Quick Settings.

bug:10518893
Change-Id: I55a77f967d2630b5c1aa17382069a15f37745405
2013-10-10 12:25:53 -07:00
Chris Craik
e64d6a4e33 Merge "Remove unused time tile and resources" into klp-dev 2013-10-10 17:37:22 +00:00
Svetoslav
6f71ed5b58 Merge "Sometimes the print button not enabled and an accessibility fix." into klp-dev 2013-10-10 17:11:21 +00:00
Svetoslav Ganov
0ea16e9e76 Merge "Coalescing multiple print job notifications." into klp-dev 2013-10-10 17:10:59 +00:00
Chet Haase
94ba89763e Merge "NotificationPanel now shows correct date" into klp-dev 2013-10-10 16:25:56 +00:00
Chet Haase
9f5664b876 NotificationPanel now shows correct date
There was a problem with a cached instance of a Date object such that it
would retain information about the default TimeZone that was not updated
when the TimeZone was set to the correct value. This resulted in NotificationPanel
sometimes showing the wrong date, based on the time and the delta between
the local timezone and GMT.

The fix is to use an ACTION_TIMEZONE_CHANGED broadcast to recreate the cached
Date object appropriately.

Issue #10854196 Incorrect date showing in notification shade

Change-Id: Ibf883e1ff37f4d0aae6840fb19e43e7e9e45bcc2
2013-10-10 09:10:55 -07:00
Svetoslav
ebec46847d Sometimes the print button not enabled and an accessibility fix.
1. Sometimes the print button is not enabled after selecting a printer
   from the all printers activity. This was happening after a printer
   was selected, we had to do a layout due to changed print attributes
   (because of the new printer's capabilities), and the content did not
   change. In this case we did not call the updateUi function which
   enables the print button after layout is completed.

2. The accessibility code in the all printers activity was not checking
   whether accessibility is on and doing some unnecessary work - not sending
   events though but still. Further, the delayed runnable that was
   doing the accessibilty announcements was not removed when the activity
   was paused.

bug:10983508

Change-Id: Ib263116a3e21e4c75a25aa051cecbd9194417319
2013-10-10 07:33:02 +00:00
Svetoslav Ganov
a18661d592 Coalescing multiple print job notifications.
1. We used to show a single notificaiton for every print job but
   this is against th UX guidelines. Since we have to lead by
   example, this change adds coalescing of multiple notifications.

bug:11155212

2. Print job state callback in the PrintManager now correctly
   invoked on the main thread.

bug:10983508

Change-Id: I906e9e62198fa37cb4d2f71fce07ed475d61e1bd
2013-10-09 23:43:11 -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
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
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
d7c44ee6b6 Merge "deblue notification dividers" into klp-dev 2013-10-09 20:14:15 +00: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
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
888022cfd8 Merge "Fix default clock localization in keyguard." into klp-dev 2013-10-08 23:04:40 +00: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
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
David Christie
3334e9f522 New icons that eliminate location "crosshair"
-b/8142654

Change-Id: I8143aaa677ae0f95c896ac4c3cc66cab74e6e9d8
2013-10-08 14:22:06 -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
c23ee579ac Merge "Disable dragging the challenge area when there are no widgets" into klp-dev 2013-10-08 18:38:26 +00:00
Chris Craik
aa4ec54269 Remove unused time tile and resources
bug:10641374
Change-Id: I7f5d46588929d3906a77afafc1c2ec4f4e5ca2f5
2013-10-08 11:06:24 -07: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
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