Loading packages/DocumentsUI/src/com/android/documentsui/DocumentsActivity.java +2 −2 Original line number Diff line number Diff line Loading @@ -190,7 +190,7 @@ public class DocumentsActivity extends BaseActivity { @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { Log.d(TAG, "onActivityResult() code=" + resultCode); if (DEBUG) Log.d(TAG, "onActivityResult() code=" + resultCode); // Only relay back results when not canceled; otherwise stick around to // let the user pick another app/backend. Loading Loading @@ -414,7 +414,7 @@ public class DocumentsActivity extends BaseActivity { @Override void onTaskFinished(Uri... uris) { Log.d(TAG, "onFinished() " + Arrays.toString(uris)); if (DEBUG) Log.d(TAG, "onFinished() " + Arrays.toString(uris)); final Intent intent = new Intent(); if (uris.length == 1) { Loading packages/DocumentsUI/src/com/android/documentsui/FilesActivity.java +1 −1 Original line number Diff line number Diff line Loading @@ -414,7 +414,7 @@ public class FilesActivity extends BaseActivity { @Override void onTaskFinished(Uri... uris) { Log.d(TAG, "onFinished() " + Arrays.toString(uris)); if (DEBUG) Log.d(TAG, "onFinished() " + Arrays.toString(uris)); final Intent intent = new Intent(); if (uris.length == 1) { Loading packages/DocumentsUI/src/com/android/documentsui/OpenExternalDirectoryActivity.java +1 −1 Original line number Diff line number Diff line Loading @@ -282,7 +282,7 @@ public class OpenExternalDirectoryActivity extends Activity { logInvalidScopedAccessRequest(context, SCOPED_DIRECTORY_ACCESS_ERROR); return null; } Log.d(TAG, "doc id for " + file + ": " + docId); if (DEBUG) Log.d(TAG, "doc id for " + file + ": " + docId); final Uri uri = DocumentsContract.buildTreeDocumentUri(EXTERNAL_STORAGE_AUTH, docId); if (uri == null) { Loading packages/DocumentsUI/src/com/android/documentsui/RecentsProvider.java +2 −1 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ package com.android.documentsui; import static com.android.documentsui.Shared.DEBUG; import static com.android.documentsui.model.DocumentInfo.getCursorString; import android.content.ContentProvider; Loading Loading @@ -338,7 +339,7 @@ public class RecentsProvider extends ContentProvider { if (predicate.apply(authority)) { db.delete(TABLE_STATE, StateColumns.AUTHORITY + "=?", new String[] { authority }); Log.d(TAG, "Purged state for " + authority); if (DEBUG) Log.d(TAG, "Purged state for " + authority); } } } finally { Loading packages/DocumentsUI/src/com/android/documentsui/SearchViewManager.java +4 −2 Original line number Diff line number Diff line Loading @@ -16,6 +16,8 @@ package com.android.documentsui; import static com.android.documentsui.Shared.DEBUG; import android.annotation.Nullable; import android.os.Bundle; import android.provider.DocumentsContract.Root; Loading Loading @@ -80,7 +82,7 @@ final class SearchViewManager implements */ void update(RootInfo root) { if (mMenu == null) { Log.d(TAG, "update called before Search MenuItem installed."); if (DEBUG) Log.d(TAG, "update called before Search MenuItem installed."); return; } Loading Loading @@ -108,7 +110,7 @@ final class SearchViewManager implements void showMenu(boolean visible) { if (mMenu == null) { Log.d(TAG, "showMenu called before Search MenuItem installed."); if (DEBUG) Log.d(TAG, "showMenu called before Search MenuItem installed."); return; } Loading Loading
packages/DocumentsUI/src/com/android/documentsui/DocumentsActivity.java +2 −2 Original line number Diff line number Diff line Loading @@ -190,7 +190,7 @@ public class DocumentsActivity extends BaseActivity { @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { Log.d(TAG, "onActivityResult() code=" + resultCode); if (DEBUG) Log.d(TAG, "onActivityResult() code=" + resultCode); // Only relay back results when not canceled; otherwise stick around to // let the user pick another app/backend. Loading Loading @@ -414,7 +414,7 @@ public class DocumentsActivity extends BaseActivity { @Override void onTaskFinished(Uri... uris) { Log.d(TAG, "onFinished() " + Arrays.toString(uris)); if (DEBUG) Log.d(TAG, "onFinished() " + Arrays.toString(uris)); final Intent intent = new Intent(); if (uris.length == 1) { Loading
packages/DocumentsUI/src/com/android/documentsui/FilesActivity.java +1 −1 Original line number Diff line number Diff line Loading @@ -414,7 +414,7 @@ public class FilesActivity extends BaseActivity { @Override void onTaskFinished(Uri... uris) { Log.d(TAG, "onFinished() " + Arrays.toString(uris)); if (DEBUG) Log.d(TAG, "onFinished() " + Arrays.toString(uris)); final Intent intent = new Intent(); if (uris.length == 1) { Loading
packages/DocumentsUI/src/com/android/documentsui/OpenExternalDirectoryActivity.java +1 −1 Original line number Diff line number Diff line Loading @@ -282,7 +282,7 @@ public class OpenExternalDirectoryActivity extends Activity { logInvalidScopedAccessRequest(context, SCOPED_DIRECTORY_ACCESS_ERROR); return null; } Log.d(TAG, "doc id for " + file + ": " + docId); if (DEBUG) Log.d(TAG, "doc id for " + file + ": " + docId); final Uri uri = DocumentsContract.buildTreeDocumentUri(EXTERNAL_STORAGE_AUTH, docId); if (uri == null) { Loading
packages/DocumentsUI/src/com/android/documentsui/RecentsProvider.java +2 −1 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ package com.android.documentsui; import static com.android.documentsui.Shared.DEBUG; import static com.android.documentsui.model.DocumentInfo.getCursorString; import android.content.ContentProvider; Loading Loading @@ -338,7 +339,7 @@ public class RecentsProvider extends ContentProvider { if (predicate.apply(authority)) { db.delete(TABLE_STATE, StateColumns.AUTHORITY + "=?", new String[] { authority }); Log.d(TAG, "Purged state for " + authority); if (DEBUG) Log.d(TAG, "Purged state for " + authority); } } } finally { Loading
packages/DocumentsUI/src/com/android/documentsui/SearchViewManager.java +4 −2 Original line number Diff line number Diff line Loading @@ -16,6 +16,8 @@ package com.android.documentsui; import static com.android.documentsui.Shared.DEBUG; import android.annotation.Nullable; import android.os.Bundle; import android.provider.DocumentsContract.Root; Loading Loading @@ -80,7 +82,7 @@ final class SearchViewManager implements */ void update(RootInfo root) { if (mMenu == null) { Log.d(TAG, "update called before Search MenuItem installed."); if (DEBUG) Log.d(TAG, "update called before Search MenuItem installed."); return; } Loading Loading @@ -108,7 +110,7 @@ final class SearchViewManager implements void showMenu(boolean visible) { if (mMenu == null) { Log.d(TAG, "showMenu called before Search MenuItem installed."); if (DEBUG) Log.d(TAG, "showMenu called before Search MenuItem installed."); return; } Loading