11524 Commits

Author SHA1 Message Date
Sanket Padawe
63224c3954 Call entitlement on clicking tethering tile in quick settings.
Call a new activity which would handle enabling of tethering on clicking
Tethering tile in Quick Settings.

Bug: 18368949
Change-Id: I4cc2ba01f6fa1ac005ba1dc27b223b5fc5359d35
2014-12-01 18:14:40 -08:00
Winson Chung
7c122b60b9 Merge "Use SystemClock time to keep track of last event times. (Bug 17995039)" into lmp-mr1-dev 2014-11-20 18:50:50 +00:00
Jorim Jaggi
bf1960ce9c Merge "Fade notifications when exiting dozing" into lmp-mr1-dev 2014-11-20 17:25:49 +00:00
Selim Cinek
b18cbb9a19 Merge "Fixed a bug where the notifications were not animating" into lmp-mr1-dev 2014-11-20 17:01:24 +00:00
Selim Cinek
7b8157ef23 Fixed a bug where the notifications were not animating
Bug: 18463381
Change-Id: I1064535f120dbc334a10d70b7fef232adb08a45f
2014-11-20 16:04:00 +01:00
Adrian Roos
cbd48c722a Merge "Honey I shrunk the navigation bar" into lmp-mr1-dev 2014-11-20 14:54:32 +00:00
Adrian Roos
306354f040 Honey I shrunk the navigation bar
Bug: 18412658
Bug: 18463755
Change-Id: I3e379bf22f0d83a3c7c477908b0847fc18325f12
2014-11-20 14:31:02 +00:00
John Spurlock
18764bf551 QS: Inversion tile: Don't consider initial 0 setting trackable.
For usage tracking purposes, seeing a setting value of 1 is always
considered trackable.

However, only consider a setting value of 0 as trackable if we've
observed a change (from 1).  Avoids tracking a db update from null
to 0 (via settings cmd or a restore).

Bug: 18062541
Change-Id: Ic8413b1770040f9ef28041bbadb4e5fb62d1c014
2014-11-19 21:07:04 -05:00
Jason Monk
2e982258f1 Merge "SysUI: Refactor the NetworkControllerImpl" into lmp-mr1-dev 2014-11-19 21:18:22 +00:00
Amit Mahajan
b22462c57f Merge "Adding new setting LTE_SERVICE_FORCED." into lmp-mr1-dev 2014-11-19 17:38:23 +00:00
John Spurlock
2ee054b4f0 Merge "Volume: Ensure ring/notif slider is enabled when ringer=vibrate." into lmp-mr1-dev 2014-11-19 17:19:15 +00:00
John Spurlock
5eb21f3466 Volume: Ensure ring/notif slider is enabled when ringer=vibrate.
Although the audio policy makes a distinction between voice capable
and not when determining the default active stream, have the panel
recognize this condition and behave the same way (enable the slider)
on all devices.

Bug: 17405530
Change-Id: If3e1af3078f47bc1205545e919ccc6206020e7b2
2014-11-19 11:54:53 -05:00
Jorim Jaggi
4e857f4ef0 Fade notifications when exiting dozing
Bug: 18146441
Change-Id: Ifa0cbb8157c65768c3a0c584166ca88c3016b730
2014-11-19 16:52:43 +01:00
Jason Monk
56dd1f1eb6 Merge "Automatically enable BT when entering BT QS panel" into lmp-mr1-dev 2014-11-19 14:58:40 +00:00
Amit Mahajan
4fea0923be Adding new setting LTE_SERVICE_FORCED.
Bug: 18328639
Change-Id: Icbf9d7987d27af34cbe4ee1b4e9df19e139c2fc7
2014-11-18 17:34:36 -08:00
Jason Monk
cd356f0dda Automatically enable BT when entering BT QS panel
Bug: 18334326
Change-Id: Ifbcdee1a8260ce959eae53c0900851f8da2f97ee
2014-11-18 21:17:40 +00:00
Winson Chung
6aa73cf266 Merge "Tweaking animation XMLs and removing dead code. (Bug 17672056, Bug 18415217)" into lmp-mr1-dev 2014-11-18 20:10:05 +00:00
Winson Chung
15a2ba813a Use SystemClock time to keep track of last event times. (Bug 17995039)
Change-Id: I7df1ee82568cbe3a6adbf948bd4e75dd57791032
2014-11-18 11:53:02 -08:00
Winson Chung
66e86f9774 Fixing high cpu usage due to case not falling through to wait logic. (Bug 18390735)
Change-Id: I78068567225f85efaa4858dc947de88d39df3f10
2014-11-18 10:38:41 -08:00
Jason Monk
d2263cd9db SysUI: Refactor the NetworkControllerImpl
Minimal changes to interface/callbacks, all of the changes are
internal and prepare for MSIM.

Separate out AccessPoint and MobileData from the NetworkController
interface to give some space.

A SignalController class has been created as a base for both
WifiSignalController and MobileSignalController, both of which
internally handle the state of their respective connectivity and
only reach up into the NetworkControllerImpl when completely
necessary (such as for combined carrier label).

Bug: 18222975
Change-Id: I75b954bbece187371cdb8571dd8420e7d2cad978
2014-11-18 12:48:42 -05:00
John Spurlock
b30d902ed4 Merge "Volume: Dismiss panel on nav bar interaction." into lmp-mr1-dev 2014-11-18 16:47:11 +00:00
John Spurlock
7fbf573e0b Volume: Dismiss panel on nav bar interaction.
Bug: 18409164
Change-Id: I7b7f26eb823b8477a4df86a8622b4f1171ad96e6
2014-11-18 11:40:22 -05:00
Jason Monk
caf4828c77 Merge "SysUI Tests: Make tests not break SysUI" into lmp-mr1-dev 2014-11-18 16:35:47 +00:00
Adrian Roos
6d0e2c9cb9 Merge "Trim navigation bar buttons" into lmp-mr1-dev 2014-11-18 16:23:55 +00:00
Adrian Roos
82c97a2484 Trim navigation bar buttons
Removes unnecessary transparent pixels from navigation
bar assets, saving on-disk, java heap, and texture memory.

Bug: 18412658
Bug: 10918599
Change-Id: I47ee92ed3a3eaf8d02be86f0b67a77f035a8fb43
2014-11-18 16:13:49 +00:00
Winson Chung
c041d883c3 Tweaking animation XMLs and removing dead code. (Bug 17672056, Bug 18415217)
- Use shape drawable for pin background instead of asset.
- Includes fix for scrolling regression when task stack scroller was not reset.

Change-Id: I11eec1f3b0386b4354c8c5e3deca2b17cff83be1
2014-11-17 17:55:28 -08:00
Winson Chung
b079117384 Merge "Add some flags to reduce memory usage on svelte devices." into lmp-mr1-dev 2014-11-17 22:56:32 +00:00
Winson Chung
96d7041866 Add some flags to reduce memory usage on svelte devices.
Bug: 10918599
Change-Id: I235413a243d47fdd9be4a27f6bd726311a51cb6f
2014-11-17 14:52:29 -08:00
Winson Chung
fe79d62db3 Merge "Adding additional null checks to prevent crash after task stack view callback is reset. (Bug 18376798)" into lmp-mr1-dev 2014-11-17 21:43:51 +00:00
Geoff Mendal
6e523a077f Merge "Import translations. DO NOT MERGE" into lmp-mr1-dev 2014-11-17 21:33:38 +00:00
Craig Stout
36fbc43787 Merge "Use dark theme for usb dialogs on television." into lmp-mr1-dev 2014-11-17 21:28:25 +00:00
Geoff Mendal
44e4ff746a Import translations. DO NOT MERGE
Change-Id: I67abea60870f468d3ad9a6be7ee600de99b8ff54
Auto-generated-cl: translation import
2014-11-17 13:07:17 -08:00
Jeff Davidson
e0cb56b02e Merge "Enforce VPN control "permission" with an actual permission." into lmp-mr1-dev 2014-11-17 21:02:10 +00:00
Craig Stout
9eef7bce56 Use dark theme for usb dialogs on television.
b/16488215

Change-Id: I8ea2a184b2df36e3f55ba5bd0e8fb121ef0ed48e
2014-11-17 12:36:15 -08:00
Winson Chung
fe03b40da4 Adding additional null checks to prevent crash after task stack view callback is reset. (Bug 18376798)
Change-Id: I46a324b3b6acba6b6519506ff2431d285e3b57f9
2014-11-17 11:47:09 -08:00
Jason Monk
29f7a7b0ae SysUI Tests: Make tests not break SysUI
Now you can run the tests without getting the blank broken sysui.
The tests instrument themselves so they include all of the source
they need to run rather than piggybacking on the sysui process.

A couple of changes were needed for this.  The xml files cannot
reference com.android.systemui, instead they must use res-auto.
The tests can no longer make privileged calls, so some restructuring
to avoid those calls was needed.

Bug: 18222975
Change-Id: I67b794af854f1420583d48960bd6e52ca753b56d
2014-11-17 14:46:11 -05:00
Jim Miller
cd75f59f8c Merge "Fix deadlock caused by synchronous setOccluded() method in keyguard" into lmp-mr1-dev 2014-11-17 19:29:01 +00:00
Jorim Jaggi
abcb0590cd Don't play hint animation when touching to wake up
Bug: 18146441
Change-Id: Ie7e17a26c70d4fb0dd94787cce9e5baa0d775bde
2014-11-17 19:15:22 +01:00
Adrian Roos
8c8d8b1012 Merge "Only keep user switcher bitmaps if needed" into lmp-mr1-dev 2014-11-17 17:33:50 +00:00
Adrian Roos
cba0faadbe Only keep user switcher bitmaps if needed
Only keeps icons if the user switcher is accessible. On phones, this
is any time quick settings is expanded. On tablets, this would be whenever
the keyguard shows. Reloading them on each screen off transition seems too
wasteful however, so we keep them in-memory all the time on tablets.

Bug: 18350670
Change-Id: I416beb82156787e61ee1f59b6726fd702f135f68
2014-11-17 18:08:16 +01:00
Adrian Roos
a1b32c47f5 Merge "Reduce user icon RAM usage" into lmp-mr1-dev 2014-11-17 16:43:51 +00:00
Adrian Roos
2b154a9ec3 Reduce user icon RAM usage
Reduces the size of the icon in UserInfoController. Also
prevents UserSwitcherController from being instantiated if user
switching is not available.

Bug: 18350670
Change-Id: I38fbf28fad87e5c0d999ab6e3764f93269a95e05
2014-11-17 15:58:25 +00:00
John Spurlock
99cc4d2ed1 Merge "Sysui: Align projection permission dialog checkbox." into lmp-mr1-dev 2014-11-17 15:10:55 +00:00
John Spurlock
9ac580f0f3 Merge "QS: Update detail item keyline." into lmp-mr1-dev 2014-11-17 15:10:24 +00:00
Adrian Roos
61a848dd2e Merge "Fix Bitmap leaks in ImageWallpaper" into lmp-mr1-dev 2014-11-17 13:50:59 +00:00
Selim Cinek
a7651b8705 Merge "Increases the falsing threshold when for the keyguard affordances" into lmp-mr1-dev 2014-11-17 12:54:56 +00:00
John Spurlock
37e68bdb9c Sysui: Align projection permission dialog checkbox.
Bug: 18392920
Change-Id: Ic74ce8c79c99d91b5493a0b0607cda356f727407
2014-11-16 13:05:59 -05:00
Jim Miller
96afb6f03b Fix deadlock caused by synchronous setOccluded() method in keyguard
This fixes a deadlock where WindowManagerService can call into
KeyguardService.setOccluded() while holding a lock. As soon as keyguard
receives the call, it immediately needs to check permission and calls
back into the system service which is waiting for the lock to be
released. Boom!

The fix does a quick check of the calling UID and allows the call
if coming from the System UID, thus bypassing the need for a
binder call to checkPermission().

Fixes bug 18362246

Change-Id: Iab4be8a885f330fb2a62ee7e3579966e1447f8b0
2014-11-14 18:24:27 -08:00
Geoff Mendal
9004fe9a55 Import translations. DO NOT MERGE
Change-Id: I629815c2db7019af69cf0660de6f791b2d8105cd
Auto-generated-cl: translation import
2014-11-14 15:52:54 -08:00
Winson Chung
1c903b4e11 Merge "Fixing regression in screen pinning button visibility. (Bug 18390050)" into lmp-mr1-dev 2014-11-14 23:30:37 +00:00