1451 Commits

Author SHA1 Message Date
TreeHugger Robot
0acb7c291c Merge "Add plugin controls to tuner" 2016-09-28 17:51:03 +00:00
Adrian Roos
28fa35ffd6 DozeService: Seperate double tap and pickup am: 7294c115fd am: 9589dca308
am: 05ffa85107

Change-Id: I0ca650083c0e21c10852fad6e80cede792cbcbb1
2016-09-27 19:28:14 +00:00
Adrian Roos
9589dca308 DozeService: Seperate double tap and pickup
am: 7294c115fd

Change-Id: I47fd20b374a188d7e280d1c6867204ee06733d0e
2016-09-27 19:17:09 +00:00
Adrian Roos
7294c115fd DozeService: Seperate double tap and pickup
Adds handling for a separate double tap gesture
and allows enabling double tap and pickup
individually.

Test: Turn screen off, toggle gestures with `adb shell settings put secure doze_pulse_on_pick_up 0/1` and `adb shell settings put secure doze_pulse_on_double_tap 0/1`
Bug: 30595437
Change-Id: Id7b79f90b28429cf321544a3e425cf33c575d1c3
2016-09-27 19:07:36 +00:00
Jason Monk
ef0d34d32e Add plugin controls to tuner
Allow plugins to be manually turned off from within the tuner. This
screen only shows itself if at some point in time a plugin has been
active on this device.  Plugins can also serface settings there by
receiving the com.android.systemui.action.PLUGIN_SETTINGS action.

Test: Manual
Change-Id: Ifb043c85e383fc072c6445ae322293a6401a6f2c
2016-09-27 12:41:34 -04:00
Tyler Gunn
5a52c9806d resolve merge conflicts of 5ea76c1 to master
Test: Compiled code using make -j32
Change-Id: I0c0a5cd79fba9a9c9cf9306e91dc0e9f1979a299
2016-09-26 12:21:52 -07:00
Tyler Gunn
d7a14989a9 Change data usage alert/disabled messages.
am: 65ed8f9512

Change-Id: I3344dfbb64efad0a920e846a8e0de28fc1059074
2016-09-26 17:30:04 +00:00
Will Harmon
e12fe3b15a Remove location tile from the list of default-enabled QuickSettings tiles am: 3629af022f am: a6f4c5cb1b
am: 5852bd904d

Change-Id: Ia20006e99c6727df7a260b9205a88eb120f92077
2016-09-26 08:30:06 +00:00
Will Harmon
3629af022f Remove location tile from the list of default-enabled QuickSettings tiles
Fixes: 31708103
Change-Id: I0218beee23199df2e6969e3e858294e65db6c0f8
2016-09-23 19:11:12 +00:00
Jason Monk
beda2ddbec Add PluginInflateContainer
PluginInflateContainer extends AutoReinflateContainer, except that
it also uses the plugin interface to allow the view to be swapped
out with something else.

Define an interface or abstract class as follows that includes the
version and action.

public interface MyInterface {
    public static final String ACTION =
            "com.android.systemui.action.PLUGIN_MYINTERFACE";

    public static final int VERSION = 1;

    void myImportantInterface();
}

Then put in a PluginInflateContainer to use and specify the interface
or class that will be implemented as viewType.  The layout specified
will be used by default and whenever a plugin is not present.

<com.android.systemui.PluginInflateContainer
    android:id="@+id/some_id"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:layout="@layout/my_default_component"
    systemui:viewType="com.android.systemui.plugins.MyInterface" />

Test: Manual
Change-Id: I2ef3fa8dbe344c4635df20056182c1c0b3846fdf
2016-09-20 16:24:00 -04:00
Tyler Gunn
65ed8f9512 Change data usage alert/disabled messages.
Bug: 31551177
Change-Id: I936645ab5f6ffde9245c8e234ffa01935530431c
2016-09-19 11:20:53 -07:00
Andrew Sapperstein
b72ba561c5 Use DeviceDefault.Settings.Dark for systemui_theme am: ed9fa424e9 am: 98cfc83433
am: dfd169d1db

Change-Id: Ib64bfa5dc82429f9a4ef23e98bdb076a1d65b950
2016-09-14 19:53:56 +00:00
Andrew Sapperstein
ed9fa424e9 Use DeviceDefault.Settings.Dark for systemui_theme
It was using DeviceDefault which is black in AOSP. It should be using
the blue grey primary color instead used by DeviceDefault.Settings.

Bug: 30748928
Change-Id: I7e7ed87f74f654f412c106a44906d7fba4e992dc
2016-09-12 16:17:21 -07:00
Jason Monk
be14cbf18e Add branded VPN messages to go along with branded icons am: 802bc6ee06 am: 57bf03152c
am: cd72f9a1ce

Change-Id: Iad0153394159f46ef3838087a3749b57d60b3986
2016-09-02 19:59:51 +00:00
Jason Monk
802bc6ee06 Add branded VPN messages to go along with branded icons
Change-Id: Id2089d50581a958ebab6af1d5b172ec61b1aced3
Fixes: 31019697
2016-09-01 10:45:08 -04:00
Jorim Jaggi
95148de2f4 Don't use fullscreen theme for forced resizable info activity am: 3f09052eb9 am: b0ba9599c8
am: 403a545e87

Change-Id: I109f607cf3c319f70e707e996f697d2185e031e5
2016-08-25 21:50:23 +00:00
Jorim Jaggi
28b4a699fc Remove swipe-up gesture from Tuner am: 3793aff806 am: 55f4b0e9be
am: 76821e7c36

Change-Id: I772d743a1e1e243a1b34988c4c5dea576ec41b9e
2016-08-25 21:47:02 +00:00
Jorim Jaggi
b0ba9599c8 Don't use fullscreen theme for forced resizable info activity
am: 3f09052eb9

Change-Id: I3a965a0037fe1c22559567d74ee3a4a8c41bafea
2016-08-24 01:36:35 +00:00
TreeHugger Robot
6e370d35fe Merge "Don't use fullscreen theme for forced resizable info activity" into nyc-mr1-dev 2016-08-24 01:32:11 +00:00
Scott Main
c694c49ce1 Merge "add workaround for annotations dependency conflict with espresso" into nyc-dev am: 77917a835f am: f8a0cb2964 am: 0ea21992e7 am: 97a3ed97c5
am: a0f8457aa7

Change-Id: If176d8ac006f52e9246f352134d7008bd54c436c
2016-08-23 22:32:47 +00:00
Jorim Jaggi
3793aff806 Remove swipe-up gesture from Tuner
We can't do it anymore with the slippery flag, so remove the entry
in the tuner.

We'll clean up the code in master.

Change-Id: Ib3dee0c947e7925b5847f2edc4801495c659dfa5
Fixes: 30891575
2016-08-23 20:49:18 +00:00
Jorim Jaggi
3f09052eb9 Don't use fullscreen theme for forced resizable info activity
Change-Id: I74b5443645dd532ff597d4a1773bbd5a38d71192
Fixes: 29278265
2016-08-23 20:40:10 +00:00
Adrian Roos
d13602f1e7 Ambient: Pulse for every noisy notification exactly once
Also increases the pulse duration and switches timing to
elapsed realtime instead of wall time for robustness. Also
remove triggering for notification light for simplifying code.
Only noisy notifications are able to trigger the light anyway and
noisy notifications already trigger ambient on their own.

Change-Id: I4efbe530bb1a60cabaa46c2b04bcd5e12cdef680
Fixes: 31004875
2016-08-23 13:58:31 +02:00
Julia Reynolds
4a3cb54e98 Restore padding. am: eded2fcf7a am: 1b6b6911e4
am: a387d2ec40

Change-Id: I2151106774fb37970c430d331d35cc208ec96742
2016-08-08 21:15:40 +00:00
Selim Cinek
c2fe7f7279 resolve merge conflicts of 72722d6 to master
Change-Id: I5b6fe90f52573cd9c7f7259df653b7e095858794
2016-08-08 13:04:26 -07:00
Julia Reynolds
eded2fcf7a Restore padding.
Change-Id: I532e5007c2a9152554b8f5130196a2f0cb3c8f1e
Fixes: 30738806
2016-08-08 19:48:48 +00:00
Selim Cinek
ac755cb44f Fixed a bug where the notification would fade out in a ugly way
am: a981d083f9

Change-Id: I736cfbbaec37e28817e3e40d0d09133dc4070acd
2016-08-08 19:29:23 +00:00
Selim Cinek
5a3e33a82a Merge changes Idc4c2c14,Ibea016c6,I49ab58c3,Id911d405,I0f17dc5f, ... into nyc-mr1-dev
* changes:
  Improved the transition when clicking on the last notification
  Fixed a bug that could lead to an empty notification
  Removed contentDescriptions that hindered accessibility usability
  Fixes a bug where setting a null bigLargeIcon would not clear it
  Fixed the transition of the background of the notifications
  Fixed a bug where the notification would fade out in a ugly way
2016-08-08 19:18:33 +00:00
Julia Reynolds
7cddc0f011 Switch volume animation to Scene. am: 568585b47c am: 1518761dc3
am: 2460fe7d00

Change-Id: Ie8142d2b67d82e3a607e7ccee1c0432344c9a952
2016-08-05 21:27:12 +00:00
Julia Reynolds
1518761dc3 Switch volume animation to Scene.
am: 568585b47c

Change-Id: I9060dbf5e8cd60492623c999ee399f42b620b341
2016-08-05 20:57:11 +00:00
TreeHugger Robot
ba8f3d03ac Merge "Switch volume animation to Scene." into nyc-mr1-dev 2016-08-05 20:50:48 +00:00
Julia Reynolds
568585b47c Switch volume animation to Scene.
animateLayoutChanges is too janky.

Bug: 30070005
Change-Id: I88bb94c2de18a8ebc14f0f0aed48877a8b328d8a
2016-08-05 15:27:14 -04:00
Adrian Roos
dde2b293ba HIC: Add report facility for overzealous anti-falsing am: 7bb38a941b am: 9d28754215
am: 29549a23f1

Change-Id: I121d70753fa466eba853a721409d12003f9c6123
2016-08-04 23:53:09 +00:00
Adrian Roos
9d28754215 HIC: Add report facility for overzealous anti-falsing
am: 7bb38a941b

Change-Id: Ie40c0e42dcdc788757f18f65d8edc3e8ba2a6995
2016-08-04 23:37:29 +00:00
Adrian Roos
d1726e7598 Merge "HIC: Add report facility for overzealous anti-falsing" into nyc-mr1-dev 2016-08-04 23:24:04 +00:00
Selim Cinek
a981d083f9 Fixed a bug where the notification would fade out in a ugly way
Change-Id: I0bc41004688ba1180420051264d72e793a1309b2
Fixes: 30555660
2016-08-03 14:55:42 -07:00
John Reck
811983b468 Merge "Fix RNA crash" into nyc-mr1-dev am: f09b5d7a78 am: dac945cbaa
am: 07a28dfb53

Change-Id: I8a895e2ebd3d538ab1b8b959e70faf265fb1bf92
2016-08-03 20:29:37 +00:00
Winson
fc73eec235 Adding support for blacklisting apps from Recents transition.
Bug: 30602323

Change-Id: I2a6e75a989264ce72ac552e2c7f82225ccd68adf
2016-08-03 19:28:11 +00:00
Jorim Jaggi
9b6894b975 Reduce duration for pick-up animation am: ceb7bfa6af am: 838776a93b
am: b0bfb3187f

Change-Id: If08c19608a90354e461dced9e1bdc355dacddd42
2016-08-02 17:52:02 +00:00
Jorim Jaggi
ceb7bfa6af Reduce duration for pick-up animation
Bug: 30316167
Change-Id: I39f34089fab70bfcc6fbf378411f017c67eafe00
2016-08-02 08:49:16 +00:00
Robert Greenwalt
762820eb42 Add support to hide LTE+ in UI. am: 37d34ba893 am: 4dace686d9
am: 44709efc96

Change-Id: I54dd593bafc0757c759d24a15ff74ab8c2f77331
2016-07-29 02:33:03 +00:00
Adrian Roos
7bb38a941b HIC: Add report facility for overzealous anti-falsing
Bug: 27405075
Change-Id: I15e5d601af3c7cc067371bbe51c873d2ce15ec83
2016-07-28 12:17:57 -07:00
Robert Greenwalt
4dace686d9 Add support to hide LTE+ in UI.
am: 37d34ba893

Change-Id: I7dd6b924f67e540159a9d5a72cdf72d5d1b3caef
2016-07-28 19:12:56 +00:00
Robert Greenwalt
0a39c8f1c9 Merge "Add support to hide LTE+ in UI." into nyc-mr1-dev 2016-07-28 19:01:40 +00:00
Robert Greenwalt
37d34ba893 Add support to hide LTE+ in UI.
Some carriers may not want LTE_CA to show in status bar/QS
so added a config overlay setting for this.

bug:30394970
Change-Id: I6e318aa9bd5921f76ded477415269f2996e5534c
2016-07-27 14:54:34 -07:00
Matthew Fritze
43bded7dce Merge \\"Revert \\"Revert \\"Error colors to point to frameworks rather than hard-code them\\"\\"\\" into nyc-mr1-dev am: 9e7bd8de87
am: 250664a032

Change-Id: I07908d20c83232ef91b7c45cb772d066584c33a0
2016-07-21 01:38:18 +00:00
Andrew Sapperstein
258b2c3fa4 Merge \\"Revert \\"Error colors to point to frameworks rather than hard-code them\\"\\" into nyc-mr1-dev am: 22d09743d8
am: aa79a3c135

Change-Id: I53e9a848b90254c2bafd84342293265f7c6997b5
2016-07-21 01:37:38 +00:00
Matthew Fritze
0cb33aefac Revert "Revert "Error colors to point to frameworks rather than hard-code them""
This reverts commit 7c11e933d540b27d596a1536ffbb75007e24a7e6.

Change-Id: I79ecbc39a78f17d22ec20097cfba213de5e30b5e
2016-07-21 00:59:33 +00:00
Matthew Fritze
bfd3b34ba6 Merge \\"Error colors to point to frameworks rather than hard-code them\\" into nyc-mr1-dev am: 948400a43d
am: 85d688cd79

Change-Id: I214563e1cd9ad44c99ea34c5480bc7ab1814a975
2016-07-21 00:59:28 +00:00
Matthew Fritze
7c11e933d5 Revert "Error colors to point to frameworks rather than hard-code them"
This reverts commit 43f762a0263b7da464c29c139fa6bfc91ec1713d.

Change-Id: If328c2e6983a2dd2295d83f17edbaaa3cc149b60
2016-07-21 00:55:53 +00:00