diff options
author | Alan Viverette <alanv@google.com> | 2015-03-18 18:37:18 -0700 |
---|---|---|
committer | Alan Viverette <alanv@google.com> | 2015-03-18 18:37:18 -0700 |
commit | 4a357cd2e55293402d7172766f7f9419815fc1e8 (patch) | |
tree | f2cedee7f41f48a8141a2798ca6100912553e4ef /services/core/java/com/android/server/connectivity/Tethering.java | |
parent | f2560e62cf26cae64f5751b0479743e09cb7bd7f (diff) | |
download | frameworks_base-4a357cd2e55293402d7172766f7f9419815fc1e8.zip frameworks_base-4a357cd2e55293402d7172766f7f9419815fc1e8.tar.gz frameworks_base-4a357cd2e55293402d7172766f7f9419815fc1e8.tar.bz2 |
Replace usages of deprecated Resources.getColor() and getColorStateList()
Change-Id: I8f64fe6c4c44a92ff6d07250223ba590a1d691b0
Diffstat (limited to 'services/core/java/com/android/server/connectivity/Tethering.java')
-rw-r--r-- | services/core/java/com/android/server/connectivity/Tethering.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/connectivity/Tethering.java b/services/core/java/com/android/server/connectivity/Tethering.java index f9b6270..4c08960 100644 --- a/services/core/java/com/android/server/connectivity/Tethering.java +++ b/services/core/java/com/android/server/connectivity/Tethering.java @@ -478,7 +478,7 @@ public class Tethering extends BaseNetworkObserver { mTetheredNotification.flags = Notification.FLAG_ONGOING_EVENT; mTetheredNotification.tickerText = title; mTetheredNotification.visibility = Notification.VISIBILITY_PUBLIC; - mTetheredNotification.color = mContext.getResources().getColor( + mTetheredNotification.color = mContext.getColor( com.android.internal.R.color.system_notification_accent_color); mTetheredNotification.setLatestEventInfo(mContext, title, message, pi); mTetheredNotification.category = Notification.CATEGORY_STATUS; |