Minor fixes to stop crashing on panning/dragging on phones.
Change-Id: Ibfc0072d6db039b97876702b2c0577359a7ae567
This commit is contained in:
@@ -995,9 +995,9 @@ public final class Launcher extends Activity
|
||||
final View configureButton = findViewById(R.id.configure_button);
|
||||
|
||||
if (LauncherApplication.isScreenXLarge()) {
|
||||
mDeleteZone.setOverlappingViews(new View[] { allAppsButton, divider, configureButton });
|
||||
deleteZone.setOverlappingViews(new View[] { allAppsButton, divider, configureButton });
|
||||
} else {
|
||||
deleteZone.setOverlappingView(configureButton);
|
||||
deleteZone.setOverlappingView(findViewById(R.id.all_apps_button_cluster));
|
||||
}
|
||||
dragController.addDragListener(deleteZone);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user