Devices implementations:
DELETE_PACKAGE
permission. The only exceptions are the system package verifier app handling PACKAGE_NEEDS_VERIFICATION intent and the storage manager app handling ACTION_MANAGE_STORAGE intent.Device implementations MUST NOT install application packages from unknown sources, unless the app that requests the installation meets all the following requirements:
REQUEST_INSTALL_PACKAGES
permission or have the android:targetSdkVersion
set at 24 or lower.Device implementations MUST have an activity that handles the android.settings.MANAGE_UNKNOWN_APP_SOURCES
intent. They SHOULD provide a user affordance to grant/revoke the permission to install apps from unknown sources per application, but MAY choose to implement this as a no-op and return RESULT_CANCELED
for [startActivityForResult()
](http://developer.android.com/reference/android/app/Activity.html#startActivityForResult%28android.content.Intent, int%29), if the device implementation does not want to allow users to have this choice. However even in such cases, they SHOULD indicate to the user why there is no such choice presented.