4708 Commits

Author SHA1 Message Date
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
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
Baligh Uddin
2f9807b8d7 Import translations. DO NOT MERGE
Change-Id: Ia0e22026f6b361ea67d393e154d719a46759ecea
Auto-generated-cl: translation import
2013-06-14 19:28:47 -07:00
Baligh Uddin
4a9e422680 Import translations. DO NOT MERGE
Change-Id: I45fbf411dc3f8cdb9a5ebd889ccf3a2868abb5a9
Auto-generated-cl: translation import
2013-06-14 19:27:44 -07:00
John Spurlock
bb39a21caa Remove more unused statusbar.policy items.
AirplaneModeController, CompatModeButton, and
CurrentUserTracker (one of them...)

Change-Id: I304cef19dae405282d621179fe0c74e644129f62
2013-06-14 17:08:13 -04:00
John Spurlock
cf61202c06 Remove unused TrackingPatternView.
Change-Id: Ic9a935fff827cad04ea42040837449368c36d32b
2013-06-14 16:54:23 -04:00
John Spurlock
dba991257d Remove unused CloseDragHandle.
Change-Id: Ic7fc0eacc4534db99a39ea8112339ee4a4af57c4
2013-06-14 16:47:05 -04:00
John Spurlock
8a21278686 Remove unused CarrierLabel.
Change-Id: I145a7ee38655a957aec14fe7318092c42b3cb6cc
2013-06-14 16:41:24 -04:00
John Spurlock
027e6f5800 Remove unused VolumeController.
Change-Id: I23279c9c2f152bd9182487ce30da14078d108ff7
2013-06-14 16:31:48 -04:00
John Spurlock
4a0008afcc Remove unused FixedSizeDrawable.
Change-Id: Ia6bad570359d3cce4e57c0a32d181bd156d89d6c
2013-06-14 16:22:46 -04:00
John Spurlock
97c4216e08 Remove unused EventHole.
Change-Id: Ia83bb72c93561bdfa4d767bd78fe0dff60f5de5b
2013-06-14 16:16:43 -04:00
John Spurlock
0ac7b73b81 Remove unused do-not-disturb items.
Change-Id: I3dd3e242a8a1db0148e3ff4386ff812a4cca66bc
2013-06-14 16:09:57 -04:00
John Spurlock
e91322c2a5 Remove unused status_bar_icon.xml
Change-Id: I9d665203712d4865f5aa788600c89fbc876b14dd
2013-06-14 15:40:51 -04:00
John Spurlock
e804cb56d0 Stabilize hideybar confirmation toast.
Remove gravity workaround no longer needed after recent window
manager layout fix.

Also migrate instable code-based toast text calculation to use
the resource system properly.

Change-Id: Ifa380e387389ed9917336ad19dfde49f67a5fb10
2013-06-14 14:04:21 -04:00
John Spurlock
1623b8cf7f Merge "Remove TabletStatusBar from systemui package." 2013-06-13 13:54:43 +00:00
Baligh Uddin
74c87f937f Merge "Import translations. DO NOT MERGE" 2013-06-12 23:44:07 +00:00
Baligh Uddin
6434acb58f Merge "Import translations. DO NOT MERGE" 2013-06-12 23:39:46 +00:00