OSDN Git Service

SYSTEM/app/Gallery2/Gallery2.apk app - update the version to target P (28) or higher.
authorRaman Tenneti <rtenneti@google.com>
Sat, 5 Jan 2019 00:04:46 +0000 (16:04 -0800)
committerRaman Tenneti <rtenneti@google.com>
Sat, 5 Jan 2019 00:04:46 +0000 (16:04 -0800)
Bug: 115499280
Bug: 119501125

Test: manual - Tested the Gallery UI manually on Pixel phone.

$ make -j 40
  -rw-r--r-- 1 rtenneti primarygroup 5501194 Jan  4 15:54 out/target/product/marlin/system/app/Gallery2/Gallery2.apk

$ aapt list -a out/target/product/marlin/system/app/Gallery2/Gallery2.apk | grep SdkVersion
    A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1c
    A: android:compileSdkVersionCodename(0x01010573)="Q" (Raw: "Q")
      A: android:minSdkVersion(0x0101020c)="Q" (Raw: "Q")
      A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1c

$ adb install -r -d out/target/product/marlin/system/app/Gallery2/Gallery2.apk

Change-Id: I33ca064531724b25798251b97fc7a3b71b02fb31

AndroidManifest.xml

index 0263e6d..a664964 100644 (file)
@@ -7,7 +7,7 @@
 
     <original-package android:name="com.android.gallery3d" />
 
-    <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="24" />
+    <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="28" />
 
     <permission android:name="com.android.gallery3d.permission.GALLERY_PROVIDER"
             android:protectionLevel="signatureOrSystem" />