Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f12a1078 authored by felkachang's avatar felkachang Committed by Felka Chang
Browse files

Remove DocumentsUIMinimal build target

To remove the build target DocumentsUIMinimal. Because of the design
changes of the Scoped Directory Access, DocumentsUIMinimal no need anymore.

Fixes: 119222103
Test: atest DocumentsUITests

Change-Id: Iadd5455f82a33af08a76a3261a3ca6fc1d62c604
parent 7910925c
Loading
Loading
Loading
Loading
+0 −28
Original line number Diff line number Diff line
@@ -27,34 +27,6 @@ java_defaults {
    // sdk_version: "current",
}

android_app {
    name: "DocumentsUIMinimal",

    defaults: ["documentsui_defaults"],

    manifest: "minimal/AndroidManifest.xml",

    srcs: [
        "minimal/src/com/android/documentsui/picker/DummyPickActivity.java",
        "src/com/android/documentsui/ScopedAccessActivity.java",
        "src/com/android/documentsui/ScopedAccessMetrics.java",
        "src/com/android/documentsui/archives/Archive.java",
        "src/com/android/documentsui/archives/ArchiveId.java",
        "src/com/android/documentsui/archives/ArchivesProvider.java",
        "src/com/android/documentsui/archives/Loader.java",
        "src/com/android/documentsui/archives/Proxy.java",
        "src/com/android/documentsui/archives/ReadableArchive.java",
        "src/com/android/documentsui/archives/WriteableArchive.java",
        "src/com/android/documentsui/base/Providers.java",
        "src/com/android/documentsui/base/SharedMinimal.java",
        "src/com/android/documentsui/prefs/ScopedAccessLocalPreferences.java",
    ],

    resource_dirs: [
        "minimal/res",
    ],
}

android_app {
    name: "DocumentsUI",

minimal/AndroidManifest.xml

deleted100644 → 0
+0 −58
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
 * Copyright (C) 2007-2017 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
        package="com.android.documentsui">

    <uses-permission android:name="android.permission.GET_APP_GRANTED_URI_PERMISSIONS" />
    <uses-permission android:name="android.permission.FORCE_PERSISTABLE_URI_PERMISSIONS" />
    <uses-permission android:name="android.permission.MANAGE_DOCUMENTS" />
    <uses-permission android:name="android.permission.CACHE_CONTENT" />

    <!-- This is a minimal version of the DocumentsUI app supporting ScopedDirectoryAccess
         only. It is part of the Android TV build. -->
    <application
        android:label="@string/app_label"
        android:icon="@drawable/app_icon"
        android:supportsRtl="true"
        android:allowBackup="false"
        android:fullBackupOnly="false">

        <activity
            android:name=".picker.DummyPickActivity"
            android:theme="@android:style/Theme.Translucent.NoTitleBar"
            android:visibleToInstantApps="true">
            <intent-filter>
                <action android:name="android.intent.action.OPEN_DOCUMENT" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.OPENABLE" />
                <data android:mimeType="*/*" />
            </intent-filter>
        </activity>

        <activity
            android:name=".ScopedAccessActivity"
            android:theme="@android:style/Theme.Translucent.NoTitleBar">
            <intent-filter>
                <action android:name="android.os.storage.action.OPEN_EXTERNAL_DIRECTORY" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>

    </application>
</manifest>
+0 −5
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
    <background android:drawable="@color/app_icon_background"/>
    <foreground android:drawable="@mipmap/ic_launcher_icon_foreground"/>
</adaptive-icon>
−8 KiB
Loading image diff...
−4.49 KiB
Loading image diff...
Loading