summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve McKay <smckay@google.com>2016-03-10 11:51:04 -0800
committerSteve McKay <smckay@google.com>2016-03-10 12:47:59 -0800
commitfb816b315b01de0b1695ff97208e11eef0d05d90 (patch)
tree6c5353b8d8c625c0a2e10cb58fd1e7087de219b9
parent377b6b1eef515aa3439cbe6a65c82e7fe4a9041f (diff)
downloadandroid_packages_providers_DownloadProvider-fb816b315b01de0b1695ff97208e11eef0d05d90.tar.gz
android_packages_providers_DownloadProvider-fb816b315b01de0b1695ff97208e11eef0d05d90.tar.bz2
android_packages_providers_DownloadProvider-fb816b315b01de0b1695ff97208e11eef0d05d90.zip
Remove the Downloads launcher icon.
And the intent filter for "BROWSE_DOWNLOADS". Bug: 27563427 Change-Id: I22e8cbbd49c9d2317146d18d90b15549dadfc69f
-rw-r--r--ui/AndroidManifest.xml13
-rw-r--r--ui/src/com/android/providers/downloads/ui/DownloadList.java38
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();
- }
-}