Merge "Fixing construction of handler in AppWidgetHost" into jb-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
2bb25cd57a
@@ -117,7 +117,7 @@ public class AppWidgetHost {
|
|||||||
private OnClickHandler mOnClickHandler;
|
private OnClickHandler mOnClickHandler;
|
||||||
|
|
||||||
public AppWidgetHost(Context context, int hostId) {
|
public AppWidgetHost(Context context, int hostId) {
|
||||||
this(context, hostId, null, Looper.getMainLooper());
|
this(context, hostId, null, context.getMainLooper());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user