diff options
author | Steve McKay <smckay@google.com> | 2016-03-10 23:56:14 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-03-10 23:56:14 +0000 |
commit | fc80c24916a52b77995bf27fe6fe6a8061bac4b6 (patch) | |
tree | 84a2583fd306b0a9669b8ea23416411567c53a75 /ui | |
parent | 14912504eca4e6a6ff84af3b28c08860038e1cb8 (diff) | |
parent | fb816b315b01de0b1695ff97208e11eef0d05d90 (diff) | |
download | android_packages_providers_DownloadProvider-fc80c24916a52b77995bf27fe6fe6a8061bac4b6.tar.gz android_packages_providers_DownloadProvider-fc80c24916a52b77995bf27fe6fe6a8061bac4b6.tar.bz2 android_packages_providers_DownloadProvider-fc80c24916a52b77995bf27fe6fe6a8061bac4b6.zip |
Remove the Downloads launcher icon.
am: fb816b315b
* commit 'fb816b315b01de0b1695ff97208e11eef0d05d90':
Remove the Downloads launcher icon.
Diffstat (limited to 'ui')
-rw-r--r-- | ui/AndroidManifest.xml | 13 | ||||
-rw-r--r-- | ui/src/com/android/providers/downloads/ui/DownloadList.java | 38 |
2 files changed, 0 insertions, 51 deletions
diff --git a/ui/AndroidManifest.xml b/ui/AndroidManifest.xml index e93e268c..fa795c9f 100644 --- a/ui/AndroidManifest.xml +++ b/ui/AndroidManifest.xml @@ -14,19 +14,6 @@ android:requiredForAllUsers="true"> <activity - android:name=".DownloadList" - android:theme="@android:style/Theme.NoDisplay"> - <intent-filter> - <action android:name="android.intent.action.MAIN" /> - <category android:name="android.intent.category.LAUNCHER" /> - </intent-filter> - <intent-filter> - <action android:name="android.intent.action.VIEW_DOWNLOADS" /> - <category android:name="android.intent.category.DEFAULT" /> - </intent-filter> - </activity> - - <activity android:name=".TrampolineActivity" android:theme="@android:style/Theme.Translucent.NoTitleBar" android:permission="android.permission.MANAGE_DOCUMENTS"> diff --git a/ui/src/com/android/providers/downloads/ui/DownloadList.java b/ui/src/com/android/providers/downloads/ui/DownloadList.java deleted file mode 100644 index 044bd4eb..00000000 --- a/ui/src/com/android/providers/downloads/ui/DownloadList.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2010 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. - */ - -package com.android.providers.downloads.ui; - -import android.app.Activity; -import android.content.Intent; -import android.os.Bundle; -import android.provider.DocumentsContract; - -import com.android.providers.downloads.Constants; - -public class DownloadList extends Activity { - @Override - public void onCreate(Bundle icicle) { - super.onCreate(icicle); - - // Trampoline over to new management UI - final Intent intent = new Intent(DocumentsContract.ACTION_MANAGE_ROOT); - intent.setData(DocumentsContract.buildRootUri( - Constants.STORAGE_AUTHORITY, Constants.STORAGE_ROOT_ID)); - startActivity(intent); - finish(); - } -} |