Fix 2306862 - Launcher2 crashed: in libs/rs. Uploading texture without a context.

turns off some logging and fixes latent bugs that this uncovered where we were
accessing renderscript while there was no context.
This commit is contained in:
Joe Onorato
2009-12-08 17:02:02 -08:00
parent bf173f11d2
commit a276fc59f5
2 changed files with 16 additions and 11 deletions
-1
View File
@@ -693,7 +693,6 @@ public class Workspace extends ViewGroup implements DropTarget, DragSource, Drag
public boolean onInterceptTouchEvent(MotionEvent ev) {
final boolean workspaceLocked = mLauncher.isWorkspaceLocked();
final boolean allAppsVisible = mLauncher.isAllAppsVisible();
Log.d(TAG, "workspaceLocked=" + workspaceLocked + " allAppsVisible=" + allAppsVisible);
if (workspaceLocked || allAppsVisible) {
return false; // We don't want the events. Let them fall through to the all apps view.
}