OSDN Git Service

Fix Throttle Notification intents
authorRobert Greenwalt <robdroid@android.com>
Mon, 12 Apr 2010 21:56:31 +0000 (14:56 -0700)
committerRobert Greenwalt <robdroid@android.com>
Mon, 12 Apr 2010 21:56:31 +0000 (14:56 -0700)
Now goes to the correct settings page.

bug:2576057
Change-Id: I21df0e53f7f56ae9bf71f983a3aed200c5ac217d

services/java/com/android/server/ThrottleService.java

index 9d4e226..08b003d 100644 (file)
@@ -463,7 +463,7 @@ public class ThrottleService extends IThrottleManager.Stub {
         private void postNotification(int titleInt, int messageInt, int icon, int flags) {
             Intent intent = new Intent();
             // TODO - fix up intent
-            intent.setClassName("com.android.settings", "com.android.settings.TetherSettings");
+            intent.setClassName("com.android.phone", "com.android.phone.DataUsage");
             intent.setFlags(Intent.FLAG_ACTIVITY_NO_HISTORY);
 
             PendingIntent pi = PendingIntent.getActivity(mContext, 0, intent, 0);