From 4a357cd2e55293402d7172766f7f9419815fc1e8 Mon Sep 17 00:00:00 2001 From: Alan Viverette Date: Wed, 18 Mar 2015 18:37:18 -0700 Subject: Replace usages of deprecated Resources.getColor() and getColorStateList() Change-Id: I8f64fe6c4c44a92ff6d07250223ba590a1d691b0 --- location/java/com/android/internal/location/GpsNetInitiatedHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'location') diff --git a/location/java/com/android/internal/location/GpsNetInitiatedHandler.java b/location/java/com/android/internal/location/GpsNetInitiatedHandler.java index 0a3e073..95b3eb3 100644 --- a/location/java/com/android/internal/location/GpsNetInitiatedHandler.java +++ b/location/java/com/android/internal/location/GpsNetInitiatedHandler.java @@ -385,7 +385,7 @@ public class GpsNetInitiatedHandler { // if not to popup dialog immediately, pending intent will open the dialog Intent intent = !mPopupImmediately ? getDlgIntent(notif) : new Intent(); PendingIntent pi = PendingIntent.getBroadcast(mContext, 0, intent, 0); - mNiNotification.color = mContext.getResources().getColor( + mNiNotification.color = mContext.getColor( com.android.internal.R.color.system_notification_accent_color); mNiNotification.setLatestEventInfo(mContext, title, message, pi); -- cgit v1.1