Merge change 9077 into donut

* changes:
  Make GestureBuilder build under the SDK.
This commit is contained in:
Android (Google) Code Review
2009-07-29 18:38:17 -07:00

View File

@@ -336,6 +336,7 @@ out: for (String name : entries) {
mAdapter.clear(); mAdapter.clear();
} }
@Override
protected Integer doInBackground(Void... params) { protected Integer doInBackground(Void... params) {
if (isCancelled()) return STATUS_CANCELLED; if (isCancelled()) return STATUS_CANCELLED;
if (!Environment.MEDIA_MOUNTED.equals(Environment.getExternalStorageState())) { if (!Environment.MEDIA_MOUNTED.equals(Environment.getExternalStorageState())) {
@@ -386,7 +387,7 @@ out: for (String name : entries) {
super.onPostExecute(result); super.onPostExecute(result);
if (result == STATUS_NO_STORAGE) { if (result == STATUS_NO_STORAGE) {
mList.setVisibility(View.GONE); getListView().setVisibility(View.GONE);
mEmpty.setVisibility(View.VISIBLE); mEmpty.setVisibility(View.VISIBLE);
mEmpty.setText(getString(R.string.gestures_error_loading, mEmpty.setText(getString(R.string.gestures_error_loading,
mStoreFile.getAbsolutePath())); mStoreFile.getAbsolutePath()));