Skip to content

Commit 2bb25cd

Browse files
mikejurkaAndroid (Google) Code Review
authored andcommitted
Merge "Fixing construction of handler in AppWidgetHost" into jb-mr1-dev
2 parents 218e2f1 + e6d5545 commit 2bb25cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/java/android/appwidget/AppWidgetHost.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public void handleMessage(Message msg) {
117117
private OnClickHandler mOnClickHandler;
118118

119119
public AppWidgetHost(Context context, int hostId) {
120-
this(context, hostId, null, Looper.getMainLooper());
120+
this(context, hostId, null, context.getMainLooper());
121121
}
122122

123123
/**

0 commit comments

Comments
 (0)