Temporarily show/hide taskbar when choosing widgets
@@ -67,6 +67,7 @@ public class DashboardActivity extends Activity {
try {
startActivityForResult(pickIntent, REQUEST_PICK_APPWIDGET);
+ LocalBroadcastManager.getInstance(DashboardActivity.this).sendBroadcast(new Intent("com.farmerbb.taskbar.TEMP_HIDE_TASKBAR"));
} catch (ActivityNotFoundException e) {
U.showToast(DashboardActivity.this, R.string.lock_device_not_supported);
finish();
@@ -208,6 +209,7 @@ public class DashboardActivity extends Activity {
}
LocalBroadcastManager.getInstance(this).sendBroadcast(new Intent("com.farmerbb.taskbar.ADD_WIDGET_COMPLETED"));
+ LocalBroadcastManager.getInstance(this).sendBroadcast(new Intent("com.farmerbb.taskbar.TEMP_SHOW_TASKBAR"));
shouldFinish = true;
}
