android:shadowColor="#FF000000"
android:shadowRadius="2.0"
- android:drawablePadding="6dip"
+ android:drawablePadding="8dip"
android:textAppearance="?android:attr/textAppearanceLarge"
android:ellipsize="end"
android:maxLines="2"
android:shadowColor="#FF000000"
android:shadowRadius="2.0"
- android:drawablePadding="6dip"
+ android:drawablePadding="8dip"
android:textAppearance="?android:attr/textAppearanceLarge"
android:ellipsize="end"
android:maxLines="2"
private Launcher.GesturesProcessor mGesturesProcessor;
private Gesture mCurrentGesture;
private GesturesAction mGesturesAction;
+ private boolean mHideGesturesPanel;
@Override
protected void onCreate(Bundle savedInstanceState) {
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
+ mWaitingForResult = false;
+
// The pattern used here is that a user PICKs a specific application,
// which, depending on the target, might need to CREATE the actual target.
mAppWidgetHost.deleteAppWidgetId(appWidgetId);
}
}
- mWaitingForResult = false;
}
@Override
@Override
protected void onStop() {
super.onStop();
- hideGesturesPanel();
+ if (mHideGesturesPanel) {
+ mHideGesturesPanel = false;
+ hideGesturesPanel();
+ }
}
@Override
}
void startActivitySafely(Intent intent) {
+ mHideGesturesPanel = true;
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
try {
startActivity(intent);