Skip to content

Commit 12d4019

Browse files
committed
rename a function
1 parent db54145 commit 12d4019

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/main/java/com/simplemobiletools/notes/MyWidgetProvider.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] a
3131
private void initVariables(Context context) {
3232
prefs = context.getSharedPreferences(Constants.PREFS, Context.MODE_PRIVATE);
3333
remoteViews = new RemoteViews(context.getPackageName(), R.layout.widget);
34-
setupIntent(R.id.notes_holder, context);
34+
setupAppOpenIntent(R.id.notes_holder, context);
3535
}
3636

37-
private void setupIntent(int id, Context context) {
37+
private void setupAppOpenIntent(int id, Context context) {
3838
final Intent intent = new Intent(context, MainActivity.class);
3939
final PendingIntent pendingIntent = PendingIntent.getActivity(context, 0, intent, 0);
4040
remoteViews.setOnClickPendingIntent(id, pendingIntent);

0 commit comments

Comments
 (0)