Velasquez_V4 v3.0.0版本的 MD5 值为:f925d3b85f8d5849bcc8f37caec6acf7

以下内容为反编译后的 ActivityC0017.java 源代码,内容仅作参考


package com.applisto.appcloner.classes.freeform;

import android.app.Activity;
import android.app.ActivityOptions;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.pm.ActivityInfo;
import android.graphics.Point;
import android.graphics.Rect;
import android.os.Bundle;
import android.preference.PreferenceManager;
import android.util.Log;
import com.applisto.appcloner.classes.C0193;
import obfuse4.obfuse.NPStringFog4;
public class ActivityC0017 extends Activity {
    private static final String f132 = ActivityC0017.class.getSimpleName();
    private static C0016 f133;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        if (f133 == null) {
            f133 = new C0016();
        }
        try {
            ActivityInfo activityInfo = getPackageManager().getActivityInfo(getComponentName(), 129);
            Bundle metaData = activityInfo.metaData;
            if (metaData != null) {
                String originalActivityName = metaData.getString(NPStringFog4.decode("070B5848534544095B4344591F53124002550B0A54414A5D435E5F5858585B7307105C105B414D2B535D55"));
                if (originalActivityName != null && originalActivityName.startsWith(NPStringFog4.decode("4A"))) {
                    originalActivityName = getPackageName() + originalActivityName;
                }
                Log.i(f132, NPStringFog4.decode("0B0A76145754400009105F4458550B5E00552507455A125B454E76505B5C0D12") + originalActivityName);
                Intent intent = new Intent(this, Class.forName(originalActivityName));
                intent.addFlags(268435456);
                intent.addFlags(4096);
                intent.addFlags(65536);
                Bundle extras = getIntent().getExtras();
                if (extras != null) {
                    intent.putExtras(extras);
                }
                Rect activityBounds = m332();
                if (activityBounds == null) {
                    activityBounds = m331();
                }
                overridePendingTransition(0, 0);
                finish();
                overridePendingTransition(0, 0);
                Log.i(f132, NPStringFog4.decode("0B0A76145754400009105155455B14591540260B445D00410B17") + activityBounds);
                Bundle options = ActivityOptions.makeBasic().setLaunchBounds(activityBounds).toBundle();
                startActivity(intent, options);
                Log.i(f132, NPStringFog4.decode("0B0A7614575440000910595845570C445B19") + intent + NPStringFog4.decode("48445A16465C5B0B410A10") + options);
            }
        } catch (Exception e) {
            Log.w(f132, e);
        }
    }

    @Override
    protected void onPause() {
        super.onPause();
        overridePendingTransition(0, 0);
    }

    public Rect m332() {
        try {
            SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(this);
            int left = preferences.getInt(NPStringFog4.decode("021650036D535B175F6F475F5F560D473E55010245"), 0);
            int top = preferences.getInt(NPStringFog4.decode("021650036D535B175F6F475F5F560D473E4D0B14"), 0);
            int right = preferences.getInt(NPStringFog4.decode("021650036D535B175F6F475F5F560D473E4B0D035947"), 0);
            int bottom = preferences.getInt(NPStringFog4.decode("021650036D535B175F6F475F5F560D473E5B0B10455C09"), 0);
            String str = f132;
            Log.i(str, NPStringFog4.decode("080B54027356400C4459444F735D175E054A5F445D5602460B17") + left + NPStringFog4.decode("48444109420F14") + top + NPStringFog4.decode("4844470F555D405F12") + right + NPStringFog4.decode("4844570946415B080810") + bottom);
            Rect rect = new Rect(left, top, right, bottom);
            if (rect.isEmpty()) {
                return null;
            }
            Point realScreenSize = C0193.m554(getWindowManager().getDefaultDisplay());
            if (rect.left == 0 && rect.width() == realScreenSize.x && rect.top == 0) {
                if (rect.height() == realScreenSize.y) {
                    return null;
                }
            }
            return rect;
        } catch (Exception e) {
            Log.w(f132, e);
            return null;
        }
    }

    public Rect m331() {
        Point realScreenSize = C0193.m554(getWindowManager().getDefaultDisplay());
        String str = f132;
        Log.i(str, NPStringFog4.decode("03014122575355105E447155455B14591540260B445D00410A174A545755645116015008615C4E000810") + realScreenSize);
        int width = Math.round(((float) realScreenSize.x) * 0.8f);
        int height = Math.round(((float) realScreenSize.y) * 0.8f);
        int left = (realScreenSize.x - width) / 2;
        int top = (realScreenSize.y - height) / 2;
        int right = left + width;
        int bottom = top + height;
        return new Rect(left, top, right, bottom);
    }
}