51 lines
2.4 KiB
Java
51 lines
2.4 KiB
Java
package com.google.android.gms.measurement.internal;
|
|
|
|
import android.database.sqlite.SQLiteDatabase;
|
|
import java.io.File;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class zzak {
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
/* JADX WARN: Code restructure failed: missing block: B:10:0x0029, code lost:
|
|
|
|
if (r0 == false) goto L20;
|
|
*/
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
/* JADX WARN: Removed duplicated region for block: B:58:0x00fb */
|
|
/* JADX WARN: Type inference failed for: r13v0 */
|
|
/* JADX WARN: Type inference failed for: r13v1, types: [android.database.Cursor] */
|
|
/* JADX WARN: Type inference failed for: r13v2 */
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public static void zza(com.google.android.gms.measurement.internal.zzel r14, android.database.sqlite.SQLiteDatabase r15, java.lang.String r16, java.lang.String r17, java.lang.String r18, java.lang.String[] r19) throws android.database.sqlite.SQLiteException {
|
|
/*
|
|
Method dump skipped, instructions count: 263
|
|
To view this dump add '--comments-level debug' option
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.measurement.internal.zzak.zza(com.google.android.gms.measurement.internal.zzel, android.database.sqlite.SQLiteDatabase, java.lang.String, java.lang.String, java.lang.String, java.lang.String[]):void");
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
public static void zzb(zzel zzelVar, SQLiteDatabase sQLiteDatabase) {
|
|
if (zzelVar == null) {
|
|
throw new IllegalArgumentException("Monitor must not be null");
|
|
}
|
|
File file = new File(sQLiteDatabase.getPath());
|
|
if (!file.setReadable(false, false)) {
|
|
zzelVar.zzk().zza("Failed to turn off database read permission");
|
|
}
|
|
if (!file.setWritable(false, false)) {
|
|
zzelVar.zzk().zza("Failed to turn off database write permission");
|
|
}
|
|
if (!file.setReadable(true, true)) {
|
|
zzelVar.zzk().zza("Failed to turn on database read permission for owner");
|
|
}
|
|
if (file.setWritable(true, true)) {
|
|
return;
|
|
}
|
|
zzelVar.zzk().zza("Failed to turn on database write permission for owner");
|
|
}
|
|
}
|