5023 Commits

Author SHA1 Message Date
Baligh Uddin
453df32b1b Import translations. DO NOT MERGE
Change-Id: I3ac72382fe871e8259decec6f202119bf9519972
Auto-generated-cl: translation import
2013-07-01 07:35:00 -07:00
Jim Miller
cf182aac94 Minor cleanup of KeyguardViewManager
Removed unused code and redundant check for high-end graphics.

Change-Id: I750d3918e5448760e622a4b3d1781b375bdc66db
2013-06-28 16:55:56 -07:00
Amith Yamasani
7f50ef7dda am 3f0decd7: am 16a2268f: am e6304a9c: Merge "When a new user AID is generated, dump it to dropbox" into jb-mr2-dev
* commit '3f0decd7dff8b4c12544c24b2d19a41d4eaacd03':
  When a new user AID is generated, dump it to dropbox
2013-06-28 10:48:54 -07:00
Amith Yamasani
3f0decd7df am 16a2268f: am e6304a9c: Merge "When a new user AID is generated, dump it to dropbox" into jb-mr2-dev
* commit '16a2268f8091e1b27cb1b1343d992c7509a2506e':
  When a new user AID is generated, dump it to dropbox
2013-06-28 10:14:30 -07:00
Amith Yamasani
5cdf7f5b2a When a new user AID is generated, dump it to dropbox
Bug: 9595851
Change-Id: I6fde757eed84d7914db180e80c9d68448b3e5780
2013-06-28 09:58:43 -07:00
Jim Miller
e51cf7aeb6 Simplify wake management code in keyguard.
Removes onWakeKey/Motion handling from keyguard since it's no longer used.
The legacy code was originally intended to have keyguard filter wake events
which is now done in PhoneWindowManager. Ultimately it just needs to call
PowerManager.wakeUp() since keyguard no longer filters these keys.

Change-Id: I5b8ef9b422abf850a85b57f21944e5eb09fbedc2
2013-06-27 15:58:29 -07:00
John Spurlock
4db614dbed Add sanity check inside ServiceMonitor's setting observer.
When registering for a specific setting key uri, the observer
can also be called back for "parent uri" updates.  e.g.
adb shell content update --uri content://settings/secure will
trigger onChange with uri=content://settings/secure.

Add a quick setting value recheck, and avoid restarting if
the setting value change will have no impact.

Bug: 9595731
Change-Id: I4c71f6a4be3b655b31d2535e809bb42edd931cd6
2013-06-27 10:21:39 -04:00
John Spurlock
95e6aea367 Merge "Remove unused services module dependency from sysui." 2013-06-25 19:47:21 +00:00
John Spurlock
5845b80190 Merge "Decouple storage notification from status bar." 2013-06-25 19:46:46 +00:00
Baligh Uddin
6bbe11a24e Merge "Import translations. DO NOT MERGE" 2013-06-25 19:32:02 +00:00
Baligh Uddin
5c81f80f8c Merge "Import translations. DO NOT MERGE" 2013-06-25 19:29:48 +00:00
John Spurlock
f7abb08794 Remove unused services module dependency from sysui.
Change-Id: I9ac1040bece7755478d57c44f48b1e31bff6bf57
2013-06-25 15:09:36 -04:00
John Spurlock
3e309b2edc Decouple storage notification from status bar.
Hoist the usb storage notification listener to a top-level
system ui service, not dependent on a status bar implementation.

Change-Id: Ic9e7fba1e5bfd758d72226f6d796c2f04f6b17e6
2013-06-25 11:12:41 -04:00
John Spurlock
bf991a8f42 Move battery stats call from SystemUI to system server.
The UPDATE_DEVICE_STATS permission is no longer required in sysui.

Change-Id: Icc3120b7873563e3727e56bed9f3b4767da0606d
2013-06-25 10:21:11 -04:00
Baligh Uddin
23265b193a Import translations. DO NOT MERGE
Change-Id: I7533d17db79b24818bb5870f2b6839ab233e110c
Auto-generated-cl: translation import
2013-06-24 17:20:56 -07:00
Baligh Uddin
8060677ba8 Import translations. DO NOT MERGE
Change-Id: I5612800c2b9deb0a0e653b86478bedfe45b729dd
Auto-generated-cl: translation import
2013-06-24 16:54:37 -07:00
John Spurlock
3f43c4e642 Merge "Decouple recents from status bar." 2013-06-24 20:43:22 +00:00
John Spurlock
a9d5f6c7c9 Merge "Remove obsolete recents layout params." 2013-06-24 20:41:07 +00:00
John Spurlock
d08de37a22 Decouple recents from status bar.
Remove remaining references to recents package from status bar.

Introduce in-process "components" to the existing SystemUI base class
to make component boundaries explicit, and implement Recents as the
first component.

Change-Id: Ieefd386379a1f46806b31f68a4cacd76c093aea4
2013-06-24 14:30:12 -04:00
Svetoslav
fd90651cfc Print APIs documentation update
Change-Id: I0df438e45ef540cc42c9ee5baafc816ebafa1c7b
2013-06-24 09:05:38 -07:00
John Spurlock
20f573c9fc Remove obsolete recents layout params.
Change-Id: I20d12a63f4449ba73911cbe219446f3d1cd089e9
2013-06-24 11:32:48 -04:00
Svetoslav Ganov
4b9a4d1687 Print - platform APIs
Related changes:
    Skia (inlcude PDF APIs): https://googleplex-android-review.googlesource.com/#/c/305814/
    Canvas to PDF: https://googleplex-android-review.googlesource.com/#/c/319367/
    Settings (initial version): https://googleplex-android-review.googlesource.com/#/c/306077/
    Build: https://googleplex-android-review.googlesource.com/#/c/292437/
    Sample print services: https://googleplex-android-review.googlesource.com/#/c/281785/

Change-Id: I104d12efd12577f05c7b9b2a5e5e49125c0f09da
2013-06-21 18:43:17 -07:00
Jim Miller
6b6bdc5923 Merge "Fix alpha animation bug in keyguard" 2013-06-21 23:29:29 +00:00
John Spurlock
e539ee865f Merge "Introduce SystemUI-managed alternative system bars." 2013-06-21 21:34:38 +00:00
John Spurlock
5c4541246c Introduce SystemUI-managed alternative system bars.
If a service component is defined in a new secure setting,
SystemUI will attempt to use that service as the status bar
provider.

Falls back to the existing in-process implementation configured
in the product config if the setting is missing or invalid.

Nothing changes yet from a permission point of view.  Alternative
system bar implementations still require the status bar permission.

Also nothing changes from an api point of view.  Alternative
system bar implementations use the existing IStatusBar interface.

This simply enables testing alternative system bar implementations
installed from other trusted, platform-signed packages.

Known caveat: the setting is stored per user, multi-user changes
will be handled in a future CL.

Change-Id: I0413df185f7e75f77ad2ae1bc3689306d5e6e0fb
2013-06-21 17:31:25 -04:00
Wink Saville
44bd61efbf am f77a7877: am d446dd75: am 446792ba: Merge "The config_show4GForLTe is dynamic use latest value." into jb-mr2-dev
* commit 'f77a7877cd5e6850b52c2b9beae714b22352b4a0':
  The config_show4GForLTe is dynamic use latest value.
2013-06-21 08:53:58 -07:00
Wink Saville
f77a7877cd am d446dd75: am 446792ba: Merge "The config_show4GForLTe is dynamic use latest value." into jb-mr2-dev
* commit 'd446dd756081ec75693fc538e3460c9a2c758fe4':
  The config_show4GForLTe is dynamic use latest value.
2013-06-21 08:52:07 -07:00
Jim Miller
e42d4111c1 Fix alpha animation bug in keyguard
The setters/getters were being stripped by proguard, resulting
in janky transitions in keyguard alpha animations.

Change-Id: Ifd4574d9b64eb2b038acac41bfc8418745ee12a2
2013-06-20 18:41:07 -07:00
Wink Saville
c06462c1ad The config_show4GForLTe is dynamic use latest value.
Previously this was updated only at construction time,
but the value isn't even set at that time and can change
at anytime. So instead read the current value when needed.

Bug: 9513380
Change-Id: I50c676beadf5df8190897a9f6ab94c098e8d7e71
2013-06-20 18:15:20 -07:00
Wink Saville
1f54f9246e am 42a6682e: am a5dc5846: am cc892d68: Merge "Change default for config_show4GForLte to true." into jb-mr2-dev
* commit '42a6682ec62b4470f2c783c015d95fdc6f64610b':
  Change default for config_show4GForLte to true.
2013-06-19 10:17:03 -07:00
Wink Saville
42a6682ec6 am a5dc5846: am cc892d68: Merge "Change default for config_show4GForLte to true." into jb-mr2-dev
* commit 'a5dc5846502c13edd74ffd677d11e250b88ec17a':
  Change default for config_show4GForLte to true.
2013-06-19 10:14:25 -07:00
Baligh Uddin
04c6aa9289 Merge "Import translations. DO NOT MERGE" 2013-06-19 16:45:27 +00:00
Jim Miller
9512953c66 Move Keyguard to the systemui process.
This should save some memory on devices with limited amounts of RAM
by allowing it to share the graphics context with systemui.

Initially, adding this to the systemui process triggered a bug where
the shared process id didn't exist in the table yet. The change to
ActiveServices tries to work around this by explicitly adding the package in
attachApplicationLocked().

Change-Id: I9e97d5d69ddd15d7f16aca83a57bdf381811a13b
2013-06-18 15:28:28 -07:00
Wink Saville
65a90d0709 Change default for config_show4GForLte to true.
Bug: 9265217
Change-Id: I962910de7826ce9825de2d2dfb9e50b84d0e7c75
2013-06-18 14:47:14 -07:00
Christopher Tate
ccbf84f44c Some system apps are more system than others
"signatureOrSystem" permissions are no longer available to all apps
residing en the /system partition.  Instead, there is a new /system/priv-app
directory, and only apps whose APKs are in that directory are allowed
to use signatureOrSystem permissions without sharing the platform cert.
This will reduce the surface area for possible exploits of system-
bundled applications to try to gain access to permission-guarded
operations.

The ApplicationInfo.FLAG_SYSTEM flag continues to mean what it is
says in the documentation: it indicates that the application apk was
bundled on the /system partition.  A new hidden flag FLAG_PRIVILEGED
has been introduced that reflects the actual right to access these
permissions.

At some point the "system" permission category will be
renamed to "privileged".

Bug 8765951

Change-Id: I6f0fd9cdb9170e076dfc66d83ecea76f8dd7335d
2013-06-17 12:47:35 -07:00
Baligh Uddin
b052b9139a Import translations. DO NOT MERGE
Change-Id: I070b09bc5d8bac8f0d5b36da87fe97cc205c0de2
Auto-generated-cl: translation import
2013-06-17 07:29:56 -07:00
John Spurlock
72b29c3abb Merge "More hideytoast stabilization." 2013-06-16 15:36:37 +00:00
Baligh Uddin
bdb795bab1 am 2f9807b8: Import translations. DO NOT MERGE
* commit '2f9807b8d71fdc1a2336c22e89148325281b684e':
  Import translations. DO NOT MERGE
2013-06-15 19:20:22 -07:00
Baligh Uddin
3db7115886 Merge "Import translations. DO NOT MERGE" 2013-06-16 02:17:36 +00:00
John Spurlock
743356ad1a More hideytoast stabilization.
Back to Gravity.TOP workaround to keep the hideybar confirmation
toast stable during navbar enter/exit animation.

Reverts part of Ifa380e387389ed9917336ad19dfde49f67a5fb10

Change-Id: I1e2e54851f2030603d43df611a616101f19bdab3
2013-06-15 11:58:08 -04:00
John Spurlock
de44c828b5 Merge "Remove more unused statusbar.policy items." 2013-06-15 13:03:46 +00:00
John Spurlock
0f6006405d Merge "Remove unused TrackingPatternView." 2013-06-15 13:02:40 +00:00
John Spurlock
5da2651914 Merge "Remove unused CloseDragHandle." 2013-06-15 13:01:44 +00:00
John Spurlock
f5793328b3 Merge "Remove unused CarrierLabel." 2013-06-15 13:00:45 +00:00
John Spurlock
d4f2ba9d62 Merge "Remove unused VolumeController." 2013-06-15 13:00:07 +00:00
John Spurlock
3105a9c3f9 Merge "Remove unused FixedSizeDrawable." 2013-06-15 12:59:04 +00:00
John Spurlock
0f646eb120 Merge "Remove unused EventHole." 2013-06-15 12:58:00 +00:00
John Spurlock
b2e90390e6 Merge "Remove unused do-not-disturb items." 2013-06-15 12:57:17 +00:00
John Spurlock
75d71b7e94 Merge "Stabilize hideybar confirmation toast." 2013-06-15 12:56:27 +00:00
Baligh Uddin
ca1fb945b9 Import translations. DO NOT MERGE
Change-Id: If9b1d6c029d0484d7197322a3c33df6b523dd341
Auto-generated-cl: translation import
2013-06-14 19:30:11 -07:00