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

Commit 0c8e36f0 authored by Joe Onorato's avatar Joe Onorato Committed by Android Git Automerger
Browse files

am 881485a7: Using PendingIntent.FLAG_CANCEL_CURRENT makes it so there can...

am 881485a7: Using PendingIntent.FLAG_CANCEL_CURRENT makes it so there can only be one of the widget at a time.

* commit '881485a7':
  Using PendingIntent.FLAG_CANCEL_CURRENT makes it so there can only be one of the widget at a time.
parents 4cb0d0ea 881485a7
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -41,8 +41,7 @@ public class AnalogAppWidgetProvider extends BroadcastReceiver {

            views.setOnClickPendingIntent(R.id.analog_appwidget,
                    PendingIntent.getActivity(context, 0,
                        new Intent(context, AlarmClock.class),
                        PendingIntent.FLAG_CANCEL_CURRENT));
                        new Intent(context, AlarmClock.class), 0));

            int[] appWidgetIds = intent.getIntArrayExtra(
                    AppWidgetManager.EXTRA_APPWIDGET_IDS);