Revert new app installed notification doc

Bug: 111214100
Test: Able to compile
Change-Id: Id4fdabf0e8c69074eb8cb5838ab11d9d5f030093
This commit is contained in:
Ricky Wai
2019-10-04 16:10:17 +01:00
parent 57e8d83cab
commit 5f5bacfda0

View File

@@ -101,19 +101,6 @@ import java.util.concurrent.Executor;
* <p>
* The ApiDemos project contains examples of using this API:
* <code>ApiDemos/src/com/example/android/apis/content/InstallApk*.java</code>.
* <p>
* 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
* &lt;application> as follows: </p>
* <pre>
* &lt;meta-data android:name="com.android.packageinstaller.notification.smallIcon"
* android:resource="@drawable/installer_notification_icon"/>
* </pre>
* <pre>
* &lt;meta-data android:name="com.android.packageinstaller.notification.color"
* android:resource="@color/installer_notification_color"/>
* </pre>
*/
public class PackageInstaller {
private static final String TAG = "PackageInstaller";