[pm] describe warning dialog behavior in javadoc

So that we can add a CTS test to enforce this behavior.

BUG: 283266877
Test: builds
Change-Id: I482f7f3c5288f73176e114655d9b62cf509b2ba3
This commit is contained in:
Songchun Fan
2023-05-25 15:38:05 -07:00
committed by Song Chun Fan
parent 2ba4c12b83
commit 22505e8da3

View File

@@ -444,6 +444,10 @@ public class PackageInstaller {
* exist, it may be missing native code for the ABIs supported by the
* device, or it requires a newer SDK version, etc.
*
* Starting in {@link Build.VERSION_CODES#UPSIDE_DOWN_CAKE}, an app with only 32-bit native
* code can still be installed on a device that supports both 64-bit and 32-bit ABIs.
* However, a warning dialog will be displayed when the app is launched.
*
* @see #EXTRA_STATUS_MESSAGE
*/
public static final int STATUS_FAILURE_INCOMPATIBLE = 7;