7233 Commits

Author SHA1 Message Date
John Spurlock
876e359b48 Merge "Make QS battery composite color match others." 2014-02-07 19:25:20 +00:00
Jim Miller
ba7d94b8f3 Fix problem where input wasn't being requested
This fixes a bug where input wasn't being enabled when the security
method changed.  The solution is to propagate changes back to the parent

Add missing copyright header to simplified keyguard view.

Bugs 12135931, 12879769

Change-Id: I0fc6cf8ef3b628c96a045797a5b9cdecd3a1007a
2014-02-06 16:13:42 -08:00
Jim Miller
5e612cf078 Add KeyguardSimpleHostView and make it the default
This adds a simplified KeyguardHostView that's intended to
be used as an overlay or dialog for asking the user's
credentials.

Bug 12135931

Change-Id: Iecede0715d671e88024e7bb77e7432cd1c7ec356
2014-02-06 16:13:42 -08:00
Jim Miller
3eb4971b67 Move launch, verification and menu logic to base class
- Add simplified KeyguardHostView
- Move common functions to KeyguardViewBase.java
- Create new KeyguardSimpleHostView class for simplified view
implementation.

Bug 12135931

Change-Id: I8d6b0a61c36a0c7ceb87da4da54b1dfbed0054ff
2014-02-06 16:13:41 -08:00
Adam Lesinski
9f97de1335 am a5a93f55: am 7f416631: Merge "Check feature bits before loading optional services" into klp-modular-dev
* commit 'a5a93f559d337ad5b79716b05ea43707eb779dc8':
  Check feature bits before loading optional services
2014-02-06 20:25:51 +00:00
John Spurlock
0e29ad02f9 Merge "Global system setting to override certain window policy." 2014-02-06 00:53:42 +00:00
John Spurlock
c6d1c60fb1 Global system setting to override certain window policy.
Specifically, the ability to force immersive-mode-like behavior
on the status bar, the navigation bar (or both) on a
package-by-package basis - and to disable immersive mode
confirmations for specific packages.

Change-Id: I2df7092a91eceeb815367ef917dd7289f4f2b27e
2014-02-05 16:45:23 -05:00
John Spurlock
6c1b8c1412 Merge "Remove need for software layer drawing percentage text." 2014-02-05 20:03:18 +00:00
Adam Lesinski
898c13df7b Check feature bits before loading optional services
At startup, we check with PackageManager whether a system service is
available before attempting to load it. A system service is available
if its associated feature (similar to hardware features) is present.
This does not remove unavailable services from the compiled jar.

Change-Id: I13571805083aa4e65519a74acb52efd17b9fb3d7
2014-02-05 19:26:40 +00:00
Geoff Mendal
d397deeef0 Import translations. DO NOT MERGE
Change-Id: I388073346d1d4990f09c557f2d1a2bea49cee99d
Auto-generated-cl: translation import
2014-02-05 10:57:18 -08:00
John Spurlock
1fd0b933b8 Remove need for software layer drawing percentage text.
When the text is transparent, use the same approach as the bolt
to punch it through the rest of the shape - by first rendering the
text into a path.

When the text is opaque, draw the text on top as before.

Change-Id: I50f201b1bf0f92164728e3237ec45e22eb788d52
2014-02-05 11:56:17 -05:00
John Spurlock
29786fc72d Make QS battery composite color match others.
Change-Id: I2a906cd997d2372f5740532a159f04ad857d393d
2014-02-04 17:55:47 -05:00
Dan Sandler
156e97fffa Redact public version of screenshot notifications.
It's OK to reveal that a screenshot has been taken, but the public
version of this notification no longer shows the actual screenshot
image itself (in case it was taken before the device was locked
and therefore might contain sensitive information).

Change-Id: I5ba0b64023810ece0cea56ba457968fbde4b0cbe
2014-01-30 13:23:14 -05:00
Dan Sandler
a5e0f415d3 SystemUI support for notification visibility.
In this implementation, DISABLE_NOTIFICATION_TICKER (which was never
really used on its own and can be safely subsumed by
DISABLE_NOTIFICATION_ICONS) is now DISABLE_PRIVATE_NOTIFICATIONS;
when this SystemUI bit is set by the keyguard, SystemUI knows to switch
its presentation into "public" mode, in which
VISIBILITY_PRIVATE notifications are replaced with their
publicVersion's contentView (or a placeholder view,
synthesized by SystemUI, that leaks no additional
information about the notification). VISIBILITY_SECRET
notifications are suppressed altogether in this mode.

This behavior is enabled but not activated by default. To
turn it on, run:

  $ adb shell settings put secure lock_screen_allow_notifications 1

and restart SystemUI.

Change-Id: Id660bef7737580e16a83f60567c22b53ee81c602
2014-01-30 13:23:14 -05:00
Baligh Uddin
d966de98e7 Merge "Import translations. DO NOT MERGE" 2014-01-30 16:43:31 +00:00
Baligh Uddin
ced263e41d Merge "Import translations. DO NOT MERGE" 2014-01-30 16:43:25 +00:00
Michael Jurka
2ac4f3b225 Merge "Don't set suggested wallpaper dimensions in default wallpaper cropper" 2014-01-30 14:34:56 +00:00
Baligh Uddin
3f0d0f7865 Import translations. DO NOT MERGE
Change-Id: I618528f0600b0db1b94e6519e2ade0be411f7859
Auto-generated-cl: translation import
2014-01-29 09:55:35 -08:00
Baligh Uddin
906b31986e Import translations. DO NOT MERGE
Change-Id: I7df04f98f87ec79edd4ad1d950d9fcee0b42fc8b
Auto-generated-cl: translation import
2014-01-29 09:22:40 -08:00
John Spurlock
77b17f335d am 2ad24e74: am 15c09e1e: am 0dbcd7d9: am 2d35ba4d: am d12f4eb8: Merge "[Navigation bar] Allow "right to left" gesture to launch search panel"
* commit '2ad24e74f5ea206d737bad4253f33504a542eaba':
  [Navigation bar] Allow "right to left" gesture to launch search panel
2014-01-29 15:52:15 +00:00
John Spurlock
0dbcd7d99f am 2d35ba4d: am d12f4eb8: Merge "[Navigation bar] Allow "right to left" gesture to launch search panel"
* commit '2d35ba4d4a43036706638ca0e96e5e1a9904d2af':
  [Navigation bar] Allow "right to left" gesture to launch search panel
2014-01-29 15:42:34 +00:00
John Spurlock
d12f4eb8cb Merge "[Navigation bar] Allow "right to left" gesture to launch search panel" 2014-01-29 15:36:40 +00:00
Evan Charlton
33da8dde5f Merge "Allow for a configurable WiFi restore bounce delay" 2014-01-29 14:58:29 +00:00
Michael Jurka
01f7cc17c8 Don't set suggested wallpaper dimensions in default wallpaper cropper
suggestWallpaperDimensions is deprecated/ignored now anyway

Bug: 12118434
2014-01-29 15:04:59 +01:00
fisherson_lin
10e71e014a [Navigation bar] Allow "right to left" gesture to launch search panel
Symptom: "Bottom to up" gesture can launch search panel in portrait, but "right to left" gesture CANNOT in landscape.
Root Cause: Not handled.
Solution: Set swapXY to handle this in landscape case.

Change-Id: I1793280b3656af6912e6b4583b08e80a0a38e44a
2014-01-29 13:10:41 +08:00
Jim Miller
5a8daad469 Clean up KeyguardSecurityCallback documentation and add copyright header.
Bug 12135931

Change-Id: I9f2e20fb4c1a2cb6a9fb49f4b6939fd7687ef262
2014-01-28 15:23:24 -08:00
Jim Miller
7751ff6cd0 Move majority of security-related logic from KeyguardHostView
to KeyguardSecurityContainer.

This removes and/or simplifies the interface between modules to
allow easier separation of KeyguardSecurityContainer into a stand-alone
component.

Bug 12135931
2014-01-27 15:21:39 -08:00
Baligh Uddin
56514012ae Import translations. DO NOT MERGE
Change-Id: I618c8c1324451a2a2b82457fea8e01b3b9e1a141
Auto-generated-cl: translation import
2014-01-27 09:56:24 -08:00
Wink Saville
5197d0740c am dafb2420: am d4b688cf: am d165f365: am 5d2d911a: am d1eeb674: Merge "Telephony: Modify code to check that PUK code length is always 8."
* commit 'dafb2420a34a5b39aca6ddf993e86778edd76b5d':
  Telephony: Modify code to check that PUK code length is always 8.
2014-01-26 16:58:24 +00:00
Wink Saville
d165f365b3 am 5d2d911a: am d1eeb674: Merge "Telephony: Modify code to check that PUK code length is always 8."
* commit '5d2d911ad1f69392cf2a56237ce7ad3bb9e78ffa':
  Telephony: Modify code to check that PUK code length is always 8.
2014-01-26 08:49:09 -08:00
Wink Saville
d1eeb67478 Merge "Telephony: Modify code to check that PUK code length is always 8." 2014-01-25 21:51:34 +00:00
Baligh Uddin
ae39968fae Import translations. DO NOT MERGE
Change-Id: Ie068d31c1845ef03118ea7c45e04f729ec3a12df
Auto-generated-cl: translation import
2014-01-23 08:04:07 -08:00
Christopher Tate
91beb94c65 resolved conflicts for merge of a5bb65aa to master
Change-Id: Ib286d5194f68c55cfd2e5c17a5eb89ea32add574
2014-01-22 19:02:04 -08:00
Christopher Tate
8bc01824b9 am 094efb3f: am 407f74f4: Merge "Set Settings.Global.WIFI_SCAN_ALWAYS_AVAILABLE default value"
* commit '094efb3f5350b3ce95dcc790bc237c5caa901a20':
  Set Settings.Global.WIFI_SCAN_ALWAYS_AVAILABLE default value
2014-01-22 17:47:04 -08:00
Selim Cinek
fed65a6b4a Merge "Fixed issue on Keyguard camera icon, where dragging on it did not properly trigger abortion of the camera animation." 2014-01-16 23:00:49 +00:00
Selim Cinek
ed88cee15b Fixed issue on Keyguard camera icon, where dragging on it
did not properly trigger abortion of the camera animation.

Also minorly simplified the touch slop calculation

BUG: 12036618
Change-Id: If01b48c815200066b32a37ffc44949edde1376f9
2014-01-16 11:03:20 -08:00
John Spurlock
dd8877bced Merge "Tear down bars on destroy() and avoid null pointers." 2014-01-15 21:00:16 +00:00
John Spurlock
ab847cf16d Tear down bars on destroy() and avoid null pointers.
Change-Id: Ie393689bbf2f0b28895bfde5098c883b5d4ea4a6
2014-01-15 14:18:43 -05:00
Geoff Mendal
282bcdd834 Import translations. DO NOT MERGE
Change-Id: I0116e137efa21bd9e8e3ba65fa05c7d84afb9e2c
Auto-generated-cl: translation import
2014-01-15 10:12:52 -08:00
Evan Charlton
cc7b04353f Allow for a configurable WiFi restore bounce delay
Allow the post-restore WiFi bounce delay to be configured (for
example, allow it to be set to zero).

Bug: 9621727

Change-Id: I0b388aadbe3b45eeb4aa00bbe0e6d86f21731449
2014-01-15 07:49:51 -08:00
Michael Jurka
cae6b43b03 Merge "Centering the crop by default in system wallpaper cropper" 2014-01-15 12:52:08 +00:00
Adrian Roos
d8ea484e2c Make brightness panel behave like volume panel.
Moves the brightness panel to the same spot as the volume panel. To avoid a conflict with the volume panel, brightness is dismissed when the volume keys are pressed.

Bug: 7217009
Bug: 7217154
Change-Id: Ib8331a1e390cbedca40fa237243ea2cfd088e521
2014-01-14 16:12:33 -08:00
John Spurlock
4a5eb8fe18 Merge "Add demo-mode command to hide notification icons." 2014-01-14 21:29:57 +00:00
John Spurlock
7f42fc5007 Add demo-mode command to hide notification icons.
Bug:11285517
Change-Id: I341feadbf164afd34fef192a541f14a2ff67e8e2
2014-01-14 16:20:39 -05:00
John Spurlock
fd0e6c0d6f Allow lights-out + bar icon dimming on low-end devices.
Maintain fallback to OPAQUE mode on low-end devices in place of the
translucent modes.

Bug: 12546110
Change-Id: Ia3582c305cb09aadd56c6aa58b039a174675c79a
2014-01-14 14:51:23 -05:00
Michael Jurka
2ab14daeba Centering the crop by default in system wallpaper cropper
Bug: 12034934

Change-Id: Ice1b1140bd6e351dd4e520f555f245d84a645aac
2014-01-14 15:11:37 +01:00
Michael Jurka
35f922d1d0 Update system wallpaper cropper with latest changes from Launcher3 cropper 2014-01-14 14:10:32 +01:00
Oskar Grönqvist
2c4254e476 Set Settings.Global.WIFI_SCAN_ALWAYS_AVAILABLE default value
To be able to customize the "WiFi scan always available"
setting we need to set a default value.

Change-Id: I3673f2613ab9b6a947aed7e29d4cc876140c2180
2014-01-14 17:57:21 +09:00
John Spurlock
28f7dbec4f Merge "Remove only com.google reference from SystemUI." 2014-01-13 21:41:07 +00:00
Geoff Mendal
17fc100ea1 Merge "Import translations. DO NOT MERGE" 2014-01-13 20:37:13 +00:00