Loading AndroidManifest.xml +0 −5 Original line number Diff line number Diff line Loading @@ -75,11 +75,6 @@ <intent-filter> <action android:name="android.intent.action.MAIN" /> </intent-filter> <intent-filter> <action android:name="android.provider.action.BROWSE" /> <category android:name="android.intent.category.DEFAULT" /> <data android:mimeType="vnd.android.document/root" /> </intent-filter> <intent-filter> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" /> Loading src/com/android/documentsui/files/ActionHandler.java +1 −3 Original line number Diff line number Diff line Loading @@ -454,9 +454,7 @@ public class ActionHandler<T extends Activity & Addons> extends AbstractActionHa private boolean launchToRoot(Intent intent) { String action = intent.getAction(); // TODO: Remove the "BROWSE" action once our min runtime in O. if (Intent.ACTION_VIEW.equals(action) || "android.provider.action.BROWSE".equals(action)) { if (Intent.ACTION_VIEW.equals(action)) { Uri uri = intent.getData(); if (DocumentsContract.isRootUri(mActivity, uri)) { if (DEBUG) Log.d(TAG, "Launching with root URI."); Loading Loading
AndroidManifest.xml +0 −5 Original line number Diff line number Diff line Loading @@ -75,11 +75,6 @@ <intent-filter> <action android:name="android.intent.action.MAIN" /> </intent-filter> <intent-filter> <action android:name="android.provider.action.BROWSE" /> <category android:name="android.intent.category.DEFAULT" /> <data android:mimeType="vnd.android.document/root" /> </intent-filter> <intent-filter> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" /> Loading
src/com/android/documentsui/files/ActionHandler.java +1 −3 Original line number Diff line number Diff line Loading @@ -454,9 +454,7 @@ public class ActionHandler<T extends Activity & Addons> extends AbstractActionHa private boolean launchToRoot(Intent intent) { String action = intent.getAction(); // TODO: Remove the "BROWSE" action once our min runtime in O. if (Intent.ACTION_VIEW.equals(action) || "android.provider.action.BROWSE".equals(action)) { if (Intent.ACTION_VIEW.equals(action)) { Uri uri = intent.getData(); if (DocumentsContract.isRootUri(mActivity, uri)) { if (DEBUG) Log.d(TAG, "Launching with root URI."); Loading