Merge "Revert new app installed notification doc" into qt-dev
This commit is contained in:
@@ -101,19 +101,6 @@ import java.util.concurrent.Executor;
|
|||||||
* <p>
|
* <p>
|
||||||
* The ApiDemos project contains examples of using this API:
|
* The ApiDemos project contains examples of using this API:
|
||||||
* <code>ApiDemos/src/com/example/android/apis/content/InstallApk*.java</code>.
|
* <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
|
|
||||||
* <application> as follows: </p>
|
|
||||||
* <pre>
|
|
||||||
* <meta-data android:name="com.android.packageinstaller.notification.smallIcon"
|
|
||||||
* android:resource="@drawable/installer_notification_icon"/>
|
|
||||||
* </pre>
|
|
||||||
* <pre>
|
|
||||||
* <meta-data android:name="com.android.packageinstaller.notification.color"
|
|
||||||
* android:resource="@color/installer_notification_color"/>
|
|
||||||
* </pre>
|
|
||||||
*/
|
*/
|
||||||
public class PackageInstaller {
|
public class PackageInstaller {
|
||||||
private static final String TAG = "PackageInstaller";
|
private static final String TAG = "PackageInstaller";
|
||||||
|
|||||||
Reference in New Issue
Block a user