OSDN Git Service

Renaming in BluetoothTile and QSDetailItems
authorjackqdyulei <jackqdyulei@google.com>
Tue, 24 Oct 2017 20:27:53 +0000 (13:27 -0700)
committerjackqdyulei <jackqdyulei@google.com>
Tue, 24 Oct 2017 22:00:50 +0000 (15:00 -0700)
commit786a490dd78134c70fe22590cd8e9491e446b103
treef5e7e9ddf5cdd8e2dd716282ed41f1058f010dd2
parent3a3ff7deeb200aa3757c8863f4eee7be044d2931
Renaming in BluetoothTile and QSDetailItems

Rename the fields so they could disclose the type.

1. Rename icon to iconResId(type: int)
2. Rename iconDrawable to icon(type QSTile.Icon)
3. Rename BluetoothBatteryDrawable to BluetoothBatteryTileIcon

Bug: 68008183
Test: Build

Change-Id: I5edb24c2fcfa114c2d7134898d4e2b2bcedf0758
packages/SystemUI/src/com/android/systemui/qs/QSDetailItems.java
packages/SystemUI/src/com/android/systemui/qs/tiles/BluetoothTile.java
packages/SystemUI/src/com/android/systemui/qs/tiles/CastTile.java
packages/SystemUI/src/com/android/systemui/qs/tiles/WifiTile.java