Commit 4d4a30d3 authored by Tibor Goldschwendt's avatar Tibor Goldschwendt Committed by Commit Bot

Roll Play Core SDK to latest version with inline update API

Bug: 922713
Change-Id: Ia1cbb340b050878734a5e33d52b7f6adfd6b5f7e
Reviewed-on: https://chromium-review.googlesource.com/c/1428082
Commit-Queue: Tibor Goldschwendt <tiborg@chromium.org>
Reviewed-by: default avatarTommy Nyquist <nyquist@chromium.org>
Auto-Submit: Tibor Goldschwendt <tiborg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#625218}
parent d11c25ac
......@@ -1248,7 +1248,7 @@ deps = {
'packages': [
{
'package': 'chromium/third_party/android_deps/libs/com_google_android_play_core_verification',
'version': 'CMX_sCQTYt-Pj3-xFaCMPNGK3TjVMfToP2glkNm1a4AC',
'version': '8G9OLUMhXcZ3EtWR234C86_a9afooucYik62UE_FjrsC',
},
],
'condition': 'checkout_android',
......
......@@ -5,6 +5,7 @@
package org.chromium.components.module_installer;
import android.content.Context;
import android.content.pm.PackageManager;
import com.google.android.play.core.splitcompat.SplitCompat;
import com.google.android.play.core.splitcompat.ingestion.Verifier;
......@@ -93,8 +94,12 @@ class FakeModuleInstallerBackend extends ModuleInstallerBackend {
}
// Check that the module's signature matches Chrome's.
Verifier verifier = new Verifier(context);
if (!verifier.verifySplits()) {
try {
Verifier verifier = new Verifier(context);
if (!verifier.verifySplits()) {
return false;
}
} catch (IOException | PackageManager.NameNotFoundException e) {
return false;
}
......
......@@ -10,4 +10,5 @@ Description:
Local Modifications:
Unproguarded verification API.
- Unproguarded verification API.
- Unproguarded inline update API.
......@@ -3,7 +3,7 @@
# found in the LICENSE file.
# To create CIPD package run the following command.
# cipd create --pkg-def cipd.yaml -tag version:1.3.7-cr0
# cipd create --pkg-def cipd.yaml -tag version:1.3.7-cr1
package: chromium/third_party/android_deps/libs/com_google_android_play_core_verification
description: ""
data:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment