Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2a7b7303 authored by Robert Greenwalt's avatar Robert Greenwalt
Browse files

Fix Throttle Notification intents

Now goes to the correct settings page.

bug:2576057
Change-Id: I21df0e53f7f56ae9bf71f983a3aed200c5ac217d
parent 290a48b3
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -463,7 +463,7 @@ public class ThrottleService extends IThrottleManager.Stub {
        private void postNotification(int titleInt, int messageInt, int icon, int flags) {
        private void postNotification(int titleInt, int messageInt, int icon, int flags) {
            Intent intent = new Intent();
            Intent intent = new Intent();
            // TODO - fix up 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);
            intent.setFlags(Intent.FLAG_ACTIVITY_NO_HISTORY);


            PendingIntent pi = PendingIntent.getActivity(mContext, 0, intent, 0);
            PendingIntent pi = PendingIntent.getActivity(mContext, 0, intent, 0);