Merge "Fixing issue with folder inflation" into ub-launcher3-burnaby
This commit is contained in:
@@ -406,9 +406,9 @@ public class Folder extends LinearLayout implements DragSource, View.OnClickList
|
||||
*
|
||||
* @return A new UserFolder.
|
||||
*/
|
||||
@SuppressLint("InflateParams")
|
||||
static Folder fromXml(Launcher launcher) {
|
||||
return (Folder) LayoutInflater.from(launcher).inflate(R.layout.user_folder,
|
||||
launcher.getDragLayer(), false);
|
||||
return (Folder) launcher.getLayoutInflater().inflate(R.layout.user_folder, null);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user