From 5f5bacfda01cff7830bb2dbf4996119f0d62fdfb Mon Sep 17 00:00:00 2001 From: Ricky Wai Date: Fri, 4 Oct 2019 16:10:17 +0100 Subject: [PATCH] Revert new app installed notification doc Bug: 111214100 Test: Able to compile Change-Id: Id4fdabf0e8c69074eb8cb5838ab11d9d5f030093 --- core/java/android/content/pm/PackageInstaller.java | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/core/java/android/content/pm/PackageInstaller.java b/core/java/android/content/pm/PackageInstaller.java index 3cecd7f880456..a15caa09bb608 100644 --- a/core/java/android/content/pm/PackageInstaller.java +++ b/core/java/android/content/pm/PackageInstaller.java @@ -101,19 +101,6 @@ import java.util.concurrent.Executor; *

* The ApiDemos project contains examples of using this API: * ApiDemos/src/com/example/android/apis/content/InstallApk*.java. - *

- * On Android Q or above, an app installed notification will be posted - * by system after a new app is installed. - * To customize installer's notification icon, you should declare the following in the manifest - * <application> as follows:

- *
- * <meta-data android:name="com.android.packageinstaller.notification.smallIcon"
- * android:resource="@drawable/installer_notification_icon"/>
- * 
- *
- * <meta-data android:name="com.android.packageinstaller.notification.color"
- * android:resource="@color/installer_notification_color"/>
- * 
*/ public class PackageInstaller { private static final String TAG = "PackageInstaller";