正在查看: 万能钥匙 v1.1.23 应用的 ConDirProvider.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: 万能钥匙 v1.1.23 应用的 ConDirProvider.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.lantern.daemon.comp;
import android.content.ContentProvider;
import android.content.ContentValues;
import android.content.Context;
import android.content.Intent;
import android.database.Cursor;
import android.net.Uri;
import com.meituan.robust.ChangeQuickRedirect;
import com.meituan.robust.PatchProxy;
import com.meituan.robust.PatchProxyResult;
import com.wifi.connect.provider.MsgProvider;
import com.wifi.connect.service.MsgService;
import os.C0341a;
import os.e;
import pa.d;
public class ConDirProvider extends ContentProvider {
public static boolean a;
public static boolean b;
public static boolean c;
public static ChangeQuickRedirect changeQuickRedirect;
public static void a() {
if (PatchProxy.proxy(new Object[0], null, changeQuickRedirect, true, 490, new Class[0], Void.TYPE).isSupported || a) {
return;
}
a = true;
if (c) {
b();
}
}
public static void b() {
if (PatchProxy.proxy(new Object[0], null, changeQuickRedirect, true, 492, new Class[0], Void.TYPE).isSupported || b) {
return;
}
b = true;
c = false;
C0341a.e("active_condir");
d.a("#101875 ----> create finish", new Object[0]);
}
public static void c() {
if (PatchProxy.proxy(new Object[0], null, changeQuickRedirect, true, 491, new Class[0], Void.TYPE).isSupported) {
return;
}
d.a("#101875 ----> create 1", new Object[0]);
if (a) {
b();
} else {
c = true;
}
}
public static void d() {
if (PatchProxy.proxy(new Object[0], null, changeQuickRedirect, true, 493, new Class[0], Void.TYPE).isSupported) {
return;
}
try {
Context b2 = e.b();
Intent intent = new Intent(MsgService.e);
intent.setPackage(b2.getPackageName());
intent.putExtra("source", "condir");
b2.startService(intent);
} catch (Exception e) {
d.c(e);
}
MsgProvider.c(e.b(), "condir");
}
@Override
public int delete(Uri uri, String str, String[] strArr) {
PatchProxyResult proxy = PatchProxy.proxy(new Object[]{uri, str, strArr}, this, changeQuickRedirect, false, 486, new Class[]{Uri.class, String.class, String[].class}, Integer.TYPE);
if (proxy.isSupported) {
return ((Integer) proxy.result).intValue();
}
d();
return 0;
}
@Override
public String getType(Uri uri) {
return null;
}
@Override
public Uri insert(Uri uri, ContentValues contentValues) {
PatchProxyResult proxy = PatchProxy.proxy(new Object[]{uri, contentValues}, this, changeQuickRedirect, false, 487, new Class[]{Uri.class, ContentValues.class}, Uri.class);
if (proxy.isSupported) {
return (Uri) proxy.result;
}
d();
return null;
}
@Override
public boolean onCreate() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 485, new Class[0], Boolean.TYPE);
if (proxy.isSupported) {
return ((Boolean) proxy.result).booleanValue();
}
d.a("#101875 ----> ConDirProvider:onCreate()", new Object[0]);
c();
return true;
}
@Override
public Cursor query(Uri uri, String[] strArr, String str, String[] strArr2, String str2) {
PatchProxyResult proxy = PatchProxy.proxy(new Object[]{uri, strArr, str, strArr2, str2}, this, changeQuickRedirect, false, 488, new Class[]{Uri.class, String[].class, String.class, String[].class, String.class}, Cursor.class);
if (proxy.isSupported) {
return (Cursor) proxy.result;
}
d();
return null;
}
@Override
public int update(Uri uri, ContentValues contentValues, String str, String[] strArr) {
PatchProxyResult proxy = PatchProxy.proxy(new Object[]{uri, contentValues, str, strArr}, this, changeQuickRedirect, false, 489, new Class[]{Uri.class, ContentValues.class, String.class, String[].class}, Integer.TYPE);
if (proxy.isSupported) {
return ((Integer) proxy.result).intValue();
}
d();
return 0;
}
}