OSDN Git Service

SystemUI: Add NFC tile
authorAnas Karbila <anaskarbila@aospa.co>
Sat, 10 Dec 2016 23:55:02 +0000 (00:55 +0100)
committerAlex Naidis <alex.naidis@linux.com>
Wed, 18 Jan 2017 12:12:03 +0000 (12:12 +0000)
commitf7648f44838cbc2c002191dd69ae3386dc78beee
tree8ba49a4210dccfc0b0785ce74d3b68657889c48c
parentc20518139abaf95e25a98b3d1b3d2ff8751e9322
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>
packages/SystemUI/res/drawable/ic_qs_nfc_disabled.xml [new file with mode: 0644]
packages/SystemUI/res/drawable/ic_qs_nfc_enabled.xml [new file with mode: 0644]
packages/SystemUI/res/values/strings.xml
packages/SystemUI/src/com/android/systemui/qs/tiles/NfcTile.java [new file with mode: 0644]
packages/SystemUI/src/com/android/systemui/statusbar/phone/QSTileHost.java
proto/src/metrics_constants.proto