Commit Graph

1358 Commits

Author SHA1 Message Date
Jason Monk
54bce9c6ff Merge "SystemUI: Add NFC tile" am: 943a52862e
am: 8fbdf116d0

Change-Id: I114a75548444e409d1f72183589c886ca9fbccbd
2017-01-18 14:24:48 +00:00
Anas Karbila
f7648f4483 SystemUI: Add NFC tile
This patch adds a tile for QuickSettings
which controls the setting of NFC.

The drawable is from material.io.

Test: Enable and disable NFC using tile

Change-Id: I7dfaf3a4dca0c01d24be397e43ab131eb9885f62
Signed-off-by: Anas Karbila <anaskarbila@aospa.co>
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
2017-01-18 12:12:03 +00:00
Adrian Roos
b7e4e10618 Separate ambient display triggers
Allows configuring notification and sensor triggers
separately. Introduces a helper class that hosts the
logic for determining what kinds of triggers a device
supports.

Bug: 32073185
Change-Id: Ie7e8eb6b895dcc54e6f972e70642c7248b9e223a
Test: disable "ambient display", sensor triggers should still work
2016-10-18 10:43:44 -07:00
Dan Sandler
028a60f003 Essential packages' notifications can no longer be silenced.
Particularly useful for Dialer, whose incoming call
notifications are basically useless if you accidentally mute
them.

Test: manual. With config_nonBlockableNotificationPackages
      set to include com.android.dialer, receive or miss a
      call and longpress the notification. No radio buttons
      should be available.
Bug: 31360343
Change-Id: I6b8fa374fb8e811ec6922acbf222f23f18775a61
2016-10-11 22:21:18 +00:00
TreeHugger Robot
afae61eae7 Merge "DozeService: Seperate double tap and pickup" into nyc-mr1-dev 2016-09-27 19:09:22 +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
Tyler Gunn
29678c0357 Merge "Change data usage alert/disabled messages." into nyc-mr1-dev 2016-09-26 17:26:21 +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
Tyler Gunn
65ed8f9512 Change data usage alert/disabled messages.
Bug: 31551177
Change-Id: I936645ab5f6ffde9245c8e234ffa01935530431c
2016-09-19 11:20:53 -07: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
802bc6ee06 Add branded VPN messages to go along with branded icons
Change-Id: Id2089d50581a958ebab6af1d5b172ec61b1aced3
Fixes: 31019697
2016-09-01 10:45:08 -04: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
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
eded2fcf7a Restore padding.
Change-Id: I532e5007c2a9152554b8f5130196a2f0cb3c8f1e
Fixes: 30738806
2016-08-08 19:48:48 +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
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
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
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
ceb7bfa6af Reduce duration for pick-up animation
Bug: 30316167
Change-Id: I39f34089fab70bfcc6fbf378411f017c67eafe00
2016-08-02 08:49:16 +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
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
0cb33aefac Revert "Revert "Error colors to point to frameworks rather than hard-code them""
This reverts commit 7c11e933d5.

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

Change-Id: If328c2e6983a2dd2295d83f17edbaaa3cc149b60
2016-07-21 00:55:53 +00:00
Matthew Fritze
43f762a026 Error colors to point to frameworks rather than hard-code them
Rather than have each instance of the system error color hard code
the argb values, they now point to frameworks/base/core/res.

Change-Id: Ia203ff6966cd58a3bc23eb883460f0f8abb050f5
Fixes: 30021554
2016-07-20 13:56:41 -07:00
Adrian Roos
4ba23f30b5 Merge "Doze: Add config for fine grained proximity checks" into nyc-mr1-dev 2016-07-15 21:09:51 +00:00
TreeHugger Robot
5768a5dd30 Merge "Add LTE+ and update 4G+ icons" into nyc-mr1-dev 2016-07-14 20:09:00 +00:00
Jason Monk
aa730be72d Add LTE+ and update 4G+ icons
Change-Id: Ic91450207921afbfab24cc02d00639d532495c58
Fixes: 30006697
2016-07-14 09:25:04 -04:00
Justin Klaassen
137909005c Add Night display QSTile
Bug: 28615069
Bug: 29619615
Change-Id: Ie23bd1ed9266941682eceb5f2086201bf02af765
2016-07-13 15:47:39 -07:00
Adrian Roos
5753f05e85 Doze: Add config for fine grained proximity checks
Bug: 29619338
Change-Id: Ic9ff7fc78f47873858881c1a4ac14bc2b834ab84
2016-07-13 12:34:23 -07:00
Jason Monk
f25e6a1bea QS: Fix emergency calls only layout
Change-Id: Ic66412b0c46f4436d63168a5e167d4adcad74283
Fixes: 29524397
2016-07-13 14:45:52 -04:00
Justin Klaassen
e81fa85782 Remove "Night mode" from tuner
Bug: 28887927
Change-Id: Ic1c217152e56db63a87a1f1e772696d97b4b58b3
2016-07-08 11:46:27 -07:00
Daniel Nishi
f79cd873f6 Add margins to the system icons when the user avatar is gone.
This resolves a regression caused by situtionally removing the
avatar on phones when there is only one user. Normally, the avatar's
width acts as padding against the end. By removing the avatar, the
buffer is also removed. This patch re-adds 6dp of margins to space
the system icons properly on phones.

Change-Id: I7b07b02fb74146e17109a7aaf23a41bb681683f3
FIXES: 29646859
2016-07-06 17:20:59 -07:00
Andrew Sapperstein
ac44c9ef45 Merge "Update the volume panel to use a system color." into nyc-mr1-dev 2016-06-30 20:26:36 +00:00
Jason Monk
b46059a1d4 QS: Layout and animation refinement
Bug: 29315917
Fixes: 29879993
Change-Id: I0153e81ff9cd81022958a1baf3531ac5ca6b4144
2016-06-30 14:27:44 -04:00
Andrew Sapperstein
c10b4dc90c Update the volume panel to use a system color.
Removes all hardcoded usages of blue_grey_200 and replaces
them with the use of one color resource that's defined in the
framework.

Change-Id: Ic6450f8ec03c3d9cbf915fa5de6f1184bf64266e
Fixes: 29574243
2016-06-30 10:14:53 -07:00
TreeHugger Robot
459f594bb1 Merge "Show volume row headers by default." into nyc-mr1-dev 2016-06-24 14:52:40 +00:00
Julia Reynolds
5f83c85182 Show volume row headers by default.
Bug: 28269951
Change-Id: I26acfb26064e7f44e4b1897d940228247b45d7b1
2016-06-24 09:17:55 -04:00
Robert Greenwalt
37a56b2891 Merge "Add support for LTE CarrierAgregation" into nyc-mr1-dev 2016-06-23 18:47:40 +00:00
Andrew Sapperstein
ddb980de05 Merge "Add colorSecondary theme attribute." into nyc-mr1-dev 2016-06-23 18:37:42 +00:00
Ajay Nambi
7965fa41c3 Add support for LTE CarrierAgregation
Note this may be redesigned in O to better handle the
various bitrate/channel combinations in a sane way.

bug:27360321
Change-Id: If6ffbd02e3a7f170cc041747e32bb624234c3e09
2016-06-23 11:19:03 -07:00
Sid Soundararajan
542762f99d Merge \"Blacklist ATV Remote Service to never appear on Recents\" into nyc-dev
am: 8f41c074c7

Change-Id: I37f6ec8e48300996db4603de455b0e74a481ae3a
2016-06-22 15:44:04 +00:00
Sid Soundararajan
6f134fb3ef Blacklist ATV Remote Service to never appear on Recents
BUG: 28764678
Change-Id: I0be5f9f408f16cfb683793a84cef7a368e5fa867
2016-06-21 15:49:13 -07:00
Andrew Sapperstein
c11df2521e Add colorSecondary theme attribute.
Value is defined only for .Settings themes.

Uses new attribute in SystemUI to set the switch bar background in
System UI Tuner and the edit UI background in Quick Settings.

BUG: 28625050
Change-Id: I840597670fb8826c7e2172c933ff618e52fc9ac1
FIXES: 28625105
FIXES: 29003223
2016-06-21 13:41:02 -07:00
Andrew Sapperstein
5c3734456e Update System UI to use theme colors.
Instead of using hardcoded values, use colorPrimary, colorAccent, etc
to style system UI. Required setting a theme on several views to
get the proper accent color in the right place.

Deletes a lot of hard-coded colors from the app.
Deletes an unused view: StatusBarHeaderView

BUG: 28625050
BUG: 29003410
BUG: 28625105
Change-Id: I46cd8eba7cf5afdab53c7882aa4aac5af46772a9
2016-06-21 11:15:19 -07:00
Jason Monk
5aa661d7c0 resolve merge conflicts of fbf366d to nyc-mr1-dev
Change-Id: If2c3d07d680c36b206fe49a8e8e7dc20619a5c42
2016-06-08 16:24:16 -04:00