public static void onActivityResumed(android.app.Activity p4)
    {
        if (com.facebook.appevents.codeless.CodelessManager.isCodelessEnabled.get()) {
            com.facebook.appevents.codeless.CodelessMatcher.getInstance().add(p4);
            android.hardware.Sensor v0_6 = p4.getApplicationContext();
            com.facebook.appevents.codeless.ViewIndexingTrigger v1_0 = com.facebook.FacebookSdk.getApplicationId();
            com.facebook.internal.FetchedAppSettings v2 = com.facebook.internal.FetchedAppSettingsManager.getAppSettingsWithoutQuery(v1_0);
            if ((v2 != null) && (v2.getCodelessEventsEnabled())) {
                android.hardware.Sensor v0_3 = ((android.hardware.SensorManager) v0_6.getSystemService(sensor));
                com.facebook.appevents.codeless.CodelessManager.sensorManager = v0_3;
                if (v0_3 != null) {
                    android.hardware.Sensor v0_4 = v0_3.getDefaultSensor(1);
                    com.facebook.appevents.codeless.CodelessManager.viewIndexer = new com.facebook.appevents.codeless.ViewIndexer(p4);
                    com.facebook.appevents.codeless.CodelessManager.viewIndexingTrigger.setOnShakeListener(new com.facebook.appevents.codeless.CodelessManager$1(v2, v1_0));
                    com.facebook.appevents.codeless.CodelessManager.sensorManager.registerListener(com.facebook.appevents.codeless.CodelessManager.viewIndexingTrigger, v0_4, 2);
                    if ((v2 != null) && (v2.getCodelessEventsEnabled())) {
                        com.facebook.appevents.codeless.CodelessManager.viewIndexer.schedule();
                    }
                } else {
                    return;
                }
            }
            return;
        } else {
            return;
        }
    }