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>
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
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
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
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
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
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
* 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
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
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
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
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
Note this may be redesigned in O to better handle the
various bitrate/channel combinations in a sane way.
bug:27360321
Change-Id: If6ffbd02e3a7f170cc041747e32bb624234c3e09
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
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