正在查看: 万能钥匙 v1.1.23 应用的 ImageBaseActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: 万能钥匙 v1.1.23 应用的 ImageBaseActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.wifitutu.widget.imagepicker.ui;
import android.annotation.TargetApi;
import android.os.Bundle;
import android.view.Window;
import android.view.WindowManager;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import androidx.core.content.ContextCompat;
import c70.b;
import com.meituan.robust.ChangeQuickRedirect;
import com.meituan.robust.PatchProxy;
import com.meituan.robust.PatchProxyResult;
import d70.c;
import o80.l;
import x60.e;
public class ImageBaseActivity extends AppCompatActivity {
public static ChangeQuickRedirect changeQuickRedirect;
public c O;
public boolean J(@NonNull String str) {
PatchProxyResult proxy = PatchProxy.proxy(new Object[]{str}, this, changeQuickRedirect, false, 37096, new Class[]{String.class}, Boolean.TYPE);
return proxy.isSupported ? ((Boolean) proxy.result).booleanValue() : ContextCompat.checkSelfPermission(this, str) == 0;
}
@TargetApi(l.SplitEditTextView_underlineNormalColor)
public final void K(boolean z) {
if (PatchProxy.proxy(new Object[]{new Byte(z ? (byte) 1 : (byte) 0)}, this, changeQuickRedirect, false, 37095, new Class[]{Boolean.TYPE}, Void.TYPE).isSupported) {
return;
}
Window window = getWindow();
WindowManager.LayoutParams attributes = window.getAttributes();
if (z) {
attributes.flags |= 67108864;
} else {
attributes.flags &= -67108865;
}
window.setAttributes(attributes);
}
public void L(String str) {
if (PatchProxy.proxy(new Object[]{str}, this, changeQuickRedirect, false, 37097, new Class[]{String.class}, Void.TYPE).isSupported) {
return;
}
b.a(this).c(str);
}
public void onCreate(Bundle bundle) {
if (PatchProxy.proxy(new Object[]{bundle}, this, changeQuickRedirect, false, 37094, new Class[]{Bundle.class}, Void.TYPE).isSupported) {
return;
}
super/*androidx.fragment.app.FragmentActivity*/.onCreate(bundle);
K(true);
c cVar = new c(this);
this.O = cVar;
cVar.b(true);
this.O.c(e.ip_color_primary_dark);
}
public void onRestoreInstanceState(Bundle bundle) {
if (PatchProxy.proxy(new Object[]{bundle}, this, changeQuickRedirect, false, 37098, new Class[]{Bundle.class}, Void.TYPE).isSupported) {
return;
}
super/*android.app.Activity*/.onRestoreInstanceState(bundle);
x60.c.l().A(bundle);
}
public void onSaveInstanceState(Bundle bundle) {
if (PatchProxy.proxy(new Object[]{bundle}, this, changeQuickRedirect, false, 37099, new Class[]{Bundle.class}, Void.TYPE).isSupported) {
return;
}
super/*androidx.activity.ComponentActivity*/.onSaveInstanceState(bundle);
x60.c.l().B(bundle);
}
}