Info Call to Inter-Process-Communication (IPC) API

Description

List of all calls to Android IPC API.

Recommendation

This entry is informative, no recommendations applicable.

Technical details

Method com.google.android.gms.common.stats.ConnectionTracker.zza() calling method android.content.Context.bindService()


    public final boolean zza(android.content.Context p2, String p3, android.content.Intent p4, android.content.ServiceConnection p5, int p6)
    {
        String v3_3;
        String v3_0 = p4.getComponent();
        if (v3_0 != null) {
            v3_3 = com.google.android.gms.common.util.ClientLibraryUtils.zzc(p2, v3_0.getPackageName());
        } else {
            v3_3 = 0;
        }
        if (v3_3 == null) {
            return p2.bindService(p4, p5, p6);
        } else {
            android.util.Log.w("ConnectionTracker", "Attempted to bind to a service in a STOPPED package.");
            return 0;
        }
    }

Method android.support.v4.app.NotificationManagerCompat$SideChannelManager.ensureServiceBound() calling method android.content.Context.bindService()


    private boolean ensureServiceBound(android.support.v4.app.NotificationManagerCompat$SideChannelManager$ListenerRecord p4)
    {
        if (!p4.bound) {
            p4.bound = this.mContext.bindService(new android.content.Intent("android.support.BIND_NOTIFICATION_SIDE_CHANNEL").setComponent(p4.componentName), this, 33);
            if (!p4.bound) {
                android.content.Context v0_4 = new StringBuilder();
                v0_4.append("Unable to bind to listener ");
                v0_4.append(p4.componentName);
                android.util.Log.w("NotifManCompat", v0_4.toString());
                this.mContext.unbindService(this);
            } else {
                p4.retryCount = 0;
            }
            return p4.bound;
        } else {
            return 1;
        }
    }

Method com.urbandroid.lux.ui.QuickSettingsView$9.onItemSelected() calling method android.content.Context.sendBroadcast()


    public void onItemSelected(android.widget.AdapterView p1, android.view.View p2, int p3, long p4)
    {
        if (p3 > null) {
            android.content.Context v1_4 = com.urbandroid.lux.context.AppContext.settings().isBacklightControl();
            android.content.Context v2_7 = ((String) this.val$profileAdapter.getItem(p3));
            com.urbandroid.common.logging.Logger.logInfo("Changing profile ");
            com.urbandroid.lux.context.AppContext.settings().setProfileChanged(1);
            com.urbandroid.lux.context.AppContext.settings().setCurrentProfile(v2_7);
            com.urbandroid.lux.context.AppContext.settings().loadProfile(v2_7);
            if ((!com.urbandroid.lux.context.AppContext.settings().isBacklightControl()) && (v1_4 != null)) {
                com.urbandroid.lux.ui.TwilightView.revertBrightness(this.this$0.getContext());
            }
            com.urbandroid.lux.ui.QuickSettingsView.access$300(this.this$0, com.urbandroid.lux.context.AppContext.settings().isForced(), com.urbandroid.lux.ui.QuickSettingsView.access$400(this.this$0));
            com.urbandroid.lux.ui.QuickSettingsView.access$500(this.this$0);
            android.content.Context v1_7 = new android.content.Intent(this.this$0.getContext(), com.urbandroid.lux.TwilightService);
            v1_7.putExtra("profile", ((String) this.val$profileAdapter.getItem(p3)));
            android.support.v4.content.ContextCompat.startForegroundService(this.this$0.getContext(), v1_7);
            android.content.Context v1_9 = new android.content.Intent("com.urbandroid.lux.ACTION_REFRESH_PROFILE");
            v1_9.putExtra("profile", v2_7);
            v1_9.setPackage(this.this$0.getContext().getPackageName());
            this.this$0.getContext().sendBroadcast(v1_9);
            this.this$0.hide();
        }
        return;
    }

Method com.urbandroid.lux.ui.LocationView.onTouchEvent() calling method android.content.Context.sendBroadcast()


    public boolean onTouchEvent(android.view.MotionEvent p5)
    {
        if (p5.getAction() == 0) {
            com.urbandroid.lux.context.AppContext.settings().setLocation(new com.urbandroid.lux.LocationService$Location(this.getLat(Math.max(Math.min(Math.round(p5.getY()), (this.height - 1)), 1)), this.getLon(Math.max(Math.min(Math.round(p5.getX()), (this.width - 1)), 1))));
            this.invalidate();
            int v5_7 = new android.content.Intent("com.urbandroid.lux.LOCATION_FOUND");
            v5_7.setPackage(this.getContext().getPackageName());
            this.getContext().sendBroadcast(v5_7);
            com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate(this.getContext());
            return 0;
        } else {
            return super.onTouchEvent(p5);
        }
    }

Method com.urbandroid.lux.integration.taskerplugin.receiver.TaskerEventReceiver.onReceive() calling method android.content.Context.sendBroadcast()


    public void onReceive(android.content.Context p4, android.content.Intent p5)
    {
        if ((p5 != null) && (p4 != null)) {
            com.urbandroid.lux.context.AppContext.getInstance().init(com.urbandroid.lux.integration.taskerplugin.receiver.TaskerEventReceiver, p4, 1);
            com.urbandroid.lux.integration.taskerplugin.TaskerPlugin$Event.addPassThroughMessageID(com.urbandroid.lux.integration.taskerplugin.receiver.TaskerEventReceiver.INTENT_REQUEST_REQUERY);
            com.urbandroid.lux.integration.taskerplugin.TaskerPlugin$Event.retrievePassThroughData(com.urbandroid.lux.integration.taskerplugin.receiver.TaskerEventReceiver.INTENT_REQUEST_REQUERY).putString("twilight_action", p5.getAction());
            p4.sendBroadcast(com.urbandroid.lux.integration.taskerplugin.receiver.TaskerEventReceiver.INTENT_REQUEST_REQUERY);
        }
        return;
    }

Method com.urbandroid.lux.integration.taskerplugin.TaskerPlugin$Setting.signalFinish() calling method android.content.Context.sendBroadcast()


    public static boolean signalFinish(android.content.Context p6, android.content.Intent p7, int p8, android.os.Bundle p9)
    {
        String v7_4 = ((String) com.urbandroid.lux.integration.taskerplugin.TaskerPlugin.access$100(p7, "net.dinglisch.android.tasker.extras.COMPLETION_INTENT", String, "signalFinish"));
        int v2_1 = 1;
        if (v7_4 == null) {
            v2_1 = 0;
        } else {
            try {
                android.net.Uri v3_0 = android.net.Uri.parse(v7_4);
            } catch (Exception) {
                String v4_1 = new StringBuilder();
                v4_1.append("signalFinish: ");
                v4_1.append("couldn\'t parse ");
                v4_1.append(v7_4);
                android.util.Log.w("TaskerPlugin", v4_1.toString());
            }
            if (v3_0 == null) {
            } else {
                try {
                    String v7_1 = android.content.Intent.parseUri(v7_4, 1);
                    v7_1.putExtra("net.dinglisch.android.tasker.extras.RESULT_CODE", p8);
                } catch (java.net.URISyntaxException) {
                    String v6_2 = new StringBuilder();
                    v6_2.append("signalFinish: ");
                    v6_2.append("bad URI: ");
                    v6_2.append(v3_0);
                    android.util.Log.w("TaskerPlugin", v6_2.toString());
                }
                if (p9 != null) {
                    v7_1.putExtra("net.dinglisch.android.tasker.extras.VARIABLES", p9);
                }
                p6.sendBroadcast(v7_1);
            }
        }
        return v2_1;
    }

Method com.urbandroid.lux.integration.taskerplugin.TaskerAction.execute() calling method android.content.Context.sendBroadcast()


    public void execute(android.content.Context p3)
    {
        android.content.Intent v0_1 = new android.content.Intent(this.getAction());
        v0_1.setPackage(p3.getPackageName());
        p3.sendBroadcast(v0_1);
        return;
    }

Method com.urbandroid.lux.LocationService.resolveLocation() calling method android.content.Context.sendBroadcast()


    public com.urbandroid.lux.LocationService$Location resolveLocation(boolean p12)
    {
        java.util.concurrent.TimeUnit v3_1 = ((android.location.LocationManager) this.context.getSystemService("location"));
        android.content.Context v0_6 = new android.os.Handler(android.os.Looper.getMainLooper());
        long v1_2 = new android.location.Criteria();
        v1_2.setAccuracy(0);
        v1_2.setPowerRequirement(0);
        java.util.concurrent.CountDownLatch v7_1 = new java.util.concurrent.CountDownLatch(1);
        com.urbandroid.lux.LocationService$Location v8_1 = new com.urbandroid.lux.LocationService$Location();
        if (com.urbandroid.common.util.PermissionCompat.isPermissionGranted(this.context, "android.permission.ACCESS_COARSE_LOCATION")) {
            if ((p12 != null) || ((!com.urbandroid.common.util.Environment.isGingerOrGreater()) || (com.google.android.gms.common.GoogleApiAvailability.getInstance().isGooglePlayServicesAvailable(this.context) != 0))) {
                com.urbandroid.common.logging.Logger.logInfo("Location fallback to legacy location api");
                int v4_6 = v3_1.getBestProvider(v1_2, 1);
                if (v4_6 != 0) {
                    long v1_4 = new StringBuilder();
                    v1_4.append("Provider ");
                    v1_4.append(v4_6);
                    com.urbandroid.common.logging.Logger.logInfo(v1_4.toString());
                    com.urbandroid.lux.LocationService$3 v10 = new com.urbandroid.lux.LocationService$3;
                    v10(this, v3_1, v4_6, v8_1, v7_1);
                    v0_6.post(v10);
                } else {
                    com.urbandroid.common.logging.Logger.logSevere("No provider");
                    return 0;
                }
            } else {
                com.urbandroid.common.logging.Logger.logInfo("Location from fuse location");
                long v1_9 = new com.google.android.gms.common.api.GoogleApiClient$Builder(this.context);
                v1_9.addApi(com.google.android.gms.location.LocationServices.API);
                v1_9.addOnConnectionFailedListener(new com.urbandroid.lux.LocationService$1(this));
                long v1_10 = v1_9.build();
                v1_10.registerConnectionCallbacks(new com.urbandroid.lux.LocationService$2(this, v1_10, v8_1, v7_1));
                try {
                    v1_10.connect();
                } catch (long v1_11) {
                    com.urbandroid.common.logging.Logger.logSevere(v1_11);
                }
                v7_1.await(20, java.util.concurrent.TimeUnit.SECONDS);
                if (!v8_1.isSet()) {
                    if ((p12 == null) && (new com.urbandroid.lux.context.Settings(this.context).getLocation() == null)) {
                        v0_6.postDelayed(new com.urbandroid.lux.LocationService$4(this), 5000);
                    }
                    return 0;
                } else {
                    com.urbandroid.lux.LocationService$4 v12_9 = new android.content.Intent("com.urbandroid.lux.LOCATION_FOUND");
                    v12_9.setPackage(this.context.getPackageName());
                    this.context.sendBroadcast(v12_9);
                    return v8_1;
                }
            }
            try {
            } catch (long v1_14) {
                com.urbandroid.common.logging.Logger.logSevere(v1_14);
            }
        } else {
            com.urbandroid.common.logging.Logger.logWarning("LocationClient no permission");
            return 0;
        }
    }

Method com.urbandroid.common.connectivity.WaitForConnectivityService$3.onPostExecute() calling method android.content.Context.sendBroadcast()


    protected void onPostExecute(Boolean p3)
    {
        android.content.Intent v0_1 = new android.content.Intent("com.urbandroid.common.connectivity.AVAILABILITY_CHECK");
        v0_1.putExtra("STATUS", p3);
        this.val$context.sendBroadcast(v0_1);
        return;
    }

Method android.support.v4.content.ContextCompat.startActivities() calling method android.content.Context.startActivities()


    public static boolean startActivities(android.content.Context p2, android.content.Intent[] p3, android.os.Bundle p4)
    {
        if (android.os.Build$VERSION.SDK_INT < 16) {
            p2.startActivities(p3);
        } else {
            p2.startActivities(p3, p4);
        }
        return 1;
    }

Method com.urbandroid.lux.AbstractTwilightService.stopService() calling method android.content.Context.stopService()


    public static void stopService(android.content.Context p2)
    {
        p2.stopService(new android.content.Intent(p2, com.urbandroid.lux.AbstractTwilightService.getServiceClass(p2)));
        android.content.Intent v0_3 = new android.content.Intent(p2, com.urbandroid.lux.AbstractTwilightService.getServiceClass(p2));
        v0_3.setAction("background");
        com.urbandroid.lux.AlarmScheduler.getInstance().cancelNextAlarm(p2, v0_3);
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.pauseTemp() calling method android.content.Context.stopService()


    public static void pauseTemp(android.content.Context p6)
    {
        p6.stopService(new android.content.Intent(p6, com.urbandroid.lux.AbstractTwilightService.getServiceClass(p6)));
        android.content.Intent v0_3 = new android.content.Intent(p6, com.urbandroid.lux.AbstractTwilightService.getServiceClass(p6));
        v0_3.setAction("background");
        com.urbandroid.lux.AlarmScheduler.getInstance().scheduleNextAlarm(p6, v0_3, (System.currentTimeMillis() + 60000));
        return;
    }

Method android.support.v4.app.JobIntentService$CompatWorkEnqueuer.enqueueWork() calling method android.content.Context.startService()


    void enqueueWork(android.content.Intent p3)
    {
        long v0_1 = new android.content.Intent(p3);
        v0_1.setComponent(this.mComponentName);
        if (this.mContext.startService(v0_1) != null) {
            try {
                if (!this.mLaunchingService) {
                    this.mLaunchingService = 1;
                    if (!this.mServiceProcessing) {
                        this.mLaunchWakeLock.acquire(60000);
                    }
                }
            } catch (android.os.PowerManager$WakeLock v3_4) {
                throw v3_4;
            }
        }
        return;
    }

Method android.support.v4.content.ContextCompat.startForegroundService() calling method android.content.Context.startService()


    public static void startForegroundService(android.content.Context p2, android.content.Intent p3)
    {
        if (android.os.Build$VERSION.SDK_INT < 26) {
            p2.startService(p3);
        } else {
            p2.startForegroundService(p3);
        }
        return;
    }

Method com.google.android.gms.common.ConnectionResult.startResolutionForResult() calling method android.app.Activity.startIntentSenderForResult()


    public final void startResolutionForResult(android.app.Activity p9, int p10)
    {
        if (this.hasResolution()) {
            p9.startIntentSenderForResult(this.zzi.getIntentSender(), p10, 0, 0, 0, 0);
            return;
        } else {
            return;
        }
    }

Method android.support.v4.app.FragmentActivity.startIntentSenderForResult() calling method android.app.Activity.startIntentSenderForResult()


    public void startIntentSenderForResult(android.content.IntentSender p2, int p3, android.content.Intent p4, int p5, int p6, int p7, android.os.Bundle p8)
    {
        if ((!this.mStartedIntentSenderFromFragment) && (p3 != -1)) {
            android.support.v4.app.FragmentActivity.checkForValidRequestCode(p3);
        }
        super.startIntentSenderForResult(p2, p3, p4, p5, p6, p7, p8);
        return;
    }

Method android.support.v4.app.FragmentActivity.startIntentSenderForResult() calling method android.app.Activity.startIntentSenderForResult()


    public void startIntentSenderForResult(android.content.IntentSender p2, int p3, android.content.Intent p4, int p5, int p6, int p7)
    {
        if ((!this.mStartedIntentSenderFromFragment) && (p3 != -1)) {
            android.support.v4.app.FragmentActivity.checkForValidRequestCode(p3);
        }
        super.startIntentSenderForResult(p2, p3, p4, p5, p6, p7);
        return;
    }

Method android.support.v4.app.ActivityCompat.startIntentSenderForResult() calling method android.app.Activity.startIntentSenderForResult()


    public static void startIntentSenderForResult(android.app.Activity p2, android.content.IntentSender p3, int p4, android.content.Intent p5, int p6, int p7, int p8, android.os.Bundle p9)
    {
        if (android.os.Build$VERSION.SDK_INT < 16) {
            p2.startIntentSenderForResult(p3, p4, p5, p6, p7, p8);
        } else {
            p2.startIntentSenderForResult(p3, p4, p5, p6, p7, p8, p9);
        }
        return;
    }

Method com.google.android.gms.common.api.GoogleApiActivity.onCreate() calling method android.app.Activity.startIntentSenderForResult()


    protected void onCreate(android.os.Bundle p10)
    {
        super.onCreate(p10);
        if (p10 != null) {
            this.zabp = p10.getInt("resolution");
        }
        if (this.zabp != 1) {
            android.content.IntentSender$SendIntentException v10_2 = this.getIntent().getExtras();
            if (v10_2 != null) {
                int v2_2 = ((android.app.PendingIntent) v10_2.get("pending_intent"));
                android.content.IntentSender$SendIntentException v10_4 = ((Integer) v10_2.get("error_code"));
                if ((v2_2 != 0) || (v10_4 != null)) {
                    if (v2_2 == 0) {
                        com.google.android.gms.common.GoogleApiAvailability.getInstance().showErrorDialogFragment(this, v10_4.intValue(), 2, this);
                        this.zabp = 1;
                    } else {
                        try {
                            this.startIntentSenderForResult(v2_2.getIntentSender(), 1, 0, 0, 0, 0);
                            this.zabp = 1;
                            return;
                        } catch (android.content.IntentSender$SendIntentException v10_7) {
                            android.util.Log.e("GoogleApiActivity", "Failed to launch pendingIntent", v10_7);
                            this.finish();
                            return;
                        }
                    }
                } else {
                    android.util.Log.e("GoogleApiActivity", "Activity started without resolution");
                    this.finish();
                    return;
                }
            } else {
                android.util.Log.e("GoogleApiActivity", "Activity started without extras");
                this.finish();
                return;
            }
        }
        return;
    }

Method android.support.v4.app.FragmentActivity.startActivityForResult() calling method android.app.Activity.startActivityForResult()


    public void startActivityForResult(android.content.Intent p2, int p3, android.os.Bundle p4)
    {
        if ((!this.mStartedActivityFromFragment) && (p3 != -1)) {
            android.support.v4.app.FragmentActivity.checkForValidRequestCode(p3);
        }
        super.startActivityForResult(p2, p3, p4);
        return;
    }

Method android.support.v4.app.FragmentActivity.startActivityForResult() calling method android.app.Activity.startActivityForResult()


    public void startActivityForResult(android.content.Intent p2, int p3)
    {
        if ((!this.mStartedActivityFromFragment) && (p3 != -1)) {
            android.support.v4.app.FragmentActivity.checkForValidRequestCode(p3);
        }
        super.startActivityForResult(p2, p3);
        return;
    }

Method com.google.android.gms.common.internal.zac.redirect() calling method android.app.Activity.startActivityForResult()


    public final void redirect()
    {
        android.content.Intent v0 = this.zaoh;
        if (v0 != null) {
            this.val$activity.startActivityForResult(v0, this.val$requestCode);
        }
        return;
    }

Method android.support.v4.app.ActivityCompat.startActivityForResult() calling method android.app.Activity.startActivityForResult()


    public static void startActivityForResult(android.app.Activity p2, android.content.Intent p3, int p4, android.os.Bundle p5)
    {
        if (android.os.Build$VERSION.SDK_INT < 16) {
            p2.startActivityForResult(p3, p4);
        } else {
            p2.startActivityForResult(p3, p4, p5);
        }
        return;
    }

Method com.urbandroid.common.util.PowerManagerCompat.requestIgnoreBatteryOptimizations() calling method android.app.Activity.startActivityForResult()


    public static void requestIgnoreBatteryOptimizations(android.app.Activity p3)
    {
        if (com.urbandroid.common.util.Environment.isMOrGreater()) {
            android.content.Intent v0_2 = new android.content.Intent("android.settings.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS");
            int v1_5 = new StringBuilder();
            v1_5.append("package:");
            v1_5.append(p3.getPackageName());
            v0_2.setData(android.net.Uri.parse(v1_5.toString()));
            p3.startActivityForResult(v0_2, 312);
        }
        return;
    }

Method com.urbandroid.lux.ProActivity.onPreferenceChange() calling method android.app.Activity.startActivity()


    public boolean onPreferenceChange(android.preference.Preference p6, Object p7)
    {
        if (p6 == 0) {
            com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate(this);
        } else {
            if (!"settings_fullscreen".equals(p6.getKey())) {
                if (!"settings_icon".equals(p6.getKey())) {
                    if (!"settings_quick".equals(p6.getKey())) {
                        if (!"settings_hide_ambient".equals(p6.getKey())) {
                            if (!"settings_filter_navbar_landscape".equals(p6.getKey())) {
                                if (!"settings_gpu".equals(p6.getKey())) {
                                    if (!"settings_filter_wallpaper".equals(p6.getKey())) {
                                        if (!"settings_filter_wallpaper_lockscreen".equals(p6.getKey())) {
                                            if (!"settings_backlight_control".equals(p6.getKey())) {
                                                if (!"settings_foreground_check".equals(p6.getKey())) {
                                                    if ("settings_dim_behind".equals(p6.getKey())) {
                                                        com.urbandroid.common.logging.Logger.logInfo("Dim behind checked");
                                                        new android.os.Handler().post(new com.urbandroid.lux.ProActivity$10(this));
                                                    }
                                                } else {
                                                    if (!((Boolean) p7).booleanValue()) {
                                                        com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate(this);
                                                    } else {
                                                        if (!com.urbandroid.common.util.Environment.isLollipopOrGreater()) {
                                                            this.startActivity(new android.content.Intent(this, com.urbandroid.lux.ban.BanListActivity));
                                                            return 1;
                                                        } else {
                                                            if (this.showAppStatDialog()) {
                                                                return 0;
                                                            } else {
                                                                this.startActivity(new android.content.Intent(this, com.urbandroid.lux.ban.BanListActivity));
                                                                return 1;
                                                            }
                                                        }
                                                    }
                                                }
                                            } else {
                                                com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate(this);
                                                if ((p7 instanceof Boolean)) {
                                                    if (((Boolean) p7).booleanValue()) {
                                                        this.startBacklightControlSettings();
                                                    } else {
                                                        int v6_6 = new StringBuilder();
                                                        v6_6.append("Backlight preference changed ");
                                                        v6_6.append(p7);
                                                        com.urbandroid.common.logging.Logger.logInfo(v6_6.toString());
                                                        com.urbandroid.lux.ui.TwilightView.revertBrightness(this.getApplicationContext());
                                                    }
                                                }
                                            }
                                        } else {
                                            com.urbandroid.common.logging.Logger.logInfo("Wallpaper: lock settings changed");
                                            com.urbandroid.lux.context.AppContext.settings().setFilterLockWallpaper(((Boolean) p7).booleanValue());
                                            if (!((Boolean) p7).booleanValue()) {
                                                com.urbandroid.lux.AbstractTwilightService.startForegroundServiceRefreshWallpaper(this);
                                            } else {
                                                if ((android.os.Build$VERSION.SDK_INT < 27) || (com.urbandroid.lux.PermissionUtil.hasPermission(this.getApplicationContext(), "android.permission.READ_EXTERNAL_STORAGE"))) {
                                                    com.urbandroid.lux.AbstractTwilightService.startForegroundServiceRefreshWallpaper(this);
                                                } else {
                                                    this.showStoragePermissionDialog();
                                                    return 1;
                                                }
                                            }
                                            return 1;
                                        }
                                    } else {
                                        com.urbandroid.common.logging.Logger.logInfo("Wallpaper: settings changed");
                                        com.urbandroid.lux.context.AppContext.settings().setFilterWallpaper(((Boolean) p7).booleanValue());
                                        if (!((Boolean) p7).booleanValue()) {
                                            com.urbandroid.lux.AbstractTwilightService.startForegroundServiceRefreshWallpaper(this);
                                        } else {
                                            if ((android.os.Build$VERSION.SDK_INT < 27) || (com.urbandroid.lux.PermissionUtil.hasPermission(this.getApplicationContext(), "android.permission.READ_EXTERNAL_STORAGE"))) {
                                                com.urbandroid.lux.AbstractTwilightService.startForegroundServiceRefreshWallpaper(this);
                                            } else {
                                                this.showStoragePermissionDialog();
                                                return 1;
                                            }
                                        }
                                        return 1;
                                    }
                                } else {
                                    com.urbandroid.lux.AbstractTwilightService.startForegroundServiceRefresh(this);
                                }
                            } else {
                                com.urbandroid.lux.AbstractTwilightService.startForegroundServiceRefresh(this);
                            }
                        } else {
                            com.urbandroid.lux.AbstractTwilightService.startForegroundServiceRefresh(this);
                        }
                    } else {
                        com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdateForeground(this);
                    }
                } else {
                    com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdateForeground(this);
                    int v6_21 = android.os.Build$VERSION.SDK_INT;
                    if (v6_21 < 26) {
                        if (v6_21 < 23) {
                            if (v6_21 > 16) {
                                try {
                                    int v6_23 = new android.content.Intent();
                                    v6_23.setAction("android.settings.APPLICATION_DETAILS_SETTINGS");
                                    v6_23.setData(android.net.Uri.fromParts("package", "com.urbandroid.lux", 0));
                                    this.startActivity(v6_23);
                                } catch (int v6_24) {
                                    com.urbandroid.common.logging.Logger.logSevere(v6_24);
                                }
                            }
                        } else {
                            int v6_26 = new android.content.Intent();
                            v6_26.setClassName("com.android.settings", "com.android.settings.Settings$AppNotificationSettingsActivity");
                            v6_26.putExtra("app_package", this.getPackageName());
                            if (android.os.Build$VERSION.SDK_INT < 26) {
                                v6_26.putExtra("app_uid", this.getApplicationInfo().uid);
                            } else {
                                v6_26.putExtra("android.provider.extra.APP_PACKAGE", this.getPackageName());
                            }
                            this.startActivity(v6_26);
                        }
                    } else {
                        int v6_28 = new android.content.Intent("android.settings.CHANNEL_NOTIFICATION_SETTINGS");
                        v6_28.putExtra("android.provider.extra.CHANNEL_ID", "foreground");
                        v6_28.putExtra("android.provider.extra.APP_PACKAGE", this.getPackageName());
                        this.startActivity(v6_28);
                    }
                }
            } else {
                com.urbandroid.lux.AbstractTwilightService.startForegroundServiceRefresh(this);
            }
        }
        return 1;
    }

Method com.urbandroid.lux.ProActivity.startBacklightControlSettings() calling method android.app.Activity.startActivity()


    private void startBacklightControlSettings()
    {
        this.startActivity(new android.content.Intent(this, com.urbandroid.lux.BacklightActivity));
        if ((android.os.Build$VERSION.SDK_INT >= 23) && (!android.provider.Settings$System.canWrite(this))) {
            try {
                Exception v0_2 = new android.content.Intent("android.settings.action.MANAGE_WRITE_SETTINGS");
                android.net.Uri v1_3 = new StringBuilder();
                v1_3.append("package:");
                v1_3.append(this.getPackageName());
                v0_2.setData(android.net.Uri.parse(v1_3.toString()));
                this.startActivity(v0_2);
            } catch (Exception v0_4) {
                com.urbandroid.common.logging.Logger.logSevere(v0_4);
            }
        }
        return;
    }

Method com.urbandroid.lux.ProActivity.goToMarket() calling method android.app.Activity.startActivity()


    private void goToMarket(android.content.Intent p1)
    {
        try {
            this.startActivity(p1);
        } catch (Exception) {
        }
        return;
    }

Method com.urbandroid.lux.MainActivity.onResume() calling method android.app.Activity.startActivity()


    protected void onResume()
    {
        super.onResume();
        if (!this.themeUtil.onResume()) {
            com.urbandroid.common.logging.Logger.logInfo("MainActivity: onResume");
            if ((android.os.Build$VERSION.SDK_INT >= 23) && (!android.provider.Settings.canDrawOverlays(this))) {
                android.content.Intent v0_6 = this.drawOverlayPermissionDialog;
                if ((v0_6 == null) || (!v0_6.isShowing())) {
                    com.urbandroid.common.logging.Logger.logInfo("MainActivity: show overlay dialog");
                    this.showDrawOverlayPermissionDialog();
                }
            } else {
                android.content.Intent v0_9 = this.drawOverlayPermissionDialog;
                if ((v0_9 != null) && (v0_9.isShowing())) {
                    try {
                        com.urbandroid.common.logging.Logger.logInfo("MainActivity: dismiss perm dialog");
                        this.drawOverlayPermissionDialog.dismiss();
                        this.drawOverlayPermissionDialog = 0;
                    } catch (android.content.Intent v0_15) {
                        com.urbandroid.common.logging.Logger.logSevere(v0_15);
                    }
                }
                this.handleOtherPermissions();
                if (!this.hasPermissionToDraw) {
                    this.hasPermissionToDraw = 1;
                    com.urbandroid.lux.context.AppContext.settings().setServiceEnabled(1);
                    com.urbandroid.lux.AbstractTwilightService.startForegroundService(this);
                    com.urbandroid.common.logging.Logger.logInfo("MainActivity: just gained permission starting service");
                }
                if (!new com.urbandroid.lux.context.Settings(this).isServiceEnabled()) {
                    this.finish();
                    com.urbandroid.common.logging.Logger.logInfo("MainActivity: finish()");
                    this.startActivity(new android.content.Intent(this, com.urbandroid.lux.MainActivity));
                    return;
                }
            }
            com.urbandroid.lux.util.TrialFilter.getInstance().reevaluate(this);
            android.content.Intent v0_25 = new StringBuilder();
            v0_25.append("MainActivity: Is trial ");
            v0_25.append(com.urbandroid.lux.util.TrialFilter.getInstance().isTrial());
            com.urbandroid.common.logging.Logger.logInfo(v0_25.toString());
            this.updateTrialLayout();
            this.updateLocation();
            com.urbandroid.common.logging.Logger.logInfo("MainActivity: sync pause");
            this.syncPause(com.urbandroid.lux.context.AppContext.settings().isPaused());
            this.setupSegment();
            if (com.urbandroid.lux.context.AppContext.settings().isProfileChanged()) {
                com.urbandroid.lux.context.AppContext.settings().setProfileChanged(0);
                this.setSubtitle();
            }
            this.updateSeekBars();
            if ((com.urbandroid.lux.context.AppContext.settings().isHideOreoNotitifcation()) && (com.urbandroid.lux.notification.TwilightNotificationListener.hasAccessGranted(this))) {
                android.content.Intent v0_38 = new android.content.Intent(this.getString(2131820811));
                v0_38.putExtra("command", "hide");
                v0_38.setPackage(this.getPackageName());
                this.sendBroadcast(v0_38);
            }
            return;
        } else {
            com.urbandroid.common.logging.Logger.logInfo("MainActivity: theme changed skipping resume");
            return;
        }
    }

Method com.urbandroid.lux.MainActivity.onPreferenceClick() calling method android.app.Activity.startActivity()


    public boolean onPreferenceClick(android.preference.Preference p3)
    {
        if ("settings_tutorial".equals(p3.getKey())) {
            this.startActivity(new android.content.Intent(this, com.urbandroid.lux.TourActivity));
        }
        if ("settings_location".equals(p3.getKey())) {
            this.startActivity(new android.content.Intent(this, com.urbandroid.lux.LocationActivity));
        }
        if ("settings_pro".equals(p3.getKey())) {
            this.startActivity(new android.content.Intent(this, com.urbandroid.lux.ProActivity));
        }
        return 1;
    }

Method com.urbandroid.lux.MainActivity.goToMarket() calling method android.app.Activity.startActivity()


    public static void goToMarket(android.app.Activity p0, android.content.Intent p1)
    {
        try {
            p0.startActivity(p1);
        } catch (Exception) {
        }
        return;
    }

Method com.urbandroid.lux.BacklightActivity.onOptionsItemSelected() calling method android.app.Activity.startActivity()


    public boolean onOptionsItemSelected(android.view.MenuItem p3)
    {
        Exception v3_1 = p3.getItemId();
        if (v3_1 == 16908332) {
            this.finish();
        } else {
            if ((v3_1 == 2131362091) && (android.os.Build$VERSION.SDK_INT >= 23)) {
                try {
                    Exception v3_3 = new android.content.Intent("android.settings.action.MANAGE_WRITE_SETTINGS");
                    android.net.Uri v0_2 = new StringBuilder();
                    v0_2.append("package:");
                    v0_2.append(this.getPackageName());
                    v3_3.setData(android.net.Uri.parse(v0_2.toString()));
                    this.startActivity(v3_3);
                } catch (Exception v3_4) {
                    com.urbandroid.common.logging.Logger.logSevere(v3_4);
                }
            }
        }
        return 1;
    }

Method com.urbandroid.lux.ban.NewBanListActivity.onOptionsItemSelected() calling method android.app.Activity.startActivity()


    public boolean onOptionsItemSelected(android.view.MenuItem p2)
    {
        Exception v2_1 = p2.getItemId();
        if (v2_1 == 16908332) {
            this.finish();
        } else {
            if ((v2_1 == 2131362091) && (android.os.Build$VERSION.SDK_INT >= 21)) {
                try {
                    this.startActivity(new android.content.Intent("android.settings.USAGE_ACCESS_SETTINGS"));
                } catch (Exception v2_4) {
                    com.urbandroid.common.logging.Logger.logSevere(v2_4);
                }
            }
        }
        return 1;
    }

Method com.urbandroid.lux.ban.BanListActivity.onOptionsItemSelected() calling method android.app.Activity.startActivity()


    public boolean onOptionsItemSelected(android.view.MenuItem p2)
    {
        Exception v2_1 = p2.getItemId();
        if (v2_1 == 16908332) {
            this.finish();
        } else {
            if ((v2_1 == 2131362091) && (android.os.Build$VERSION.SDK_INT >= 21)) {
                try {
                    this.startActivity(new android.content.Intent("android.settings.USAGE_ACCESS_SETTINGS"));
                } catch (Exception v2_4) {
                    com.urbandroid.common.logging.Logger.logSevere(v2_4);
                }
            }
        }
        return 1;
    }

Method com.urbandroid.lux.MainActivity$5.onClick() calling method android.app.Activity.startActivity()


    public void onClick()
    {
        this.this$0.startActivity(new android.content.Intent(this.this$0, com.urbandroid.lux.schedules.ScheduleActivity));
        return;
    }

Method com.urbandroid.lux.MainActivity$20.onClick() calling method android.app.Activity.startActivity()


    public void onClick()
    {
        android.content.Intent v0_1 = new android.content.Intent("android.intent.action.VIEW");
        v0_1.setData(android.net.Uri.parse("https://docs.google.com/spreadsheets/d/1Jse7DqJr4eNTca6_7rSBchpaX3eU6SgLo9V3ltBio5Q/edit?usp=sharing"));
        this.this$0.startActivity(v0_1);
        return;
    }

Method com.urbandroid.lux.MainActivity$17.onClick() calling method android.app.Activity.startActivity()


    public void onClick()
    {
        com.urbandroid.lux.MainActivity v0 = this.this$0;
        v0.startActivity(new android.content.Intent(v0, com.urbandroid.lux.TourActivity));
        return;
    }

Method com.urbandroid.lux.smartlight.hue.PHHomeActivity$1.onAuthenticationRequired() calling method android.app.Activity.startActivity()


    public void onAuthenticationRequired(com.philips.lighting.hue.sdk.PHAccessPoint p3)
    {
        android.util.Log.w("TwilightHUE", "Authentication Required.");
        com.urbandroid.lux.smartlight.hue.PHHomeActivity.access$000(this.this$0).startPushlinkAuthentication(p3);
        com.urbandroid.lux.smartlight.hue.PHHomeActivity v3_1 = this.this$0;
        v3_1.startActivity(new android.content.Intent(v3_1, com.urbandroid.lux.smartlight.hue.PHPushlinkActivity));
        return;
    }

Method com.urbandroid.lux.smartlight.SmartlightActivity$1.onPreferenceClick() calling method android.app.Activity.startActivity()


    public boolean onPreferenceClick(android.preference.Preference p7)
    {
        if (!com.urbandroid.lux.smartlight.SmartlightActivity.access$000(this.this$0).isConfigured()) {
            this.this$0.startActivity(new android.content.Intent(this.this$0, com.urbandroid.lux.smartlight.hue.PHHomeActivity));
        } else {
            com.urbandroid.lux.smartlight.hue.data.HueSharedPreferences.getInstance(this.this$0).setLastConnectedIPAddress(0);
            com.urbandroid.lux.smartlight.hue.data.HueSharedPreferences.getInstance(this.this$0).setUsername(0);
            android.content.Intent v7_7 = this.val$pref;
            com.urbandroid.lux.smartlight.SmartlightActivity v1_2 = this.this$0;
            Object[] v3 = new Object[1];
            v3[0] = v1_2.getString(2131820803);
            v7_7.setTitle(v1_2.getString(2131820797, v3));
        }
        return 1;
    }

Method com.urbandroid.lux.TvActivity.onCreate() calling method android.app.Activity.startActivity()


    public void onCreate(android.os.Bundle p3)
    {
        super.onCreate(p3);
        com.urbandroid.lux.context.AppContext.getInstance().init(com.urbandroid.lux.TvActivity, this.getApplicationContext());
        if ((android.os.Build$VERSION.SDK_INT < 23) || (android.provider.Settings.canDrawOverlays(this))) {
            this.setContentView(2131558565);
        } else {
            android.app.AlertDialog$Builder v3_5 = new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse("https://twilight.urbandroid.org/how-to-install-twilight-on-android-tv-android-6/"));
            v3_5.setFlags(268435456);
            try {
                this.startActivity(v3_5);
                this.finish();
            } catch (android.app.AlertDialog$Builder v3_6) {
                com.urbandroid.common.logging.Logger.logSevere(v3_6);
                new android.app.AlertDialog$Builder(this).setMessage("Twilight for Android TV can no longer be distributed though the Play Store, please side load it from https://twilight.urbandroid.org/how-to-install-twilight-on-android-tv-android-6/").setPositiveButton("OK", new com.urbandroid.lux.TvActivity$1(this)).show();
            }
        }
        return;
    }

Method com.urbandroid.lux.TvActivity.showDrawOverlayPermissionDialog() calling method android.app.Activity.startActivity()


    private void showDrawOverlayPermissionDialog()
    {
        try {
            this.startActivity(com.urbandroid.lux.MainActivity.getDrawOverlayPermissionIntent(this));
        } catch (Exception v0_1) {
            com.urbandroid.common.logging.Logger.logSevere(v0_1);
        }
        return;
    }

Method com.urbandroid.lux.SubstratumLauncher.onCreate() calling method android.app.Activity.startActivity()


    protected void onCreate(android.os.Bundle p3)
    {
        super.onCreate(p3);
        android.content.Intent v3_3 = this.getIntent();
        v3_3.getStringExtra("theme_mode");
        v3_3.getBooleanExtra("theme_legacy", 0);
        v3_3.getBooleanExtra("refresh_mode", 0);
        android.content.Intent v3_2 = new android.content.Intent("android.intent.action.MAIN");
        v3_2.setComponent(android.content.ComponentName.unflattenFromString("projekt.substratum/projekt.substratum.InformationActivity"));
        v3_2.addCategory("android.intent.category.LAUNCHER");
        v3_2.setFlags(268435456);
        v3_2.addFlags(67108864);
        v3_2.putExtra("theme_name", this.getString(2131820588));
        v3_2.putExtra("theme_pid", this.getPackageName());
        this.startActivity(v3_2);
        this.finish();
        return;
    }

Method com.urbandroid.lux.ProActivity$9.run() calling method android.app.Activity.startActivity()


    public void run()
    {
        com.urbandroid.lux.ProActivity v0 = this.this$0;
        v0.startActivity(new android.content.Intent(v0, com.urbandroid.lux.DummyBrightnessActivity));
        return;
    }

Method com.urbandroid.lux.ProActivity$4.onPreferenceClick() calling method android.app.Activity.startActivity()


    public boolean onPreferenceClick(android.preference.Preference p3)
    {
        this.this$0.startActivity(new android.content.Intent(this.this$0, com.urbandroid.lux.smartlight.SmartlightActivity));
        return 1;
    }

Method com.urbandroid.lux.MainActivity$MainListener.onClick() calling method android.app.Activity.startActivity()


    public void onClick(android.view.View p4)
    {
        switch (p4.getId()) {
            case 2131361868:
                com.urbandroid.lux.MainActivity.goToMarket(this.this$0, new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse("market://details?id=com.urbandroid.lux.donate")));
                break;
            case 2131361869:
                com.urbandroid.lux.MainActivity.goToMarket(this.this$0, new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse("market://details?id=com.urbandroid.lux")));
                break;
            case 2131361870:
                android.content.Intent v4_8 = new android.content.Intent("android.intent.action.SEND");
                v4_8.setType("text/plain");
                v4_8.putExtra("android.intent.extra.SUBJECT", this.this$0.getString(2131820588));
                com.urbandroid.lux.MainActivity v0_2 = new StringBuilder();
                v0_2.append(this.this$0.getString(2131820798));
                v0_2.append(", Play Store: https://play.google.com/store/apps/details?id=com.urbandroid.lux");
                v4_8.putExtra("android.intent.extra.TEXT", v0_2.toString());
                com.urbandroid.lux.MainActivity v0_5 = this.this$0;
                v0_5.startActivity(android.content.Intent.createChooser(v4_8, v0_5.getString(2131820799)));
                break;
            default:
        }
        return;
    }

Method com.urbandroid.lux.MainActivity$9.onClick() calling method android.app.Activity.startActivity()


    public void onClick(android.view.View p3)
    {
        p3 = this.this$0;
        p3.startActivity(new android.content.Intent(p3, com.urbandroid.lux.TourActivity));
        return;
    }

Method com.urbandroid.lux.MainActivity$26$2.onClick() calling method android.app.Activity.startActivity()


    public void onClick(android.content.DialogInterface p2, int p3)
    {
        this.this$1.this$0.startActivity(new android.content.Intent("android.settings.ACTION_NOTIFICATION_LISTENER_SETTINGS"));
        return;
    }

Method com.urbandroid.lux.MainActivity$25.onPreferenceClick() calling method android.app.Activity.startActivity()


    public boolean onPreferenceClick(android.preference.Preference p3)
    {
        this.this$0.startActivity(new android.content.Intent(this.this$0, com.urbandroid.lux.schedules.ScheduleActivity));
        return 1;
    }

Method com.urbandroid.lux.MainActivity$10.onClick() calling method android.app.Activity.startActivity()


    public void onClick(android.content.DialogInterface p1, int p2)
    {
        com.urbandroid.common.logging.Logger.logInfo("MainActivity: startOverlayPermission ");
        com.urbandroid.lux.MainActivity v1_1 = this.this$0;
        v1_1.startActivity(com.urbandroid.lux.MainActivity.getDrawOverlayPermissionIntent(v1_1));
        return;
    }

Method android.support.v4.app.ShareCompat$IntentBuilder.startChooser() calling method android.app.Activity.startActivity()


    public void startChooser()
    {
        this.mActivity.startActivity(this.createChooserIntent());
        return;
    }

Method android.support.v4.app.NavUtils.navigateUpTo() calling method android.app.Activity.startActivity()


    public static void navigateUpTo(android.app.Activity p2, android.content.Intent p3)
    {
        if (android.os.Build$VERSION.SDK_INT < 16) {
            p3.addFlags(67108864);
            p2.startActivity(p3);
            p2.finish();
        } else {
            p2.navigateUpTo(p3);
        }
        return;
    }

Method android.support.v4.app.FragmentActivity.onNewIntent() calling method android.app.Activity.onNewIntent()


    protected void onNewIntent(android.content.Intent p1)
    {
        super.onNewIntent(p1);
        this.mFragments.noteStateNotSaved();
        return;
    }

Method com.urbandroid.lux.MainActivity.onStart() calling method android.app.Activity.registerReceiver()


    protected void onStart()
    {
        super.onStart();
        android.content.IntentFilter v0_1 = new android.content.IntentFilter("com.urbandroid.lux.LOCATION_FOUND");
        v0_1.addAction("com.urbandroid.lux.ACTION_REFRESH");
        v0_1.addAction("com.urbandroid.lux.ACTION_REFRESH_PROFILE");
        v0_1.addAction("com.urbandroid.lux.ACTION_SERVICE_TOGGLE");
        this.registerReceiver(this.receiver, v0_1);
        this.updateLocation();
        this.registerPrefs();
        return;
    }

Method com.urbandroid.lux.LocationActivity.onResume() calling method android.app.Activity.registerReceiver()


    protected void onResume()
    {
        super.onResume();
        if (!this.themeUtil.onResume()) {
            this.registerReceiver(this.receiver, new android.content.IntentFilter("com.urbandroid.lux.LOCATION_FOUND"));
            return;
        } else {
            return;
        }
    }

Method android.support.v4.app.SupportActivity.onCreate() calling method android.app.Activity.onCreate()


    protected void onCreate(android.os.Bundle p1)
    {
        super.onCreate(p1);
        android.arch.lifecycle.ReportFragment.injectIfNeededIn(this);
        return;
    }

Method com.urbandroid.lux.integration.taskerplugin.ui.AbstractPluginActivity.onCreate() calling method android.app.Activity.onCreate()


    protected void onCreate(android.os.Bundle p3)
    {
        super.onCreate(p3);
        if (android.os.Build$VERSION.SDK_INT < 11) {
            this.setTitle(com.urbandroid.lux.integration.taskerplugin.twofortyfouram.locale.BreadCrumber.generateBreadcrumb(this.getApplicationContext(), this.getIntent(), this.getString(2131820589)));
        } else {
            this.setupTitleApi11();
        }
        return;
    }

Method com.urbandroid.lux.TvActivity.onCreate() calling method android.app.Activity.onCreate()


    public void onCreate(android.os.Bundle p3)
    {
        super.onCreate(p3);
        com.urbandroid.lux.context.AppContext.getInstance().init(com.urbandroid.lux.TvActivity, this.getApplicationContext());
        if ((android.os.Build$VERSION.SDK_INT < 23) || (android.provider.Settings.canDrawOverlays(this))) {
            this.setContentView(2131558565);
        } else {
            android.app.AlertDialog$Builder v3_5 = new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse("https://twilight.urbandroid.org/how-to-install-twilight-on-android-tv-android-6/"));
            v3_5.setFlags(268435456);
            try {
                this.startActivity(v3_5);
                this.finish();
            } catch (android.app.AlertDialog$Builder v3_6) {
                com.urbandroid.common.logging.Logger.logSevere(v3_6);
                new android.app.AlertDialog$Builder(this).setMessage("Twilight for Android TV can no longer be distributed though the Play Store, please side load it from https://twilight.urbandroid.org/how-to-install-twilight-on-android-tv-android-6/").setPositiveButton("OK", new com.urbandroid.lux.TvActivity$1(this)).show();
            }
        }
        return;
    }

Method com.urbandroid.lux.SubstratumLauncher.onCreate() calling method android.app.Activity.onCreate()


    protected void onCreate(android.os.Bundle p3)
    {
        super.onCreate(p3);
        android.content.Intent v3_3 = this.getIntent();
        v3_3.getStringExtra("theme_mode");
        v3_3.getBooleanExtra("theme_legacy", 0);
        v3_3.getBooleanExtra("refresh_mode", 0);
        android.content.Intent v3_2 = new android.content.Intent("android.intent.action.MAIN");
        v3_2.setComponent(android.content.ComponentName.unflattenFromString("projekt.substratum/projekt.substratum.InformationActivity"));
        v3_2.addCategory("android.intent.category.LAUNCHER");
        v3_2.setFlags(268435456);
        v3_2.addFlags(67108864);
        v3_2.putExtra("theme_name", this.getString(2131820588));
        v3_2.putExtra("theme_pid", this.getPackageName());
        this.startActivity(v3_2);
        this.finish();
        return;
    }

Method com.urbandroid.lux.ShortcutActivity.onCreate() calling method android.app.Activity.onCreate()


    protected void onCreate(android.os.Bundle p1)
    {
        super.onCreate(p1);
        this.handleShortcut(this.getIntent());
        this.finish();
        return;
    }

Method com.urbandroid.lux.DummyBrightnessActivity.onCreate() calling method android.app.Activity.onCreate()


    protected void onCreate(android.os.Bundle p4)
    {
        super.onCreate(p4);
        this.handler = new com.urbandroid.lux.DummyBrightnessActivity$1(this);
        android.os.Message v4_4 = this.handler.obtainMessage(1);
        if (!this.getIntent().hasExtra("brightness value")) {
            this.handler.sendMessage(v4_4);
        } else {
            android.os.Handler v0_3 = this.getIntent().getFloatExtra("brightness value", 0);
            long v1_2 = this.getWindow().getAttributes();
            v1_2.screenBrightness = v0_3;
            this.getWindow().setAttributes(v1_2);
            this.handler.sendMessageDelayed(v4_4, 1000);
        }
        return;
    }

Method com.google.android.gms.common.api.GoogleApiActivity.onCreate() calling method android.app.Activity.onCreate()


    protected void onCreate(android.os.Bundle p10)
    {
        super.onCreate(p10);
        if (p10 != null) {
            this.zabp = p10.getInt("resolution");
        }
        if (this.zabp != 1) {
            android.content.IntentSender$SendIntentException v10_2 = this.getIntent().getExtras();
            if (v10_2 != null) {
                int v2_2 = ((android.app.PendingIntent) v10_2.get("pending_intent"));
                android.content.IntentSender$SendIntentException v10_4 = ((Integer) v10_2.get("error_code"));
                if ((v2_2 != 0) || (v10_4 != null)) {
                    if (v2_2 == 0) {
                        com.google.android.gms.common.GoogleApiAvailability.getInstance().showErrorDialogFragment(this, v10_4.intValue(), 2, this);
                        this.zabp = 1;
                    } else {
                        try {
                            this.startIntentSenderForResult(v2_2.getIntentSender(), 1, 0, 0, 0, 0);
                            this.zabp = 1;
                            return;
                        } catch (android.content.IntentSender$SendIntentException v10_7) {
                            android.util.Log.e("GoogleApiActivity", "Failed to launch pendingIntent", v10_7);
                            this.finish();
                            return;
                        }
                    }
                } else {
                    android.util.Log.e("GoogleApiActivity", "Activity started without resolution");
                    this.finish();
                    return;
                }
            } else {
                android.util.Log.e("GoogleApiActivity", "Activity started without extras");
                this.finish();
                return;
            }
        }
        return;
    }

Method com.urbandroid.lux.MainActivity.onResume() calling method android.content.Intent.setPackage()


    protected void onResume()
    {
        super.onResume();
        if (!this.themeUtil.onResume()) {
            com.urbandroid.common.logging.Logger.logInfo("MainActivity: onResume");
            if ((android.os.Build$VERSION.SDK_INT >= 23) && (!android.provider.Settings.canDrawOverlays(this))) {
                android.content.Intent v0_6 = this.drawOverlayPermissionDialog;
                if ((v0_6 == null) || (!v0_6.isShowing())) {
                    com.urbandroid.common.logging.Logger.logInfo("MainActivity: show overlay dialog");
                    this.showDrawOverlayPermissionDialog();
                }
            } else {
                android.content.Intent v0_9 = this.drawOverlayPermissionDialog;
                if ((v0_9 != null) && (v0_9.isShowing())) {
                    try {
                        com.urbandroid.common.logging.Logger.logInfo("MainActivity: dismiss perm dialog");
                        this.drawOverlayPermissionDialog.dismiss();
                        this.drawOverlayPermissionDialog = 0;
                    } catch (android.content.Intent v0_15) {
                        com.urbandroid.common.logging.Logger.logSevere(v0_15);
                    }
                }
                this.handleOtherPermissions();
                if (!this.hasPermissionToDraw) {
                    this.hasPermissionToDraw = 1;
                    com.urbandroid.lux.context.AppContext.settings().setServiceEnabled(1);
                    com.urbandroid.lux.AbstractTwilightService.startForegroundService(this);
                    com.urbandroid.common.logging.Logger.logInfo("MainActivity: just gained permission starting service");
                }
                if (!new com.urbandroid.lux.context.Settings(this).isServiceEnabled()) {
                    this.finish();
                    com.urbandroid.common.logging.Logger.logInfo("MainActivity: finish()");
                    this.startActivity(new android.content.Intent(this, com.urbandroid.lux.MainActivity));
                    return;
                }
            }
            com.urbandroid.lux.util.TrialFilter.getInstance().reevaluate(this);
            android.content.Intent v0_25 = new StringBuilder();
            v0_25.append("MainActivity: Is trial ");
            v0_25.append(com.urbandroid.lux.util.TrialFilter.getInstance().isTrial());
            com.urbandroid.common.logging.Logger.logInfo(v0_25.toString());
            this.updateTrialLayout();
            this.updateLocation();
            com.urbandroid.common.logging.Logger.logInfo("MainActivity: sync pause");
            this.syncPause(com.urbandroid.lux.context.AppContext.settings().isPaused());
            this.setupSegment();
            if (com.urbandroid.lux.context.AppContext.settings().isProfileChanged()) {
                com.urbandroid.lux.context.AppContext.settings().setProfileChanged(0);
                this.setSubtitle();
            }
            this.updateSeekBars();
            if ((com.urbandroid.lux.context.AppContext.settings().isHideOreoNotitifcation()) && (com.urbandroid.lux.notification.TwilightNotificationListener.hasAccessGranted(this))) {
                android.content.Intent v0_38 = new android.content.Intent(this.getString(2131820811));
                v0_38.putExtra("command", "hide");
                v0_38.setPackage(this.getPackageName());
                this.sendBroadcast(v0_38);
            }
            return;
        } else {
            com.urbandroid.common.logging.Logger.logInfo("MainActivity: theme changed skipping resume");
            return;
        }
    }

Method com.google.android.gms.wearable.internal.zzhg.connect() calling method android.content.Intent.setPackage()


    public final void connect(com.google.android.gms.common.internal.BaseGmsClient$ConnectionProgressReportCallbacks p8)
    {
        if (!this.requiresGooglePlayServices()) {
            try {
                int v1_2;
                int v1_1 = this.getContext().getPackageManager().getApplicationInfo("com.google.android.wearable.app.cn", 128).metaData;
            } catch (android.content.pm.PackageManager$NameNotFoundException) {
                this.triggerNotAvailable(p8, 16, 0);
                return;
            }
            if (v1_1 == 0) {
                v1_2 = 0;
            } else {
                v1_2 = v1_1.getInt("com.google.android.wearable.api.version", 0);
            }
            if (v1_2 < 8600000) {
                android.content.Intent v5_1 = new StringBuilder(82);
                v5_1.append("The Wear OS app is out of date. Requires API version 8600000 but found ");
                v5_1.append(v1_2);
                android.util.Log.w("WearableClient", v5_1.toString());
                android.content.Context v3_3 = this.getContext();
                String v4_2 = this.getContext();
                android.content.Intent v5_4 = new android.content.Intent("com.google.android.wearable.app.cn.UPDATE_ANDROID_WEAR").setPackage("com.google.android.wearable.app.cn");
                if (v4_2.getPackageManager().resolveActivity(v5_4, 65536) == null) {
                    v5_4 = new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse("market://details").buildUpon().appendQueryParameter("id", "com.google.android.wearable.app.cn").build());
                } else {
                }
                this.triggerNotAvailable(p8, 6, android.app.PendingIntent.getActivity(v3_3, 0, v5_4, 0));
                return;
            }
        }
        super.connect(p8);
        return;
    }

Method com.urbandroid.lux.ui.QuickSettingsView$9.onItemSelected() calling method android.content.Intent.setPackage()


    public void onItemSelected(android.widget.AdapterView p1, android.view.View p2, int p3, long p4)
    {
        if (p3 > null) {
            android.content.Context v1_4 = com.urbandroid.lux.context.AppContext.settings().isBacklightControl();
            android.content.Context v2_7 = ((String) this.val$profileAdapter.getItem(p3));
            com.urbandroid.common.logging.Logger.logInfo("Changing profile ");
            com.urbandroid.lux.context.AppContext.settings().setProfileChanged(1);
            com.urbandroid.lux.context.AppContext.settings().setCurrentProfile(v2_7);
            com.urbandroid.lux.context.AppContext.settings().loadProfile(v2_7);
            if ((!com.urbandroid.lux.context.AppContext.settings().isBacklightControl()) && (v1_4 != null)) {
                com.urbandroid.lux.ui.TwilightView.revertBrightness(this.this$0.getContext());
            }
            com.urbandroid.lux.ui.QuickSettingsView.access$300(this.this$0, com.urbandroid.lux.context.AppContext.settings().isForced(), com.urbandroid.lux.ui.QuickSettingsView.access$400(this.this$0));
            com.urbandroid.lux.ui.QuickSettingsView.access$500(this.this$0);
            android.content.Context v1_7 = new android.content.Intent(this.this$0.getContext(), com.urbandroid.lux.TwilightService);
            v1_7.putExtra("profile", ((String) this.val$profileAdapter.getItem(p3)));
            android.support.v4.content.ContextCompat.startForegroundService(this.this$0.getContext(), v1_7);
            android.content.Context v1_9 = new android.content.Intent("com.urbandroid.lux.ACTION_REFRESH_PROFILE");
            v1_9.putExtra("profile", v2_7);
            v1_9.setPackage(this.this$0.getContext().getPackageName());
            this.this$0.getContext().sendBroadcast(v1_9);
            this.this$0.hide();
        }
        return;
    }

Method com.urbandroid.lux.ui.LocationView.onTouchEvent() calling method android.content.Intent.setPackage()


    public boolean onTouchEvent(android.view.MotionEvent p5)
    {
        if (p5.getAction() == 0) {
            com.urbandroid.lux.context.AppContext.settings().setLocation(new com.urbandroid.lux.LocationService$Location(this.getLat(Math.max(Math.min(Math.round(p5.getY()), (this.height - 1)), 1)), this.getLon(Math.max(Math.min(Math.round(p5.getX()), (this.width - 1)), 1))));
            this.invalidate();
            int v5_7 = new android.content.Intent("com.urbandroid.lux.LOCATION_FOUND");
            v5_7.setPackage(this.getContext().getPackageName());
            this.getContext().sendBroadcast(v5_7);
            com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate(this.getContext());
            return 0;
        } else {
            return super.onTouchEvent(p5);
        }
    }

Method com.urbandroid.lux.integration.taskerplugin.TaskerAction.execute() calling method android.content.Intent.setPackage()


    public void execute(android.content.Context p3)
    {
        android.content.Intent v0_1 = new android.content.Intent(this.getAction());
        v0_1.setPackage(p3.getPackageName());
        p3.sendBroadcast(v0_1);
        return;
    }

Method com.urbandroid.lux.MainActivity$26.onPreferenceChange() calling method android.content.Intent.setPackage()


    public boolean onPreferenceChange(android.preference.Preference p4, Object p5)
    {
        if (!((Boolean) p5).booleanValue()) {
            com.urbandroid.common.logging.Logger.logInfo("MainActivity: Oreo notification: showing");
            android.content.Intent v4_1 = new android.content.Intent(this.this$0.getString(2131820811));
            v4_1.putExtra("command", "show");
            v4_1.setPackage(this.this$0.getPackageName());
            this.this$0.sendBroadcast(v4_1);
        } else {
            if (com.urbandroid.lux.notification.TwilightNotificationListener.hasAccessGranted(this.this$0.getApplicationContext())) {
                com.urbandroid.common.logging.Logger.logInfo("MainActivity: Oreo notification: has access, hiding");
                android.content.Intent v4_4 = new android.content.Intent(this.this$0.getString(2131820811));
                v4_4.putExtra("command", "hide");
                v4_4.setPackage(this.this$0.getPackageName());
                this.this$0.sendBroadcast(v4_4);
            } else {
                com.urbandroid.common.logging.Logger.logInfo("MainActivity: Oreo notification: no access");
                com.urbandroid.lux.MainActivity v5_20 = new android.app.AlertDialog$Builder(this.this$0);
                v5_20.setMessage(2131820745);
                v5_20.setCancelable(1);
                v5_20.setNegativeButton(2131820601, new com.urbandroid.lux.MainActivity$26$1(this, p4));
                v5_20.setPositiveButton(2131820604, new com.urbandroid.lux.MainActivity$26$2(this));
                v5_20.create().show();
            }
        }
        return 1;
    }

Method com.urbandroid.lux.LocationService.resolveLocation() calling method android.content.Intent.setPackage()


    public com.urbandroid.lux.LocationService$Location resolveLocation(boolean p12)
    {
        java.util.concurrent.TimeUnit v3_1 = ((android.location.LocationManager) this.context.getSystemService("location"));
        android.content.Context v0_6 = new android.os.Handler(android.os.Looper.getMainLooper());
        long v1_2 = new android.location.Criteria();
        v1_2.setAccuracy(0);
        v1_2.setPowerRequirement(0);
        java.util.concurrent.CountDownLatch v7_1 = new java.util.concurrent.CountDownLatch(1);
        com.urbandroid.lux.LocationService$Location v8_1 = new com.urbandroid.lux.LocationService$Location();
        if (com.urbandroid.common.util.PermissionCompat.isPermissionGranted(this.context, "android.permission.ACCESS_COARSE_LOCATION")) {
            if ((p12 != null) || ((!com.urbandroid.common.util.Environment.isGingerOrGreater()) || (com.google.android.gms.common.GoogleApiAvailability.getInstance().isGooglePlayServicesAvailable(this.context) != 0))) {
                com.urbandroid.common.logging.Logger.logInfo("Location fallback to legacy location api");
                int v4_6 = v3_1.getBestProvider(v1_2, 1);
                if (v4_6 != 0) {
                    long v1_4 = new StringBuilder();
                    v1_4.append("Provider ");
                    v1_4.append(v4_6);
                    com.urbandroid.common.logging.Logger.logInfo(v1_4.toString());
                    com.urbandroid.lux.LocationService$3 v10 = new com.urbandroid.lux.LocationService$3;
                    v10(this, v3_1, v4_6, v8_1, v7_1);
                    v0_6.post(v10);
                } else {
                    com.urbandroid.common.logging.Logger.logSevere("No provider");
                    return 0;
                }
            } else {
                com.urbandroid.common.logging.Logger.logInfo("Location from fuse location");
                long v1_9 = new com.google.android.gms.common.api.GoogleApiClient$Builder(this.context);
                v1_9.addApi(com.google.android.gms.location.LocationServices.API);
                v1_9.addOnConnectionFailedListener(new com.urbandroid.lux.LocationService$1(this));
                long v1_10 = v1_9.build();
                v1_10.registerConnectionCallbacks(new com.urbandroid.lux.LocationService$2(this, v1_10, v8_1, v7_1));
                try {
                    v1_10.connect();
                } catch (long v1_11) {
                    com.urbandroid.common.logging.Logger.logSevere(v1_11);
                }
                v7_1.await(20, java.util.concurrent.TimeUnit.SECONDS);
                if (!v8_1.isSet()) {
                    if ((p12 == null) && (new com.urbandroid.lux.context.Settings(this.context).getLocation() == null)) {
                        v0_6.postDelayed(new com.urbandroid.lux.LocationService$4(this), 5000);
                    }
                    return 0;
                } else {
                    com.urbandroid.lux.LocationService$4 v12_9 = new android.content.Intent("com.urbandroid.lux.LOCATION_FOUND");
                    v12_9.setPackage(this.context.getPackageName());
                    this.context.sendBroadcast(v12_9);
                    return v8_1;
                }
            }
            try {
            } catch (long v1_14) {
                com.urbandroid.common.logging.Logger.logSevere(v1_14);
            }
        } else {
            com.urbandroid.common.logging.Logger.logWarning("LocationClient no permission");
            return 0;
        }
    }

Method com.urbandroid.lux.AbstractTwilightService.resume() calling method android.content.Intent.setPackage()


    public void resume()
    {
        android.content.Intent v0_0 = this.filter;
        if ((v0_0 != null) && (!v0_0.isShown())) {
            com.urbandroid.lux.context.AppContext.settings().setPaused(0);
            this.paused = 0;
            this.showAndCheckPermission();
            this.startForeground(1);
            this.updateWidgets();
            android.content.Intent v0_3 = new android.content.Intent("com.urbandroid.lux.ACTION_SERVICE_TOGGLE");
            v0_3.setPackage(this.getPackageName());
            this.sendBroadcast(v0_3);
        }
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.pause() calling method android.content.Intent.setPackage()


    public void pause()
    {
        android.content.Intent v0_0 = this.filter;
        if ((v0_0 != null) && (v0_0.isShown())) {
            this.paused = 1;
            com.urbandroid.lux.context.AppContext.settings().setPaused(1);
            this.filterHide();
            this.startForeground(0);
            this.updateWidgets();
            if (com.urbandroid.lux.context.AppContext.settings().isBacklightControl()) {
                com.urbandroid.lux.ui.TwilightView.revertBrightness(this.getApplicationContext());
            }
            android.content.Intent v0_6 = new android.content.Intent("com.urbandroid.lux.ACTION_SERVICE_TOGGLE");
            v0_6.setPackage(this.getPackageName());
            this.sendBroadcast(v0_6);
        }
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.updateAndCheckForeground() calling method android.content.Intent.setPackage()


    private void updateAndCheckForeground()
    {
        if ((this.filter != null) && (!this.isPreviewRunning())) {
            if ((this.filter.getState() != 0) || (this.state <= 0)) {
                if ((this.state != 0) || (this.filter.getState() <= 0)) {
                    if ((this.state >= 100) || (this.filter.getState() < 100)) {
                        if ((this.state >= 100) && (this.filter.getState() < 100)) {
                            boolean v0_18 = new android.content.Intent("com.urbandroid.lux.event_filter_end");
                            v0_18.setPackage(this.getPackageName());
                            this.sendBroadcast(v0_18);
                        }
                    } else {
                        boolean v0_20 = new android.content.Intent("com.urbandroid.lux.event_filter_start");
                        v0_20.setPackage(this.getPackageName());
                        this.sendBroadcast(v0_20);
                    }
                } else {
                    boolean v0_22 = new android.content.Intent("com.urbandroid.lux.event_transition_start");
                    v0_22.setPackage(this.getPackageName());
                    this.sendBroadcast(v0_22);
                }
            } else {
                boolean v0_25 = new android.content.Intent("com.urbandroid.lux.event_transition_end");
                v0_25.setPackage(this.getPackageName());
                this.sendBroadcast(v0_25);
            }
            StringBuilder v2_4;
            this.state = this.filter.getState();
            boolean v0_28 = this.filterUpdate();
            com.urbandroid.lux.AlarmScheduler v3_4 = 1;
            if ((!com.urbandroid.lux.context.AppContext.settings().isStopForeground()) || (com.urbandroid.lux.context.AppContext.settings().isForced())) {
                v2_4 = 0;
            } else {
                v2_4 = 1;
            }
            if ((this.getSmartLight() == null) || ((!com.urbandroid.lux.context.AppContext.settings().isSmartlight()) || (!this.getSmartLight().isConnected()))) {
                v3_4 = 0;
            }
            if ((v3_4 != null) || (v2_4 != null)) {
                if (v0_28 <= 0) {
                    StringBuilder v2_6 = new StringBuilder();
                    v2_6.append("Service: Starting foreground ");
                    v2_6.append(v0_28);
                    com.urbandroid.common.logging.Logger.logInfo(v2_6.toString());
                    this.startForeground(this.filter.isShown());
                } else {
                    android.content.Intent v4_1 = new StringBuilder();
                    v4_1.append("Service: Stopping foreground ");
                    v4_1.append(v0_28);
                    com.urbandroid.common.logging.Logger.logInfo(v4_1.toString());
                    android.content.Intent v4_4 = new android.content.Intent(this.getApplicationContext(), this.getClass());
                    v4_4.setAction("foreground");
                    com.urbandroid.lux.AlarmScheduler.getInstance().cancelNextAlarm(this.getApplicationContext(), v4_4);
                    android.content.Intent v4_6 = new android.content.Intent(this.getApplicationContext(), this.getClass());
                    v4_6.setAction("background");
                    com.urbandroid.lux.AlarmScheduler.getInstance().cancelNextAlarm(this.getApplicationContext(), v4_6);
                    if (v3_4 == null) {
                        com.urbandroid.lux.AlarmScheduler v3_1 = new StringBuilder();
                        v3_1.append("Service: Foreground service alarm ");
                        v3_1.append(new java.util.Date((System.currentTimeMillis() + v0_28)));
                        v3_1.append(" ");
                        v3_1.append(v0_28);
                        com.urbandroid.common.logging.Logger.logInfo(v3_1.toString());
                        com.urbandroid.lux.AlarmScheduler.getInstance().scheduleNextAlarmWake(this.getApplicationContext(), v4_6, (System.currentTimeMillis() + v0_28));
                    } else {
                        com.urbandroid.lux.AlarmScheduler.getInstance().scheduleNextAlarmWake(this.getApplicationContext(), v4_6, (System.currentTimeMillis() + 900000));
                    }
                    if (v2_4 != null) {
                        this.startForeground(this.filter.isShown());
                        this.stopSelf();
                    }
                }
            }
        }
        return;
    }

Method com.google.android.gms.common.internal.zzg.zzs() calling method android.content.Intent.setPackage()


    public static android.content.Intent zzs()
    {
        android.content.Intent v0_1 = new android.content.Intent("com.google.android.clockwork.home.UPDATE_ANDROID_WEAR_ACTION");
        v0_1.setPackage("com.google.android.wearable.app");
        return v0_1;
    }

Method com.google.android.gms.common.internal.zzg.zza() calling method android.content.Intent.setPackage()


    public static android.content.Intent zza(String p3, String p4)
    {
        android.content.Intent v0_1 = new android.content.Intent("android.intent.action.VIEW");
        int v3_1 = android.net.Uri.parse("market://details").buildUpon().appendQueryParameter("id", p3);
        if (!android.text.TextUtils.isEmpty(p4)) {
            v3_1.appendQueryParameter("pcampaignid", p4);
        }
        v0_1.setData(v3_1.build());
        v0_1.setPackage("com.android.vending");
        v0_1.addFlags(524288);
        return v0_1;
    }

Method com.google.android.gms.common.internal.GmsClientSupervisor$zza.zzb() calling method android.content.Intent.setPackage()


    public final android.content.Intent zzb(android.content.Context p2)
    {
        android.content.Intent v2_1;
        android.content.Intent v2_0 = this.zzdr;
        if (v2_0 == null) {
            v2_1 = new android.content.Intent().setComponent(this.mComponentName);
        } else {
            v2_1 = new android.content.Intent(v2_0).setPackage(this.zzds);
        }
        return v2_1;
    }

Method com.urbandroid.lux.TwilightService.startForeground() calling method android.content.Intent.setFlags()


    public void startForeground(boolean p11)
    {
        Exception v0_11;
        int v1_3;
        Exception v0_1 = new StringBuilder();
        v0_1.append("Start foreground ");
        v0_1.append(p11);
        com.urbandroid.common.logging.Logger.logInfo(v0_1.toString());
        if (p11 == null) {
            v0_11 = 2131230906;
            v1_3 = this.getString(2131820722);
        } else {
            v0_11 = 2131230907;
            v1_3 = this.getString(2131820721);
        }
        int v2_2 = new android.content.Intent(this, com.urbandroid.lux.TwilightService);
        v2_2.putExtra("quick_settings", 1);
        int v2_3 = com.urbandroid.lux.util.PendingIntentCompat.getService(this, 9728672, v2_2, 134217728);
        int v4_3 = new android.content.Intent(this, com.urbandroid.lux.TwilightService);
        v4_3.putExtra("toggle", 1);
        int v4_4 = com.urbandroid.lux.util.PendingIntentCompat.getService(this, 36812, v4_3, 134217728);
        android.app.PendingIntent v7_1 = new android.content.Intent(this, com.urbandroid.lux.TwilightService);
        v7_1.putExtra("force", 1);
        android.app.PendingIntent v7_2 = com.urbandroid.lux.util.PendingIntentCompat.getService(this, 73219873, v7_1, 134217728);
        int v8_3 = new android.content.Intent(this, com.urbandroid.lux.MainActivity);
        v8_3.setFlags(268435456);
        long v3_5 = android.app.PendingIntent.getActivity(this, 73219873, v8_3, 134217728);
        Exception v0_15 = new android.support.v4.app.NotificationCompat$Builder(this, "foreground").setSmallIcon(v0_11).setColor(this.getResources().getColor(2131099874));
        if (!com.urbandroid.lux.context.AppContext.settings().isQuickSettings()) {
            v2_3 = v4_4;
        }
        int v2_5;
        android.app.Notification v11_5;
        Exception v0_17 = v0_15.setContentIntent(v2_3).setPriority(-2);
        if (p11 == null) {
            v11_5 = this.getResources();
            v2_5 = 2131820760;
        } else {
            v11_5 = this.getResources();
            v2_5 = 2131820741;
        }
        Exception v0_20;
        int v2_6 = 0;
        android.app.Notification v11_7 = v0_17.addAction(0, v11_5.getString(v2_5), v4_4);
        if (!com.urbandroid.lux.context.AppContext.settings().isForced()) {
            v0_20 = 2131820661;
        } else {
            v0_20 = 2131820656;
        }
        android.app.Notification v11_3 = v11_7.addAction(0, this.getString(v0_20), v7_2).addAction(v2_6, this.getResources().getString(2131820764), v3_5).setShowWhen(v2_6).setContentText(v1_3);
        if (android.os.Build$VERSION.SDK_INT < 24) {
            v11_3.setContentTitle(this.getString(2131820588));
        }
        if ((android.os.Build$VERSION.SDK_INT == 26) && (com.urbandroid.lux.context.AppContext.settings().isHideIcon())) {
            v11_3.setPriority(-1);
        }
        Exception v0_10 = new android.app.Notification(0, this.getString(2131820588), System.currentTimeMillis());
        v0_10.flags = (v0_10.flags | 32);
        android.app.Notification v11_4 = v11_3.build();
        try {
            if ((!com.urbandroid.lux.context.AppContext.settings().isHideIcon()) || (android.os.Build$VERSION.SDK_INT > 17)) {
                this.startForeground(36812, v11_4);
            } else {
                this.startForeground(36812, v0_10);
            }
        } catch (Exception v0_12) {
            com.urbandroid.common.logging.Logger.logSevere("Service: ", v0_12);
            this.startForeground(36812, v11_4);
        }
        return;
    }

Method com.urbandroid.common.error.EmailIntentErrorDispatcher.sendDebugViaEmailIntent() calling method android.content.Intent.setFlags()


    public Boolean sendDebugViaEmailIntent(String p12, String p13, com.urbandroid.common.error.ErrorReport$Type p14, Throwable p15)
    {
        String v0_3;
        String v0_8 = com.urbandroid.common.error.EmailIntentErrorDispatcher$1.$SwitchMap$com$urbandroid$common$error$ErrorReport$Type[p14.ordinal()];
        if (v0_8 == 1) {
            v0_3 = this.configuration.getOnRecoveryMessageBody();
        } else {
            if (v0_8 == 2) {
                v0_3 = this.configuration.getMessageBody();
            } else {
                if (v0_8 == 3) {
                    v0_3 = this.configuration.getOnDemandMessageBody();
                } else {
                    if (v0_8 != 4) {
                        Boolean v13_26 = new StringBuilder();
                        v13_26.append("Unexpected report type: ");
                        v13_26.append(p14);
                        throw new RuntimeException(v13_26.toString());
                    } else {
                        v0_3 = this.configuration.getOnAssertionFailedMessageBody();
                    }
                }
            }
        }
        long v2_3 = this.getSaveDebugFile(p14);
        long v14_6 = this.getSubmitDebugFile(p14);
        try {
            com.urbandroid.common.file.FileCopyUtils.copyPrivateFileToSdCardFile(this.contextActivity, v2_3.getName(), v14_6.getAbsolutePath());
        } catch (String v3_4) {
            com.urbandroid.common.logging.Logger.logSevere(v3_4);
        }
        if ((!v14_6.exists()) || ((v14_6.length() <= 0) || (!v14_6.canRead()))) {
            String v3_8 = 0;
        } else {
            v3_8 = 1;
        }
        String v6_0;
        String v5_3 = new StringBuilder();
        v5_3.append("Can use SD Card for report: ");
        v5_3.append(v3_8);
        com.urbandroid.common.logging.Logger.logInfo(v5_3.toString());
        if (v3_8 != null) {
            v6_0 = "";
        } else {
            v6_0 = this.loadErrorReport(v2_3);
        }
        android.content.Intent v7_2 = new android.content.Intent("android.intent.action.SEND");
        String v8_3 = new StringBuilder();
        v8_3.append(this.applicationName);
        v8_3.append(" ");
        v8_3.append(this.configuration.getSubject());
        v8_3.append(" - ");
        v8_3.append(this.getVersionString());
        String v8_0 = v8_3.toString();
        if (p12 != null) {
            String v10_9 = new StringBuilder();
            v10_9.append(v8_0);
            v10_9.append(" [");
            v10_9.append(p12);
            v10_9.append("]");
            v8_0 = v10_9.toString();
        }
        Boolean v12_3 = new StringBuilder();
        v12_3.append("");
        v12_3.append("\n");
        v12_3.append(v0_3);
        v12_3.append("\n\n");
        Boolean v12_4 = v12_3.toString();
        if (p13 != null) {
            String v10_2 = new StringBuilder();
            v10_2.append(v12_4);
            v10_2.append("Your comment:\n");
            v10_2.append(p13);
            v10_2.append("\n\n");
            v12_4 = v10_2.toString();
        }
        if (p15 != null) {
            Boolean v12_9;
            Boolean v13_2 = new StringBuilder();
            v13_2.append(v12_4);
            v13_2.append(p15.getClass().getSimpleName());
            if (p15.getMessage() == null) {
                v12_9 = "";
            } else {
                Boolean v12_11 = new StringBuilder();
                v12_11.append(": ");
                v12_11.append(p15.getMessage());
                v12_9 = v12_11.toString();
            }
            v13_2.append(v12_9);
            Boolean v12_12 = v13_2.toString();
            Boolean v13_4 = new StringBuilder();
            v13_4.append(v12_12);
            v13_4.append("\n\n");
            v12_4 = v13_4.toString();
        }
        String v15_5;
        Boolean v13_6 = new StringBuilder();
        v13_6.append(v12_4);
        v13_6.append(android.os.Build.MANUFACTURER);
        v13_6.append(" ");
        v13_6.append(android.os.Build.MODEL);
        v13_6.append("\n\n");
        Boolean v12_15 = v13_6.toString();
        v7_2.putExtra("android.intent.extra.EMAIL", this.configuration.getMailTo());
        Boolean v13_10 = new StringBuilder();
        v13_10.append(v12_15);
        if (v3_8 == null) {
            String v15_4 = new StringBuilder();
            v15_4.append(v6_0);
            v15_4.append("\n\n");
            v15_5 = v15_4.toString();
        } else {
            v15_5 = "";
        }
        Boolean v13_14;
        v13_10.append(v15_5);
        v7_2.putExtra("android.intent.extra.TEXT", v13_10.toString());
        v7_2.putExtra("android.intent.extra.SUBJECT", v8_0);
        if (!com.urbandroid.common.util.Environment.isMOrGreater()) {
            v13_14 = android.net.Uri.fromFile(v14_6);
        } else {
            Boolean v13_15 = this.contextActivity;
            String v0_6 = new StringBuilder();
            v0_6.append(this.contextActivity.getPackageName());
            v0_6.append(".fileprovider");
            v13_14 = android.support.v4.content.FileProvider.getUriForFile(v13_15, v0_6.toString(), v14_6);
        }
        Boolean v13_24;
        v7_2.putExtra("android.intent.extra.STREAM", v13_14);
        v7_2.setType("message/rfc822");
        if (Integer.valueOf(this.contextActivity.getPackageManager().queryIntentActivities(v7_2, 0).size()).intValue() <= 0) {
            v13_24 = 0;
        } else {
            v13_24 = 1;
        }
        Boolean v13_25 = Boolean.valueOf(v13_24);
        if (!v13_25.booleanValue()) {
            if (v6_0.equals("")) {
                v6_0 = this.loadErrorReport(v2_3);
            }
            Boolean v12_26;
            Boolean v13_29 = new StringBuilder();
            v13_29.append(v12_15);
            v13_29.append(v6_0);
            v13_29.append(" \n\n");
            v7_2.putExtra("android.intent.extra.TEXT", v13_29.toString());
            v7_2.setType("text/plain");
            if (Integer.valueOf(this.contextActivity.getPackageManager().queryIntentActivities(v7_2, 0).size()).intValue() <= 0) {
                v12_26 = 0;
            } else {
                v12_26 = 1;
            }
            v13_25 = Boolean.valueOf(v12_26);
        }
        if (v2_3.exists()) {
            v2_3.delete();
        }
        if (!v13_25.booleanValue()) {
            com.urbandroid.common.logging.Logger.logSevere("No intent to handle sending of message!");
            return Boolean.valueOf(0);
        } else {
            v7_2.setFlags(268697600);
            Boolean v12_33 = new StringBuilder();
            v12_33.append("Email intent sent to ");
            v12_33.append(java.util.Arrays.toString(this.configuration.getMailTo()));
            com.urbandroid.common.logging.Logger.logDebug(v12_33.toString());
            ((android.app.AlarmManager) this.contextActivity.getSystemService("alarm")).set(0, (System.currentTimeMillis() + 1000), android.app.PendingIntent.getActivity(this.contextActivity, 0, v7_2, 268435456));
            return Boolean.valueOf(1);
        }
    }

Method com.urbandroid.lux.ui.TwilightView.applyBrightness() calling method android.content.Intent.setFlags()


    public static void applyBrightness(android.content.Context p2, int p3)
    {
        android.content.Intent v0_1 = new StringBuilder();
        v0_1.append("VIEW: Applying brightness ");
        v0_1.append(p3);
        com.urbandroid.common.logging.Logger.logInfo(v0_1.toString());
        android.content.Intent v0_2 = new android.content.Intent(p2, com.urbandroid.lux.DummyBrightnessActivity);
        v0_2.setFlags(268435456);
        v0_2.putExtra("VIEW: brightness value", (((float) p3) / 1132396544));
        p2.startActivity(v0_2);
        return;
    }

Method com.urbandroid.lux.ui.QuickSettingsView$8.run() calling method android.content.Intent.setFlags()


    public void run()
    {
        android.content.Intent v0_1 = new android.content.Intent(this.this$0.getContext(), com.urbandroid.lux.DummyBrightnessActivity);
        v0_1.setFlags(268435456);
        this.this$0.getContext().startActivity(v0_1);
        return;
    }

Method com.urbandroid.lux.ui.QuickSettingsView$7.onClick() calling method android.content.Intent.setFlags()


    public void onClick(android.view.View p3)
    {
        com.urbandroid.lux.ui.QuickSettingsView v3_2 = new android.content.Intent(this.this$0.getContext(), com.urbandroid.lux.MainActivity);
        v3_2.setFlags(268435456);
        this.this$0.getContext().startActivity(v3_2);
        this.this$0.hide();
        return;
    }

Method com.urbandroid.lux.TvActivity.onCreate() calling method android.content.Intent.setFlags()


    public void onCreate(android.os.Bundle p3)
    {
        super.onCreate(p3);
        com.urbandroid.lux.context.AppContext.getInstance().init(com.urbandroid.lux.TvActivity, this.getApplicationContext());
        if ((android.os.Build$VERSION.SDK_INT < 23) || (android.provider.Settings.canDrawOverlays(this))) {
            this.setContentView(2131558565);
        } else {
            android.app.AlertDialog$Builder v3_5 = new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse("https://twilight.urbandroid.org/how-to-install-twilight-on-android-tv-android-6/"));
            v3_5.setFlags(268435456);
            try {
                this.startActivity(v3_5);
                this.finish();
            } catch (android.app.AlertDialog$Builder v3_6) {
                com.urbandroid.common.logging.Logger.logSevere(v3_6);
                new android.app.AlertDialog$Builder(this).setMessage("Twilight for Android TV can no longer be distributed though the Play Store, please side load it from https://twilight.urbandroid.org/how-to-install-twilight-on-android-tv-android-6/").setPositiveButton("OK", new com.urbandroid.lux.TvActivity$1(this)).show();
            }
        }
        return;
    }

Method com.urbandroid.lux.SubstratumLauncher.onCreate() calling method android.content.Intent.setFlags()


    protected void onCreate(android.os.Bundle p3)
    {
        super.onCreate(p3);
        android.content.Intent v3_3 = this.getIntent();
        v3_3.getStringExtra("theme_mode");
        v3_3.getBooleanExtra("theme_legacy", 0);
        v3_3.getBooleanExtra("refresh_mode", 0);
        android.content.Intent v3_2 = new android.content.Intent("android.intent.action.MAIN");
        v3_2.setComponent(android.content.ComponentName.unflattenFromString("projekt.substratum/projekt.substratum.InformationActivity"));
        v3_2.addCategory("android.intent.category.LAUNCHER");
        v3_2.setFlags(268435456);
        v3_2.addFlags(67108864);
        v3_2.putExtra("theme_name", this.getString(2131820588));
        v3_2.putExtra("theme_pid", this.getPackageName());
        this.startActivity(v3_2);
        this.finish();
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.getDrawOverlayPermissionIntent() calling method android.content.Intent.setFlags()


    public static android.content.Intent getDrawOverlayPermissionIntent(android.content.Context p3)
    {
        android.content.Intent v0_1 = new android.content.Intent("android.settings.action.MANAGE_OVERLAY_PERMISSION");
        StringBuilder v1_2 = new StringBuilder();
        v1_2.append("package:");
        v1_2.append(p3.getPackageName());
        v0_1.setData(android.net.Uri.parse(v1_2.toString()));
        v0_1.setFlags(268435456);
        return v0_1;
    }

Method com.urbandroid.lux.AbstractTwilightService$5.run() calling method android.content.Intent.setFlags()


    public void run()
    {
        android.content.Intent v0_1 = new android.content.Intent(this.this$0, com.urbandroid.lux.DummyBrightnessActivity);
        v0_1.setFlags(268435456);
        this.this$0.startActivity(v0_1);
        return;
    }

Method com.urbandroid.lux.ProActivity.onPreferenceChange() calling method android.content.Intent.setData()


    public boolean onPreferenceChange(android.preference.Preference p6, Object p7)
    {
        if (p6 == 0) {
            com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate(this);
        } else {
            if (!"settings_fullscreen".equals(p6.getKey())) {
                if (!"settings_icon".equals(p6.getKey())) {
                    if (!"settings_quick".equals(p6.getKey())) {
                        if (!"settings_hide_ambient".equals(p6.getKey())) {
                            if (!"settings_filter_navbar_landscape".equals(p6.getKey())) {
                                if (!"settings_gpu".equals(p6.getKey())) {
                                    if (!"settings_filter_wallpaper".equals(p6.getKey())) {
                                        if (!"settings_filter_wallpaper_lockscreen".equals(p6.getKey())) {
                                            if (!"settings_backlight_control".equals(p6.getKey())) {
                                                if (!"settings_foreground_check".equals(p6.getKey())) {
                                                    if ("settings_dim_behind".equals(p6.getKey())) {
                                                        com.urbandroid.common.logging.Logger.logInfo("Dim behind checked");
                                                        new android.os.Handler().post(new com.urbandroid.lux.ProActivity$10(this));
                                                    }
                                                } else {
                                                    if (!((Boolean) p7).booleanValue()) {
                                                        com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate(this);
                                                    } else {
                                                        if (!com.urbandroid.common.util.Environment.isLollipopOrGreater()) {
                                                            this.startActivity(new android.content.Intent(this, com.urbandroid.lux.ban.BanListActivity));
                                                            return 1;
                                                        } else {
                                                            if (this.showAppStatDialog()) {
                                                                return 0;
                                                            } else {
                                                                this.startActivity(new android.content.Intent(this, com.urbandroid.lux.ban.BanListActivity));
                                                                return 1;
                                                            }
                                                        }
                                                    }
                                                }
                                            } else {
                                                com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate(this);
                                                if ((p7 instanceof Boolean)) {
                                                    if (((Boolean) p7).booleanValue()) {
                                                        this.startBacklightControlSettings();
                                                    } else {
                                                        int v6_6 = new StringBuilder();
                                                        v6_6.append("Backlight preference changed ");
                                                        v6_6.append(p7);
                                                        com.urbandroid.common.logging.Logger.logInfo(v6_6.toString());
                                                        com.urbandroid.lux.ui.TwilightView.revertBrightness(this.getApplicationContext());
                                                    }
                                                }
                                            }
                                        } else {
                                            com.urbandroid.common.logging.Logger.logInfo("Wallpaper: lock settings changed");
                                            com.urbandroid.lux.context.AppContext.settings().setFilterLockWallpaper(((Boolean) p7).booleanValue());
                                            if (!((Boolean) p7).booleanValue()) {
                                                com.urbandroid.lux.AbstractTwilightService.startForegroundServiceRefreshWallpaper(this);
                                            } else {
                                                if ((android.os.Build$VERSION.SDK_INT < 27) || (com.urbandroid.lux.PermissionUtil.hasPermission(this.getApplicationContext(), "android.permission.READ_EXTERNAL_STORAGE"))) {
                                                    com.urbandroid.lux.AbstractTwilightService.startForegroundServiceRefreshWallpaper(this);
                                                } else {
                                                    this.showStoragePermissionDialog();
                                                    return 1;
                                                }
                                            }
                                            return 1;
                                        }
                                    } else {
                                        com.urbandroid.common.logging.Logger.logInfo("Wallpaper: settings changed");
                                        com.urbandroid.lux.context.AppContext.settings().setFilterWallpaper(((Boolean) p7).booleanValue());
                                        if (!((Boolean) p7).booleanValue()) {
                                            com.urbandroid.lux.AbstractTwilightService.startForegroundServiceRefreshWallpaper(this);
                                        } else {
                                            if ((android.os.Build$VERSION.SDK_INT < 27) || (com.urbandroid.lux.PermissionUtil.hasPermission(this.getApplicationContext(), "android.permission.READ_EXTERNAL_STORAGE"))) {
                                                com.urbandroid.lux.AbstractTwilightService.startForegroundServiceRefreshWallpaper(this);
                                            } else {
                                                this.showStoragePermissionDialog();
                                                return 1;
                                            }
                                        }
                                        return 1;
                                    }
                                } else {
                                    com.urbandroid.lux.AbstractTwilightService.startForegroundServiceRefresh(this);
                                }
                            } else {
                                com.urbandroid.lux.AbstractTwilightService.startForegroundServiceRefresh(this);
                            }
                        } else {
                            com.urbandroid.lux.AbstractTwilightService.startForegroundServiceRefresh(this);
                        }
                    } else {
                        com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdateForeground(this);
                    }
                } else {
                    com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdateForeground(this);
                    int v6_21 = android.os.Build$VERSION.SDK_INT;
                    if (v6_21 < 26) {
                        if (v6_21 < 23) {
                            if (v6_21 > 16) {
                                try {
                                    int v6_23 = new android.content.Intent();
                                    v6_23.setAction("android.settings.APPLICATION_DETAILS_SETTINGS");
                                    v6_23.setData(android.net.Uri.fromParts("package", "com.urbandroid.lux", 0));
                                    this.startActivity(v6_23);
                                } catch (int v6_24) {
                                    com.urbandroid.common.logging.Logger.logSevere(v6_24);
                                }
                            }
                        } else {
                            int v6_26 = new android.content.Intent();
                            v6_26.setClassName("com.android.settings", "com.android.settings.Settings$AppNotificationSettingsActivity");
                            v6_26.putExtra("app_package", this.getPackageName());
                            if (android.os.Build$VERSION.SDK_INT < 26) {
                                v6_26.putExtra("app_uid", this.getApplicationInfo().uid);
                            } else {
                                v6_26.putExtra("android.provider.extra.APP_PACKAGE", this.getPackageName());
                            }
                            this.startActivity(v6_26);
                        }
                    } else {
                        int v6_28 = new android.content.Intent("android.settings.CHANNEL_NOTIFICATION_SETTINGS");
                        v6_28.putExtra("android.provider.extra.CHANNEL_ID", "foreground");
                        v6_28.putExtra("android.provider.extra.APP_PACKAGE", this.getPackageName());
                        this.startActivity(v6_28);
                    }
                }
            } else {
                com.urbandroid.lux.AbstractTwilightService.startForegroundServiceRefresh(this);
            }
        }
        return 1;
    }

Method com.urbandroid.lux.ProActivity.startBacklightControlSettings() calling method android.content.Intent.setData()


    private void startBacklightControlSettings()
    {
        this.startActivity(new android.content.Intent(this, com.urbandroid.lux.BacklightActivity));
        if ((android.os.Build$VERSION.SDK_INT >= 23) && (!android.provider.Settings$System.canWrite(this))) {
            try {
                Exception v0_2 = new android.content.Intent("android.settings.action.MANAGE_WRITE_SETTINGS");
                android.net.Uri v1_3 = new StringBuilder();
                v1_3.append("package:");
                v1_3.append(this.getPackageName());
                v0_2.setData(android.net.Uri.parse(v1_3.toString()));
                this.startActivity(v0_2);
            } catch (Exception v0_4) {
                com.urbandroid.common.logging.Logger.logSevere(v0_4);
            }
        }
        return;
    }

Method com.urbandroid.lux.MainActivity.getDrawOverlayPermissionIntent() calling method android.content.Intent.setData()


    public static android.content.Intent getDrawOverlayPermissionIntent(android.content.Context p3)
    {
        android.content.Intent v0_1 = new android.content.Intent("android.settings.action.MANAGE_OVERLAY_PERMISSION");
        StringBuilder v1_2 = new StringBuilder();
        v1_2.append("package:");
        v1_2.append(p3.getPackageName());
        v0_1.setData(android.net.Uri.parse(v1_2.toString()));
        v0_1.addFlags(268435456);
        return v0_1;
    }

Method com.urbandroid.lux.BacklightActivity.onOptionsItemSelected() calling method android.content.Intent.setData()


    public boolean onOptionsItemSelected(android.view.MenuItem p3)
    {
        Exception v3_1 = p3.getItemId();
        if (v3_1 == 16908332) {
            this.finish();
        } else {
            if ((v3_1 == 2131362091) && (android.os.Build$VERSION.SDK_INT >= 23)) {
                try {
                    Exception v3_3 = new android.content.Intent("android.settings.action.MANAGE_WRITE_SETTINGS");
                    android.net.Uri v0_2 = new StringBuilder();
                    v0_2.append("package:");
                    v0_2.append(this.getPackageName());
                    v3_3.setData(android.net.Uri.parse(v0_2.toString()));
                    this.startActivity(v3_3);
                } catch (Exception v3_4) {
                    com.urbandroid.common.logging.Logger.logSevere(v3_4);
                }
            }
        }
        return 1;
    }

Method com.urbandroid.lux.MainActivity$20.onClick() calling method android.content.Intent.setData()


    public void onClick()
    {
        android.content.Intent v0_1 = new android.content.Intent("android.intent.action.VIEW");
        v0_1.setData(android.net.Uri.parse("https://docs.google.com/spreadsheets/d/1Jse7DqJr4eNTca6_7rSBchpaX3eU6SgLo9V3ltBio5Q/edit?usp=sharing"));
        this.this$0.startActivity(v0_1);
        return;
    }

Method android.support.v7.widget.SearchView.createIntent() calling method android.content.Intent.setData()


    private android.content.Intent createIntent(String p2, android.net.Uri p3, String p4, String p5, int p6, String p7)
    {
        android.content.Intent v0_1 = new android.content.Intent(p2);
        v0_1.addFlags(268435456);
        if (p3 != null) {
            v0_1.setData(p3);
        }
        v0_1.putExtra("user_query", this.mUserQuery);
        if (p5 != null) {
            v0_1.putExtra("query", p5);
        }
        if (p4 != null) {
            v0_1.putExtra("intent_extra_data_key", p4);
        }
        android.content.ComponentName v2_3 = this.mAppSearchData;
        if (v2_3 != null) {
            v0_1.putExtra("app_data", v2_3);
        }
        if (p6 != 0) {
            v0_1.putExtra("action_key", p6);
            v0_1.putExtra("action_msg", p7);
        }
        v0_1.setComponent(this.mSearchable.getSearchActivity());
        return v0_1;
    }

Method com.urbandroid.lux.AbstractTwilightService.getDrawOverlayPermissionIntent() calling method android.content.Intent.setData()


    public static android.content.Intent getDrawOverlayPermissionIntent(android.content.Context p3)
    {
        android.content.Intent v0_1 = new android.content.Intent("android.settings.action.MANAGE_OVERLAY_PERMISSION");
        StringBuilder v1_2 = new StringBuilder();
        v1_2.append("package:");
        v1_2.append(p3.getPackageName());
        v0_1.setData(android.net.Uri.parse(v1_2.toString()));
        v0_1.setFlags(268435456);
        return v0_1;
    }

Method com.urbandroid.common.util.PowerManagerCompat.requestIgnoreBatteryOptimizations() calling method android.content.Intent.setData()


    public static void requestIgnoreBatteryOptimizations(android.app.Activity p3)
    {
        if (com.urbandroid.common.util.Environment.isMOrGreater()) {
            android.content.Intent v0_2 = new android.content.Intent("android.settings.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS");
            int v1_5 = new StringBuilder();
            v1_5.append("package:");
            v1_5.append(p3.getPackageName());
            v0_2.setData(android.net.Uri.parse(v1_5.toString()));
            p3.startActivityForResult(v0_2, 312);
        }
        return;
    }

Method com.google.android.gms.common.internal.zzg.zzg() calling method android.content.Intent.setData()


    public static android.content.Intent zzg(String p2)
    {
        android.net.Uri v2_1 = android.net.Uri.fromParts("package", p2, 0);
        android.content.Intent v0_2 = new android.content.Intent("android.settings.APPLICATION_DETAILS_SETTINGS");
        v0_2.setData(v2_1);
        return v0_2;
    }

Method com.google.android.gms.common.internal.zzg.zza() calling method android.content.Intent.setData()


    public static android.content.Intent zza(String p3, String p4)
    {
        android.content.Intent v0_1 = new android.content.Intent("android.intent.action.VIEW");
        int v3_1 = android.net.Uri.parse("market://details").buildUpon().appendQueryParameter("id", p3);
        if (!android.text.TextUtils.isEmpty(p4)) {
            v3_1.appendQueryParameter("pcampaignid", p4);
        }
        v0_1.setData(v3_1.build());
        v0_1.setPackage("com.android.vending");
        v0_1.addFlags(524288);
        return v0_1;
    }

Method com.urbandroid.lux.MainActivity.getDrawOverlayPermissionIntent() calling method android.content.Intent.addFlags()


    public static android.content.Intent getDrawOverlayPermissionIntent(android.content.Context p3)
    {
        android.content.Intent v0_1 = new android.content.Intent("android.settings.action.MANAGE_OVERLAY_PERMISSION");
        StringBuilder v1_2 = new StringBuilder();
        v1_2.append("package:");
        v1_2.append(p3.getPackageName());
        v0_1.setData(android.net.Uri.parse(v1_2.toString()));
        v0_1.addFlags(268435456);
        return v0_1;
    }

Method android.support.v7.widget.SearchView.createIntent() calling method android.content.Intent.addFlags()


    private android.content.Intent createIntent(String p2, android.net.Uri p3, String p4, String p5, int p6, String p7)
    {
        android.content.Intent v0_1 = new android.content.Intent(p2);
        v0_1.addFlags(268435456);
        if (p3 != null) {
            v0_1.setData(p3);
        }
        v0_1.putExtra("user_query", this.mUserQuery);
        if (p5 != null) {
            v0_1.putExtra("query", p5);
        }
        if (p4 != null) {
            v0_1.putExtra("intent_extra_data_key", p4);
        }
        android.content.ComponentName v2_3 = this.mAppSearchData;
        if (v2_3 != null) {
            v0_1.putExtra("app_data", v2_3);
        }
        if (p6 != 0) {
            v0_1.putExtra("action_key", p6);
            v0_1.putExtra("action_msg", p7);
        }
        v0_1.setComponent(this.mSearchable.getSearchActivity());
        return v0_1;
    }

Method android.support.v7.widget.SearchView.<init>() calling method android.content.Intent.addFlags()


    public SearchView(android.content.Context p4, android.util.AttributeSet p5, int p6)
    {
        super(p4, p5, p6);
        super.mSearchSrcTextViewBounds = new android.graphics.Rect();
        super.mSearchSrtTextViewBoundsExpanded = new android.graphics.Rect();
        int v1_1 = new int[2];
        super.mTemp = v1_1;
        String v0_1 = new int[2];
        super.mTemp2 = v0_1;
        super.mUpdateDrawableStateRunnable = new android.support.v7.widget.SearchView$1(super);
        super.mReleaseCursorRunnable = new android.support.v7.widget.SearchView$2(super);
        super.mOutsideDrawablesCache = new java.util.WeakHashMap();
        super.mOnClickListener = new android.support.v7.widget.SearchView$5(super);
        super.mTextKeyListener = new android.support.v7.widget.SearchView$6(super);
        super.mOnEditorActionListener = new android.support.v7.widget.SearchView$7(super);
        super.mOnItemClickListener = new android.support.v7.widget.SearchView$8(super);
        super.mOnItemSelectedListener = new android.support.v7.widget.SearchView$9(super);
        super.mTextWatcher = new android.support.v7.widget.SearchView$10(super);
        android.support.v7.widget.SearchView$4 v5_5 = android.support.v7.widget.TintTypedArray.obtainStyledAttributes(p4, p5, android.support.v7.appcompat.R$styleable.SearchView, p6, 0);
        android.view.LayoutInflater.from(p4).inflate(v5_5.getResourceId(android.support.v7.appcompat.R$styleable.SearchView_layout, android.support.v7.appcompat.R$layout.abc_search_view), super, 1);
        super.mSearchSrcTextView = ((android.support.v7.widget.SearchView$SearchAutoComplete) super.findViewById(android.support.v7.appcompat.R$id.search_src_text));
        super.mSearchSrcTextView.setSearchView(super);
        super.mSearchEditFrame = super.findViewById(android.support.v7.appcompat.R$id.search_edit_frame);
        super.mSearchPlate = super.findViewById(android.support.v7.appcompat.R$id.search_plate);
        super.mSubmitArea = super.findViewById(android.support.v7.appcompat.R$id.submit_area);
        super.mSearchButton = ((android.widget.ImageView) super.findViewById(android.support.v7.appcompat.R$id.search_button));
        super.mGoButton = ((android.widget.ImageView) super.findViewById(android.support.v7.appcompat.R$id.search_go_btn));
        super.mCloseButton = ((android.widget.ImageView) super.findViewById(android.support.v7.appcompat.R$id.search_close_btn));
        super.mVoiceButton = ((android.widget.ImageView) super.findViewById(android.support.v7.appcompat.R$id.search_voice_btn));
        super.mCollapsedIcon = ((android.widget.ImageView) super.findViewById(android.support.v7.appcompat.R$id.search_mag_icon));
        android.support.v4.view.ViewCompat.setBackground(super.mSearchPlate, v5_5.getDrawable(android.support.v7.appcompat.R$styleable.SearchView_queryBackground));
        android.support.v4.view.ViewCompat.setBackground(super.mSubmitArea, v5_5.getDrawable(android.support.v7.appcompat.R$styleable.SearchView_submitBackground));
        super.mSearchButton.setImageDrawable(v5_5.getDrawable(android.support.v7.appcompat.R$styleable.SearchView_searchIcon));
        super.mGoButton.setImageDrawable(v5_5.getDrawable(android.support.v7.appcompat.R$styleable.SearchView_goIcon));
        super.mCloseButton.setImageDrawable(v5_5.getDrawable(android.support.v7.appcompat.R$styleable.SearchView_closeIcon));
        super.mVoiceButton.setImageDrawable(v5_5.getDrawable(android.support.v7.appcompat.R$styleable.SearchView_voiceIcon));
        super.mCollapsedIcon.setImageDrawable(v5_5.getDrawable(android.support.v7.appcompat.R$styleable.SearchView_searchIcon));
        super.mSearchHintIcon = v5_5.getDrawable(android.support.v7.appcompat.R$styleable.SearchView_searchHintIcon);
        android.support.v7.widget.TooltipCompat.setTooltipText(super.mSearchButton, super.getResources().getString(android.support.v7.appcompat.R$string.abc_searchview_description_search));
        super.mSuggestionRowLayout = v5_5.getResourceId(android.support.v7.appcompat.R$styleable.SearchView_suggestionRowLayout, android.support.v7.appcompat.R$layout.abc_search_dropdown_item_icons_2line);
        super.mSuggestionCommitIconResId = v5_5.getResourceId(android.support.v7.appcompat.R$styleable.SearchView_commitIcon, 0);
        super.mSearchButton.setOnClickListener(super.mOnClickListener);
        super.mCloseButton.setOnClickListener(super.mOnClickListener);
        super.mGoButton.setOnClickListener(super.mOnClickListener);
        super.mVoiceButton.setOnClickListener(super.mOnClickListener);
        super.mSearchSrcTextView.setOnClickListener(super.mOnClickListener);
        super.mSearchSrcTextView.addTextChangedListener(super.mTextWatcher);
        super.mSearchSrcTextView.setOnEditorActionListener(super.mOnEditorActionListener);
        super.mSearchSrcTextView.setOnItemClickListener(super.mOnItemClickListener);
        super.mSearchSrcTextView.setOnItemSelectedListener(super.mOnItemSelectedListener);
        super.mSearchSrcTextView.setOnKeyListener(super.mTextKeyListener);
        super.mSearchSrcTextView.setOnFocusChangeListener(new android.support.v7.widget.SearchView$3(super));
        super.setIconifiedByDefault(v5_5.getBoolean(android.support.v7.appcompat.R$styleable.SearchView_iconifiedByDefault, 1));
        boolean v4_28 = v5_5.getDimensionPixelSize(android.support.v7.appcompat.R$styleable.SearchView_android_maxWidth, -1);
        if (v4_28 != -1) {
            super.setMaxWidth(v4_28);
        }
        super.mDefaultQueryHint = v5_5.getText(android.support.v7.appcompat.R$styleable.SearchView_defaultQueryHint);
        super.mQueryHint = v5_5.getText(android.support.v7.appcompat.R$styleable.SearchView_queryHint);
        boolean v4_34 = v5_5.getInt(android.support.v7.appcompat.R$styleable.SearchView_android_imeOptions, -1);
        if (v4_34 != -1) {
            super.setImeOptions(v4_34);
        }
        boolean v4_36 = v5_5.getInt(android.support.v7.appcompat.R$styleable.SearchView_android_inputType, -1);
        if (v4_36 != -1) {
            super.setInputType(v4_36);
        }
        super.setFocusable(v5_5.getBoolean(android.support.v7.appcompat.R$styleable.SearchView_android_focusable, 1));
        v5_5.recycle();
        super.mVoiceWebSearchIntent = new android.content.Intent("android.speech.action.WEB_SEARCH");
        super.mVoiceWebSearchIntent.addFlags(268435456);
        super.mVoiceWebSearchIntent.putExtra("android.speech.extra.LANGUAGE_MODEL", "web_search");
        super.mVoiceAppSearchIntent = new android.content.Intent("android.speech.action.RECOGNIZE_SPEECH");
        super.mVoiceAppSearchIntent.addFlags(268435456);
        super.mDropDownAnchor = super.findViewById(super.mSearchSrcTextView.getDropDownAnchor());
        boolean v4_49 = super.mDropDownAnchor;
        if (v4_49) {
            v4_49.addOnLayoutChangeListener(new android.support.v7.widget.SearchView$4(super));
        }
        super.updateViewsVisibility(super.mIconifiedByDefault);
        super.updateQueryHint();
        return;
    }

Method com.urbandroid.lux.SubstratumLauncher.onCreate() calling method android.content.Intent.addFlags()


    protected void onCreate(android.os.Bundle p3)
    {
        super.onCreate(p3);
        android.content.Intent v3_3 = this.getIntent();
        v3_3.getStringExtra("theme_mode");
        v3_3.getBooleanExtra("theme_legacy", 0);
        v3_3.getBooleanExtra("refresh_mode", 0);
        android.content.Intent v3_2 = new android.content.Intent("android.intent.action.MAIN");
        v3_2.setComponent(android.content.ComponentName.unflattenFromString("projekt.substratum/projekt.substratum.InformationActivity"));
        v3_2.addCategory("android.intent.category.LAUNCHER");
        v3_2.setFlags(268435456);
        v3_2.addFlags(67108864);
        v3_2.putExtra("theme_name", this.getString(2131820588));
        v3_2.putExtra("theme_pid", this.getPackageName());
        this.startActivity(v3_2);
        this.finish();
        return;
    }

Method com.google.android.gms.common.internal.zzg.zza() calling method android.content.Intent.addFlags()


    public static android.content.Intent zza(String p3, String p4)
    {
        android.content.Intent v0_1 = new android.content.Intent("android.intent.action.VIEW");
        int v3_1 = android.net.Uri.parse("market://details").buildUpon().appendQueryParameter("id", p3);
        if (!android.text.TextUtils.isEmpty(p4)) {
            v3_1.appendQueryParameter("pcampaignid", p4);
        }
        v0_1.setData(v3_1.build());
        v0_1.setPackage("com.android.vending");
        v0_1.addFlags(524288);
        return v0_1;
    }

Method android.support.v4.app.TaskStackBuilder.startActivities() calling method android.content.Intent.addFlags()


    public void startActivities(android.os.Bundle p5)
    {
        if (this.mIntents.isEmpty()) {
            throw new IllegalStateException("No intents added to TaskStackBuilder; cannot startActivities");
        } else {
            android.content.Context v0_8 = this.mIntents;
            int v1_1 = new android.content.Intent[v0_8.size()];
            android.content.Context v0_2 = ((android.content.Intent[]) v0_8.toArray(v1_1));
            v0_2[0] = new android.content.Intent(v0_2[0]).addFlags(268484608);
            if (!android.support.v4.content.ContextCompat.startActivities(this.mSourceContext, v0_2, p5)) {
                android.content.Intent v5_3 = new android.content.Intent(v0_2[(v0_2.length - 1)]);
                v5_3.addFlags(268435456);
                this.mSourceContext.startActivity(v5_3);
            }
            return;
        }
    }

Method android.support.v4.app.TaskStackBuilder.getPendingIntent() calling method android.content.Intent.addFlags()


    public android.app.PendingIntent getPendingIntent(int p5, int p6, android.os.Bundle p7)
    {
        if (this.mIntents.isEmpty()) {
            throw new IllegalStateException("No intents added to TaskStackBuilder; cannot getPendingIntent");
        } else {
            android.content.Intent[] v0_4 = this.mIntents;
            android.content.Context v1_1 = new android.content.Intent[v0_4.size()];
            android.content.Intent[] v0_2 = ((android.content.Intent[]) v0_4.toArray(v1_1));
            v0_2[0] = new android.content.Intent(v0_2[0]).addFlags(268484608);
            if (android.os.Build$VERSION.SDK_INT < 16) {
                return android.app.PendingIntent.getActivities(this.mSourceContext, p5, v0_2, p6);
            } else {
                return android.app.PendingIntent.getActivities(this.mSourceContext, p5, v0_2, p6, p7);
            }
        }
    }

Method android.support.v4.app.TaskStackBuilder.getIntents() calling method android.content.Intent.addFlags()


    public android.content.Intent[] getIntents()
    {
        android.content.Intent[] v0_2 = new android.content.Intent[this.mIntents.size()];
        if (v0_2.length != 0) {
            v0_2[0] = new android.content.Intent(((android.content.Intent) this.mIntents.get(0))).addFlags(268484608);
            int v1_2 = 1;
            while (v1_2 < v0_2.length) {
                v0_2[v1_2] = new android.content.Intent(((android.content.Intent) this.mIntents.get(v1_2)));
                v1_2++;
            }
            return v0_2;
        } else {
            return v0_2;
        }
    }

Method android.support.v4.app.ShareCompat$IntentBuilder.<init>() calling method android.content.Intent.addFlags()


    private ShareCompat$IntentBuilder(android.app.Activity p4)
    {
        this.mActivity = p4;
        this.mIntent = new android.content.Intent().setAction("android.intent.action.SEND");
        this.mIntent.putExtra("android.support.v4.app.EXTRA_CALLING_PACKAGE", p4.getPackageName());
        this.mIntent.putExtra("android.support.v4.app.EXTRA_CALLING_ACTIVITY", p4.getComponentName());
        this.mIntent.addFlags(524288);
        return;
    }

Method android.support.v4.app.NavUtils.navigateUpTo() calling method android.content.Intent.addFlags()


    public static void navigateUpTo(android.app.Activity p2, android.content.Intent p3)
    {
        if (android.os.Build$VERSION.SDK_INT < 16) {
            p3.addFlags(67108864);
            p2.startActivity(p3);
            p2.finish();
        } else {
            p2.navigateUpTo(p3);
        }
        return;
    }

Method com.urbandroid.lux.SubstratumLauncher.onCreate() calling method android.content.Intent.addCategory()


    protected void onCreate(android.os.Bundle p3)
    {
        super.onCreate(p3);
        android.content.Intent v3_3 = this.getIntent();
        v3_3.getStringExtra("theme_mode");
        v3_3.getBooleanExtra("theme_legacy", 0);
        v3_3.getBooleanExtra("refresh_mode", 0);
        android.content.Intent v3_2 = new android.content.Intent("android.intent.action.MAIN");
        v3_2.setComponent(android.content.ComponentName.unflattenFromString("projekt.substratum/projekt.substratum.InformationActivity"));
        v3_2.addCategory("android.intent.category.LAUNCHER");
        v3_2.setFlags(268435456);
        v3_2.addFlags(67108864);
        v3_2.putExtra("theme_name", this.getString(2131820588));
        v3_2.putExtra("theme_pid", this.getPackageName());
        this.startActivity(v3_2);
        this.finish();
        return;
    }

Method com.urbandroid.lux.ProActivity.onPreferenceChange() calling method android.content.Intent.putExtra()


    public boolean onPreferenceChange(android.preference.Preference p6, Object p7)
    {
        if (p6 == 0) {
            com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate(this);
        } else {
            if (!"settings_fullscreen".equals(p6.getKey())) {
                if (!"settings_icon".equals(p6.getKey())) {
                    if (!"settings_quick".equals(p6.getKey())) {
                        if (!"settings_hide_ambient".equals(p6.getKey())) {
                            if (!"settings_filter_navbar_landscape".equals(p6.getKey())) {
                                if (!"settings_gpu".equals(p6.getKey())) {
                                    if (!"settings_filter_wallpaper".equals(p6.getKey())) {
                                        if (!"settings_filter_wallpaper_lockscreen".equals(p6.getKey())) {
                                            if (!"settings_backlight_control".equals(p6.getKey())) {
                                                if (!"settings_foreground_check".equals(p6.getKey())) {
                                                    if ("settings_dim_behind".equals(p6.getKey())) {
                                                        com.urbandroid.common.logging.Logger.logInfo("Dim behind checked");
                                                        new android.os.Handler().post(new com.urbandroid.lux.ProActivity$10(this));
                                                    }
                                                } else {
                                                    if (!((Boolean) p7).booleanValue()) {
                                                        com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate(this);
                                                    } else {
                                                        if (!com.urbandroid.common.util.Environment.isLollipopOrGreater()) {
                                                            this.startActivity(new android.content.Intent(this, com.urbandroid.lux.ban.BanListActivity));
                                                            return 1;
                                                        } else {
                                                            if (this.showAppStatDialog()) {
                                                                return 0;
                                                            } else {
                                                                this.startActivity(new android.content.Intent(this, com.urbandroid.lux.ban.BanListActivity));
                                                                return 1;
                                                            }
                                                        }
                                                    }
                                                }
                                            } else {
                                                com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate(this);
                                                if ((p7 instanceof Boolean)) {
                                                    if (((Boolean) p7).booleanValue()) {
                                                        this.startBacklightControlSettings();
                                                    } else {
                                                        int v6_6 = new StringBuilder();
                                                        v6_6.append("Backlight preference changed ");
                                                        v6_6.append(p7);
                                                        com.urbandroid.common.logging.Logger.logInfo(v6_6.toString());
                                                        com.urbandroid.lux.ui.TwilightView.revertBrightness(this.getApplicationContext());
                                                    }
                                                }
                                            }
                                        } else {
                                            com.urbandroid.common.logging.Logger.logInfo("Wallpaper: lock settings changed");
                                            com.urbandroid.lux.context.AppContext.settings().setFilterLockWallpaper(((Boolean) p7).booleanValue());
                                            if (!((Boolean) p7).booleanValue()) {
                                                com.urbandroid.lux.AbstractTwilightService.startForegroundServiceRefreshWallpaper(this);
                                            } else {
                                                if ((android.os.Build$VERSION.SDK_INT < 27) || (com.urbandroid.lux.PermissionUtil.hasPermission(this.getApplicationContext(), "android.permission.READ_EXTERNAL_STORAGE"))) {
                                                    com.urbandroid.lux.AbstractTwilightService.startForegroundServiceRefreshWallpaper(this);
                                                } else {
                                                    this.showStoragePermissionDialog();
                                                    return 1;
                                                }
                                            }
                                            return 1;
                                        }
                                    } else {
                                        com.urbandroid.common.logging.Logger.logInfo("Wallpaper: settings changed");
                                        com.urbandroid.lux.context.AppContext.settings().setFilterWallpaper(((Boolean) p7).booleanValue());
                                        if (!((Boolean) p7).booleanValue()) {
                                            com.urbandroid.lux.AbstractTwilightService.startForegroundServiceRefreshWallpaper(this);
                                        } else {
                                            if ((android.os.Build$VERSION.SDK_INT < 27) || (com.urbandroid.lux.PermissionUtil.hasPermission(this.getApplicationContext(), "android.permission.READ_EXTERNAL_STORAGE"))) {
                                                com.urbandroid.lux.AbstractTwilightService.startForegroundServiceRefreshWallpaper(this);
                                            } else {
                                                this.showStoragePermissionDialog();
                                                return 1;
                                            }
                                        }
                                        return 1;
                                    }
                                } else {
                                    com.urbandroid.lux.AbstractTwilightService.startForegroundServiceRefresh(this);
                                }
                            } else {
                                com.urbandroid.lux.AbstractTwilightService.startForegroundServiceRefresh(this);
                            }
                        } else {
                            com.urbandroid.lux.AbstractTwilightService.startForegroundServiceRefresh(this);
                        }
                    } else {
                        com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdateForeground(this);
                    }
                } else {
                    com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdateForeground(this);
                    int v6_21 = android.os.Build$VERSION.SDK_INT;
                    if (v6_21 < 26) {
                        if (v6_21 < 23) {
                            if (v6_21 > 16) {
                                try {
                                    int v6_23 = new android.content.Intent();
                                    v6_23.setAction("android.settings.APPLICATION_DETAILS_SETTINGS");
                                    v6_23.setData(android.net.Uri.fromParts("package", "com.urbandroid.lux", 0));
                                    this.startActivity(v6_23);
                                } catch (int v6_24) {
                                    com.urbandroid.common.logging.Logger.logSevere(v6_24);
                                }
                            }
                        } else {
                            int v6_26 = new android.content.Intent();
                            v6_26.setClassName("com.android.settings", "com.android.settings.Settings$AppNotificationSettingsActivity");
                            v6_26.putExtra("app_package", this.getPackageName());
                            if (android.os.Build$VERSION.SDK_INT < 26) {
                                v6_26.putExtra("app_uid", this.getApplicationInfo().uid);
                            } else {
                                v6_26.putExtra("android.provider.extra.APP_PACKAGE", this.getPackageName());
                            }
                            this.startActivity(v6_26);
                        }
                    } else {
                        int v6_28 = new android.content.Intent("android.settings.CHANNEL_NOTIFICATION_SETTINGS");
                        v6_28.putExtra("android.provider.extra.CHANNEL_ID", "foreground");
                        v6_28.putExtra("android.provider.extra.APP_PACKAGE", this.getPackageName());
                        this.startActivity(v6_28);
                    }
                }
            } else {
                com.urbandroid.lux.AbstractTwilightService.startForegroundServiceRefresh(this);
            }
        }
        return 1;
    }

Method com.urbandroid.lux.MainActivity.onResume() calling method android.content.Intent.putExtra()


    protected void onResume()
    {
        super.onResume();
        if (!this.themeUtil.onResume()) {
            com.urbandroid.common.logging.Logger.logInfo("MainActivity: onResume");
            if ((android.os.Build$VERSION.SDK_INT >= 23) && (!android.provider.Settings.canDrawOverlays(this))) {
                android.content.Intent v0_6 = this.drawOverlayPermissionDialog;
                if ((v0_6 == null) || (!v0_6.isShowing())) {
                    com.urbandroid.common.logging.Logger.logInfo("MainActivity: show overlay dialog");
                    this.showDrawOverlayPermissionDialog();
                }
            } else {
                android.content.Intent v0_9 = this.drawOverlayPermissionDialog;
                if ((v0_9 != null) && (v0_9.isShowing())) {
                    try {
                        com.urbandroid.common.logging.Logger.logInfo("MainActivity: dismiss perm dialog");
                        this.drawOverlayPermissionDialog.dismiss();
                        this.drawOverlayPermissionDialog = 0;
                    } catch (android.content.Intent v0_15) {
                        com.urbandroid.common.logging.Logger.logSevere(v0_15);
                    }
                }
                this.handleOtherPermissions();
                if (!this.hasPermissionToDraw) {
                    this.hasPermissionToDraw = 1;
                    com.urbandroid.lux.context.AppContext.settings().setServiceEnabled(1);
                    com.urbandroid.lux.AbstractTwilightService.startForegroundService(this);
                    com.urbandroid.common.logging.Logger.logInfo("MainActivity: just gained permission starting service");
                }
                if (!new com.urbandroid.lux.context.Settings(this).isServiceEnabled()) {
                    this.finish();
                    com.urbandroid.common.logging.Logger.logInfo("MainActivity: finish()");
                    this.startActivity(new android.content.Intent(this, com.urbandroid.lux.MainActivity));
                    return;
                }
            }
            com.urbandroid.lux.util.TrialFilter.getInstance().reevaluate(this);
            android.content.Intent v0_25 = new StringBuilder();
            v0_25.append("MainActivity: Is trial ");
            v0_25.append(com.urbandroid.lux.util.TrialFilter.getInstance().isTrial());
            com.urbandroid.common.logging.Logger.logInfo(v0_25.toString());
            this.updateTrialLayout();
            this.updateLocation();
            com.urbandroid.common.logging.Logger.logInfo("MainActivity: sync pause");
            this.syncPause(com.urbandroid.lux.context.AppContext.settings().isPaused());
            this.setupSegment();
            if (com.urbandroid.lux.context.AppContext.settings().isProfileChanged()) {
                com.urbandroid.lux.context.AppContext.settings().setProfileChanged(0);
                this.setSubtitle();
            }
            this.updateSeekBars();
            if ((com.urbandroid.lux.context.AppContext.settings().isHideOreoNotitifcation()) && (com.urbandroid.lux.notification.TwilightNotificationListener.hasAccessGranted(this))) {
                android.content.Intent v0_38 = new android.content.Intent(this.getString(2131820811));
                v0_38.putExtra("command", "hide");
                v0_38.setPackage(this.getPackageName());
                this.sendBroadcast(v0_38);
            }
            return;
        } else {
            com.urbandroid.common.logging.Logger.logInfo("MainActivity: theme changed skipping resume");
            return;
        }
    }

Method com.urbandroid.lux.MainActivity.onOptionsItemSelected() calling method android.content.Intent.putExtra()


    public boolean onOptionsItemSelected(android.view.MenuItem p4)
    {
        int v4_1 = p4.getItemId();
        if (v4_1 == 16908332) {
            this.toggleDrawer();
        } else {
            if (v4_1 == 2131361829) {
                this.add();
                this.openDrawer();
                int v4_2 = new android.content.Intent(this.getApplicationContext(), com.urbandroid.lux.AbstractTwilightService.getServiceClass(this.getApplicationContext()));
                v4_2.setAction("com.urbandroid.lux.action_command_restart_on_low_memory");
                v4_2.putExtra("memory_low_time", System.currentTimeMillis());
                v4_2.putExtra("memory_low_delay", 1000);
            }
        }
        return 1;
    }

Method com.urbandroid.lux.MainActivity.preview() calling method android.content.Intent.putExtra()


    private void preview()
    {
        com.urbandroid.lux.context.AppContext.settings().setServiceEnabled(1);
        int v0_3 = new android.content.Intent(this, com.urbandroid.lux.TwilightService);
        v0_3.putExtra("preview", 1);
        android.support.v4.content.ContextCompat.startForegroundService(this, v0_3);
        this.handleResumeIndicator(0);
        return;
    }

Method com.urbandroid.lux.MainActivity.initializeShortcuts() calling method android.content.Intent.putExtra()


    private void initializeShortcuts()
    {
        try {
            if (android.os.Build$VERSION.SDK_INT >= 25) {
                android.content.pm.ShortcutManager v0_4 = ((android.content.pm.ShortcutManager) this.getSystemService(android.content.pm.ShortcutManager));
                java.util.ArrayList v1_2 = new java.util.ArrayList();
                java.util.Iterator v2_1 = com.urbandroid.lux.context.AppContext.settings().getProfiles();
                android.content.pm.ShortcutInfo v3_5 = new android.content.pm.ShortcutInfo$Builder(this, "id_toggle");
                android.content.Intent v4_2 = new StringBuilder();
                v4_2.append(this.getString(2131820741));
                v4_2.append(" / ");
                v4_2.append(this.getString(2131820760));
                v1_2.add(v3_5.setShortLabel(v4_2.toString()).setIcon(android.graphics.drawable.Icon.createWithResource(this.getApplicationContext(), 2131230903)).setIntent(new android.content.Intent("com.urbandroid.lux.ACTION_SHORTCUT_TOGGLE", 0, this.getApplicationContext(), com.urbandroid.lux.ShortcutActivity)).build());
                v1_2.add(new android.content.pm.ShortcutInfo$Builder(this, "id_quick_settings").setShortLabel(this.getString(2131820755)).setIcon(android.graphics.drawable.Icon.createWithResource(this.getApplicationContext(), 2131230902)).setIntent(new android.content.Intent("com.urbandroid.lux.ACTION_SHORTCUT_QUICK_SETTINGS", 0, this.getApplicationContext(), com.urbandroid.lux.ShortcutActivity)).build());
                java.util.Iterator v2_2 = v2_1.iterator();
                while (v2_2.hasNext()) {
                    android.content.pm.ShortcutInfo v3_18 = ((String) v2_2.next());
                    android.content.Intent v4_16 = new android.content.Intent("com.urbandroid.lux.ACTION_SHORTCUT_PROFILE", 0, this.getApplicationContext(), com.urbandroid.lux.ShortcutActivity);
                    v4_16.putExtra("profile", v3_18);
                    int v6_6 = new StringBuilder();
                    v6_6.append("id_ideal_profile_");
                    v6_6.append(v3_18);
                    v1_2.add(new android.content.pm.ShortcutInfo$Builder(this, v6_6.toString()).setShortLabel(v3_18).setIcon(android.graphics.drawable.Icon.createWithResource(this.getApplicationContext(), 2131230901)).setIntent(v4_16).build());
                }
                v0_4.setDynamicShortcuts(v1_2);
            }
        } catch (android.content.pm.ShortcutManager v0_1) {
            com.urbandroid.common.logging.Logger.logSevere(v0_1);
        }
        return;
    }

Method com.urbandroid.lux.integration.taskerplugin.ui.EditEventActivity.finish() calling method android.content.Intent.putExtra()


    public void finish()
    {
        if ((this.isCanceled()) || (-1 == this.mList.getCheckedItemPosition())) {
            super.finish();
        }
        if (this.mList.getCheckedItemPosition() >= 0) {
            String v0_3 = com.urbandroid.lux.integration.taskerplugin.TaskerEvent.values()[this.mList.getCheckedItemPosition()];
            android.content.Intent v2_3 = new android.content.Intent();
            v2_3.putExtra("com.twofortyfouram.locale.intent.extra.BUNDLE", com.urbandroid.lux.integration.taskerplugin.bundle.PluginBundleManager.generateBundle(this.getApplicationContext(), v0_3.getAction()));
            v2_3.putExtra("com.twofortyfouram.locale.intent.extra.BLURB", v0_3.getLabel(this));
            this.setResult(-1, v2_3);
            super.finish();
        }
        return;
    }

Method com.urbandroid.lux.integration.taskerplugin.ui.EditActionActivity.finish() calling method android.content.Intent.putExtra()


    public void finish()
    {
        if ((this.isCanceled()) || (-1 == this.mList.getCheckedItemPosition())) {
            super.finish();
        }
        if (this.mList.getCheckedItemPosition() >= 0) {
            String v0_3 = com.urbandroid.lux.integration.taskerplugin.TaskerAction.values()[this.mList.getCheckedItemPosition()];
            android.content.Intent v2_3 = new android.content.Intent();
            v2_3.putExtra("com.twofortyfouram.locale.intent.extra.BUNDLE", com.urbandroid.lux.integration.taskerplugin.bundle.PluginBundleManager.generateBundle(this.getApplicationContext(), v0_3.getAction()));
            v2_3.putExtra("com.twofortyfouram.locale.intent.extra.BLURB", v0_3.getLabel(this));
            this.setResult(-1, v2_3);
            super.finish();
        }
        return;
    }

Method com.urbandroid.lux.context.Settings.scheduleProfileSwitch() calling method android.content.Intent.putExtra()


    public void scheduleProfileSwitch(android.content.Context p14)
    {
        com.urbandroid.common.logging.Logger.logInfo("Alarm scheduleProfileSwitch()");
        java.util.Date v0_5 = this.getProfileSchedules();
        int v1_10 = System.currentTimeMillis();
        java.util.Date v0_11 = v0_5.iterator();
        String v7 = 0;
        String v5_0 = -1;
        while (v0_11.hasNext()) {
            int v8_3 = ((com.urbandroid.lux.schedules.Schedule) v0_11.next());
            long v9 = v8_3.getNextAlarm(p14);
            long v11_1 = new StringBuilder();
            v11_1.append("Alarm considering ");
            v11_1.append(v8_3);
            v11_1.append(" next time ");
            v11_1.append(new java.util.Date(v9));
            v11_1.append(" current candidate ");
            v11_1.append(new java.util.Date(v5_0));
            com.urbandroid.common.logging.Logger.logInfo(v11_1.toString());
            if (v9 > v1_10) {
                String v5_2;
                if (v5_0 != -1) {
                    if (v9 <= v5_0) {
                        v5_2 = v8_3.getProfile();
                    }
                } else {
                    v5_2 = v8_3.getProfile();
                }
                v7 = v5_2;
                v5_0 = v9;
            }
        }
        java.util.Date v0_2 = new StringBuilder();
        v0_2.append("Alarm ");
        v0_2.append(new java.util.Date(v5_0));
        v0_2.append(" ");
        v0_2.append(v7);
        com.urbandroid.common.logging.Logger.logInfo(v0_2.toString());
        java.util.Date v0_6 = new android.content.Intent(p14, com.urbandroid.lux.AbstractTwilightService.getServiceClass(p14));
        v0_6.putExtra("profile", v7);
        java.util.Date v0_7 = com.urbandroid.lux.util.PendingIntentCompat.getService(p14.getApplicationContext(), 0, v0_6, 134217728);
        String v14_2 = ((android.app.AlarmManager) p14.getSystemService("alarm"));
        v14_2.cancel(v0_7);
        if ((v5_0 > -1) && (v7 != null)) {
            int v1_9 = android.os.Build$VERSION.SDK_INT;
            if (v1_9 < 23) {
                if (v1_9 < 19) {
                    v14_2.set(0, v5_0, v0_7);
                } else {
                    v14_2.setExact(0, v5_0, v0_7);
                }
            } else {
                com.urbandroid.lux.util.AlarmManagerCompat.setExactAndAllowWhileIdle(v14_2, 0, v5_0, v0_7);
            }
            String v14_4 = new StringBuilder();
            v14_4.append("Alarm scheduled ");
            v14_4.append(new java.util.Date(v5_0));
            com.urbandroid.common.logging.Logger.logInfo(v14_4.toString());
        }
        return;
    }

Method com.urbandroid.lux.TwilightService.startForeground() calling method android.content.Intent.putExtra()


    public void startForeground(boolean p11)
    {
        Exception v0_11;
        int v1_3;
        Exception v0_1 = new StringBuilder();
        v0_1.append("Start foreground ");
        v0_1.append(p11);
        com.urbandroid.common.logging.Logger.logInfo(v0_1.toString());
        if (p11 == null) {
            v0_11 = 2131230906;
            v1_3 = this.getString(2131820722);
        } else {
            v0_11 = 2131230907;
            v1_3 = this.getString(2131820721);
        }
        int v2_2 = new android.content.Intent(this, com.urbandroid.lux.TwilightService);
        v2_2.putExtra("quick_settings", 1);
        int v2_3 = com.urbandroid.lux.util.PendingIntentCompat.getService(this, 9728672, v2_2, 134217728);
        int v4_3 = new android.content.Intent(this, com.urbandroid.lux.TwilightService);
        v4_3.putExtra("toggle", 1);
        int v4_4 = com.urbandroid.lux.util.PendingIntentCompat.getService(this, 36812, v4_3, 134217728);
        android.app.PendingIntent v7_1 = new android.content.Intent(this, com.urbandroid.lux.TwilightService);
        v7_1.putExtra("force", 1);
        android.app.PendingIntent v7_2 = com.urbandroid.lux.util.PendingIntentCompat.getService(this, 73219873, v7_1, 134217728);
        int v8_3 = new android.content.Intent(this, com.urbandroid.lux.MainActivity);
        v8_3.setFlags(268435456);
        long v3_5 = android.app.PendingIntent.getActivity(this, 73219873, v8_3, 134217728);
        Exception v0_15 = new android.support.v4.app.NotificationCompat$Builder(this, "foreground").setSmallIcon(v0_11).setColor(this.getResources().getColor(2131099874));
        if (!com.urbandroid.lux.context.AppContext.settings().isQuickSettings()) {
            v2_3 = v4_4;
        }
        android.app.Notification v11_5;
        int v2_5;
        Exception v0_17 = v0_15.setContentIntent(v2_3).setPriority(-2);
        if (p11 == null) {
            v11_5 = this.getResources();
            v2_5 = 2131820760;
        } else {
            v11_5 = this.getResources();
            v2_5 = 2131820741;
        }
        Exception v0_20;
        int v2_6 = 0;
        android.app.Notification v11_7 = v0_17.addAction(0, v11_5.getString(v2_5), v4_4);
        if (!com.urbandroid.lux.context.AppContext.settings().isForced()) {
            v0_20 = 2131820661;
        } else {
            v0_20 = 2131820656;
        }
        android.app.Notification v11_3 = v11_7.addAction(0, this.getString(v0_20), v7_2).addAction(v2_6, this.getResources().getString(2131820764), v3_5).setShowWhen(v2_6).setContentText(v1_3);
        if (android.os.Build$VERSION.SDK_INT < 24) {
            v11_3.setContentTitle(this.getString(2131820588));
        }
        if ((android.os.Build$VERSION.SDK_INT == 26) && (com.urbandroid.lux.context.AppContext.settings().isHideIcon())) {
            v11_3.setPriority(-1);
        }
        Exception v0_10 = new android.app.Notification(0, this.getString(2131820588), System.currentTimeMillis());
        v0_10.flags = (v0_10.flags | 32);
        android.app.Notification v11_4 = v11_3.build();
        try {
            if ((!com.urbandroid.lux.context.AppContext.settings().isHideIcon()) || (android.os.Build$VERSION.SDK_INT > 17)) {
                this.startForeground(36812, v11_4);
            } else {
                this.startForeground(36812, v0_10);
            }
        } catch (Exception v0_12) {
            com.urbandroid.common.logging.Logger.logSevere("Service: ", v0_12);
            this.startForeground(36812, v11_4);
        }
        return;
    }

Method com.urbandroid.lux.TwilightService.startForeground() calling method android.content.Intent.putExtra()


    public void startForeground(boolean p11)
    {
        Exception v0_11;
        int v1_3;
        Exception v0_1 = new StringBuilder();
        v0_1.append("Start foreground ");
        v0_1.append(p11);
        com.urbandroid.common.logging.Logger.logInfo(v0_1.toString());
        if (p11 == null) {
            v0_11 = 2131230906;
            v1_3 = this.getString(2131820722);
        } else {
            v0_11 = 2131230907;
            v1_3 = this.getString(2131820721);
        }
        int v2_2 = new android.content.Intent(this, com.urbandroid.lux.TwilightService);
        v2_2.putExtra("quick_settings", 1);
        int v2_3 = com.urbandroid.lux.util.PendingIntentCompat.getService(this, 9728672, v2_2, 134217728);
        int v4_3 = new android.content.Intent(this, com.urbandroid.lux.TwilightService);
        v4_3.putExtra("toggle", 1);
        int v4_4 = com.urbandroid.lux.util.PendingIntentCompat.getService(this, 36812, v4_3, 134217728);
        android.app.PendingIntent v7_1 = new android.content.Intent(this, com.urbandroid.lux.TwilightService);
        v7_1.putExtra("force", 1);
        android.app.PendingIntent v7_2 = com.urbandroid.lux.util.PendingIntentCompat.getService(this, 73219873, v7_1, 134217728);
        int v8_3 = new android.content.Intent(this, com.urbandroid.lux.MainActivity);
        v8_3.setFlags(268435456);
        long v3_5 = android.app.PendingIntent.getActivity(this, 73219873, v8_3, 134217728);
        Exception v0_15 = new android.support.v4.app.NotificationCompat$Builder(this, "foreground").setSmallIcon(v0_11).setColor(this.getResources().getColor(2131099874));
        if (!com.urbandroid.lux.context.AppContext.settings().isQuickSettings()) {
            v2_3 = v4_4;
        }
        int v2_5;
        android.app.Notification v11_5;
        Exception v0_17 = v0_15.setContentIntent(v2_3).setPriority(-2);
        if (p11 == null) {
            v11_5 = this.getResources();
            v2_5 = 2131820760;
        } else {
            v11_5 = this.getResources();
            v2_5 = 2131820741;
        }
        Exception v0_20;
        int v2_6 = 0;
        android.app.Notification v11_7 = v0_17.addAction(0, v11_5.getString(v2_5), v4_4);
        if (!com.urbandroid.lux.context.AppContext.settings().isForced()) {
            v0_20 = 2131820661;
        } else {
            v0_20 = 2131820656;
        }
        android.app.Notification v11_3 = v11_7.addAction(0, this.getString(v0_20), v7_2).addAction(v2_6, this.getResources().getString(2131820764), v3_5).setShowWhen(v2_6).setContentText(v1_3);
        if (android.os.Build$VERSION.SDK_INT < 24) {
            v11_3.setContentTitle(this.getString(2131820588));
        }
        if ((android.os.Build$VERSION.SDK_INT == 26) && (com.urbandroid.lux.context.AppContext.settings().isHideIcon())) {
            v11_3.setPriority(-1);
        }
        Exception v0_10 = new android.app.Notification(0, this.getString(2131820588), System.currentTimeMillis());
        v0_10.flags = (v0_10.flags | 32);
        android.app.Notification v11_4 = v11_3.build();
        try {
            if ((!com.urbandroid.lux.context.AppContext.settings().isHideIcon()) || (android.os.Build$VERSION.SDK_INT > 17)) {
                this.startForeground(36812, v11_4);
            } else {
                this.startForeground(36812, v0_10);
            }
        } catch (Exception v0_12) {
            com.urbandroid.common.logging.Logger.logSevere("Service: ", v0_12);
            this.startForeground(36812, v11_4);
        }
        return;
    }

Method com.urbandroid.common.error.EmailIntentErrorDispatcher.sendDebugViaEmailIntent() calling method android.content.Intent.putExtra()


    public Boolean sendDebugViaEmailIntent(String p12, String p13, com.urbandroid.common.error.ErrorReport$Type p14, Throwable p15)
    {
        String v0_3;
        String v0_8 = com.urbandroid.common.error.EmailIntentErrorDispatcher$1.$SwitchMap$com$urbandroid$common$error$ErrorReport$Type[p14.ordinal()];
        if (v0_8 == 1) {
            v0_3 = this.configuration.getOnRecoveryMessageBody();
        } else {
            if (v0_8 == 2) {
                v0_3 = this.configuration.getMessageBody();
            } else {
                if (v0_8 == 3) {
                    v0_3 = this.configuration.getOnDemandMessageBody();
                } else {
                    if (v0_8 != 4) {
                        Boolean v13_26 = new StringBuilder();
                        v13_26.append("Unexpected report type: ");
                        v13_26.append(p14);
                        throw new RuntimeException(v13_26.toString());
                    } else {
                        v0_3 = this.configuration.getOnAssertionFailedMessageBody();
                    }
                }
            }
        }
        long v2_3 = this.getSaveDebugFile(p14);
        long v14_6 = this.getSubmitDebugFile(p14);
        try {
            com.urbandroid.common.file.FileCopyUtils.copyPrivateFileToSdCardFile(this.contextActivity, v2_3.getName(), v14_6.getAbsolutePath());
        } catch (String v3_4) {
            com.urbandroid.common.logging.Logger.logSevere(v3_4);
        }
        if ((!v14_6.exists()) || ((v14_6.length() <= 0) || (!v14_6.canRead()))) {
            String v3_8 = 0;
        } else {
            v3_8 = 1;
        }
        String v6_0;
        String v5_3 = new StringBuilder();
        v5_3.append("Can use SD Card for report: ");
        v5_3.append(v3_8);
        com.urbandroid.common.logging.Logger.logInfo(v5_3.toString());
        if (v3_8 != null) {
            v6_0 = "";
        } else {
            v6_0 = this.loadErrorReport(v2_3);
        }
        android.content.Intent v7_2 = new android.content.Intent("android.intent.action.SEND");
        String v8_3 = new StringBuilder();
        v8_3.append(this.applicationName);
        v8_3.append(" ");
        v8_3.append(this.configuration.getSubject());
        v8_3.append(" - ");
        v8_3.append(this.getVersionString());
        String v8_0 = v8_3.toString();
        if (p12 != null) {
            String v10_9 = new StringBuilder();
            v10_9.append(v8_0);
            v10_9.append(" [");
            v10_9.append(p12);
            v10_9.append("]");
            v8_0 = v10_9.toString();
        }
        Boolean v12_3 = new StringBuilder();
        v12_3.append("");
        v12_3.append("\n");
        v12_3.append(v0_3);
        v12_3.append("\n\n");
        Boolean v12_4 = v12_3.toString();
        if (p13 != null) {
            String v10_2 = new StringBuilder();
            v10_2.append(v12_4);
            v10_2.append("Your comment:\n");
            v10_2.append(p13);
            v10_2.append("\n\n");
            v12_4 = v10_2.toString();
        }
        if (p15 != null) {
            Boolean v12_9;
            Boolean v13_2 = new StringBuilder();
            v13_2.append(v12_4);
            v13_2.append(p15.getClass().getSimpleName());
            if (p15.getMessage() == null) {
                v12_9 = "";
            } else {
                Boolean v12_11 = new StringBuilder();
                v12_11.append(": ");
                v12_11.append(p15.getMessage());
                v12_9 = v12_11.toString();
            }
            v13_2.append(v12_9);
            Boolean v12_12 = v13_2.toString();
            Boolean v13_4 = new StringBuilder();
            v13_4.append(v12_12);
            v13_4.append("\n\n");
            v12_4 = v13_4.toString();
        }
        String v15_5;
        Boolean v13_6 = new StringBuilder();
        v13_6.append(v12_4);
        v13_6.append(android.os.Build.MANUFACTURER);
        v13_6.append(" ");
        v13_6.append(android.os.Build.MODEL);
        v13_6.append("\n\n");
        Boolean v12_15 = v13_6.toString();
        v7_2.putExtra("android.intent.extra.EMAIL", this.configuration.getMailTo());
        Boolean v13_10 = new StringBuilder();
        v13_10.append(v12_15);
        if (v3_8 == null) {
            String v15_4 = new StringBuilder();
            v15_4.append(v6_0);
            v15_4.append("\n\n");
            v15_5 = v15_4.toString();
        } else {
            v15_5 = "";
        }
        Boolean v13_14;
        v13_10.append(v15_5);
        v7_2.putExtra("android.intent.extra.TEXT", v13_10.toString());
        v7_2.putExtra("android.intent.extra.SUBJECT", v8_0);
        if (!com.urbandroid.common.util.Environment.isMOrGreater()) {
            v13_14 = android.net.Uri.fromFile(v14_6);
        } else {
            Boolean v13_15 = this.contextActivity;
            String v0_6 = new StringBuilder();
            v0_6.append(this.contextActivity.getPackageName());
            v0_6.append(".fileprovider");
            v13_14 = android.support.v4.content.FileProvider.getUriForFile(v13_15, v0_6.toString(), v14_6);
        }
        Boolean v13_24;
        v7_2.putExtra("android.intent.extra.STREAM", v13_14);
        v7_2.setType("message/rfc822");
        if (Integer.valueOf(this.contextActivity.getPackageManager().queryIntentActivities(v7_2, 0).size()).intValue() <= 0) {
            v13_24 = 0;
        } else {
            v13_24 = 1;
        }
        Boolean v13_25 = Boolean.valueOf(v13_24);
        if (!v13_25.booleanValue()) {
            if (v6_0.equals("")) {
                v6_0 = this.loadErrorReport(v2_3);
            }
            Boolean v12_26;
            Boolean v13_29 = new StringBuilder();
            v13_29.append(v12_15);
            v13_29.append(v6_0);
            v13_29.append(" \n\n");
            v7_2.putExtra("android.intent.extra.TEXT", v13_29.toString());
            v7_2.setType("text/plain");
            if (Integer.valueOf(this.contextActivity.getPackageManager().queryIntentActivities(v7_2, 0).size()).intValue() <= 0) {
                v12_26 = 0;
            } else {
                v12_26 = 1;
            }
            v13_25 = Boolean.valueOf(v12_26);
        }
        if (v2_3.exists()) {
            v2_3.delete();
        }
        if (!v13_25.booleanValue()) {
            com.urbandroid.common.logging.Logger.logSevere("No intent to handle sending of message!");
            return Boolean.valueOf(0);
        } else {
            v7_2.setFlags(268697600);
            Boolean v12_33 = new StringBuilder();
            v12_33.append("Email intent sent to ");
            v12_33.append(java.util.Arrays.toString(this.configuration.getMailTo()));
            com.urbandroid.common.logging.Logger.logDebug(v12_33.toString());
            ((android.app.AlarmManager) this.contextActivity.getSystemService("alarm")).set(0, (System.currentTimeMillis() + 1000), android.app.PendingIntent.getActivity(this.contextActivity, 0, v7_2, 268435456));
            return Boolean.valueOf(1);
        }
    }

Method android.support.v7.widget.SearchView.createVoiceWebSearchIntent() calling method android.content.Intent.putExtra()


    private android.content.Intent createVoiceWebSearchIntent(android.content.Intent p2, android.app.SearchableInfo p3)
    {
        String v2_2;
        android.content.Intent v0_1 = new android.content.Intent(p2);
        String v2_1 = p3.getSearchActivity();
        if (v2_1 != null) {
            v2_2 = v2_1.flattenToShortString();
        } else {
            v2_2 = 0;
        }
        v0_1.putExtra("calling_package", v2_2);
        return v0_1;
    }

Method android.support.v7.widget.SearchView.createVoiceAppSearchIntent() calling method android.content.Intent.putExtra()


    private android.content.Intent createVoiceAppSearchIntent(android.content.Intent p10, android.app.SearchableInfo p11)
    {
        android.content.ComponentName v0 = p11.getSearchActivity();
        android.app.PendingIntent v1_2 = new android.content.Intent("android.intent.action.SEARCH");
        v1_2.setComponent(v0);
        android.app.PendingIntent v1_0 = android.app.PendingIntent.getActivity(this.getContext(), 0, v1_2, 1073741824);
        android.os.Bundle v2_1 = new android.os.Bundle();
        android.content.Intent v3_0 = this.mAppSearchData;
        if (v3_0 != null) {
            v2_1.putParcelable("app_data", v3_0);
        }
        String v5_1;
        android.content.Intent v3_2 = new android.content.Intent(p10);
        String v10_1 = 1;
        int v4_1 = this.getResources();
        if (p11.getVoiceLanguageModeId() == 0) {
            v5_1 = "free_form";
        } else {
            v5_1 = v4_1.getString(p11.getVoiceLanguageModeId());
        }
        int v6_1;
        String v7 = 0;
        if (p11.getVoicePromptTextId() == 0) {
            v6_1 = 0;
        } else {
            v6_1 = v4_1.getString(p11.getVoicePromptTextId());
        }
        int v4_2;
        if (p11.getVoiceLanguageId() == 0) {
            v4_2 = 0;
        } else {
            v4_2 = v4_1.getString(p11.getVoiceLanguageId());
        }
        if (p11.getVoiceMaxResults() != 0) {
            v10_1 = p11.getVoiceMaxResults();
        }
        v3_2.putExtra("android.speech.extra.LANGUAGE_MODEL", v5_1);
        v3_2.putExtra("android.speech.extra.PROMPT", v6_1);
        v3_2.putExtra("android.speech.extra.LANGUAGE", v4_2);
        v3_2.putExtra("android.speech.extra.MAX_RESULTS", v10_1);
        if (v0 != null) {
            v7 = v0.flattenToShortString();
        }
        v3_2.putExtra("calling_package", v7);
        v3_2.putExtra("android.speech.extra.RESULTS_PENDINGINTENT", v1_0);
        v3_2.putExtra("android.speech.extra.RESULTS_PENDINGINTENT_BUNDLE", v2_1);
        return v3_2;
    }

Method android.support.v7.widget.SearchView.createIntent() calling method android.content.Intent.putExtra()


    private android.content.Intent createIntent(String p2, android.net.Uri p3, String p4, String p5, int p6, String p7)
    {
        android.content.Intent v0_1 = new android.content.Intent(p2);
        v0_1.addFlags(268435456);
        if (p3 != null) {
            v0_1.setData(p3);
        }
        v0_1.putExtra("user_query", this.mUserQuery);
        if (p5 != null) {
            v0_1.putExtra("query", p5);
        }
        if (p4 != null) {
            v0_1.putExtra("intent_extra_data_key", p4);
        }
        android.content.ComponentName v2_3 = this.mAppSearchData;
        if (v2_3 != null) {
            v0_1.putExtra("app_data", v2_3);
        }
        if (p6 != 0) {
            v0_1.putExtra("action_key", p6);
            v0_1.putExtra("action_msg", p7);
        }
        v0_1.setComponent(this.mSearchable.getSearchActivity());
        return v0_1;
    }

Method android.support.v7.widget.SearchView.<init>() calling method android.content.Intent.putExtra()


    public SearchView(android.content.Context p4, android.util.AttributeSet p5, int p6)
    {
        super(p4, p5, p6);
        super.mSearchSrcTextViewBounds = new android.graphics.Rect();
        super.mSearchSrtTextViewBoundsExpanded = new android.graphics.Rect();
        int v1_1 = new int[2];
        super.mTemp = v1_1;
        String v0_1 = new int[2];
        super.mTemp2 = v0_1;
        super.mUpdateDrawableStateRunnable = new android.support.v7.widget.SearchView$1(super);
        super.mReleaseCursorRunnable = new android.support.v7.widget.SearchView$2(super);
        super.mOutsideDrawablesCache = new java.util.WeakHashMap();
        super.mOnClickListener = new android.support.v7.widget.SearchView$5(super);
        super.mTextKeyListener = new android.support.v7.widget.SearchView$6(super);
        super.mOnEditorActionListener = new android.support.v7.widget.SearchView$7(super);
        super.mOnItemClickListener = new android.support.v7.widget.SearchView$8(super);
        super.mOnItemSelectedListener = new android.support.v7.widget.SearchView$9(super);
        super.mTextWatcher = new android.support.v7.widget.SearchView$10(super);
        android.support.v7.widget.SearchView$4 v5_5 = android.support.v7.widget.TintTypedArray.obtainStyledAttributes(p4, p5, android.support.v7.appcompat.R$styleable.SearchView, p6, 0);
        android.view.LayoutInflater.from(p4).inflate(v5_5.getResourceId(android.support.v7.appcompat.R$styleable.SearchView_layout, android.support.v7.appcompat.R$layout.abc_search_view), super, 1);
        super.mSearchSrcTextView = ((android.support.v7.widget.SearchView$SearchAutoComplete) super.findViewById(android.support.v7.appcompat.R$id.search_src_text));
        super.mSearchSrcTextView.setSearchView(super);
        super.mSearchEditFrame = super.findViewById(android.support.v7.appcompat.R$id.search_edit_frame);
        super.mSearchPlate = super.findViewById(android.support.v7.appcompat.R$id.search_plate);
        super.mSubmitArea = super.findViewById(android.support.v7.appcompat.R$id.submit_area);
        super.mSearchButton = ((android.widget.ImageView) super.findViewById(android.support.v7.appcompat.R$id.search_button));
        super.mGoButton = ((android.widget.ImageView) super.findViewById(android.support.v7.appcompat.R$id.search_go_btn));
        super.mCloseButton = ((android.widget.ImageView) super.findViewById(android.support.v7.appcompat.R$id.search_close_btn));
        super.mVoiceButton = ((android.widget.ImageView) super.findViewById(android.support.v7.appcompat.R$id.search_voice_btn));
        super.mCollapsedIcon = ((android.widget.ImageView) super.findViewById(android.support.v7.appcompat.R$id.search_mag_icon));
        android.support.v4.view.ViewCompat.setBackground(super.mSearchPlate, v5_5.getDrawable(android.support.v7.appcompat.R$styleable.SearchView_queryBackground));
        android.support.v4.view.ViewCompat.setBackground(super.mSubmitArea, v5_5.getDrawable(android.support.v7.appcompat.R$styleable.SearchView_submitBackground));
        super.mSearchButton.setImageDrawable(v5_5.getDrawable(android.support.v7.appcompat.R$styleable.SearchView_searchIcon));
        super.mGoButton.setImageDrawable(v5_5.getDrawable(android.support.v7.appcompat.R$styleable.SearchView_goIcon));
        super.mCloseButton.setImageDrawable(v5_5.getDrawable(android.support.v7.appcompat.R$styleable.SearchView_closeIcon));
        super.mVoiceButton.setImageDrawable(v5_5.getDrawable(android.support.v7.appcompat.R$styleable.SearchView_voiceIcon));
        super.mCollapsedIcon.setImageDrawable(v5_5.getDrawable(android.support.v7.appcompat.R$styleable.SearchView_searchIcon));
        super.mSearchHintIcon = v5_5.getDrawable(android.support.v7.appcompat.R$styleable.SearchView_searchHintIcon);
        android.support.v7.widget.TooltipCompat.setTooltipText(super.mSearchButton, super.getResources().getString(android.support.v7.appcompat.R$string.abc_searchview_description_search));
        super.mSuggestionRowLayout = v5_5.getResourceId(android.support.v7.appcompat.R$styleable.SearchView_suggestionRowLayout, android.support.v7.appcompat.R$layout.abc_search_dropdown_item_icons_2line);
        super.mSuggestionCommitIconResId = v5_5.getResourceId(android.support.v7.appcompat.R$styleable.SearchView_commitIcon, 0);
        super.mSearchButton.setOnClickListener(super.mOnClickListener);
        super.mCloseButton.setOnClickListener(super.mOnClickListener);
        super.mGoButton.setOnClickListener(super.mOnClickListener);
        super.mVoiceButton.setOnClickListener(super.mOnClickListener);
        super.mSearchSrcTextView.setOnClickListener(super.mOnClickListener);
        super.mSearchSrcTextView.addTextChangedListener(super.mTextWatcher);
        super.mSearchSrcTextView.setOnEditorActionListener(super.mOnEditorActionListener);
        super.mSearchSrcTextView.setOnItemClickListener(super.mOnItemClickListener);
        super.mSearchSrcTextView.setOnItemSelectedListener(super.mOnItemSelectedListener);
        super.mSearchSrcTextView.setOnKeyListener(super.mTextKeyListener);
        super.mSearchSrcTextView.setOnFocusChangeListener(new android.support.v7.widget.SearchView$3(super));
        super.setIconifiedByDefault(v5_5.getBoolean(android.support.v7.appcompat.R$styleable.SearchView_iconifiedByDefault, 1));
        boolean v4_28 = v5_5.getDimensionPixelSize(android.support.v7.appcompat.R$styleable.SearchView_android_maxWidth, -1);
        if (v4_28 != -1) {
            super.setMaxWidth(v4_28);
        }
        super.mDefaultQueryHint = v5_5.getText(android.support.v7.appcompat.R$styleable.SearchView_defaultQueryHint);
        super.mQueryHint = v5_5.getText(android.support.v7.appcompat.R$styleable.SearchView_queryHint);
        boolean v4_34 = v5_5.getInt(android.support.v7.appcompat.R$styleable.SearchView_android_imeOptions, -1);
        if (v4_34 != -1) {
            super.setImeOptions(v4_34);
        }
        boolean v4_36 = v5_5.getInt(android.support.v7.appcompat.R$styleable.SearchView_android_inputType, -1);
        if (v4_36 != -1) {
            super.setInputType(v4_36);
        }
        super.setFocusable(v5_5.getBoolean(android.support.v7.appcompat.R$styleable.SearchView_android_focusable, 1));
        v5_5.recycle();
        super.mVoiceWebSearchIntent = new android.content.Intent("android.speech.action.WEB_SEARCH");
        super.mVoiceWebSearchIntent.addFlags(268435456);
        super.mVoiceWebSearchIntent.putExtra("android.speech.extra.LANGUAGE_MODEL", "web_search");
        super.mVoiceAppSearchIntent = new android.content.Intent("android.speech.action.RECOGNIZE_SPEECH");
        super.mVoiceAppSearchIntent.addFlags(268435456);
        super.mDropDownAnchor = super.findViewById(super.mSearchSrcTextView.getDropDownAnchor());
        boolean v4_49 = super.mDropDownAnchor;
        if (v4_49) {
            v4_49.addOnLayoutChangeListener(new android.support.v7.widget.SearchView$4(super));
        }
        super.updateViewsVisibility(super.mIconifiedByDefault);
        super.updateQueryHint();
        return;
    }

Method com.urbandroid.lux.ui.TwilightView.applyBrightness() calling method android.content.Intent.putExtra()


    public static void applyBrightness(android.content.Context p2, int p3)
    {
        android.content.Intent v0_1 = new StringBuilder();
        v0_1.append("VIEW: Applying brightness ");
        v0_1.append(p3);
        com.urbandroid.common.logging.Logger.logInfo(v0_1.toString());
        android.content.Intent v0_2 = new android.content.Intent(p2, com.urbandroid.lux.DummyBrightnessActivity);
        v0_2.setFlags(268435456);
        v0_2.putExtra("VIEW: brightness value", (((float) p3) / 1132396544));
        p2.startActivity(v0_2);
        return;
    }

Method com.urbandroid.lux.ui.QuickSettingsView$9.onItemSelected() calling method android.content.Intent.putExtra()


    public void onItemSelected(android.widget.AdapterView p1, android.view.View p2, int p3, long p4)
    {
        if (p3 > null) {
            android.content.Context v1_4 = com.urbandroid.lux.context.AppContext.settings().isBacklightControl();
            android.content.Context v2_7 = ((String) this.val$profileAdapter.getItem(p3));
            com.urbandroid.common.logging.Logger.logInfo("Changing profile ");
            com.urbandroid.lux.context.AppContext.settings().setProfileChanged(1);
            com.urbandroid.lux.context.AppContext.settings().setCurrentProfile(v2_7);
            com.urbandroid.lux.context.AppContext.settings().loadProfile(v2_7);
            if ((!com.urbandroid.lux.context.AppContext.settings().isBacklightControl()) && (v1_4 != null)) {
                com.urbandroid.lux.ui.TwilightView.revertBrightness(this.this$0.getContext());
            }
            com.urbandroid.lux.ui.QuickSettingsView.access$300(this.this$0, com.urbandroid.lux.context.AppContext.settings().isForced(), com.urbandroid.lux.ui.QuickSettingsView.access$400(this.this$0));
            com.urbandroid.lux.ui.QuickSettingsView.access$500(this.this$0);
            android.content.Context v1_7 = new android.content.Intent(this.this$0.getContext(), com.urbandroid.lux.TwilightService);
            v1_7.putExtra("profile", ((String) this.val$profileAdapter.getItem(p3)));
            android.support.v4.content.ContextCompat.startForegroundService(this.this$0.getContext(), v1_7);
            android.content.Context v1_9 = new android.content.Intent("com.urbandroid.lux.ACTION_REFRESH_PROFILE");
            v1_9.putExtra("profile", v2_7);
            v1_9.setPackage(this.this$0.getContext().getPackageName());
            this.this$0.getContext().sendBroadcast(v1_9);
            this.this$0.hide();
        }
        return;
    }

Method com.urbandroid.lux.integration.taskerplugin.receiver.TaskerEventReceiver.<clinit>() calling method android.content.Intent.putExtra()


    static TaskerEventReceiver()
    {
        com.urbandroid.lux.integration.taskerplugin.receiver.TaskerEventReceiver.INTENT_REQUEST_REQUERY = new android.content.Intent("com.twofortyfouram.locale.intent.action.REQUEST_QUERY").putExtra("com.twofortyfouram.locale.intent.extra.ACTIVITY", com.urbandroid.lux.integration.taskerplugin.ui.EditEventActivity.getName());
        return;
    }

Method com.urbandroid.lux.integration.taskerplugin.TaskerPlugin.addRelevantVariableList() calling method android.content.Intent.putExtra()


    public static void addRelevantVariableList(android.content.Intent p1, String[] p2)
    {
        p1.putExtra("net.dinglisch.android.tasker.RELEVANT_VARIABLES", p2);
        return;
    }

Method com.urbandroid.lux.integration.taskerplugin.TaskerPlugin$Setting.signalFinish() calling method android.content.Intent.putExtra()


    public static boolean signalFinish(android.content.Context p6, android.content.Intent p7, int p8, android.os.Bundle p9)
    {
        String v7_4 = ((String) com.urbandroid.lux.integration.taskerplugin.TaskerPlugin.access$100(p7, "net.dinglisch.android.tasker.extras.COMPLETION_INTENT", String, "signalFinish"));
        int v2_1 = 1;
        if (v7_4 == null) {
            v2_1 = 0;
        } else {
            try {
                android.net.Uri v3_0 = android.net.Uri.parse(v7_4);
            } catch (Exception) {
                String v4_1 = new StringBuilder();
                v4_1.append("signalFinish: ");
                v4_1.append("couldn\'t parse ");
                v4_1.append(v7_4);
                android.util.Log.w("TaskerPlugin", v4_1.toString());
            }
            if (v3_0 == null) {
            } else {
                try {
                    String v7_1 = android.content.Intent.parseUri(v7_4, 1);
                    v7_1.putExtra("net.dinglisch.android.tasker.extras.RESULT_CODE", p8);
                } catch (java.net.URISyntaxException) {
                    String v6_2 = new StringBuilder();
                    v6_2.append("signalFinish: ");
                    v6_2.append("bad URI: ");
                    v6_2.append(v3_0);
                    android.util.Log.w("TaskerPlugin", v6_2.toString());
                }
                if (p9 != null) {
                    v7_1.putExtra("net.dinglisch.android.tasker.extras.VARIABLES", p9);
                }
                p6.sendBroadcast(v7_1);
            }
        }
        return v2_1;
    }

Method com.urbandroid.lux.integration.taskerplugin.TaskerPlugin$Setting.requestTimeoutMS() calling method android.content.Intent.putExtra()


    public static void requestTimeoutMS(android.content.Intent p5, int p6)
    {
        if (p6 >= 0) {
            if ((p6 > 3599000) && (p6 != 3600000)) {
                StringBuilder v3_2 = new StringBuilder();
                v3_2.append("requestTimeoutMS: requested timeout ");
                v3_2.append(p6);
                v3_2.append(" exceeds maximum, setting to max (");
                v3_2.append(3599000);
                v3_2.append(")");
                android.util.Log.w("TaskerPlugin", v3_2.toString());
                p6 = 3599000;
            }
            p5.putExtra("net.dinglisch.android.tasker.extras.REQUESTED_TIMEOUT", p6);
        } else {
            String v5_2 = new StringBuilder();
            v5_2.append("requestTimeoutMS: ignoring negative timeout (");
            v5_2.append(p6);
            v5_2.append(")");
            android.util.Log.w("TaskerPlugin", v5_2.toString());
        }
        return;
    }

Method com.urbandroid.lux.integration.taskerplugin.TaskerPlugin$Host.getHintsBundle() calling method android.content.Intent.putExtra()


    private static android.os.Bundle getHintsBundle(android.content.Intent p2, String p3)
    {
        android.os.Bundle v3_2 = ((android.os.Bundle) com.urbandroid.lux.integration.taskerplugin.TaskerPlugin.access$100(p2, "net.dinglisch.android.tasker.extras.HINTS", android.os.Bundle, p3));
        if (v3_2 == null) {
            v3_2 = new android.os.Bundle();
            p2.putExtra("net.dinglisch.android.tasker.extras.HINTS", v3_2);
        }
        return v3_2;
    }

Method com.urbandroid.lux.integration.taskerplugin.TaskerPlugin$Host.addCompletionIntent() calling method android.content.Intent.putExtra()


    public static void addCompletionIntent(android.content.Intent p1, android.content.Intent p2)
    {
        p1.putExtra("net.dinglisch.android.tasker.extras.COMPLETION_INTENT", p2.toUri(1));
        return;
    }

Method com.urbandroid.lux.integration.taskerplugin.TaskerPlugin$Host.addCapabilities() calling method android.content.Intent.putExtra()


    public static android.content.Intent addCapabilities(android.content.Intent p1, int p2)
    {
        return p1.putExtra("net.dinglisch.android.tasker.extras.HOST_CAPABILITIES", p2);
    }

Method com.urbandroid.lux.integration.taskerplugin.TaskerPlugin$Event.retrieveOrCreatePassThroughBundle() calling method android.content.Intent.putExtra()


    private static android.os.Bundle retrieveOrCreatePassThroughBundle(android.content.Intent p2)
    {
        android.os.Bundle v2_1;
        if (!p2.hasExtra("net.dinglisch.android.tasker.extras.PASS_THROUGH_DATA")) {
            android.os.Bundle v1_2 = new android.os.Bundle();
            p2.putExtra("net.dinglisch.android.tasker.extras.PASS_THROUGH_DATA", v1_2);
            v2_1 = v1_2;
        } else {
            v2_1 = p2.getBundleExtra("net.dinglisch.android.tasker.extras.PASS_THROUGH_DATA");
        }
        return v2_1;
    }

Method com.urbandroid.lux.TwilightWidget.setPendingIntents() calling method android.content.Intent.putExtra()


    public static void setPendingIntents(android.content.Context p16, boolean p17, boolean p18)
    {
        android.content.Context v12_3;
        android.content.ComponentName v1_1 = new android.content.ComponentName(p16.getApplicationContext(), com.urbandroid.lux.TwilightWidget);
        android.appwidget.AppWidgetManager v2_2 = android.appwidget.AppWidgetManager.getInstance(p16.getApplicationContext());
        android.widget.RemoteViews v3_1 = new android.widget.RemoteViews(p16.getPackageName(), 2131558568);
        v3_1.setImageViewResource(2131362225, 2131230885);
        android.content.Intent v5_4 = new android.content.Intent(p16.getApplicationContext(), com.urbandroid.lux.TwilightService);
        v5_4.putExtra("toggle", 1);
        android.content.Intent v5_5 = com.urbandroid.lux.util.PendingIntentCompat.getService(p16, 36812, v5_4, 134217728);
        int v10_2 = new android.content.Intent(p16.getApplicationContext(), com.urbandroid.lux.TwilightService);
        v10_2.putExtra("force", 1);
        android.content.Context v12_1 = com.urbandroid.lux.util.PendingIntentCompat.getService(p16, 73219873, v10_2, 134217728);
        int v11_3 = android.app.PendingIntent.getActivity(p16, 73219873, new android.content.Intent(p16.getApplicationContext(), com.urbandroid.lux.MainActivity), 134217728);
        new android.content.Intent(p16.getApplicationContext(), com.urbandroid.lux.TwilightService);
        v10_2.putExtra("profile_next", 1);
        com.urbandroid.lux.util.PendingIntentCompat.getService(p16, 39872340, v10_2, 134217728);
        int v10_4 = new android.content.Intent(p16.getApplicationContext(), com.urbandroid.lux.TwilightService);
        v10_4.putExtra("quick_settings", 1);
        int v10_5 = com.urbandroid.lux.util.PendingIntentCompat.getService(p16, 9728672, v10_4, 134217728);
        v3_1.setOnClickPendingIntent(2131362225, v5_5);
        v3_1.setOnClickPendingIntent(2131361964, v12_1);
        v3_1.setOnClickPendingIntent(2131362134, v10_5);
        v3_1.setOnClickPendingIntent(2131362003, v11_3);
        int v10_0 = 2131230883;
        if (!p17) {
            v12_3 = 2131230886;
        } else {
            v12_3 = 2131230883;
        }
        android.content.Context v12_4;
        v3_1.setImageViewResource(2131362225, v12_3);
        if (!p18) {
            v12_4 = 2131820661;
        } else {
            v12_4 = 2131820656;
        }
        v3_1.setTextViewText(2131361964, p16.getString(v12_4));
        v2_2.updateAppWidget(v1_1, v3_1);
        android.content.ComponentName v1_3 = new android.content.ComponentName(p16.getApplicationContext(), com.urbandroid.lux.TwilightSmallWidget);
        android.widget.RemoteViews v3_5 = new android.widget.RemoteViews(p16.getPackageName(), 2131558569);
        android.content.Intent v5_0 = new android.content.Intent(p16.getApplicationContext(), com.urbandroid.lux.TwilightService);
        v5_0.putExtra("toggle", 1);
        v3_5.setOnClickPendingIntent(2131362225, com.urbandroid.lux.util.PendingIntentCompat.getService(p16, 36812, v5_0, 134217728));
        if (!p17) {
            v10_0 = 2131230886;
        }
        v3_5.setImageViewResource(2131362225, v10_0);
        v2_2.updateAppWidget(v1_3, v3_5);
        return;
    }

Method com.urbandroid.lux.TwilightTileService.onClick() calling method android.content.Intent.putExtra()


    public void onClick()
    {
        super.onClick();
        com.urbandroid.common.logging.Logger.logInfo("Tile onClick ");
        com.urbandroid.lux.context.AppContext.getInstance().init(com.urbandroid.lux.TwilightTileService, this.getApplicationContext());
        if (com.urbandroid.lux.context.AppContext.settings().isServiceEnabled()) {
            com.urbandroid.lux.context.AppContext.settings().setPaused((com.urbandroid.lux.context.AppContext.settings().isPaused() ^ 1));
            android.content.Context v0_7 = new android.content.Intent(this, com.urbandroid.lux.TwilightService);
            v0_7.putExtra("toggle", 1);
            android.support.v4.content.ContextCompat.startForegroundService(this, v0_7);
        } else {
            com.urbandroid.common.logging.Logger.logInfo("Starting");
            com.urbandroid.lux.context.AppContext.settings().setServiceEnabled(1);
            com.urbandroid.lux.AbstractTwilightService.startForegroundService(this.getApplicationContext());
        }
        this.refresh();
        if ((this.lastClicked != -1) && ((System.currentTimeMillis() - this.lastClicked) < 250)) {
            com.urbandroid.lux.AbstractTwilightService.startForegroundServiceQuickSettingsOnTop(this.getApplicationContext());
        }
        this.lastClicked = System.currentTimeMillis();
        return;
    }

Method com.urbandroid.lux.TwilightSmallWidget.onUpdate() calling method android.content.Intent.putExtra()


    public void onUpdate(android.content.Context p6, android.appwidget.AppWidgetManager p7, int[] p8)
    {
        int v6_4;
        super.onUpdate(p6, p7, p8);
        com.urbandroid.lux.context.AppContext.getInstance().init(com.urbandroid.lux.TwilightSmallWidget, p6, 1);
        android.content.ComponentName v7_1 = new android.content.ComponentName(p6.getApplicationContext(), com.urbandroid.lux.TwilightSmallWidget);
        android.appwidget.AppWidgetManager v8_2 = android.appwidget.AppWidgetManager.getInstance(p6.getApplicationContext());
        android.widget.RemoteViews v1_1 = new android.widget.RemoteViews(p6.getPackageName(), 2131558569);
        android.content.Intent v2_2 = new android.content.Intent(p6.getApplicationContext(), com.urbandroid.lux.TwilightService);
        v2_2.putExtra("toggle", 1);
        v1_1.setOnClickPendingIntent(2131362225, com.urbandroid.lux.util.PendingIntentCompat.getService(p6, 36812, v2_2, 134217728));
        if (com.urbandroid.lux.context.AppContext.settings().isPaused()) {
            v6_4 = 2131230885;
        } else {
            v6_4 = 2131230884;
        }
        v1_1.setImageViewResource(2131362225, v6_4);
        v8_2.updateAppWidget(v7_1, v1_1);
        return;
    }

Method com.urbandroid.lux.TwilightApplication.restartOnLowMemory() calling method android.content.Intent.putExtra()


    public static void restartOnLowMemory(android.content.Context p5, int p6, long p7)
    {
        try {
            android.content.Intent v0_1 = new android.content.Intent(p5, com.urbandroid.lux.AbstractTwilightService.getServiceClass(p5));
            v0_1.setAction("com.urbandroid.lux.action_command_restart_on_low_memory");
            v0_1.putExtra("memory_low_time", p7);
            v0_1.putExtra("memory_low_delay", p6);
            com.urbandroid.lux.AlarmScheduler.getInstance().cancelNextAlarm(p5, v0_1);
            com.urbandroid.lux.AlarmScheduler.getInstance().scheduleNextAlarm(p5, v0_1, (System.currentTimeMillis() + ((long) p6)));
        } catch (Exception v5_1) {
            com.urbandroid.common.logging.Logger.logSevere(v5_1);
        }
        return;
    }

Method com.urbandroid.lux.SubstratumLauncher.onCreate() calling method android.content.Intent.putExtra()


    protected void onCreate(android.os.Bundle p3)
    {
        super.onCreate(p3);
        android.content.Intent v3_3 = this.getIntent();
        v3_3.getStringExtra("theme_mode");
        v3_3.getBooleanExtra("theme_legacy", 0);
        v3_3.getBooleanExtra("refresh_mode", 0);
        android.content.Intent v3_2 = new android.content.Intent("android.intent.action.MAIN");
        v3_2.setComponent(android.content.ComponentName.unflattenFromString("projekt.substratum/projekt.substratum.InformationActivity"));
        v3_2.addCategory("android.intent.category.LAUNCHER");
        v3_2.setFlags(268435456);
        v3_2.addFlags(67108864);
        v3_2.putExtra("theme_name", this.getString(2131820588));
        v3_2.putExtra("theme_pid", this.getPackageName());
        this.startActivity(v3_2);
        this.finish();
        return;
    }

Method com.urbandroid.lux.MainActivity$MainListener.onClick() calling method android.content.Intent.putExtra()


    public void onClick(android.view.View p4)
    {
        switch (p4.getId()) {
            case 2131361868:
                com.urbandroid.lux.MainActivity.goToMarket(this.this$0, new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse("market://details?id=com.urbandroid.lux.donate")));
                break;
            case 2131361869:
                com.urbandroid.lux.MainActivity.goToMarket(this.this$0, new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse("market://details?id=com.urbandroid.lux")));
                break;
            case 2131361870:
                android.content.Intent v4_8 = new android.content.Intent("android.intent.action.SEND");
                v4_8.setType("text/plain");
                v4_8.putExtra("android.intent.extra.SUBJECT", this.this$0.getString(2131820588));
                com.urbandroid.lux.MainActivity v0_2 = new StringBuilder();
                v0_2.append(this.this$0.getString(2131820798));
                v0_2.append(", Play Store: https://play.google.com/store/apps/details?id=com.urbandroid.lux");
                v4_8.putExtra("android.intent.extra.TEXT", v0_2.toString());
                com.urbandroid.lux.MainActivity v0_5 = this.this$0;
                v0_5.startActivity(android.content.Intent.createChooser(v4_8, v0_5.getString(2131820799)));
                break;
            default:
        }
        return;
    }

Method com.urbandroid.lux.MainActivity$26.onPreferenceChange() calling method android.content.Intent.putExtra()


    public boolean onPreferenceChange(android.preference.Preference p4, Object p5)
    {
        if (!((Boolean) p5).booleanValue()) {
            com.urbandroid.common.logging.Logger.logInfo("MainActivity: Oreo notification: showing");
            android.content.Intent v4_1 = new android.content.Intent(this.this$0.getString(2131820811));
            v4_1.putExtra("command", "show");
            v4_1.setPackage(this.this$0.getPackageName());
            this.this$0.sendBroadcast(v4_1);
        } else {
            if (com.urbandroid.lux.notification.TwilightNotificationListener.hasAccessGranted(this.this$0.getApplicationContext())) {
                com.urbandroid.common.logging.Logger.logInfo("MainActivity: Oreo notification: has access, hiding");
                android.content.Intent v4_4 = new android.content.Intent(this.this$0.getString(2131820811));
                v4_4.putExtra("command", "hide");
                v4_4.setPackage(this.this$0.getPackageName());
                this.this$0.sendBroadcast(v4_4);
            } else {
                com.urbandroid.common.logging.Logger.logInfo("MainActivity: Oreo notification: no access");
                com.urbandroid.lux.MainActivity v5_20 = new android.app.AlertDialog$Builder(this.this$0);
                v5_20.setMessage(2131820745);
                v5_20.setCancelable(1);
                v5_20.setNegativeButton(2131820601, new com.urbandroid.lux.MainActivity$26$1(this, p4));
                v5_20.setPositiveButton(2131820604, new com.urbandroid.lux.MainActivity$26$2(this));
                v5_20.create().show();
            }
        }
        return 1;
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdateForeground() calling method android.content.Intent.putExtra()


    public static void startForegroundServiceUpdateForeground(android.content.Context p3)
    {
        android.content.Intent v0_1 = new android.content.Intent(p3, com.urbandroid.lux.AbstractTwilightService.getServiceClass(p3));
        v0_1.putExtra("foreground", 1);
        android.support.v4.content.ContextCompat.startForegroundService(p3, v0_1);
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate() calling method android.content.Intent.putExtra()


    public static void startForegroundServiceUpdate(android.content.Context p3)
    {
        android.content.Intent v0_1 = new android.content.Intent(p3, com.urbandroid.lux.AbstractTwilightService.getServiceClass(p3));
        v0_1.putExtra("update", 1);
        android.support.v4.content.ContextCompat.startForegroundService(p3, v0_1);
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceToggle() calling method android.content.Intent.putExtra()


    public static void startForegroundServiceToggle(android.content.Context p3)
    {
        android.content.Intent v0_1 = new android.content.Intent(p3, com.urbandroid.lux.AbstractTwilightService.getServiceClass(p3));
        v0_1.putExtra("toggle", 1);
        android.support.v4.content.ContextCompat.startForegroundService(p3, v0_1);
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceRefreshWallpaper() calling method android.content.Intent.putExtra()


    public static void startForegroundServiceRefreshWallpaper(android.content.Context p3)
    {
        android.content.Intent v0_1 = new android.content.Intent(p3, com.urbandroid.lux.AbstractTwilightService.getServiceClass(p3));
        v0_1.putExtra("refresh", 1);
        v0_1.putExtra("refresh_wallpaper", 1);
        android.support.v4.content.ContextCompat.startForegroundService(p3, v0_1);
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceRefresh() calling method android.content.Intent.putExtra()


    public static void startForegroundServiceRefresh(android.content.Context p3)
    {
        android.content.Intent v0_1 = new android.content.Intent(p3, com.urbandroid.lux.AbstractTwilightService.getServiceClass(p3));
        v0_1.putExtra("refresh", 1);
        android.support.v4.content.ContextCompat.startForegroundService(p3, v0_1);
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceQuickSettingsOnTop() calling method android.content.Intent.putExtra()


    public static void startForegroundServiceQuickSettingsOnTop(android.content.Context p3)
    {
        android.content.Intent v0_1 = new android.content.Intent(p3, com.urbandroid.lux.AbstractTwilightService.getServiceClass(p3));
        v0_1.putExtra("quick_settings", 1);
        v0_1.putExtra("quick_settings_on_top", 1);
        android.support.v4.content.ContextCompat.startForegroundService(p3, v0_1);
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceQuickSettings() calling method android.content.Intent.putExtra()


    public static void startForegroundServiceQuickSettings(android.content.Context p3)
    {
        android.content.Intent v0_1 = new android.content.Intent(p3, com.urbandroid.lux.AbstractTwilightService.getServiceClass(p3));
        v0_1.putExtra("quick_settings", 1);
        android.support.v4.content.ContextCompat.startForegroundService(p3, v0_1);
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceProfileNext() calling method android.content.Intent.putExtra()


    public static void startForegroundServiceProfileNext(android.content.Context p3)
    {
        android.content.Intent v0_1 = new android.content.Intent(p3, com.urbandroid.lux.AbstractTwilightService.getServiceClass(p3));
        v0_1.putExtra("profile_next", 1);
        android.support.v4.content.ContextCompat.startForegroundService(p3, v0_1);
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceProfile() calling method android.content.Intent.putExtra()


    public static void startForegroundServiceProfile(android.content.Context p2, String p3)
    {
        android.content.Intent v0_1 = new android.content.Intent(p2, com.urbandroid.lux.AbstractTwilightService.getServiceClass(p2));
        v0_1.putExtra("profile", p3);
        android.support.v4.content.ContextCompat.startForegroundService(p2, v0_1);
        return;
    }

Method com.urbandroid.common.connectivity.WaitForConnectivityService$3.onPostExecute() calling method android.content.Intent.putExtra()


    protected void onPostExecute(Boolean p3)
    {
        android.content.Intent v0_1 = new android.content.Intent("com.urbandroid.common.connectivity.AVAILABILITY_CHECK");
        v0_1.putExtra("STATUS", p3);
        this.val$context.sendBroadcast(v0_1);
        return;
    }

Method com.google.android.gms.common.api.GoogleApiActivity.zaa() calling method android.content.Intent.putExtra()


    public static android.content.Intent zaa(android.content.Context p2, android.app.PendingIntent p3, int p4, boolean p5)
    {
        android.content.Intent v0_1 = new android.content.Intent(p2, com.google.android.gms.common.api.GoogleApiActivity);
        v0_1.putExtra("pending_intent", p3);
        v0_1.putExtra("failing_client_id", p4);
        v0_1.putExtra("notify_manager", p5);
        return v0_1;
    }

Method android.support.v4.widget.TextViewCompat$OreoCallback.createProcessTextIntentForResolveInfo() calling method android.content.Intent.putExtra()


    private android.content.Intent createProcessTextIntentForResolveInfo(android.content.pm.ResolveInfo p3, android.widget.TextView p4)
    {
        return this.createProcessTextIntent().putExtra("android.intent.extra.PROCESS_TEXT_READONLY", (this.isEditable(p4) ^ 1)).setClassName(p3.activityInfo.packageName, p3.activityInfo.name);
    }

Method android.support.v4.app.ShareCompat$IntentBuilder.setText() calling method android.content.Intent.putExtra()


    public android.support.v4.app.ShareCompat$IntentBuilder setText(CharSequence p3)
    {
        this.mIntent.putExtra("android.intent.extra.TEXT", p3);
        return this;
    }

Method android.support.v4.app.ShareCompat$IntentBuilder.setSubject() calling method android.content.Intent.putExtra()


    public android.support.v4.app.ShareCompat$IntentBuilder setSubject(String p3)
    {
        this.mIntent.putExtra("android.intent.extra.SUBJECT", p3);
        return this;
    }

Method android.support.v4.app.ShareCompat$IntentBuilder.setStream() calling method android.content.Intent.putExtra()


    public android.support.v4.app.ShareCompat$IntentBuilder setStream(android.net.Uri p3)
    {
        if (!this.mIntent.getAction().equals("android.intent.action.SEND")) {
            this.mIntent.setAction("android.intent.action.SEND");
        }
        this.mStreams = 0;
        this.mIntent.putExtra("android.intent.extra.STREAM", p3);
        return this;
    }

Method android.support.v4.app.ShareCompat$IntentBuilder.setHtmlText() calling method android.content.Intent.putExtra()


    public android.support.v4.app.ShareCompat$IntentBuilder setHtmlText(String p3)
    {
        this.mIntent.putExtra("android.intent.extra.HTML_TEXT", p3);
        if (!this.mIntent.hasExtra("android.intent.extra.TEXT")) {
            this.setText(android.text.Html.fromHtml(p3));
        }
        return this;
    }

Method android.support.v4.app.ShareCompat$IntentBuilder.setEmailTo() calling method android.content.Intent.putExtra()


    public android.support.v4.app.ShareCompat$IntentBuilder setEmailTo(String[] p3)
    {
        if (this.mToAddresses != null) {
            this.mToAddresses = 0;
        }
        this.mIntent.putExtra("android.intent.extra.EMAIL", p3);
        return this;
    }

Method android.support.v4.app.ShareCompat$IntentBuilder.setEmailCc() calling method android.content.Intent.putExtra()


    public android.support.v4.app.ShareCompat$IntentBuilder setEmailCc(String[] p3)
    {
        this.mIntent.putExtra("android.intent.extra.CC", p3);
        return this;
    }

Method android.support.v4.app.ShareCompat$IntentBuilder.setEmailBcc() calling method android.content.Intent.putExtra()


    public android.support.v4.app.ShareCompat$IntentBuilder setEmailBcc(String[] p3)
    {
        this.mIntent.putExtra("android.intent.extra.BCC", p3);
        return this;
    }

Method android.support.v4.app.ShareCompat$IntentBuilder.getIntent() calling method android.content.Intent.putExtra()


    public android.content.Intent getIntent()
    {
        android.content.Intent v0_0 = this.mToAddresses;
        if (v0_0 != null) {
            this.combineArrayExtra("android.intent.extra.EMAIL", v0_0);
            this.mToAddresses = 0;
        }
        android.content.Intent v0_11 = this.mCcAddresses;
        if (v0_11 != null) {
            this.combineArrayExtra("android.intent.extra.CC", v0_11);
            this.mCcAddresses = 0;
        }
        android.content.Intent v0_1 = this.mBccAddresses;
        if (v0_1 != null) {
            this.combineArrayExtra("android.intent.extra.BCC", v0_1);
            this.mBccAddresses = 0;
        }
        android.content.Intent v0_2 = this.mStreams;
        int v2_1 = 1;
        if ((v0_2 == null) || (v0_2.size() <= 1)) {
            v2_1 = 0;
        }
        android.content.Intent v0_6 = this.mIntent.getAction().equals("android.intent.action.SEND_MULTIPLE");
        if ((v2_1 == 0) && (v0_6 != null)) {
            this.mIntent.setAction("android.intent.action.SEND");
            android.content.Intent v6_1 = this.mStreams;
            if ((v6_1 == null) || (v6_1.isEmpty())) {
                this.mIntent.removeExtra("android.intent.extra.STREAM");
            } else {
                this.mIntent.putExtra("android.intent.extra.STREAM", ((android.os.Parcelable) this.mStreams.get(0)));
            }
            this.mStreams = 0;
        }
        if ((v2_1 != 0) && (v0_6 == null)) {
            this.mIntent.setAction("android.intent.action.SEND_MULTIPLE");
            android.content.Intent v0_8 = this.mStreams;
            if ((v0_8 == null) || (v0_8.isEmpty())) {
                this.mIntent.removeExtra("android.intent.extra.STREAM");
            } else {
                this.mIntent.putParcelableArrayListExtra("android.intent.extra.STREAM", this.mStreams);
            }
        }
        return this.mIntent;
    }

Method android.support.v4.app.ShareCompat$IntentBuilder.combineArrayExtra() calling method android.content.Intent.putExtra()


    private void combineArrayExtra(String p6, String[] p7)
    {
        int v3;
        android.content.Intent v0 = this.getIntent();
        int v1_1 = v0.getStringArrayExtra(p6);
        if (v1_1 == 0) {
            v3 = 0;
        } else {
            v3 = v1_1.length;
        }
        String[] v4_0 = new String[(p7.length + v3)];
        if (v1_1 != 0) {
            System.arraycopy(v1_1, 0, v4_0, 0, v3);
        }
        System.arraycopy(p7, 0, v4_0, v3, p7.length);
        v0.putExtra(p6, v4_0);
        return;
    }

Method android.support.v4.app.ShareCompat$IntentBuilder.combineArrayExtra() calling method android.content.Intent.putExtra()


    private void combineArrayExtra(String p5, java.util.ArrayList p6)
    {
        int v2;
        String[] v0_1 = this.mIntent.getStringArrayExtra(p5);
        if (v0_1 == null) {
            v2 = 0;
        } else {
            v2 = v0_1.length;
        }
        String[] v3_0 = new String[(p6.size() + v2)];
        p6.toArray(v3_0);
        if (v0_1 != null) {
            System.arraycopy(v0_1, 0, v3_0, p6.size(), v2);
        }
        this.mIntent.putExtra(p5, v3_0);
        return;
    }

Method android.support.v4.app.ShareCompat$IntentBuilder.<init>() calling method android.content.Intent.putExtra()


    private ShareCompat$IntentBuilder(android.app.Activity p4)
    {
        this.mActivity = p4;
        this.mIntent = new android.content.Intent().setAction("android.intent.action.SEND");
        this.mIntent.putExtra("android.support.v4.app.EXTRA_CALLING_PACKAGE", p4.getPackageName());
        this.mIntent.putExtra("android.support.v4.app.EXTRA_CALLING_ACTIVITY", p4.getComponentName());
        this.mIntent.addFlags(524288);
        return;
    }

Method android.support.v4.app.RemoteInput.addResultsToIntent() calling method android.content.Intent.putExtra()


    public static void addResultsToIntent(android.support.v4.app.RemoteInput[] p8, android.content.Intent p9, android.os.Bundle p10)
    {
        android.content.Intent v0_0 = android.os.Build$VERSION.SDK_INT;
        if (v0_0 < 26) {
            int v2 = 0;
            if (v0_0 < 20) {
                if (v0_0 < 16) {
                    android.util.Log.w("RemoteInput", "RemoteInput is only supported from API Level 16");
                } else {
                    android.content.Intent v0_1 = android.support.v4.app.RemoteInput.getClipDataIntentFromIntent(p9);
                    if (v0_1 == null) {
                        v0_1 = new android.content.Intent();
                    }
                    String v3_0 = v0_1.getBundleExtra("android.remoteinput.resultsData");
                    if (v3_0 == null) {
                        v3_0 = new android.os.Bundle();
                    }
                    java.util.Map v4_0 = p8.length;
                    while (v2 < v4_0) {
                        String v5_0 = p8[v2];
                        CharSequence v6_1 = p10.get(v5_0.getResultKey());
                        if ((v6_1 instanceof CharSequence)) {
                            v3_0.putCharSequence(v5_0.getResultKey(), ((CharSequence) v6_1));
                        }
                        v2++;
                    }
                    v0_1.putExtra("android.remoteinput.resultsData", v3_0);
                    p9.setClipData(android.content.ClipData.newIntent("android.remoteinput.results", v0_1));
                }
            } else {
                android.content.Intent v0_3 = android.support.v4.app.RemoteInput.getResultsFromIntent(p9);
                if (v0_3 != null) {
                    v0_3.putAll(p10);
                    p10 = v0_3;
                }
                android.content.Intent v0_4 = p8.length;
                int v1_3 = 0;
                while (v1_3 < v0_4) {
                    String v3_2 = p8[v1_3];
                    java.util.Map v4_2 = android.support.v4.app.RemoteInput.getDataResultsFromIntent(p9, v3_2.getResultKey());
                    String v5_3 = new android.support.v4.app.RemoteInput[1];
                    v5_3[0] = v3_2;
                    android.app.RemoteInput.addResultsToIntent(android.support.v4.app.RemoteInput.fromCompat(v5_3), p9, p10);
                    if (v4_2 != null) {
                        android.support.v4.app.RemoteInput.addDataResultToIntent(v3_2, p9, v4_2);
                    }
                    v1_3++;
                }
            }
        } else {
            android.app.RemoteInput.addResultsToIntent(android.support.v4.app.RemoteInput.fromCompat(p8), p9, p10);
        }
        return;
    }

Method android.support.v4.app.RemoteInput.addDataResultToIntent() calling method android.content.Intent.putExtra()


    public static void addDataResultToIntent(android.support.v4.app.RemoteInput p5, android.content.Intent p6, java.util.Map p7)
    {
        android.content.Intent v0_0 = android.os.Build$VERSION.SDK_INT;
        if (v0_0 < 26) {
            if (v0_0 < 16) {
                android.util.Log.w("RemoteInput", "RemoteInput is only supported from API Level 16");
            } else {
                android.content.Intent v0_2 = android.support.v4.app.RemoteInput.getClipDataIntentFromIntent(p6);
                if (v0_2 == null) {
                    v0_2 = new android.content.Intent();
                }
                java.util.Iterator v7_2 = p7.entrySet().iterator();
                while (v7_2.hasNext()) {
                    String v1_3 = ((java.util.Map$Entry) v7_2.next());
                    String v2_1 = ((String) v1_3.getKey());
                    String v1_6 = ((android.net.Uri) v1_3.getValue());
                    if (v2_1 != null) {
                        android.os.Bundle v3_1 = v0_2.getBundleExtra(android.support.v4.app.RemoteInput.getExtraResultsKeyForData(v2_1));
                        if (v3_1 == null) {
                            v3_1 = new android.os.Bundle();
                        }
                        v3_1.putString(p5.getResultKey(), v1_6.toString());
                        v0_2.putExtra(android.support.v4.app.RemoteInput.getExtraResultsKeyForData(v2_1), v3_1);
                    }
                }
                p6.setClipData(android.content.ClipData.newIntent("android.remoteinput.results", v0_2));
            }
        } else {
            android.app.RemoteInput.addDataResultToIntent(android.support.v4.app.RemoteInput.fromCompat(p5), p6, p7);
        }
        return;
    }

Method android.support.v17.leanback.widget.SearchBar.startRecognition() calling method android.content.Intent.putExtra()


    public void startRecognition()
    {
        if (!this.mRecognizing) {
            if (!this.hasFocus()) {
                this.requestFocus();
            }
            if (this.mSpeechRecognitionCallback == null) {
                if (this.mSpeechRecognizer != null) {
                    if (this.getContext().checkCallingOrSelfPermission("android.permission.RECORD_AUDIO") == 0) {
                        this.mRecognizing = 1;
                        this.mSearchTextEditor.setText("");
                        IllegalStateException v0_6 = new android.content.Intent("android.speech.action.RECOGNIZE_SPEECH");
                        v0_6.putExtra("android.speech.extra.LANGUAGE_MODEL", "free_form");
                        v0_6.putExtra("android.speech.extra.PARTIAL_RESULTS", 1);
                        this.mSpeechRecognizer.setRecognitionListener(new android.support.v17.leanback.widget.SearchBar$9(this));
                        this.mListening = 1;
                        this.mSpeechRecognizer.startListening(v0_6);
                        return;
                    } else {
                        if (android.os.Build$VERSION.SDK_INT >= 23) {
                            IllegalStateException v0_9 = this.mPermissionListener;
                            if (v0_9 != null) {
                                v0_9.requestAudioPermission();
                                return;
                            }
                        }
                        throw new IllegalStateException("android.permission.RECORD_AUDIO required for search");
                    }
                } else {
                    return;
                }
            } else {
                this.mSearchTextEditor.setText("");
                this.mSearchTextEditor.setHint("");
                this.mSpeechRecognitionCallback.recognizeSpeech();
                this.mRecognizing = 1;
                return;
            }
        } else {
            return;
        }
    }

Method com.urbandroid.lux.integration.taskerplugin.TaskerPlugin$Setting.signalFinish() calling method android.content.Intent.parseUri()


    public static boolean signalFinish(android.content.Context p6, android.content.Intent p7, int p8, android.os.Bundle p9)
    {
        String v7_4 = ((String) com.urbandroid.lux.integration.taskerplugin.TaskerPlugin.access$100(p7, "net.dinglisch.android.tasker.extras.COMPLETION_INTENT", String, "signalFinish"));
        int v2_1 = 1;
        if (v7_4 == null) {
            v2_1 = 0;
        } else {
            try {
                android.net.Uri v3_0 = android.net.Uri.parse(v7_4);
            } catch (Exception) {
                String v4_1 = new StringBuilder();
                v4_1.append("signalFinish: ");
                v4_1.append("couldn\'t parse ");
                v4_1.append(v7_4);
                android.util.Log.w("TaskerPlugin", v4_1.toString());
            }
            if (v3_0 == null) {
            } else {
                try {
                    String v7_1 = android.content.Intent.parseUri(v7_4, 1);
                    v7_1.putExtra("net.dinglisch.android.tasker.extras.RESULT_CODE", p8);
                } catch (java.net.URISyntaxException) {
                    String v6_2 = new StringBuilder();
                    v6_2.append("signalFinish: ");
                    v6_2.append("bad URI: ");
                    v6_2.append(v3_0);
                    android.util.Log.w("TaskerPlugin", v6_2.toString());
                }
                if (p9 != null) {
                    v7_1.putExtra("net.dinglisch.android.tasker.extras.VARIABLES", p9);
                }
                p6.sendBroadcast(v7_1);
            }
        }
        return v2_1;
    }

Method com.google.android.gms.wearable.WearableListenerService.onCreate() calling method android.app.Service.onCreate()


    public void onCreate()
    {
        super.onCreate();
        this.service = new android.content.ComponentName(this, this.getClass().getName());
        if (android.util.Log.isLoggable("WearableLS", 3)) {
            int v1_2 = String.valueOf(this.service);
            StringBuilder v3_1 = new StringBuilder((String.valueOf(v1_2).length() + 10));
            v3_1.append("onCreate: ");
            v3_1.append(v1_2);
            android.util.Log.d("WearableLS", v3_1.toString());
        }
        this.zzad = new com.google.android.gms.wearable.WearableListenerService$zzc(this, this.getLooper());
        this.zzaf = new android.content.Intent("com.google.android.gms.wearable.BIND_LISTENER");
        this.zzaf.setComponent(this.service);
        this.zzae = new com.google.android.gms.wearable.WearableListenerService$zzd(this, 0);
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.onCreate() calling method android.app.Service.onCreate()


    public void onCreate()
    {
        super.onCreate();
        this.init();
        com.urbandroid.lux.util.TrialFilter.getInstance().reevaluate(this);
        com.urbandroid.lux.context.AppContext.settings().setCurrentFilterState(0);
        this.locationService = new com.urbandroid.lux.LocationService(this);
        boolean v0_2 = new android.content.IntentFilter("android.intent.action.SCREEN_ON");
        v0_2.addAction("android.intent.action.SCREEN_OFF");
        v0_2.addAction("android.intent.action.TIME_SET");
        v0_2.addAction("android.intent.action.TIMEZONE_CHANGED");
        v0_2.addAction("android.intent.action.USER_BACKGROUND");
        v0_2.addAction("android.intent.action.USER_FOREGROUND");
        v0_2.addAction("com.urbandroid.lux.action_command_app_in_foreground");
        this.registerReceiver(this.receiver, v0_2);
        this.createdAfterLowMemory = 1;
        this.foregroundCheck = com.urbandroid.lux.context.AppContext.settings().isForegroundCheck();
        if (this.foregroundCheck) {
            this.banList = com.urbandroid.lux.context.AppContext.settings().getBanList();
            if ((com.urbandroid.common.util.Environment.isLollipopOrGreater()) && (!com.urbandroid.lux.AbstractTwilightService.isAppStatGranted(this))) {
                com.urbandroid.common.logging.Logger.logInfo("Service: Accessibility bind");
                this.bindService(new android.content.Intent(this.getApplicationContext(), com.urbandroid.lux.TwilightAccessibilityService), this, 1);
            }
        }
        this.hideAmbient = com.urbandroid.lux.context.AppContext.settings().isHideAmbient();
        return;
    }

Method android.support.v4.app.JobIntentService.onCreate() calling method android.app.Service.onCreate()


    public void onCreate()
    {
        super.onCreate();
        if (android.os.Build$VERSION.SDK_INT < 26) {
            this.mJobImpl = 0;
            this.mCompatWorkEnqueuer = android.support.v4.app.JobIntentService.getWorkEnqueuer(this, new android.content.ComponentName(this, android.support.v4.app.JobIntentService), 0, 0);
        } else {
            this.mJobImpl = new android.support.v4.app.JobIntentService$JobServiceEngineImpl(this);
            this.mCompatWorkEnqueuer = 0;
        }
        return;
    }

Method com.urbandroid.common.connectivity.WaitForConnectivityService.onStart() calling method android.app.Service.onStart()


    public void onStart(android.content.Intent p2, int p3)
    {
        super.onStart(p2, p3);
        this.startIntent = p2;
        this.initializeContextIfNeeded();
        if (!this.shouldIgnoreRequest()) {
            this.cancelled = 0;
            if (this.isConnectivityNeeded()) {
                com.urbandroid.common.logging.Logger.logSevere("Starting wait for connectivity service");
                this.startForeground();
                android.content.IntentFilter v3_3 = new android.content.IntentFilter("android.net.conn.CONNECTIVITY_CHANGE");
                v3_3.addAction("com.urbandroid.common.connectivity.CANCEL_NETWORK_WAITING");
                v3_3.addAction("com.urbandroid.common.connectivity.AVAILABILITY_CHECK");
                com.urbandroid.common.connectivity.WaitForConnectivityService$1 v0_4 = new com.urbandroid.common.connectivity.WaitForConnectivityService$1(this, v3_3, p2);
                com.urbandroid.common.logging.Logger.logInfo("Registering wait for network receiver");
                this.registerReceiver(v0_4, v3_3);
                return;
            } else {
                this.stopSelf();
                return;
            }
        } else {
            com.urbandroid.common.logging.Logger.logInfo("Ignoring wait for connectivity request.");
            return;
        }
    }

Method com.urbandroid.lux.ProActivity.onPreferenceClick() calling method android.content.Intent.<init>()


    public boolean onPreferenceClick(android.preference.Preference p3)
    {
        if ("settings_go_pro".equals(p3.getKey())) {
            this.goToMarket(new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse("market://details?id=com.urbandroid.lux.donate")));
        }
        return 1;
    }

Method com.urbandroid.lux.ProActivity.onPreferenceChange() calling method android.content.Intent.<init>()


    public boolean onPreferenceChange(android.preference.Preference p6, Object p7)
    {
        if (p6 == 0) {
            com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate(this);
        } else {
            if (!"settings_fullscreen".equals(p6.getKey())) {
                if (!"settings_icon".equals(p6.getKey())) {
                    if (!"settings_quick".equals(p6.getKey())) {
                        if (!"settings_hide_ambient".equals(p6.getKey())) {
                            if (!"settings_filter_navbar_landscape".equals(p6.getKey())) {
                                if (!"settings_gpu".equals(p6.getKey())) {
                                    if (!"settings_filter_wallpaper".equals(p6.getKey())) {
                                        if (!"settings_filter_wallpaper_lockscreen".equals(p6.getKey())) {
                                            if (!"settings_backlight_control".equals(p6.getKey())) {
                                                if (!"settings_foreground_check".equals(p6.getKey())) {
                                                    if ("settings_dim_behind".equals(p6.getKey())) {
                                                        com.urbandroid.common.logging.Logger.logInfo("Dim behind checked");
                                                        new android.os.Handler().post(new com.urbandroid.lux.ProActivity$10(this));
                                                    }
                                                } else {
                                                    if (!((Boolean) p7).booleanValue()) {
                                                        com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate(this);
                                                    } else {
                                                        if (!com.urbandroid.common.util.Environment.isLollipopOrGreater()) {
                                                            this.startActivity(new android.content.Intent(this, com.urbandroid.lux.ban.BanListActivity));
                                                            return 1;
                                                        } else {
                                                            if (this.showAppStatDialog()) {
                                                                return 0;
                                                            } else {
                                                                this.startActivity(new android.content.Intent(this, com.urbandroid.lux.ban.BanListActivity));
                                                                return 1;
                                                            }
                                                        }
                                                    }
                                                }
                                            } else {
                                                com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate(this);
                                                if ((p7 instanceof Boolean)) {
                                                    if (((Boolean) p7).booleanValue()) {
                                                        this.startBacklightControlSettings();
                                                    } else {
                                                        int v6_6 = new StringBuilder();
                                                        v6_6.append("Backlight preference changed ");
                                                        v6_6.append(p7);
                                                        com.urbandroid.common.logging.Logger.logInfo(v6_6.toString());
                                                        com.urbandroid.lux.ui.TwilightView.revertBrightness(this.getApplicationContext());
                                                    }
                                                }
                                            }
                                        } else {
                                            com.urbandroid.common.logging.Logger.logInfo("Wallpaper: lock settings changed");
                                            com.urbandroid.lux.context.AppContext.settings().setFilterLockWallpaper(((Boolean) p7).booleanValue());
                                            if (!((Boolean) p7).booleanValue()) {
                                                com.urbandroid.lux.AbstractTwilightService.startForegroundServiceRefreshWallpaper(this);
                                            } else {
                                                if ((android.os.Build$VERSION.SDK_INT < 27) || (com.urbandroid.lux.PermissionUtil.hasPermission(this.getApplicationContext(), "android.permission.READ_EXTERNAL_STORAGE"))) {
                                                    com.urbandroid.lux.AbstractTwilightService.startForegroundServiceRefreshWallpaper(this);
                                                } else {
                                                    this.showStoragePermissionDialog();
                                                    return 1;
                                                }
                                            }
                                            return 1;
                                        }
                                    } else {
                                        com.urbandroid.common.logging.Logger.logInfo("Wallpaper: settings changed");
                                        com.urbandroid.lux.context.AppContext.settings().setFilterWallpaper(((Boolean) p7).booleanValue());
                                        if (!((Boolean) p7).booleanValue()) {
                                            com.urbandroid.lux.AbstractTwilightService.startForegroundServiceRefreshWallpaper(this);
                                        } else {
                                            if ((android.os.Build$VERSION.SDK_INT < 27) || (com.urbandroid.lux.PermissionUtil.hasPermission(this.getApplicationContext(), "android.permission.READ_EXTERNAL_STORAGE"))) {
                                                com.urbandroid.lux.AbstractTwilightService.startForegroundServiceRefreshWallpaper(this);
                                            } else {
                                                this.showStoragePermissionDialog();
                                                return 1;
                                            }
                                        }
                                        return 1;
                                    }
                                } else {
                                    com.urbandroid.lux.AbstractTwilightService.startForegroundServiceRefresh(this);
                                }
                            } else {
                                com.urbandroid.lux.AbstractTwilightService.startForegroundServiceRefresh(this);
                            }
                        } else {
                            com.urbandroid.lux.AbstractTwilightService.startForegroundServiceRefresh(this);
                        }
                    } else {
                        com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdateForeground(this);
                    }
                } else {
                    com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdateForeground(this);
                    int v6_21 = android.os.Build$VERSION.SDK_INT;
                    if (v6_21 < 26) {
                        if (v6_21 < 23) {
                            if (v6_21 > 16) {
                                try {
                                    int v6_23 = new android.content.Intent();
                                    v6_23.setAction("android.settings.APPLICATION_DETAILS_SETTINGS");
                                    v6_23.setData(android.net.Uri.fromParts("package", "com.urbandroid.lux", 0));
                                    this.startActivity(v6_23);
                                } catch (int v6_24) {
                                    com.urbandroid.common.logging.Logger.logSevere(v6_24);
                                }
                            }
                        } else {
                            int v6_26 = new android.content.Intent();
                            v6_26.setClassName("com.android.settings", "com.android.settings.Settings$AppNotificationSettingsActivity");
                            v6_26.putExtra("app_package", this.getPackageName());
                            if (android.os.Build$VERSION.SDK_INT < 26) {
                                v6_26.putExtra("app_uid", this.getApplicationInfo().uid);
                            } else {
                                v6_26.putExtra("android.provider.extra.APP_PACKAGE", this.getPackageName());
                            }
                            this.startActivity(v6_26);
                        }
                    } else {
                        int v6_28 = new android.content.Intent("android.settings.CHANNEL_NOTIFICATION_SETTINGS");
                        v6_28.putExtra("android.provider.extra.CHANNEL_ID", "foreground");
                        v6_28.putExtra("android.provider.extra.APP_PACKAGE", this.getPackageName());
                        this.startActivity(v6_28);
                    }
                }
            } else {
                com.urbandroid.lux.AbstractTwilightService.startForegroundServiceRefresh(this);
            }
        }
        return 1;
    }

Method com.urbandroid.lux.ProActivity.startBacklightControlSettings() calling method android.content.Intent.<init>()


    private void startBacklightControlSettings()
    {
        this.startActivity(new android.content.Intent(this, com.urbandroid.lux.BacklightActivity));
        if ((android.os.Build$VERSION.SDK_INT >= 23) && (!android.provider.Settings$System.canWrite(this))) {
            try {
                Exception v0_2 = new android.content.Intent("android.settings.action.MANAGE_WRITE_SETTINGS");
                android.net.Uri v1_3 = new StringBuilder();
                v1_3.append("package:");
                v1_3.append(this.getPackageName());
                v0_2.setData(android.net.Uri.parse(v1_3.toString()));
                this.startActivity(v0_2);
            } catch (Exception v0_4) {
                com.urbandroid.common.logging.Logger.logSevere(v0_4);
            }
        }
        return;
    }

Method com.urbandroid.lux.MainActivity.onResume() calling method android.content.Intent.<init>()


    protected void onResume()
    {
        super.onResume();
        if (!this.themeUtil.onResume()) {
            com.urbandroid.common.logging.Logger.logInfo("MainActivity: onResume");
            if ((android.os.Build$VERSION.SDK_INT >= 23) && (!android.provider.Settings.canDrawOverlays(this))) {
                android.content.Intent v0_6 = this.drawOverlayPermissionDialog;
                if ((v0_6 == null) || (!v0_6.isShowing())) {
                    com.urbandroid.common.logging.Logger.logInfo("MainActivity: show overlay dialog");
                    this.showDrawOverlayPermissionDialog();
                }
            } else {
                android.content.Intent v0_9 = this.drawOverlayPermissionDialog;
                if ((v0_9 != null) && (v0_9.isShowing())) {
                    try {
                        com.urbandroid.common.logging.Logger.logInfo("MainActivity: dismiss perm dialog");
                        this.drawOverlayPermissionDialog.dismiss();
                        this.drawOverlayPermissionDialog = 0;
                    } catch (android.content.Intent v0_15) {
                        com.urbandroid.common.logging.Logger.logSevere(v0_15);
                    }
                }
                this.handleOtherPermissions();
                if (!this.hasPermissionToDraw) {
                    this.hasPermissionToDraw = 1;
                    com.urbandroid.lux.context.AppContext.settings().setServiceEnabled(1);
                    com.urbandroid.lux.AbstractTwilightService.startForegroundService(this);
                    com.urbandroid.common.logging.Logger.logInfo("MainActivity: just gained permission starting service");
                }
                if (!new com.urbandroid.lux.context.Settings(this).isServiceEnabled()) {
                    this.finish();
                    com.urbandroid.common.logging.Logger.logInfo("MainActivity: finish()");
                    this.startActivity(new android.content.Intent(this, com.urbandroid.lux.MainActivity));
                    return;
                }
            }
            com.urbandroid.lux.util.TrialFilter.getInstance().reevaluate(this);
            android.content.Intent v0_25 = new StringBuilder();
            v0_25.append("MainActivity: Is trial ");
            v0_25.append(com.urbandroid.lux.util.TrialFilter.getInstance().isTrial());
            com.urbandroid.common.logging.Logger.logInfo(v0_25.toString());
            this.updateTrialLayout();
            this.updateLocation();
            com.urbandroid.common.logging.Logger.logInfo("MainActivity: sync pause");
            this.syncPause(com.urbandroid.lux.context.AppContext.settings().isPaused());
            this.setupSegment();
            if (com.urbandroid.lux.context.AppContext.settings().isProfileChanged()) {
                com.urbandroid.lux.context.AppContext.settings().setProfileChanged(0);
                this.setSubtitle();
            }
            this.updateSeekBars();
            if ((com.urbandroid.lux.context.AppContext.settings().isHideOreoNotitifcation()) && (com.urbandroid.lux.notification.TwilightNotificationListener.hasAccessGranted(this))) {
                android.content.Intent v0_38 = new android.content.Intent(this.getString(2131820811));
                v0_38.putExtra("command", "hide");
                v0_38.setPackage(this.getPackageName());
                this.sendBroadcast(v0_38);
            }
            return;
        } else {
            com.urbandroid.common.logging.Logger.logInfo("MainActivity: theme changed skipping resume");
            return;
        }
    }

Method com.urbandroid.lux.MainActivity.onPreferenceClick() calling method android.content.Intent.<init>()


    public boolean onPreferenceClick(android.preference.Preference p3)
    {
        if ("settings_tutorial".equals(p3.getKey())) {
            this.startActivity(new android.content.Intent(this, com.urbandroid.lux.TourActivity));
        }
        if ("settings_location".equals(p3.getKey())) {
            this.startActivity(new android.content.Intent(this, com.urbandroid.lux.LocationActivity));
        }
        if ("settings_pro".equals(p3.getKey())) {
            this.startActivity(new android.content.Intent(this, com.urbandroid.lux.ProActivity));
        }
        return 1;
    }

Method com.urbandroid.lux.MainActivity.onOptionsItemSelected() calling method android.content.Intent.<init>()


    public boolean onOptionsItemSelected(android.view.MenuItem p4)
    {
        int v4_1 = p4.getItemId();
        if (v4_1 == 16908332) {
            this.toggleDrawer();
        } else {
            if (v4_1 == 2131361829) {
                this.add();
                this.openDrawer();
                int v4_2 = new android.content.Intent(this.getApplicationContext(), com.urbandroid.lux.AbstractTwilightService.getServiceClass(this.getApplicationContext()));
                v4_2.setAction("com.urbandroid.lux.action_command_restart_on_low_memory");
                v4_2.putExtra("memory_low_time", System.currentTimeMillis());
                v4_2.putExtra("memory_low_delay", 1000);
            }
        }
        return 1;
    }

Method com.urbandroid.lux.MainActivity.preview() calling method android.content.Intent.<init>()


    private void preview()
    {
        com.urbandroid.lux.context.AppContext.settings().setServiceEnabled(1);
        int v0_3 = new android.content.Intent(this, com.urbandroid.lux.TwilightService);
        v0_3.putExtra("preview", 1);
        android.support.v4.content.ContextCompat.startForegroundService(this, v0_3);
        this.handleResumeIndicator(0);
        return;
    }

Method com.urbandroid.lux.MainActivity.initializeShortcuts() calling method android.content.Intent.<init>()


    private void initializeShortcuts()
    {
        try {
            if (android.os.Build$VERSION.SDK_INT >= 25) {
                android.content.pm.ShortcutManager v0_4 = ((android.content.pm.ShortcutManager) this.getSystemService(android.content.pm.ShortcutManager));
                java.util.ArrayList v1_2 = new java.util.ArrayList();
                java.util.Iterator v2_1 = com.urbandroid.lux.context.AppContext.settings().getProfiles();
                android.content.pm.ShortcutInfo v3_5 = new android.content.pm.ShortcutInfo$Builder(this, "id_toggle");
                android.content.Intent v4_2 = new StringBuilder();
                v4_2.append(this.getString(2131820741));
                v4_2.append(" / ");
                v4_2.append(this.getString(2131820760));
                v1_2.add(v3_5.setShortLabel(v4_2.toString()).setIcon(android.graphics.drawable.Icon.createWithResource(this.getApplicationContext(), 2131230903)).setIntent(new android.content.Intent("com.urbandroid.lux.ACTION_SHORTCUT_TOGGLE", 0, this.getApplicationContext(), com.urbandroid.lux.ShortcutActivity)).build());
                v1_2.add(new android.content.pm.ShortcutInfo$Builder(this, "id_quick_settings").setShortLabel(this.getString(2131820755)).setIcon(android.graphics.drawable.Icon.createWithResource(this.getApplicationContext(), 2131230902)).setIntent(new android.content.Intent("com.urbandroid.lux.ACTION_SHORTCUT_QUICK_SETTINGS", 0, this.getApplicationContext(), com.urbandroid.lux.ShortcutActivity)).build());
                java.util.Iterator v2_2 = v2_1.iterator();
                while (v2_2.hasNext()) {
                    android.content.pm.ShortcutInfo v3_18 = ((String) v2_2.next());
                    android.content.Intent v4_16 = new android.content.Intent("com.urbandroid.lux.ACTION_SHORTCUT_PROFILE", 0, this.getApplicationContext(), com.urbandroid.lux.ShortcutActivity);
                    v4_16.putExtra("profile", v3_18);
                    int v6_6 = new StringBuilder();
                    v6_6.append("id_ideal_profile_");
                    v6_6.append(v3_18);
                    v1_2.add(new android.content.pm.ShortcutInfo$Builder(this, v6_6.toString()).setShortLabel(v3_18).setIcon(android.graphics.drawable.Icon.createWithResource(this.getApplicationContext(), 2131230901)).setIntent(v4_16).build());
                }
                v0_4.setDynamicShortcuts(v1_2);
            }
        } catch (android.content.pm.ShortcutManager v0_1) {
            com.urbandroid.common.logging.Logger.logSevere(v0_1);
        }
        return;
    }

Method com.urbandroid.lux.MainActivity.getDrawOverlayPermissionIntent() calling method android.content.Intent.<init>()


    public static android.content.Intent getDrawOverlayPermissionIntent(android.content.Context p3)
    {
        android.content.Intent v0_1 = new android.content.Intent("android.settings.action.MANAGE_OVERLAY_PERMISSION");
        StringBuilder v1_2 = new StringBuilder();
        v1_2.append("package:");
        v1_2.append(p3.getPackageName());
        v0_1.setData(android.net.Uri.parse(v1_2.toString()));
        v0_1.addFlags(268435456);
        return v0_1;
    }

Method com.urbandroid.lux.BacklightActivity.onOptionsItemSelected() calling method android.content.Intent.<init>()


    public boolean onOptionsItemSelected(android.view.MenuItem p3)
    {
        Exception v3_1 = p3.getItemId();
        if (v3_1 == 16908332) {
            this.finish();
        } else {
            if ((v3_1 == 2131362091) && (android.os.Build$VERSION.SDK_INT >= 23)) {
                try {
                    Exception v3_3 = new android.content.Intent("android.settings.action.MANAGE_WRITE_SETTINGS");
                    android.net.Uri v0_2 = new StringBuilder();
                    v0_2.append("package:");
                    v0_2.append(this.getPackageName());
                    v3_3.setData(android.net.Uri.parse(v0_2.toString()));
                    this.startActivity(v3_3);
                } catch (Exception v3_4) {
                    com.urbandroid.common.logging.Logger.logSevere(v3_4);
                }
            }
        }
        return 1;
    }

Method com.urbandroid.lux.ban.NewBanListActivity.onOptionsItemSelected() calling method android.content.Intent.<init>()


    public boolean onOptionsItemSelected(android.view.MenuItem p2)
    {
        Exception v2_1 = p2.getItemId();
        if (v2_1 == 16908332) {
            this.finish();
        } else {
            if ((v2_1 == 2131362091) && (android.os.Build$VERSION.SDK_INT >= 21)) {
                try {
                    this.startActivity(new android.content.Intent("android.settings.USAGE_ACCESS_SETTINGS"));
                } catch (Exception v2_4) {
                    com.urbandroid.common.logging.Logger.logSevere(v2_4);
                }
            }
        }
        return 1;
    }

Method com.urbandroid.lux.ban.BanListActivity.onOptionsItemSelected() calling method android.content.Intent.<init>()


    public boolean onOptionsItemSelected(android.view.MenuItem p2)
    {
        Exception v2_1 = p2.getItemId();
        if (v2_1 == 16908332) {
            this.finish();
        } else {
            if ((v2_1 == 2131362091) && (android.os.Build$VERSION.SDK_INT >= 21)) {
                try {
                    this.startActivity(new android.content.Intent("android.settings.USAGE_ACCESS_SETTINGS"));
                } catch (Exception v2_4) {
                    com.urbandroid.common.logging.Logger.logSevere(v2_4);
                }
            }
        }
        return 1;
    }

Method com.google.android.gms.wearable.internal.zzhg.connect() calling method android.content.Intent.<init>()


    public final void connect(com.google.android.gms.common.internal.BaseGmsClient$ConnectionProgressReportCallbacks p8)
    {
        if (!this.requiresGooglePlayServices()) {
            try {
                int v1_2;
                int v1_1 = this.getContext().getPackageManager().getApplicationInfo("com.google.android.wearable.app.cn", 128).metaData;
            } catch (android.content.pm.PackageManager$NameNotFoundException) {
                this.triggerNotAvailable(p8, 16, 0);
                return;
            }
            if (v1_1 == 0) {
                v1_2 = 0;
            } else {
                v1_2 = v1_1.getInt("com.google.android.wearable.api.version", 0);
            }
            if (v1_2 < 8600000) {
                android.content.Intent v5_1 = new StringBuilder(82);
                v5_1.append("The Wear OS app is out of date. Requires API version 8600000 but found ");
                v5_1.append(v1_2);
                android.util.Log.w("WearableClient", v5_1.toString());
                android.content.Context v3_3 = this.getContext();
                String v4_2 = this.getContext();
                android.content.Intent v5_4 = new android.content.Intent("com.google.android.wearable.app.cn.UPDATE_ANDROID_WEAR").setPackage("com.google.android.wearable.app.cn");
                if (v4_2.getPackageManager().resolveActivity(v5_4, 65536) == null) {
                    v5_4 = new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse("market://details").buildUpon().appendQueryParameter("id", "com.google.android.wearable.app.cn").build());
                } else {
                }
                this.triggerNotAvailable(p8, 6, android.app.PendingIntent.getActivity(v3_3, 0, v5_4, 0));
                return;
            }
        }
        super.connect(p8);
        return;
    }

Method com.urbandroid.lux.MainActivity$5.onClick() calling method android.content.Intent.<init>()


    public void onClick()
    {
        this.this$0.startActivity(new android.content.Intent(this.this$0, com.urbandroid.lux.schedules.ScheduleActivity));
        return;
    }

Method com.urbandroid.lux.MainActivity$2.onClick() calling method android.content.Intent.<init>()


    public void onClick()
    {
        com.urbandroid.lux.MainActivity.goToMarket(this.this$0, new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse("market://details?id=com.urbandroid.lux.donate")));
        return;
    }

Method com.urbandroid.lux.MainActivity$20.onClick() calling method android.content.Intent.<init>()


    public void onClick()
    {
        android.content.Intent v0_1 = new android.content.Intent("android.intent.action.VIEW");
        v0_1.setData(android.net.Uri.parse("https://docs.google.com/spreadsheets/d/1Jse7DqJr4eNTca6_7rSBchpaX3eU6SgLo9V3ltBio5Q/edit?usp=sharing"));
        this.this$0.startActivity(v0_1);
        return;
    }

Method com.urbandroid.lux.MainActivity$17.onClick() calling method android.content.Intent.<init>()


    public void onClick()
    {
        com.urbandroid.lux.MainActivity v0 = this.this$0;
        v0.startActivity(new android.content.Intent(v0, com.urbandroid.lux.TourActivity));
        return;
    }

Method com.urbandroid.lux.smartlight.hue.PHHomeActivity$1.onAuthenticationRequired() calling method android.content.Intent.<init>()


    public void onAuthenticationRequired(com.philips.lighting.hue.sdk.PHAccessPoint p3)
    {
        android.util.Log.w("TwilightHUE", "Authentication Required.");
        com.urbandroid.lux.smartlight.hue.PHHomeActivity.access$000(this.this$0).startPushlinkAuthentication(p3);
        com.urbandroid.lux.smartlight.hue.PHHomeActivity v3_1 = this.this$0;
        v3_1.startActivity(new android.content.Intent(v3_1, com.urbandroid.lux.smartlight.hue.PHPushlinkActivity));
        return;
    }

Method com.urbandroid.lux.integration.taskerplugin.ui.EditEventActivity.finish() calling method android.content.Intent.<init>()


    public void finish()
    {
        if ((this.isCanceled()) || (-1 == this.mList.getCheckedItemPosition())) {
            super.finish();
        }
        if (this.mList.getCheckedItemPosition() >= 0) {
            String v0_3 = com.urbandroid.lux.integration.taskerplugin.TaskerEvent.values()[this.mList.getCheckedItemPosition()];
            android.content.Intent v2_3 = new android.content.Intent();
            v2_3.putExtra("com.twofortyfouram.locale.intent.extra.BUNDLE", com.urbandroid.lux.integration.taskerplugin.bundle.PluginBundleManager.generateBundle(this.getApplicationContext(), v0_3.getAction()));
            v2_3.putExtra("com.twofortyfouram.locale.intent.extra.BLURB", v0_3.getLabel(this));
            this.setResult(-1, v2_3);
            super.finish();
        }
        return;
    }

Method com.urbandroid.lux.integration.taskerplugin.ui.EditActionActivity.finish() calling method android.content.Intent.<init>()


    public void finish()
    {
        if ((this.isCanceled()) || (-1 == this.mList.getCheckedItemPosition())) {
            super.finish();
        }
        if (this.mList.getCheckedItemPosition() >= 0) {
            String v0_3 = com.urbandroid.lux.integration.taskerplugin.TaskerAction.values()[this.mList.getCheckedItemPosition()];
            android.content.Intent v2_3 = new android.content.Intent();
            v2_3.putExtra("com.twofortyfouram.locale.intent.extra.BUNDLE", com.urbandroid.lux.integration.taskerplugin.bundle.PluginBundleManager.generateBundle(this.getApplicationContext(), v0_3.getAction()));
            v2_3.putExtra("com.twofortyfouram.locale.intent.extra.BLURB", v0_3.getLabel(this));
            this.setResult(-1, v2_3);
            super.finish();
        }
        return;
    }

Method com.urbandroid.lux.context.Settings.scheduleProfileSwitch() calling method android.content.Intent.<init>()


    public void scheduleProfileSwitch(android.content.Context p14)
    {
        com.urbandroid.common.logging.Logger.logInfo("Alarm scheduleProfileSwitch()");
        java.util.Date v0_5 = this.getProfileSchedules();
        int v1_10 = System.currentTimeMillis();
        java.util.Date v0_11 = v0_5.iterator();
        String v7 = 0;
        String v5_0 = -1;
        while (v0_11.hasNext()) {
            int v8_3 = ((com.urbandroid.lux.schedules.Schedule) v0_11.next());
            long v9 = v8_3.getNextAlarm(p14);
            long v11_1 = new StringBuilder();
            v11_1.append("Alarm considering ");
            v11_1.append(v8_3);
            v11_1.append(" next time ");
            v11_1.append(new java.util.Date(v9));
            v11_1.append(" current candidate ");
            v11_1.append(new java.util.Date(v5_0));
            com.urbandroid.common.logging.Logger.logInfo(v11_1.toString());
            if (v9 > v1_10) {
                String v5_2;
                if (v5_0 != -1) {
                    if (v9 <= v5_0) {
                        v5_2 = v8_3.getProfile();
                    }
                } else {
                    v5_2 = v8_3.getProfile();
                }
                v7 = v5_2;
                v5_0 = v9;
            }
        }
        java.util.Date v0_2 = new StringBuilder();
        v0_2.append("Alarm ");
        v0_2.append(new java.util.Date(v5_0));
        v0_2.append(" ");
        v0_2.append(v7);
        com.urbandroid.common.logging.Logger.logInfo(v0_2.toString());
        java.util.Date v0_6 = new android.content.Intent(p14, com.urbandroid.lux.AbstractTwilightService.getServiceClass(p14));
        v0_6.putExtra("profile", v7);
        java.util.Date v0_7 = com.urbandroid.lux.util.PendingIntentCompat.getService(p14.getApplicationContext(), 0, v0_6, 134217728);
        String v14_2 = ((android.app.AlarmManager) p14.getSystemService("alarm"));
        v14_2.cancel(v0_7);
        if ((v5_0 > -1) && (v7 != null)) {
            int v1_9 = android.os.Build$VERSION.SDK_INT;
            if (v1_9 < 23) {
                if (v1_9 < 19) {
                    v14_2.set(0, v5_0, v0_7);
                } else {
                    v14_2.setExact(0, v5_0, v0_7);
                }
            } else {
                com.urbandroid.lux.util.AlarmManagerCompat.setExactAndAllowWhileIdle(v14_2, 0, v5_0, v0_7);
            }
            String v14_4 = new StringBuilder();
            v14_4.append("Alarm scheduled ");
            v14_4.append(new java.util.Date(v5_0));
            com.urbandroid.common.logging.Logger.logInfo(v14_4.toString());
        }
        return;
    }

Method com.urbandroid.lux.TwilightService.startForeground() calling method android.content.Intent.<init>()


    public void startForeground(boolean p11)
    {
        int v1_3;
        Exception v0_11;
        Exception v0_1 = new StringBuilder();
        v0_1.append("Start foreground ");
        v0_1.append(p11);
        com.urbandroid.common.logging.Logger.logInfo(v0_1.toString());
        if (p11 == null) {
            v0_11 = 2131230906;
            v1_3 = this.getString(2131820722);
        } else {
            v0_11 = 2131230907;
            v1_3 = this.getString(2131820721);
        }
        int v2_2 = new android.content.Intent(this, com.urbandroid.lux.TwilightService);
        v2_2.putExtra("quick_settings", 1);
        int v2_3 = com.urbandroid.lux.util.PendingIntentCompat.getService(this, 9728672, v2_2, 134217728);
        int v4_3 = new android.content.Intent(this, com.urbandroid.lux.TwilightService);
        v4_3.putExtra("toggle", 1);
        int v4_4 = com.urbandroid.lux.util.PendingIntentCompat.getService(this, 36812, v4_3, 134217728);
        android.app.PendingIntent v7_1 = new android.content.Intent(this, com.urbandroid.lux.TwilightService);
        v7_1.putExtra("force", 1);
        android.app.PendingIntent v7_2 = com.urbandroid.lux.util.PendingIntentCompat.getService(this, 73219873, v7_1, 134217728);
        int v8_3 = new android.content.Intent(this, com.urbandroid.lux.MainActivity);
        v8_3.setFlags(268435456);
        long v3_5 = android.app.PendingIntent.getActivity(this, 73219873, v8_3, 134217728);
        Exception v0_15 = new android.support.v4.app.NotificationCompat$Builder(this, "foreground").setSmallIcon(v0_11).setColor(this.getResources().getColor(2131099874));
        if (!com.urbandroid.lux.context.AppContext.settings().isQuickSettings()) {
            v2_3 = v4_4;
        }
        android.app.Notification v11_5;
        int v2_5;
        Exception v0_17 = v0_15.setContentIntent(v2_3).setPriority(-2);
        if (p11 == null) {
            v11_5 = this.getResources();
            v2_5 = 2131820760;
        } else {
            v11_5 = this.getResources();
            v2_5 = 2131820741;
        }
        Exception v0_20;
        int v2_6 = 0;
        android.app.Notification v11_7 = v0_17.addAction(0, v11_5.getString(v2_5), v4_4);
        if (!com.urbandroid.lux.context.AppContext.settings().isForced()) {
            v0_20 = 2131820661;
        } else {
            v0_20 = 2131820656;
        }
        android.app.Notification v11_3 = v11_7.addAction(0, this.getString(v0_20), v7_2).addAction(v2_6, this.getResources().getString(2131820764), v3_5).setShowWhen(v2_6).setContentText(v1_3);
        if (android.os.Build$VERSION.SDK_INT < 24) {
            v11_3.setContentTitle(this.getString(2131820588));
        }
        if ((android.os.Build$VERSION.SDK_INT == 26) && (com.urbandroid.lux.context.AppContext.settings().isHideIcon())) {
            v11_3.setPriority(-1);
        }
        Exception v0_10 = new android.app.Notification(0, this.getString(2131820588), System.currentTimeMillis());
        v0_10.flags = (v0_10.flags | 32);
        android.app.Notification v11_4 = v11_3.build();
        try {
            if ((!com.urbandroid.lux.context.AppContext.settings().isHideIcon()) || (android.os.Build$VERSION.SDK_INT > 17)) {
                this.startForeground(36812, v11_4);
            } else {
                this.startForeground(36812, v0_10);
            }
        } catch (Exception v0_12) {
            com.urbandroid.common.logging.Logger.logSevere("Service: ", v0_12);
            this.startForeground(36812, v11_4);
        }
        return;
    }

Method com.urbandroid.lux.TwilightService.startForeground() calling method android.content.Intent.<init>()


    public void startForeground(boolean p11)
    {
        Exception v0_11;
        int v1_3;
        Exception v0_1 = new StringBuilder();
        v0_1.append("Start foreground ");
        v0_1.append(p11);
        com.urbandroid.common.logging.Logger.logInfo(v0_1.toString());
        if (p11 == null) {
            v0_11 = 2131230906;
            v1_3 = this.getString(2131820722);
        } else {
            v0_11 = 2131230907;
            v1_3 = this.getString(2131820721);
        }
        int v2_2 = new android.content.Intent(this, com.urbandroid.lux.TwilightService);
        v2_2.putExtra("quick_settings", 1);
        int v2_3 = com.urbandroid.lux.util.PendingIntentCompat.getService(this, 9728672, v2_2, 134217728);
        int v4_3 = new android.content.Intent(this, com.urbandroid.lux.TwilightService);
        v4_3.putExtra("toggle", 1);
        int v4_4 = com.urbandroid.lux.util.PendingIntentCompat.getService(this, 36812, v4_3, 134217728);
        android.app.PendingIntent v7_1 = new android.content.Intent(this, com.urbandroid.lux.TwilightService);
        v7_1.putExtra("force", 1);
        android.app.PendingIntent v7_2 = com.urbandroid.lux.util.PendingIntentCompat.getService(this, 73219873, v7_1, 134217728);
        int v8_3 = new android.content.Intent(this, com.urbandroid.lux.MainActivity);
        v8_3.setFlags(268435456);
        long v3_5 = android.app.PendingIntent.getActivity(this, 73219873, v8_3, 134217728);
        Exception v0_15 = new android.support.v4.app.NotificationCompat$Builder(this, "foreground").setSmallIcon(v0_11).setColor(this.getResources().getColor(2131099874));
        if (!com.urbandroid.lux.context.AppContext.settings().isQuickSettings()) {
            v2_3 = v4_4;
        }
        android.app.Notification v11_5;
        int v2_5;
        Exception v0_17 = v0_15.setContentIntent(v2_3).setPriority(-2);
        if (p11 == null) {
            v11_5 = this.getResources();
            v2_5 = 2131820760;
        } else {
            v11_5 = this.getResources();
            v2_5 = 2131820741;
        }
        Exception v0_20;
        int v2_6 = 0;
        android.app.Notification v11_7 = v0_17.addAction(0, v11_5.getString(v2_5), v4_4);
        if (!com.urbandroid.lux.context.AppContext.settings().isForced()) {
            v0_20 = 2131820661;
        } else {
            v0_20 = 2131820656;
        }
        android.app.Notification v11_3 = v11_7.addAction(0, this.getString(v0_20), v7_2).addAction(v2_6, this.getResources().getString(2131820764), v3_5).setShowWhen(v2_6).setContentText(v1_3);
        if (android.os.Build$VERSION.SDK_INT < 24) {
            v11_3.setContentTitle(this.getString(2131820588));
        }
        if ((android.os.Build$VERSION.SDK_INT == 26) && (com.urbandroid.lux.context.AppContext.settings().isHideIcon())) {
            v11_3.setPriority(-1);
        }
        Exception v0_10 = new android.app.Notification(0, this.getString(2131820588), System.currentTimeMillis());
        v0_10.flags = (v0_10.flags | 32);
        android.app.Notification v11_4 = v11_3.build();
        try {
            if ((!com.urbandroid.lux.context.AppContext.settings().isHideIcon()) || (android.os.Build$VERSION.SDK_INT > 17)) {
                this.startForeground(36812, v11_4);
            } else {
                this.startForeground(36812, v0_10);
            }
        } catch (Exception v0_12) {
            com.urbandroid.common.logging.Logger.logSevere("Service: ", v0_12);
            this.startForeground(36812, v11_4);
        }
        return;
    }

Method com.urbandroid.lux.TwilightService.startForeground() calling method android.content.Intent.<init>()


    public void startForeground(boolean p11)
    {
        Exception v0_11;
        int v1_3;
        Exception v0_1 = new StringBuilder();
        v0_1.append("Start foreground ");
        v0_1.append(p11);
        com.urbandroid.common.logging.Logger.logInfo(v0_1.toString());
        if (p11 == null) {
            v0_11 = 2131230906;
            v1_3 = this.getString(2131820722);
        } else {
            v0_11 = 2131230907;
            v1_3 = this.getString(2131820721);
        }
        int v2_2 = new android.content.Intent(this, com.urbandroid.lux.TwilightService);
        v2_2.putExtra("quick_settings", 1);
        int v2_3 = com.urbandroid.lux.util.PendingIntentCompat.getService(this, 9728672, v2_2, 134217728);
        int v4_3 = new android.content.Intent(this, com.urbandroid.lux.TwilightService);
        v4_3.putExtra("toggle", 1);
        int v4_4 = com.urbandroid.lux.util.PendingIntentCompat.getService(this, 36812, v4_3, 134217728);
        android.app.PendingIntent v7_1 = new android.content.Intent(this, com.urbandroid.lux.TwilightService);
        v7_1.putExtra("force", 1);
        android.app.PendingIntent v7_2 = com.urbandroid.lux.util.PendingIntentCompat.getService(this, 73219873, v7_1, 134217728);
        int v8_3 = new android.content.Intent(this, com.urbandroid.lux.MainActivity);
        v8_3.setFlags(268435456);
        long v3_5 = android.app.PendingIntent.getActivity(this, 73219873, v8_3, 134217728);
        Exception v0_15 = new android.support.v4.app.NotificationCompat$Builder(this, "foreground").setSmallIcon(v0_11).setColor(this.getResources().getColor(2131099874));
        if (!com.urbandroid.lux.context.AppContext.settings().isQuickSettings()) {
            v2_3 = v4_4;
        }
        int v2_5;
        android.app.Notification v11_5;
        Exception v0_17 = v0_15.setContentIntent(v2_3).setPriority(-2);
        if (p11 == null) {
            v11_5 = this.getResources();
            v2_5 = 2131820760;
        } else {
            v11_5 = this.getResources();
            v2_5 = 2131820741;
        }
        Exception v0_20;
        int v2_6 = 0;
        android.app.Notification v11_7 = v0_17.addAction(0, v11_5.getString(v2_5), v4_4);
        if (!com.urbandroid.lux.context.AppContext.settings().isForced()) {
            v0_20 = 2131820661;
        } else {
            v0_20 = 2131820656;
        }
        android.app.Notification v11_3 = v11_7.addAction(0, this.getString(v0_20), v7_2).addAction(v2_6, this.getResources().getString(2131820764), v3_5).setShowWhen(v2_6).setContentText(v1_3);
        if (android.os.Build$VERSION.SDK_INT < 24) {
            v11_3.setContentTitle(this.getString(2131820588));
        }
        if ((android.os.Build$VERSION.SDK_INT == 26) && (com.urbandroid.lux.context.AppContext.settings().isHideIcon())) {
            v11_3.setPriority(-1);
        }
        Exception v0_10 = new android.app.Notification(0, this.getString(2131820588), System.currentTimeMillis());
        v0_10.flags = (v0_10.flags | 32);
        android.app.Notification v11_4 = v11_3.build();
        try {
            if ((!com.urbandroid.lux.context.AppContext.settings().isHideIcon()) || (android.os.Build$VERSION.SDK_INT > 17)) {
                this.startForeground(36812, v11_4);
            } else {
                this.startForeground(36812, v0_10);
            }
        } catch (Exception v0_12) {
            com.urbandroid.common.logging.Logger.logSevere("Service: ", v0_12);
            this.startForeground(36812, v11_4);
        }
        return;
    }

Method com.urbandroid.common.error.EmailIntentErrorDispatcher.sendDebugViaEmailIntent() calling method android.content.Intent.<init>()


    public Boolean sendDebugViaEmailIntent(String p12, String p13, com.urbandroid.common.error.ErrorReport$Type p14, Throwable p15)
    {
        String v0_3;
        String v0_8 = com.urbandroid.common.error.EmailIntentErrorDispatcher$1.$SwitchMap$com$urbandroid$common$error$ErrorReport$Type[p14.ordinal()];
        if (v0_8 == 1) {
            v0_3 = this.configuration.getOnRecoveryMessageBody();
        } else {
            if (v0_8 == 2) {
                v0_3 = this.configuration.getMessageBody();
            } else {
                if (v0_8 == 3) {
                    v0_3 = this.configuration.getOnDemandMessageBody();
                } else {
                    if (v0_8 != 4) {
                        Boolean v13_26 = new StringBuilder();
                        v13_26.append("Unexpected report type: ");
                        v13_26.append(p14);
                        throw new RuntimeException(v13_26.toString());
                    } else {
                        v0_3 = this.configuration.getOnAssertionFailedMessageBody();
                    }
                }
            }
        }
        long v2_3 = this.getSaveDebugFile(p14);
        long v14_6 = this.getSubmitDebugFile(p14);
        try {
            com.urbandroid.common.file.FileCopyUtils.copyPrivateFileToSdCardFile(this.contextActivity, v2_3.getName(), v14_6.getAbsolutePath());
        } catch (String v3_4) {
            com.urbandroid.common.logging.Logger.logSevere(v3_4);
        }
        if ((!v14_6.exists()) || ((v14_6.length() <= 0) || (!v14_6.canRead()))) {
            String v3_8 = 0;
        } else {
            v3_8 = 1;
        }
        String v6_0;
        String v5_3 = new StringBuilder();
        v5_3.append("Can use SD Card for report: ");
        v5_3.append(v3_8);
        com.urbandroid.common.logging.Logger.logInfo(v5_3.toString());
        if (v3_8 != null) {
            v6_0 = "";
        } else {
            v6_0 = this.loadErrorReport(v2_3);
        }
        android.content.Intent v7_2 = new android.content.Intent("android.intent.action.SEND");
        String v8_3 = new StringBuilder();
        v8_3.append(this.applicationName);
        v8_3.append(" ");
        v8_3.append(this.configuration.getSubject());
        v8_3.append(" - ");
        v8_3.append(this.getVersionString());
        String v8_0 = v8_3.toString();
        if (p12 != null) {
            String v10_9 = new StringBuilder();
            v10_9.append(v8_0);
            v10_9.append(" [");
            v10_9.append(p12);
            v10_9.append("]");
            v8_0 = v10_9.toString();
        }
        Boolean v12_3 = new StringBuilder();
        v12_3.append("");
        v12_3.append("\n");
        v12_3.append(v0_3);
        v12_3.append("\n\n");
        Boolean v12_4 = v12_3.toString();
        if (p13 != null) {
            String v10_2 = new StringBuilder();
            v10_2.append(v12_4);
            v10_2.append("Your comment:\n");
            v10_2.append(p13);
            v10_2.append("\n\n");
            v12_4 = v10_2.toString();
        }
        if (p15 != null) {
            Boolean v12_9;
            Boolean v13_2 = new StringBuilder();
            v13_2.append(v12_4);
            v13_2.append(p15.getClass().getSimpleName());
            if (p15.getMessage() == null) {
                v12_9 = "";
            } else {
                Boolean v12_11 = new StringBuilder();
                v12_11.append(": ");
                v12_11.append(p15.getMessage());
                v12_9 = v12_11.toString();
            }
            v13_2.append(v12_9);
            Boolean v12_12 = v13_2.toString();
            Boolean v13_4 = new StringBuilder();
            v13_4.append(v12_12);
            v13_4.append("\n\n");
            v12_4 = v13_4.toString();
        }
        String v15_5;
        Boolean v13_6 = new StringBuilder();
        v13_6.append(v12_4);
        v13_6.append(android.os.Build.MANUFACTURER);
        v13_6.append(" ");
        v13_6.append(android.os.Build.MODEL);
        v13_6.append("\n\n");
        Boolean v12_15 = v13_6.toString();
        v7_2.putExtra("android.intent.extra.EMAIL", this.configuration.getMailTo());
        Boolean v13_10 = new StringBuilder();
        v13_10.append(v12_15);
        if (v3_8 == null) {
            String v15_4 = new StringBuilder();
            v15_4.append(v6_0);
            v15_4.append("\n\n");
            v15_5 = v15_4.toString();
        } else {
            v15_5 = "";
        }
        Boolean v13_14;
        v13_10.append(v15_5);
        v7_2.putExtra("android.intent.extra.TEXT", v13_10.toString());
        v7_2.putExtra("android.intent.extra.SUBJECT", v8_0);
        if (!com.urbandroid.common.util.Environment.isMOrGreater()) {
            v13_14 = android.net.Uri.fromFile(v14_6);
        } else {
            Boolean v13_15 = this.contextActivity;
            String v0_6 = new StringBuilder();
            v0_6.append(this.contextActivity.getPackageName());
            v0_6.append(".fileprovider");
            v13_14 = android.support.v4.content.FileProvider.getUriForFile(v13_15, v0_6.toString(), v14_6);
        }
        Boolean v13_24;
        v7_2.putExtra("android.intent.extra.STREAM", v13_14);
        v7_2.setType("message/rfc822");
        if (Integer.valueOf(this.contextActivity.getPackageManager().queryIntentActivities(v7_2, 0).size()).intValue() <= 0) {
            v13_24 = 0;
        } else {
            v13_24 = 1;
        }
        Boolean v13_25 = Boolean.valueOf(v13_24);
        if (!v13_25.booleanValue()) {
            if (v6_0.equals("")) {
                v6_0 = this.loadErrorReport(v2_3);
            }
            Boolean v12_26;
            Boolean v13_29 = new StringBuilder();
            v13_29.append(v12_15);
            v13_29.append(v6_0);
            v13_29.append(" \n\n");
            v7_2.putExtra("android.intent.extra.TEXT", v13_29.toString());
            v7_2.setType("text/plain");
            if (Integer.valueOf(this.contextActivity.getPackageManager().queryIntentActivities(v7_2, 0).size()).intValue() <= 0) {
                v12_26 = 0;
            } else {
                v12_26 = 1;
            }
            v13_25 = Boolean.valueOf(v12_26);
        }
        if (v2_3.exists()) {
            v2_3.delete();
        }
        if (!v13_25.booleanValue()) {
            com.urbandroid.common.logging.Logger.logSevere("No intent to handle sending of message!");
            return Boolean.valueOf(0);
        } else {
            v7_2.setFlags(268697600);
            Boolean v12_33 = new StringBuilder();
            v12_33.append("Email intent sent to ");
            v12_33.append(java.util.Arrays.toString(this.configuration.getMailTo()));
            com.urbandroid.common.logging.Logger.logDebug(v12_33.toString());
            ((android.app.AlarmManager) this.contextActivity.getSystemService("alarm")).set(0, (System.currentTimeMillis() + 1000), android.app.PendingIntent.getActivity(this.contextActivity, 0, v7_2, 268435456));
            return Boolean.valueOf(1);
        }
    }

Method com.google.android.gms.wearable.WearableListenerService.onCreate() calling method android.content.Intent.<init>()


    public void onCreate()
    {
        super.onCreate();
        this.service = new android.content.ComponentName(this, this.getClass().getName());
        if (android.util.Log.isLoggable("WearableLS", 3)) {
            int v1_2 = String.valueOf(this.service);
            StringBuilder v3_1 = new StringBuilder((String.valueOf(v1_2).length() + 10));
            v3_1.append("onCreate: ");
            v3_1.append(v1_2);
            android.util.Log.d("WearableLS", v3_1.toString());
        }
        this.zzad = new com.google.android.gms.wearable.WearableListenerService$zzc(this, this.getLooper());
        this.zzaf = new android.content.Intent("com.google.android.gms.wearable.BIND_LISTENER");
        this.zzaf.setComponent(this.service);
        this.zzae = new com.google.android.gms.wearable.WearableListenerService$zzd(this, 0);
        return;
    }

Method android.support.v7.widget.SearchView.createVoiceWebSearchIntent() calling method android.content.Intent.<init>()


    private android.content.Intent createVoiceWebSearchIntent(android.content.Intent p2, android.app.SearchableInfo p3)
    {
        String v2_2;
        android.content.Intent v0_1 = new android.content.Intent(p2);
        String v2_1 = p3.getSearchActivity();
        if (v2_1 != null) {
            v2_2 = v2_1.flattenToShortString();
        } else {
            v2_2 = 0;
        }
        v0_1.putExtra("calling_package", v2_2);
        return v0_1;
    }

Method android.support.v7.widget.SearchView.createVoiceAppSearchIntent() calling method android.content.Intent.<init>()


    private android.content.Intent createVoiceAppSearchIntent(android.content.Intent p10, android.app.SearchableInfo p11)
    {
        android.content.ComponentName v0 = p11.getSearchActivity();
        android.app.PendingIntent v1_2 = new android.content.Intent("android.intent.action.SEARCH");
        v1_2.setComponent(v0);
        android.app.PendingIntent v1_0 = android.app.PendingIntent.getActivity(this.getContext(), 0, v1_2, 1073741824);
        android.os.Bundle v2_1 = new android.os.Bundle();
        android.content.Intent v3_0 = this.mAppSearchData;
        if (v3_0 != null) {
            v2_1.putParcelable("app_data", v3_0);
        }
        String v5_1;
        android.content.Intent v3_2 = new android.content.Intent(p10);
        String v10_1 = 1;
        int v4_1 = this.getResources();
        if (p11.getVoiceLanguageModeId() == 0) {
            v5_1 = "free_form";
        } else {
            v5_1 = v4_1.getString(p11.getVoiceLanguageModeId());
        }
        int v6_1;
        String v7 = 0;
        if (p11.getVoicePromptTextId() == 0) {
            v6_1 = 0;
        } else {
            v6_1 = v4_1.getString(p11.getVoicePromptTextId());
        }
        int v4_2;
        if (p11.getVoiceLanguageId() == 0) {
            v4_2 = 0;
        } else {
            v4_2 = v4_1.getString(p11.getVoiceLanguageId());
        }
        if (p11.getVoiceMaxResults() != 0) {
            v10_1 = p11.getVoiceMaxResults();
        }
        v3_2.putExtra("android.speech.extra.LANGUAGE_MODEL", v5_1);
        v3_2.putExtra("android.speech.extra.PROMPT", v6_1);
        v3_2.putExtra("android.speech.extra.LANGUAGE", v4_2);
        v3_2.putExtra("android.speech.extra.MAX_RESULTS", v10_1);
        if (v0 != null) {
            v7 = v0.flattenToShortString();
        }
        v3_2.putExtra("calling_package", v7);
        v3_2.putExtra("android.speech.extra.RESULTS_PENDINGINTENT", v1_0);
        v3_2.putExtra("android.speech.extra.RESULTS_PENDINGINTENT_BUNDLE", v2_1);
        return v3_2;
    }

Method android.support.v7.widget.SearchView.createIntent() calling method android.content.Intent.<init>()


    private android.content.Intent createIntent(String p2, android.net.Uri p3, String p4, String p5, int p6, String p7)
    {
        android.content.Intent v0_1 = new android.content.Intent(p2);
        v0_1.addFlags(268435456);
        if (p3 != null) {
            v0_1.setData(p3);
        }
        v0_1.putExtra("user_query", this.mUserQuery);
        if (p5 != null) {
            v0_1.putExtra("query", p5);
        }
        if (p4 != null) {
            v0_1.putExtra("intent_extra_data_key", p4);
        }
        android.content.ComponentName v2_3 = this.mAppSearchData;
        if (v2_3 != null) {
            v0_1.putExtra("app_data", v2_3);
        }
        if (p6 != 0) {
            v0_1.putExtra("action_key", p6);
            v0_1.putExtra("action_msg", p7);
        }
        v0_1.setComponent(this.mSearchable.getSearchActivity());
        return v0_1;
    }

Method android.support.v7.widget.SearchView.<init>() calling method android.content.Intent.<init>()


    public SearchView(android.content.Context p4, android.util.AttributeSet p5, int p6)
    {
        super(p4, p5, p6);
        super.mSearchSrcTextViewBounds = new android.graphics.Rect();
        super.mSearchSrtTextViewBoundsExpanded = new android.graphics.Rect();
        int v1_1 = new int[2];
        super.mTemp = v1_1;
        String v0_1 = new int[2];
        super.mTemp2 = v0_1;
        super.mUpdateDrawableStateRunnable = new android.support.v7.widget.SearchView$1(super);
        super.mReleaseCursorRunnable = new android.support.v7.widget.SearchView$2(super);
        super.mOutsideDrawablesCache = new java.util.WeakHashMap();
        super.mOnClickListener = new android.support.v7.widget.SearchView$5(super);
        super.mTextKeyListener = new android.support.v7.widget.SearchView$6(super);
        super.mOnEditorActionListener = new android.support.v7.widget.SearchView$7(super);
        super.mOnItemClickListener = new android.support.v7.widget.SearchView$8(super);
        super.mOnItemSelectedListener = new android.support.v7.widget.SearchView$9(super);
        super.mTextWatcher = new android.support.v7.widget.SearchView$10(super);
        android.support.v7.widget.SearchView$4 v5_5 = android.support.v7.widget.TintTypedArray.obtainStyledAttributes(p4, p5, android.support.v7.appcompat.R$styleable.SearchView, p6, 0);
        android.view.LayoutInflater.from(p4).inflate(v5_5.getResourceId(android.support.v7.appcompat.R$styleable.SearchView_layout, android.support.v7.appcompat.R$layout.abc_search_view), super, 1);
        super.mSearchSrcTextView = ((android.support.v7.widget.SearchView$SearchAutoComplete) super.findViewById(android.support.v7.appcompat.R$id.search_src_text));
        super.mSearchSrcTextView.setSearchView(super);
        super.mSearchEditFrame = super.findViewById(android.support.v7.appcompat.R$id.search_edit_frame);
        super.mSearchPlate = super.findViewById(android.support.v7.appcompat.R$id.search_plate);
        super.mSubmitArea = super.findViewById(android.support.v7.appcompat.R$id.submit_area);
        super.mSearchButton = ((android.widget.ImageView) super.findViewById(android.support.v7.appcompat.R$id.search_button));
        super.mGoButton = ((android.widget.ImageView) super.findViewById(android.support.v7.appcompat.R$id.search_go_btn));
        super.mCloseButton = ((android.widget.ImageView) super.findViewById(android.support.v7.appcompat.R$id.search_close_btn));
        super.mVoiceButton = ((android.widget.ImageView) super.findViewById(android.support.v7.appcompat.R$id.search_voice_btn));
        super.mCollapsedIcon = ((android.widget.ImageView) super.findViewById(android.support.v7.appcompat.R$id.search_mag_icon));
        android.support.v4.view.ViewCompat.setBackground(super.mSearchPlate, v5_5.getDrawable(android.support.v7.appcompat.R$styleable.SearchView_queryBackground));
        android.support.v4.view.ViewCompat.setBackground(super.mSubmitArea, v5_5.getDrawable(android.support.v7.appcompat.R$styleable.SearchView_submitBackground));
        super.mSearchButton.setImageDrawable(v5_5.getDrawable(android.support.v7.appcompat.R$styleable.SearchView_searchIcon));
        super.mGoButton.setImageDrawable(v5_5.getDrawable(android.support.v7.appcompat.R$styleable.SearchView_goIcon));
        super.mCloseButton.setImageDrawable(v5_5.getDrawable(android.support.v7.appcompat.R$styleable.SearchView_closeIcon));
        super.mVoiceButton.setImageDrawable(v5_5.getDrawable(android.support.v7.appcompat.R$styleable.SearchView_voiceIcon));
        super.mCollapsedIcon.setImageDrawable(v5_5.getDrawable(android.support.v7.appcompat.R$styleable.SearchView_searchIcon));
        super.mSearchHintIcon = v5_5.getDrawable(android.support.v7.appcompat.R$styleable.SearchView_searchHintIcon);
        android.support.v7.widget.TooltipCompat.setTooltipText(super.mSearchButton, super.getResources().getString(android.support.v7.appcompat.R$string.abc_searchview_description_search));
        super.mSuggestionRowLayout = v5_5.getResourceId(android.support.v7.appcompat.R$styleable.SearchView_suggestionRowLayout, android.support.v7.appcompat.R$layout.abc_search_dropdown_item_icons_2line);
        super.mSuggestionCommitIconResId = v5_5.getResourceId(android.support.v7.appcompat.R$styleable.SearchView_commitIcon, 0);
        super.mSearchButton.setOnClickListener(super.mOnClickListener);
        super.mCloseButton.setOnClickListener(super.mOnClickListener);
        super.mGoButton.setOnClickListener(super.mOnClickListener);
        super.mVoiceButton.setOnClickListener(super.mOnClickListener);
        super.mSearchSrcTextView.setOnClickListener(super.mOnClickListener);
        super.mSearchSrcTextView.addTextChangedListener(super.mTextWatcher);
        super.mSearchSrcTextView.setOnEditorActionListener(super.mOnEditorActionListener);
        super.mSearchSrcTextView.setOnItemClickListener(super.mOnItemClickListener);
        super.mSearchSrcTextView.setOnItemSelectedListener(super.mOnItemSelectedListener);
        super.mSearchSrcTextView.setOnKeyListener(super.mTextKeyListener);
        super.mSearchSrcTextView.setOnFocusChangeListener(new android.support.v7.widget.SearchView$3(super));
        super.setIconifiedByDefault(v5_5.getBoolean(android.support.v7.appcompat.R$styleable.SearchView_iconifiedByDefault, 1));
        boolean v4_28 = v5_5.getDimensionPixelSize(android.support.v7.appcompat.R$styleable.SearchView_android_maxWidth, -1);
        if (v4_28 != -1) {
            super.setMaxWidth(v4_28);
        }
        super.mDefaultQueryHint = v5_5.getText(android.support.v7.appcompat.R$styleable.SearchView_defaultQueryHint);
        super.mQueryHint = v5_5.getText(android.support.v7.appcompat.R$styleable.SearchView_queryHint);
        boolean v4_34 = v5_5.getInt(android.support.v7.appcompat.R$styleable.SearchView_android_imeOptions, -1);
        if (v4_34 != -1) {
            super.setImeOptions(v4_34);
        }
        boolean v4_36 = v5_5.getInt(android.support.v7.appcompat.R$styleable.SearchView_android_inputType, -1);
        if (v4_36 != -1) {
            super.setInputType(v4_36);
        }
        super.setFocusable(v5_5.getBoolean(android.support.v7.appcompat.R$styleable.SearchView_android_focusable, 1));
        v5_5.recycle();
        super.mVoiceWebSearchIntent = new android.content.Intent("android.speech.action.WEB_SEARCH");
        super.mVoiceWebSearchIntent.addFlags(268435456);
        super.mVoiceWebSearchIntent.putExtra("android.speech.extra.LANGUAGE_MODEL", "web_search");
        super.mVoiceAppSearchIntent = new android.content.Intent("android.speech.action.RECOGNIZE_SPEECH");
        super.mVoiceAppSearchIntent.addFlags(268435456);
        super.mDropDownAnchor = super.findViewById(super.mSearchSrcTextView.getDropDownAnchor());
        boolean v4_49 = super.mDropDownAnchor;
        if (v4_49) {
            v4_49.addOnLayoutChangeListener(new android.support.v7.widget.SearchView$4(super));
        }
        super.updateViewsVisibility(super.mIconifiedByDefault);
        super.updateQueryHint();
        return;
    }

Method android.support.v7.view.menu.MenuBuilder.addIntentOptions() calling method android.content.Intent.<init>()


    public int addIntentOptions(int p8, int p9, int p10, android.content.ComponentName p11, android.content.Intent[] p12, android.content.Intent p13, int p14, android.view.MenuItem[] p15)
    {
        int v2;
        android.content.pm.PackageManager v0_1 = this.mContext.getPackageManager();
        int v1 = 0;
        java.util.List v11_1 = v0_1.queryIntentActivityOptions(p11, p12, p13, 0);
        if (v11_1 == null) {
            v2 = 0;
        } else {
            v2 = v11_1.size();
        }
        if ((p14 & 1) == 0) {
            this.removeGroup(p8);
        }
        while (v1 < v2) {
            android.view.MenuItem v4_1;
            int v14_3 = ((android.content.pm.ResolveInfo) v11_1.get(v1));
            android.view.MenuItem v4_0 = v14_3.specificIndex;
            if (v4_0 >= null) {
                v4_1 = p12[v4_0];
            } else {
                v4_1 = p13;
            }
            android.view.MenuItem v3_1 = new android.content.Intent(v4_1);
            v3_1.setComponent(new android.content.ComponentName(v14_3.activityInfo.applicationInfo.packageName, v14_3.activityInfo.name));
            android.view.MenuItem v3_2 = this.add(p8, p9, p10, v14_3.loadLabel(v0_1)).setIcon(v14_3.loadIcon(v0_1)).setIntent(v3_1);
            if (p15 != null) {
                int v14_4 = v14_3.specificIndex;
                if (v14_4 >= 0) {
                    p15[v14_4] = v3_2;
                }
            }
            v1++;
        }
        return v2;
    }

Method android.support.v4.app.JobIntentService$CompatWorkEnqueuer.enqueueWork() calling method android.content.Intent.<init>()


    void enqueueWork(android.content.Intent p3)
    {
        long v0_1 = new android.content.Intent(p3);
        v0_1.setComponent(this.mComponentName);
        if (this.mContext.startService(v0_1) != null) {
            try {
                if (!this.mLaunchingService) {
                    this.mLaunchingService = 1;
                    if (!this.mServiceProcessing) {
                        this.mLaunchWakeLock.acquire(60000);
                    }
                }
            } catch (android.os.PowerManager$WakeLock v3_4) {
                throw v3_4;
            }
        }
        return;
    }

Method com.urbandroid.lux.ui.TwilightView.applyBrightness() calling method android.content.Intent.<init>()


    public static void applyBrightness(android.content.Context p2, int p3)
    {
        android.content.Intent v0_1 = new StringBuilder();
        v0_1.append("VIEW: Applying brightness ");
        v0_1.append(p3);
        com.urbandroid.common.logging.Logger.logInfo(v0_1.toString());
        android.content.Intent v0_2 = new android.content.Intent(p2, com.urbandroid.lux.DummyBrightnessActivity);
        v0_2.setFlags(268435456);
        v0_2.putExtra("VIEW: brightness value", (((float) p3) / 1132396544));
        p2.startActivity(v0_2);
        return;
    }

Method com.urbandroid.lux.ui.QuickSettingsView$9.onItemSelected() calling method android.content.Intent.<init>()


    public void onItemSelected(android.widget.AdapterView p1, android.view.View p2, int p3, long p4)
    {
        if (p3 > null) {
            android.content.Context v1_4 = com.urbandroid.lux.context.AppContext.settings().isBacklightControl();
            android.content.Context v2_7 = ((String) this.val$profileAdapter.getItem(p3));
            com.urbandroid.common.logging.Logger.logInfo("Changing profile ");
            com.urbandroid.lux.context.AppContext.settings().setProfileChanged(1);
            com.urbandroid.lux.context.AppContext.settings().setCurrentProfile(v2_7);
            com.urbandroid.lux.context.AppContext.settings().loadProfile(v2_7);
            if ((!com.urbandroid.lux.context.AppContext.settings().isBacklightControl()) && (v1_4 != null)) {
                com.urbandroid.lux.ui.TwilightView.revertBrightness(this.this$0.getContext());
            }
            com.urbandroid.lux.ui.QuickSettingsView.access$300(this.this$0, com.urbandroid.lux.context.AppContext.settings().isForced(), com.urbandroid.lux.ui.QuickSettingsView.access$400(this.this$0));
            com.urbandroid.lux.ui.QuickSettingsView.access$500(this.this$0);
            android.content.Context v1_7 = new android.content.Intent(this.this$0.getContext(), com.urbandroid.lux.TwilightService);
            v1_7.putExtra("profile", ((String) this.val$profileAdapter.getItem(p3)));
            android.support.v4.content.ContextCompat.startForegroundService(this.this$0.getContext(), v1_7);
            android.content.Context v1_9 = new android.content.Intent("com.urbandroid.lux.ACTION_REFRESH_PROFILE");
            v1_9.putExtra("profile", v2_7);
            v1_9.setPackage(this.this$0.getContext().getPackageName());
            this.this$0.getContext().sendBroadcast(v1_9);
            this.this$0.hide();
        }
        return;
    }

Method com.urbandroid.lux.ui.QuickSettingsView$8.run() calling method android.content.Intent.<init>()


    public void run()
    {
        android.content.Intent v0_1 = new android.content.Intent(this.this$0.getContext(), com.urbandroid.lux.DummyBrightnessActivity);
        v0_1.setFlags(268435456);
        this.this$0.getContext().startActivity(v0_1);
        return;
    }

Method com.urbandroid.lux.ui.QuickSettingsView$7.onClick() calling method android.content.Intent.<init>()


    public void onClick(android.view.View p3)
    {
        com.urbandroid.lux.ui.QuickSettingsView v3_2 = new android.content.Intent(this.this$0.getContext(), com.urbandroid.lux.MainActivity);
        v3_2.setFlags(268435456);
        this.this$0.getContext().startActivity(v3_2);
        this.this$0.hide();
        return;
    }

Method com.urbandroid.lux.ui.LocationView.onTouchEvent() calling method android.content.Intent.<init>()


    public boolean onTouchEvent(android.view.MotionEvent p5)
    {
        if (p5.getAction() == 0) {
            com.urbandroid.lux.context.AppContext.settings().setLocation(new com.urbandroid.lux.LocationService$Location(this.getLat(Math.max(Math.min(Math.round(p5.getY()), (this.height - 1)), 1)), this.getLon(Math.max(Math.min(Math.round(p5.getX()), (this.width - 1)), 1))));
            this.invalidate();
            int v5_7 = new android.content.Intent("com.urbandroid.lux.LOCATION_FOUND");
            v5_7.setPackage(this.getContext().getPackageName());
            this.getContext().sendBroadcast(v5_7);
            com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate(this.getContext());
            return 0;
        } else {
            return super.onTouchEvent(p5);
        }
    }

Method com.urbandroid.lux.smartlight.SmartlightActivity$1.onPreferenceClick() calling method android.content.Intent.<init>()


    public boolean onPreferenceClick(android.preference.Preference p7)
    {
        if (!com.urbandroid.lux.smartlight.SmartlightActivity.access$000(this.this$0).isConfigured()) {
            this.this$0.startActivity(new android.content.Intent(this.this$0, com.urbandroid.lux.smartlight.hue.PHHomeActivity));
        } else {
            com.urbandroid.lux.smartlight.hue.data.HueSharedPreferences.getInstance(this.this$0).setLastConnectedIPAddress(0);
            com.urbandroid.lux.smartlight.hue.data.HueSharedPreferences.getInstance(this.this$0).setUsername(0);
            android.content.Intent v7_7 = this.val$pref;
            com.urbandroid.lux.smartlight.SmartlightActivity v1_2 = this.this$0;
            Object[] v3 = new Object[1];
            v3[0] = v1_2.getString(2131820803);
            v7_7.setTitle(v1_2.getString(2131820797, v3));
        }
        return 1;
    }

Method com.urbandroid.lux.integration.taskerplugin.receiver.TaskerEventReceiver.<clinit>() calling method android.content.Intent.<init>()


    static TaskerEventReceiver()
    {
        com.urbandroid.lux.integration.taskerplugin.receiver.TaskerEventReceiver.INTENT_REQUEST_REQUERY = new android.content.Intent("com.twofortyfouram.locale.intent.action.REQUEST_QUERY").putExtra("com.twofortyfouram.locale.intent.extra.ACTIVITY", com.urbandroid.lux.integration.taskerplugin.ui.EditEventActivity.getName());
        return;
    }

Method com.urbandroid.lux.integration.taskerplugin.TaskerAction.execute() calling method android.content.Intent.<init>()


    public void execute(android.content.Context p3)
    {
        android.content.Intent v0_1 = new android.content.Intent(this.getAction());
        v0_1.setPackage(p3.getPackageName());
        p3.sendBroadcast(v0_1);
        return;
    }

Method com.urbandroid.lux.TwilightWidget.setPendingIntents() calling method android.content.Intent.<init>()


    public static void setPendingIntents(android.content.Context p16, boolean p17, boolean p18)
    {
        android.content.Context v12_3;
        android.content.ComponentName v1_1 = new android.content.ComponentName(p16.getApplicationContext(), com.urbandroid.lux.TwilightWidget);
        android.appwidget.AppWidgetManager v2_2 = android.appwidget.AppWidgetManager.getInstance(p16.getApplicationContext());
        android.widget.RemoteViews v3_1 = new android.widget.RemoteViews(p16.getPackageName(), 2131558568);
        v3_1.setImageViewResource(2131362225, 2131230885);
        android.content.Intent v5_4 = new android.content.Intent(p16.getApplicationContext(), com.urbandroid.lux.TwilightService);
        v5_4.putExtra("toggle", 1);
        android.content.Intent v5_5 = com.urbandroid.lux.util.PendingIntentCompat.getService(p16, 36812, v5_4, 134217728);
        int v10_2 = new android.content.Intent(p16.getApplicationContext(), com.urbandroid.lux.TwilightService);
        v10_2.putExtra("force", 1);
        android.content.Context v12_1 = com.urbandroid.lux.util.PendingIntentCompat.getService(p16, 73219873, v10_2, 134217728);
        int v11_3 = android.app.PendingIntent.getActivity(p16, 73219873, new android.content.Intent(p16.getApplicationContext(), com.urbandroid.lux.MainActivity), 134217728);
        new android.content.Intent(p16.getApplicationContext(), com.urbandroid.lux.TwilightService);
        v10_2.putExtra("profile_next", 1);
        com.urbandroid.lux.util.PendingIntentCompat.getService(p16, 39872340, v10_2, 134217728);
        int v10_4 = new android.content.Intent(p16.getApplicationContext(), com.urbandroid.lux.TwilightService);
        v10_4.putExtra("quick_settings", 1);
        int v10_5 = com.urbandroid.lux.util.PendingIntentCompat.getService(p16, 9728672, v10_4, 134217728);
        v3_1.setOnClickPendingIntent(2131362225, v5_5);
        v3_1.setOnClickPendingIntent(2131361964, v12_1);
        v3_1.setOnClickPendingIntent(2131362134, v10_5);
        v3_1.setOnClickPendingIntent(2131362003, v11_3);
        int v10_0 = 2131230883;
        if (!p17) {
            v12_3 = 2131230886;
        } else {
            v12_3 = 2131230883;
        }
        android.content.Context v12_4;
        v3_1.setImageViewResource(2131362225, v12_3);
        if (!p18) {
            v12_4 = 2131820661;
        } else {
            v12_4 = 2131820656;
        }
        v3_1.setTextViewText(2131361964, p16.getString(v12_4));
        v2_2.updateAppWidget(v1_1, v3_1);
        android.content.ComponentName v1_3 = new android.content.ComponentName(p16.getApplicationContext(), com.urbandroid.lux.TwilightSmallWidget);
        android.widget.RemoteViews v3_5 = new android.widget.RemoteViews(p16.getPackageName(), 2131558569);
        android.content.Intent v5_0 = new android.content.Intent(p16.getApplicationContext(), com.urbandroid.lux.TwilightService);
        v5_0.putExtra("toggle", 1);
        v3_5.setOnClickPendingIntent(2131362225, com.urbandroid.lux.util.PendingIntentCompat.getService(p16, 36812, v5_0, 134217728));
        if (!p17) {
            v10_0 = 2131230886;
        }
        v3_5.setImageViewResource(2131362225, v10_0);
        v2_2.updateAppWidget(v1_3, v3_5);
        return;
    }

Method com.urbandroid.lux.TwilightTileService.onClick() calling method android.content.Intent.<init>()


    public void onClick()
    {
        super.onClick();
        com.urbandroid.common.logging.Logger.logInfo("Tile onClick ");
        com.urbandroid.lux.context.AppContext.getInstance().init(com.urbandroid.lux.TwilightTileService, this.getApplicationContext());
        if (com.urbandroid.lux.context.AppContext.settings().isServiceEnabled()) {
            com.urbandroid.lux.context.AppContext.settings().setPaused((com.urbandroid.lux.context.AppContext.settings().isPaused() ^ 1));
            android.content.Context v0_7 = new android.content.Intent(this, com.urbandroid.lux.TwilightService);
            v0_7.putExtra("toggle", 1);
            android.support.v4.content.ContextCompat.startForegroundService(this, v0_7);
        } else {
            com.urbandroid.common.logging.Logger.logInfo("Starting");
            com.urbandroid.lux.context.AppContext.settings().setServiceEnabled(1);
            com.urbandroid.lux.AbstractTwilightService.startForegroundService(this.getApplicationContext());
        }
        this.refresh();
        if ((this.lastClicked != -1) && ((System.currentTimeMillis() - this.lastClicked) < 250)) {
            com.urbandroid.lux.AbstractTwilightService.startForegroundServiceQuickSettingsOnTop(this.getApplicationContext());
        }
        this.lastClicked = System.currentTimeMillis();
        return;
    }

Method com.urbandroid.lux.TwilightSmallWidget.onUpdate() calling method android.content.Intent.<init>()


    public void onUpdate(android.content.Context p6, android.appwidget.AppWidgetManager p7, int[] p8)
    {
        int v6_4;
        super.onUpdate(p6, p7, p8);
        com.urbandroid.lux.context.AppContext.getInstance().init(com.urbandroid.lux.TwilightSmallWidget, p6, 1);
        android.content.ComponentName v7_1 = new android.content.ComponentName(p6.getApplicationContext(), com.urbandroid.lux.TwilightSmallWidget);
        android.appwidget.AppWidgetManager v8_2 = android.appwidget.AppWidgetManager.getInstance(p6.getApplicationContext());
        android.widget.RemoteViews v1_1 = new android.widget.RemoteViews(p6.getPackageName(), 2131558569);
        android.content.Intent v2_2 = new android.content.Intent(p6.getApplicationContext(), com.urbandroid.lux.TwilightService);
        v2_2.putExtra("toggle", 1);
        v1_1.setOnClickPendingIntent(2131362225, com.urbandroid.lux.util.PendingIntentCompat.getService(p6, 36812, v2_2, 134217728));
        if (com.urbandroid.lux.context.AppContext.settings().isPaused()) {
            v6_4 = 2131230885;
        } else {
            v6_4 = 2131230884;
        }
        v1_1.setImageViewResource(2131362225, v6_4);
        v8_2.updateAppWidget(v7_1, v1_1);
        return;
    }

Method com.urbandroid.lux.TwilightApplication.restartOnLowMemory() calling method android.content.Intent.<init>()


    public static void restartOnLowMemory(android.content.Context p5, int p6, long p7)
    {
        try {
            android.content.Intent v0_1 = new android.content.Intent(p5, com.urbandroid.lux.AbstractTwilightService.getServiceClass(p5));
            v0_1.setAction("com.urbandroid.lux.action_command_restart_on_low_memory");
            v0_1.putExtra("memory_low_time", p7);
            v0_1.putExtra("memory_low_delay", p6);
            com.urbandroid.lux.AlarmScheduler.getInstance().cancelNextAlarm(p5, v0_1);
            com.urbandroid.lux.AlarmScheduler.getInstance().scheduleNextAlarm(p5, v0_1, (System.currentTimeMillis() + ((long) p6)));
        } catch (Exception v5_1) {
            com.urbandroid.common.logging.Logger.logSevere(v5_1);
        }
        return;
    }

Method com.urbandroid.lux.TvActivity.onCreate() calling method android.content.Intent.<init>()


    public void onCreate(android.os.Bundle p3)
    {
        super.onCreate(p3);
        com.urbandroid.lux.context.AppContext.getInstance().init(com.urbandroid.lux.TvActivity, this.getApplicationContext());
        if ((android.os.Build$VERSION.SDK_INT < 23) || (android.provider.Settings.canDrawOverlays(this))) {
            this.setContentView(2131558565);
        } else {
            android.app.AlertDialog$Builder v3_5 = new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse("https://twilight.urbandroid.org/how-to-install-twilight-on-android-tv-android-6/"));
            v3_5.setFlags(268435456);
            try {
                this.startActivity(v3_5);
                this.finish();
            } catch (android.app.AlertDialog$Builder v3_6) {
                com.urbandroid.common.logging.Logger.logSevere(v3_6);
                new android.app.AlertDialog$Builder(this).setMessage("Twilight for Android TV can no longer be distributed though the Play Store, please side load it from https://twilight.urbandroid.org/how-to-install-twilight-on-android-tv-android-6/").setPositiveButton("OK", new com.urbandroid.lux.TvActivity$1(this)).show();
            }
        }
        return;
    }

Method com.urbandroid.lux.SubstratumLauncher.onCreate() calling method android.content.Intent.<init>()


    protected void onCreate(android.os.Bundle p3)
    {
        super.onCreate(p3);
        android.content.Intent v3_3 = this.getIntent();
        v3_3.getStringExtra("theme_mode");
        v3_3.getBooleanExtra("theme_legacy", 0);
        v3_3.getBooleanExtra("refresh_mode", 0);
        android.content.Intent v3_2 = new android.content.Intent("android.intent.action.MAIN");
        v3_2.setComponent(android.content.ComponentName.unflattenFromString("projekt.substratum/projekt.substratum.InformationActivity"));
        v3_2.addCategory("android.intent.category.LAUNCHER");
        v3_2.setFlags(268435456);
        v3_2.addFlags(67108864);
        v3_2.putExtra("theme_name", this.getString(2131820588));
        v3_2.putExtra("theme_pid", this.getPackageName());
        this.startActivity(v3_2);
        this.finish();
        return;
    }

Method com.urbandroid.lux.ProActivity$9.run() calling method android.content.Intent.<init>()


    public void run()
    {
        com.urbandroid.lux.ProActivity v0 = this.this$0;
        v0.startActivity(new android.content.Intent(v0, com.urbandroid.lux.DummyBrightnessActivity));
        return;
    }

Method com.urbandroid.lux.ProActivity$4.onPreferenceClick() calling method android.content.Intent.<init>()


    public boolean onPreferenceClick(android.preference.Preference p3)
    {
        this.this$0.startActivity(new android.content.Intent(this.this$0, com.urbandroid.lux.smartlight.SmartlightActivity));
        return 1;
    }

Method com.urbandroid.lux.ProActivity$11.onClick() calling method android.content.Intent.<init>()


    public void onClick(android.content.DialogInterface p2, int p3)
    {
        try {
            this.this$0.startActivityForResult(new android.content.Intent("android.settings.USAGE_ACCESS_SETTINGS"), 666);
        } catch (Exception v2_1) {
            com.urbandroid.common.logging.Logger.logSevere(v2_1);
        }
        return;
    }

Method com.urbandroid.lux.MainActivity$MainListener.onClick() calling method android.content.Intent.<init>()


    public void onClick(android.view.View p4)
    {
        switch (p4.getId()) {
            case 2131361868:
                com.urbandroid.lux.MainActivity.goToMarket(this.this$0, new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse("market://details?id=com.urbandroid.lux.donate")));
                break;
            case 2131361869:
                com.urbandroid.lux.MainActivity.goToMarket(this.this$0, new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse("market://details?id=com.urbandroid.lux")));
                break;
            case 2131361870:
                android.content.Intent v4_8 = new android.content.Intent("android.intent.action.SEND");
                v4_8.setType("text/plain");
                v4_8.putExtra("android.intent.extra.SUBJECT", this.this$0.getString(2131820588));
                com.urbandroid.lux.MainActivity v0_2 = new StringBuilder();
                v0_2.append(this.this$0.getString(2131820798));
                v0_2.append(", Play Store: https://play.google.com/store/apps/details?id=com.urbandroid.lux");
                v4_8.putExtra("android.intent.extra.TEXT", v0_2.toString());
                com.urbandroid.lux.MainActivity v0_5 = this.this$0;
                v0_5.startActivity(android.content.Intent.createChooser(v4_8, v0_5.getString(2131820799)));
                break;
            default:
        }
        return;
    }

Method com.urbandroid.lux.MainActivity$9.onClick() calling method android.content.Intent.<init>()


    public void onClick(android.view.View p3)
    {
        p3 = this.this$0;
        p3.startActivity(new android.content.Intent(p3, com.urbandroid.lux.TourActivity));
        return;
    }

Method com.urbandroid.lux.MainActivity$45.onClick() calling method android.content.Intent.<init>()


    public void onClick(android.content.DialogInterface p2, int p3)
    {
        com.urbandroid.common.logging.Logger.logSevere("market://details?id=com.urbandroid.lux.donate");
        com.urbandroid.lux.MainActivity.goToMarket(this.val$activity, new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse("market://details?id=com.urbandroid.lux.donate")));
        return;
    }

Method com.urbandroid.lux.MainActivity$36$1.onClick() calling method android.content.Intent.<init>()


    public void onClick(android.content.DialogInterface p2, int p3)
    {
        try {
            this.this$1.this$0.startActivityForResult(new android.content.Intent("android.settings.USAGE_ACCESS_SETTINGS"), 456);
            com.urbandroid.lux.context.AppContext.settings().setPermissionAutoPause(1);
            com.urbandroid.lux.context.AppContext.settings().setForegroundCheck(1);
        } catch (Exception) {
            android.widget.Toast.makeText(this.this$1.this$0.getApplicationContext(), 2131820584, 0).show();
        }
        return;
    }

Method com.urbandroid.lux.MainActivity$29.run() calling method android.content.Intent.<init>()


    public void run()
    {
        com.urbandroid.lux.MainActivity v0 = this.this$0;
        v0.startActivityForResult(new android.content.Intent(v0, com.urbandroid.lux.TourActivity), 654);
        return;
    }

Method com.urbandroid.lux.MainActivity$27$3$1.onClick() calling method android.content.Intent.<init>()


    public void onClick(android.content.DialogInterface p2, int p3)
    {
        com.urbandroid.lux.MainActivity.goToMarket(this.this$2.this$1.this$0, new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse("market://details?id=com.urbandroid.sleep")));
        return;
    }

Method com.urbandroid.lux.MainActivity$26.onPreferenceChange() calling method android.content.Intent.<init>()


    public boolean onPreferenceChange(android.preference.Preference p4, Object p5)
    {
        if (!((Boolean) p5).booleanValue()) {
            com.urbandroid.common.logging.Logger.logInfo("MainActivity: Oreo notification: showing");
            android.content.Intent v4_1 = new android.content.Intent(this.this$0.getString(2131820811));
            v4_1.putExtra("command", "show");
            v4_1.setPackage(this.this$0.getPackageName());
            this.this$0.sendBroadcast(v4_1);
        } else {
            if (com.urbandroid.lux.notification.TwilightNotificationListener.hasAccessGranted(this.this$0.getApplicationContext())) {
                com.urbandroid.common.logging.Logger.logInfo("MainActivity: Oreo notification: has access, hiding");
                android.content.Intent v4_4 = new android.content.Intent(this.this$0.getString(2131820811));
                v4_4.putExtra("command", "hide");
                v4_4.setPackage(this.this$0.getPackageName());
                this.this$0.sendBroadcast(v4_4);
            } else {
                com.urbandroid.common.logging.Logger.logInfo("MainActivity: Oreo notification: no access");
                com.urbandroid.lux.MainActivity v5_20 = new android.app.AlertDialog$Builder(this.this$0);
                v5_20.setMessage(2131820745);
                v5_20.setCancelable(1);
                v5_20.setNegativeButton(2131820601, new com.urbandroid.lux.MainActivity$26$1(this, p4));
                v5_20.setPositiveButton(2131820604, new com.urbandroid.lux.MainActivity$26$2(this));
                v5_20.create().show();
            }
        }
        return 1;
    }

Method com.urbandroid.lux.MainActivity$26$2.onClick() calling method android.content.Intent.<init>()


    public void onClick(android.content.DialogInterface p2, int p3)
    {
        this.this$1.this$0.startActivity(new android.content.Intent("android.settings.ACTION_NOTIFICATION_LISTENER_SETTINGS"));
        return;
    }

Method com.urbandroid.lux.MainActivity$25.onPreferenceClick() calling method android.content.Intent.<init>()


    public boolean onPreferenceClick(android.preference.Preference p3)
    {
        this.this$0.startActivity(new android.content.Intent(this.this$0, com.urbandroid.lux.schedules.ScheduleActivity));
        return 1;
    }

Method com.urbandroid.lux.LocationService.resolveLocation() calling method android.content.Intent.<init>()


    public com.urbandroid.lux.LocationService$Location resolveLocation(boolean p12)
    {
        java.util.concurrent.TimeUnit v3_1 = ((android.location.LocationManager) this.context.getSystemService("location"));
        android.content.Context v0_6 = new android.os.Handler(android.os.Looper.getMainLooper());
        long v1_2 = new android.location.Criteria();
        v1_2.setAccuracy(0);
        v1_2.setPowerRequirement(0);
        java.util.concurrent.CountDownLatch v7_1 = new java.util.concurrent.CountDownLatch(1);
        com.urbandroid.lux.LocationService$Location v8_1 = new com.urbandroid.lux.LocationService$Location();
        if (com.urbandroid.common.util.PermissionCompat.isPermissionGranted(this.context, "android.permission.ACCESS_COARSE_LOCATION")) {
            if ((p12 != null) || ((!com.urbandroid.common.util.Environment.isGingerOrGreater()) || (com.google.android.gms.common.GoogleApiAvailability.getInstance().isGooglePlayServicesAvailable(this.context) != 0))) {
                com.urbandroid.common.logging.Logger.logInfo("Location fallback to legacy location api");
                int v4_6 = v3_1.getBestProvider(v1_2, 1);
                if (v4_6 != 0) {
                    long v1_4 = new StringBuilder();
                    v1_4.append("Provider ");
                    v1_4.append(v4_6);
                    com.urbandroid.common.logging.Logger.logInfo(v1_4.toString());
                    com.urbandroid.lux.LocationService$3 v10 = new com.urbandroid.lux.LocationService$3;
                    v10(this, v3_1, v4_6, v8_1, v7_1);
                    v0_6.post(v10);
                } else {
                    com.urbandroid.common.logging.Logger.logSevere("No provider");
                    return 0;
                }
            } else {
                com.urbandroid.common.logging.Logger.logInfo("Location from fuse location");
                long v1_9 = new com.google.android.gms.common.api.GoogleApiClient$Builder(this.context);
                v1_9.addApi(com.google.android.gms.location.LocationServices.API);
                v1_9.addOnConnectionFailedListener(new com.urbandroid.lux.LocationService$1(this));
                long v1_10 = v1_9.build();
                v1_10.registerConnectionCallbacks(new com.urbandroid.lux.LocationService$2(this, v1_10, v8_1, v7_1));
                try {
                    v1_10.connect();
                } catch (long v1_11) {
                    com.urbandroid.common.logging.Logger.logSevere(v1_11);
                }
                v7_1.await(20, java.util.concurrent.TimeUnit.SECONDS);
                if (!v8_1.isSet()) {
                    if ((p12 == null) && (new com.urbandroid.lux.context.Settings(this.context).getLocation() == null)) {
                        v0_6.postDelayed(new com.urbandroid.lux.LocationService$4(this), 5000);
                    }
                    return 0;
                } else {
                    com.urbandroid.lux.LocationService$4 v12_9 = new android.content.Intent("com.urbandroid.lux.LOCATION_FOUND");
                    v12_9.setPackage(this.context.getPackageName());
                    this.context.sendBroadcast(v12_9);
                    return v8_1;
                }
            }
            try {
            } catch (long v1_14) {
                com.urbandroid.common.logging.Logger.logSevere(v1_14);
            }
        } else {
            com.urbandroid.common.logging.Logger.logWarning("LocationClient no permission");
            return 0;
        }
    }

Method com.urbandroid.lux.AbstractTwilightService.start() calling method android.content.Intent.<init>()


    public void start(android.content.Intent p11, int p12)
    {
        com.urbandroid.lux.AbstractTwilightService$7 v12_41;
        com.urbandroid.lux.AbstractTwilightService$7 v12_0 = this.filter;
        long v0_0 = 0;
        if ((v12_0 != null) && (!v12_0.isShown())) {
            v12_41 = 0;
        } else {
            v12_41 = 1;
        }
        this.startForeground(v12_41);
        if (p11 != null) {
            if (!"com.urbandroid.lux.action_command_restart_on_low_memory".equals(p11.getAction())) {
                this.createdAfterLowMemory = 0;
            } else {
                if (!this.createdAfterLowMemory) {
                    String v4_52 = p11.getLongExtra("memory_low_time", -1);
                    android.content.Context v6_8 = p11.getIntExtra("memory_low_delay", -1);
                    if ((System.currentTimeMillis() - v4_52) < 300000) {
                        com.urbandroid.lux.TwilightApplication.restartOnLowMemory(this.getApplicationContext(), v6_8, v4_52);
                        return;
                    }
                } else {
                    com.urbandroid.common.logging.Logger.logInfo("Service: Low memory restart succeeded");
                }
            }
            String v4_66 = new StringBuilder();
            v4_66.append("Service: Service start ");
            v4_66.append(p11.getAction());
            com.urbandroid.common.logging.Logger.logInfo(v4_66.toString());
            String v4_68 = p11.getExtras();
            if (v4_68 != null) {
                String v4_70 = v4_68.keySet().iterator();
                while (v4_70.hasNext()) {
                    String v5_15 = ((String) v4_70.next());
                    android.content.Context v6_12 = new StringBuilder();
                    v6_12.append("Service: Extra ");
                    v6_12.append(v5_15);
                    com.urbandroid.common.logging.Logger.logInfo(v6_12.toString());
                }
            }
            if ((p11.hasExtra("start")) || (p11.hasExtra("profile"))) {
                com.urbandroid.lux.context.AppContext.settings().setServiceEnabled(1);
            }
            if ((p11.hasExtra("profile")) && (com.urbandroid.lux.context.AppContext.settings().isPaused())) {
                this.resume();
            }
            if (p11.hasExtra("stop")) {
                com.urbandroid.lux.context.AppContext.settings().setServiceEnabled(0);
            }
            if (p11.hasExtra("quick_settings")) {
                String v4_83 = this.quickSettingsView;
                if (v4_83 != null) {
                    if (v4_83.isShown()) {
                        this.quickSettingsView.hide();
                    }
                    this.quickSettingsView = 0;
                }
                try {
                    if (!p11.hasExtra("quick_settings_on_top")) {
                        String v4_3 = Class.forName("com.urbandroid.lux.ui.QuickSettingsView");
                        String v5_0 = new Class[1];
                        v5_0[0] = android.content.Context;
                        String v4_4 = v4_3.getConstructor(v5_0);
                        String v5_1 = new Object[1];
                        v5_1[0] = this.getApplicationContext();
                        this.quickSettingsView = ((com.urbandroid.lux.ui.Overlay) v4_4.newInstance(v5_1));
                    } else {
                        String v4_8 = Class.forName("com.urbandroid.lux.ui.QuickSettingsView");
                        android.content.Context v6_2 = new Class[2];
                        v6_2[0] = android.content.Context;
                        v6_2[1] = Boolean.TYPE;
                        String v4_9 = v4_8.getConstructor(v6_2);
                        String v5_3 = new Object[2];
                        v5_3[0] = this.getApplicationContext();
                        v5_3[1] = Boolean.valueOf(1);
                        this.quickSettingsView = ((com.urbandroid.lux.ui.Overlay) v4_9.newInstance(v5_3));
                    }
                } catch (String v4_13) {
                    com.urbandroid.common.logging.Logger.logSevere("Service: ", v4_13);
                }
                String v4_14 = this.quickSettingsView;
                if (v4_14 != null) {
                    try {
                        v4_14.show();
                    } catch (SecurityException) {
                        this.startActivity(com.urbandroid.lux.AbstractTwilightService.getDrawOverlayPermissionIntent(this));
                        this.startForeground(1);
                        this.stopSelf();
                        com.urbandroid.lux.AbstractTwilightService.stopService(this);
                        return;
                    } catch (Exception) {
                        this.startActivity(com.urbandroid.lux.AbstractTwilightService.getDrawOverlayPermissionIntent(this));
                        this.startForeground(1);
                        return;
                    }
                }
            }
            if ((!p11.hasExtra("profile")) || (!"!!!STOP!!!".equals(p11.getStringExtra("profile")))) {
                if ((p11.hasExtra("profile")) && ("!!!PAUSE!!!".equals(p11.getStringExtra("profile")))) {
                    com.urbandroid.common.logging.Logger.logInfo("Service: Pause profile");
                    this.pause();
                }
                if ((p11.hasExtra("profile")) && ("!!!RESUME!!!".equals(p11.getStringExtra("profile")))) {
                    com.urbandroid.common.logging.Logger.logInfo("Service: Resume profile");
                    this.resume();
                }
            } else {
                com.urbandroid.common.logging.Logger.logInfo("Service: Stop profile");
                this.startForeground(1);
                this.stopSelf();
                com.urbandroid.lux.context.AppContext.settings().scheduleProfileSwitch(this);
                com.urbandroid.lux.context.AppContext.settings().setServiceEnabled(0);
                com.urbandroid.lux.context.AppContext.settings().setPaused(0);
                return;
            }
        }
        if (com.urbandroid.lux.context.AppContext.settings().isServiceEnabled()) {
            if (this.handler == null) {
                this.handler = new android.os.Handler();
            }
            if (this.filter == null) {
                this.filter = new com.urbandroid.lux.ui.TwilightView();
                this.filter.setSmartLight(this.getSmartLight());
                if (!com.urbandroid.lux.context.AppContext.settings().isPaused()) {
                    this.showAndCheckPermission();
                    this.startForeground(1);
                } else {
                    com.urbandroid.common.logging.Logger.logInfo("Service: Paused");
                    this.filterHide();
                    this.startForeground(0);
                }
                com.urbandroid.common.logging.Logger.logInfo("Service: New view");
                this.hideAmbient = com.urbandroid.lux.context.AppContext.settings().isHideAmbient();
                this.foregroundCheck = com.urbandroid.lux.context.AppContext.settings().isForegroundCheck();
                if (this.foregroundCheck) {
                    this.banList = com.urbandroid.lux.context.AppContext.settings().getBanList();
                    this.scheduleCheckForeground();
                }
            }
            if ((p11 == null) || ((!p11.hasExtra("profile")) && (!p11.hasExtra("profile_next")))) {
                if ((p11 == null) || (!p11.hasExtra("update"))) {
                    if ((p11 == null) || (!p11.hasExtra("foreground"))) {
                        if ((p11 == null) || (!p11.hasExtra("force"))) {
                            if ((p11 != null) && ((p11.hasExtra("refresh_wallpaper")) && (com.urbandroid.lux.context.AppContext.settings().isFilterWallpaper()))) {
                                this.disableWallpaperOnHandler();
                            }
                            if ((p11 == null) || (!p11.hasExtra("refresh"))) {
                                String v4_63 = new android.content.Intent(this.getApplicationContext(), this.getClass());
                                v4_63.setAction("foreground");
                                com.urbandroid.lux.AlarmScheduler.getInstance().scheduleNextAlarm(this.getApplicationContext(), v4_63, (System.currentTimeMillis() + 300000));
                                com.urbandroid.lux.AbstractTwilightService.updateTimeToBed(this);
                                if ((com.urbandroid.lux.context.AppContext.settings().isAutoLocation()) && ((com.urbandroid.lux.context.AppContext.settings().isTimeToUpdateLocation()) && (com.urbandroid.lux.context.AppContext.settings().isTimeToRetryUpdateLocation()))) {
                                    long v0_1 = new Void[0];
                                    new com.urbandroid.lux.AbstractTwilightService$6(this).execute(v0_1);
                                }
                                if ((p11 != null) && ((p11.hasExtra("toggle")) || ("com.urbandroid.lux.ACTION_TOGGLE".equals(p11.getAction())))) {
                                    com.urbandroid.common.logging.Logger.logInfo("Service: Toggle Command");
                                    com.urbandroid.lux.AbstractTwilightService$7 v12_19 = this.filter;
                                    if (v12_19 != null) {
                                        if (!v12_19.isShown()) {
                                            this.resume();
                                        } else {
                                            this.pause();
                                            return;
                                        }
                                    }
                                }
                                if ((p11 != null) && (p11.hasExtra("preview"))) {
                                    com.urbandroid.common.logging.Logger.logInfo("Service: Preview Command");
                                    if (!this.isPreviewRunning()) {
                                        this.setPreviewRunning(1);
                                        this.handler.postDelayed(new com.urbandroid.lux.AbstractTwilightService$7(this), 60);
                                    }
                                }
                                this.updateAndCheckForeground();
                                return;
                            } else {
                                com.urbandroid.common.logging.Logger.logInfo("Service: Refresh Command");
                                com.urbandroid.lux.context.AppContext.settings().clearSunCache();
                                this.filterHide();
                                this.filter = new com.urbandroid.lux.ui.TwilightView();
                                this.showAndCheckPermission();
                                this.updateAndCheckForeground();
                                this.hideAmbient = com.urbandroid.lux.context.AppContext.settings().isHideAmbient();
                                this.foregroundCheck = com.urbandroid.lux.context.AppContext.settings().isForegroundCheck();
                                if (this.foregroundCheck) {
                                    this.banList = com.urbandroid.lux.context.AppContext.settings().getBanList();
                                }
                                if (com.urbandroid.lux.context.AppContext.settings().isPaused()) {
                                    this.pause();
                                }
                                return;
                            }
                        } else {
                            com.urbandroid.common.logging.Logger.logInfo("Service: Update force Command");
                            com.urbandroid.lux.context.AppContext.settings().setForced((com.urbandroid.lux.context.AppContext.settings().isForced() ^ 1));
                            this.updateWidgets();
                            this.filterUpdate();
                            this.startForeground(this.filter.isShown());
                            return;
                        }
                    } else {
                        com.urbandroid.common.logging.Logger.logInfo("Service: Update foreground Command");
                        this.startForeground(this.filter.isShown());
                        return;
                    }
                } else {
                    com.urbandroid.common.logging.Logger.logInfo("Service: Update command");
                    this.hideAmbient = com.urbandroid.lux.context.AppContext.settings().isHideAmbient();
                    this.foregroundCheck = com.urbandroid.lux.context.AppContext.settings().isForegroundCheck();
                    if (this.foregroundCheck) {
                        this.banList = com.urbandroid.lux.context.AppContext.settings().getBanList();
                        this.scheduleCheckForeground();
                    }
                    this.updateAndCheckForeground();
                    com.urbandroid.lux.AbstractTwilightService.updateTimeToBed(this);
                    this.startForeground(this.filter.isShown());
                    return;
                }
            } else {
                com.urbandroid.common.logging.Logger.logInfo("Service: Profile command");
                com.urbandroid.lux.context.AppContext.settings().scheduleProfileSwitch(this);
                boolean v2_4 = com.urbandroid.lux.context.AppContext.settings().isBacklightControl();
                android.os.Handler v11_38 = p11.getStringExtra("profile");
                com.urbandroid.lux.AbstractTwilightService$7 v12_28 = com.urbandroid.lux.context.AppContext.settings().getProfiles();
                if (v12_28.size() != 0) {
                    if (v11_38 == null) {
                        android.os.Handler v11_41 = v12_28.indexOf(com.urbandroid.lux.context.AppContext.settings().getCurrentProfile(this.getDefaultProfile()));
                        if (v11_41 != (v12_28.size() - 1)) {
                            v0_0 = (v11_41 + 1);
                        }
                        v11_38 = ((String) v12_28.get(v0_0));
                    }
                    if (v12_28.contains(v11_38)) {
                        com.urbandroid.lux.context.AppContext.settings().setProfileChanged(1);
                        com.urbandroid.lux.context.AppContext.settings().loadProfile(v11_38);
                        com.urbandroid.lux.context.AppContext.settings().setCurrentProfile(v11_38);
                        android.os.Handler v11_44 = com.urbandroid.lux.context.AppContext.settings().isBacklightControl();
                        this.hideAmbient = com.urbandroid.lux.context.AppContext.settings().isHideAmbient();
                        this.foregroundCheck = com.urbandroid.lux.context.AppContext.settings().isForegroundCheck();
                        if (this.foregroundCheck) {
                            this.banList = com.urbandroid.lux.context.AppContext.settings().getBanList();
                            this.scheduleCheckForeground();
                        }
                        this.updateAndCheckForeground();
                        this.updateWidgets();
                        if ((v11_44 == null) && ((v2_4) && (this.filter.isShown()))) {
                            com.urbandroid.lux.ui.TwilightView.revertBrightness(this);
                        }
                    }
                    return;
                } else {
                    return;
                }
            }
        } else {
            com.urbandroid.common.logging.Logger.logInfo("Service: Service disabled");
            this.startForeground(1);
            this.stopSelf();
            return;
        }
    }

Method com.urbandroid.lux.AbstractTwilightService.resume() calling method android.content.Intent.<init>()


    public void resume()
    {
        android.content.Intent v0_0 = this.filter;
        if ((v0_0 != null) && (!v0_0.isShown())) {
            com.urbandroid.lux.context.AppContext.settings().setPaused(0);
            this.paused = 0;
            this.showAndCheckPermission();
            this.startForeground(1);
            this.updateWidgets();
            android.content.Intent v0_3 = new android.content.Intent("com.urbandroid.lux.ACTION_SERVICE_TOGGLE");
            v0_3.setPackage(this.getPackageName());
            this.sendBroadcast(v0_3);
        }
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.pause() calling method android.content.Intent.<init>()


    public void pause()
    {
        android.content.Intent v0_0 = this.filter;
        if ((v0_0 != null) && (v0_0.isShown())) {
            this.paused = 1;
            com.urbandroid.lux.context.AppContext.settings().setPaused(1);
            this.filterHide();
            this.startForeground(0);
            this.updateWidgets();
            if (com.urbandroid.lux.context.AppContext.settings().isBacklightControl()) {
                com.urbandroid.lux.ui.TwilightView.revertBrightness(this.getApplicationContext());
            }
            android.content.Intent v0_6 = new android.content.Intent("com.urbandroid.lux.ACTION_SERVICE_TOGGLE");
            v0_6.setPackage(this.getPackageName());
            this.sendBroadcast(v0_6);
        }
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.onDestroy() calling method android.content.Intent.<init>()


    public void onDestroy()
    {
        super.onDestroy();
        com.urbandroid.lux.context.AppContext.settings().setCurrentFilterState(0);
        com.urbandroid.common.logging.Logger.logInfo("Service: Destroy");
        if (this.filter != null) {
            this.filterHide();
            this.filter = 0;
        }
        Exception v0_2 = new android.content.Intent(this.getApplicationContext(), com.urbandroid.lux.AbstractTwilightService.getServiceClass(this.getApplicationContext()));
        v0_2.setAction("foreground");
        com.urbandroid.lux.AlarmScheduler.getInstance().cancelNextAlarm(this.getApplicationContext(), v0_2);
        this.unregisterReceiver(this.receiver);
        if (com.urbandroid.lux.context.AppContext.settings().isForegroundCheck()) {
            if (!com.urbandroid.lux.AbstractTwilightService.isAppStatGranted(this.getApplicationContext())) {
                if (!com.urbandroid.common.util.Environment.isLollipopOrGreater()) {
                    Exception v0_10 = this.handler;
                    if (v0_10 != null) {
                        v0_10.removeCallbacks(this.checkForegroundRunnable);
                    }
                } else {
                    try {
                        this.unbindService(this);
                    } catch (Exception v0_11) {
                        com.urbandroid.common.logging.Logger.logSevere("Service: ", v0_11);
                    }
                }
            } else {
                Exception v0_13 = this.handler;
                if (v0_13 != null) {
                    v0_13.removeCallbacks(this.checkForegroundRunnable);
                }
            }
        }
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.onCreate() calling method android.content.Intent.<init>()


    public void onCreate()
    {
        super.onCreate();
        this.init();
        com.urbandroid.lux.util.TrialFilter.getInstance().reevaluate(this);
        com.urbandroid.lux.context.AppContext.settings().setCurrentFilterState(0);
        this.locationService = new com.urbandroid.lux.LocationService(this);
        boolean v0_2 = new android.content.IntentFilter("android.intent.action.SCREEN_ON");
        v0_2.addAction("android.intent.action.SCREEN_OFF");
        v0_2.addAction("android.intent.action.TIME_SET");
        v0_2.addAction("android.intent.action.TIMEZONE_CHANGED");
        v0_2.addAction("android.intent.action.USER_BACKGROUND");
        v0_2.addAction("android.intent.action.USER_FOREGROUND");
        v0_2.addAction("com.urbandroid.lux.action_command_app_in_foreground");
        this.registerReceiver(this.receiver, v0_2);
        this.createdAfterLowMemory = 1;
        this.foregroundCheck = com.urbandroid.lux.context.AppContext.settings().isForegroundCheck();
        if (this.foregroundCheck) {
            this.banList = com.urbandroid.lux.context.AppContext.settings().getBanList();
            if ((com.urbandroid.common.util.Environment.isLollipopOrGreater()) && (!com.urbandroid.lux.AbstractTwilightService.isAppStatGranted(this))) {
                com.urbandroid.common.logging.Logger.logInfo("Service: Accessibility bind");
                this.bindService(new android.content.Intent(this.getApplicationContext(), com.urbandroid.lux.TwilightAccessibilityService), this, 1);
            }
        }
        this.hideAmbient = com.urbandroid.lux.context.AppContext.settings().isHideAmbient();
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.updateAndCheckForeground() calling method android.content.Intent.<init>()


    private void updateAndCheckForeground()
    {
        if ((this.filter != null) && (!this.isPreviewRunning())) {
            if ((this.filter.getState() != 0) || (this.state <= 0)) {
                if ((this.state != 0) || (this.filter.getState() <= 0)) {
                    if ((this.state >= 100) || (this.filter.getState() < 100)) {
                        if ((this.state >= 100) && (this.filter.getState() < 100)) {
                            boolean v0_18 = new android.content.Intent("com.urbandroid.lux.event_filter_end");
                            v0_18.setPackage(this.getPackageName());
                            this.sendBroadcast(v0_18);
                        }
                    } else {
                        boolean v0_20 = new android.content.Intent("com.urbandroid.lux.event_filter_start");
                        v0_20.setPackage(this.getPackageName());
                        this.sendBroadcast(v0_20);
                    }
                } else {
                    boolean v0_22 = new android.content.Intent("com.urbandroid.lux.event_transition_start");
                    v0_22.setPackage(this.getPackageName());
                    this.sendBroadcast(v0_22);
                }
            } else {
                boolean v0_25 = new android.content.Intent("com.urbandroid.lux.event_transition_end");
                v0_25.setPackage(this.getPackageName());
                this.sendBroadcast(v0_25);
            }
            StringBuilder v2_4;
            this.state = this.filter.getState();
            boolean v0_28 = this.filterUpdate();
            com.urbandroid.lux.AlarmScheduler v3_4 = 1;
            if ((!com.urbandroid.lux.context.AppContext.settings().isStopForeground()) || (com.urbandroid.lux.context.AppContext.settings().isForced())) {
                v2_4 = 0;
            } else {
                v2_4 = 1;
            }
            if ((this.getSmartLight() == null) || ((!com.urbandroid.lux.context.AppContext.settings().isSmartlight()) || (!this.getSmartLight().isConnected()))) {
                v3_4 = 0;
            }
            if ((v3_4 != null) || (v2_4 != null)) {
                if (v0_28 <= 0) {
                    StringBuilder v2_6 = new StringBuilder();
                    v2_6.append("Service: Starting foreground ");
                    v2_6.append(v0_28);
                    com.urbandroid.common.logging.Logger.logInfo(v2_6.toString());
                    this.startForeground(this.filter.isShown());
                } else {
                    android.content.Intent v4_1 = new StringBuilder();
                    v4_1.append("Service: Stopping foreground ");
                    v4_1.append(v0_28);
                    com.urbandroid.common.logging.Logger.logInfo(v4_1.toString());
                    android.content.Intent v4_4 = new android.content.Intent(this.getApplicationContext(), this.getClass());
                    v4_4.setAction("foreground");
                    com.urbandroid.lux.AlarmScheduler.getInstance().cancelNextAlarm(this.getApplicationContext(), v4_4);
                    android.content.Intent v4_6 = new android.content.Intent(this.getApplicationContext(), this.getClass());
                    v4_6.setAction("background");
                    com.urbandroid.lux.AlarmScheduler.getInstance().cancelNextAlarm(this.getApplicationContext(), v4_6);
                    if (v3_4 == null) {
                        com.urbandroid.lux.AlarmScheduler v3_1 = new StringBuilder();
                        v3_1.append("Service: Foreground service alarm ");
                        v3_1.append(new java.util.Date((System.currentTimeMillis() + v0_28)));
                        v3_1.append(" ");
                        v3_1.append(v0_28);
                        com.urbandroid.common.logging.Logger.logInfo(v3_1.toString());
                        com.urbandroid.lux.AlarmScheduler.getInstance().scheduleNextAlarmWake(this.getApplicationContext(), v4_6, (System.currentTimeMillis() + v0_28));
                    } else {
                        com.urbandroid.lux.AlarmScheduler.getInstance().scheduleNextAlarmWake(this.getApplicationContext(), v4_6, (System.currentTimeMillis() + 900000));
                    }
                    if (v2_4 != null) {
                        this.startForeground(this.filter.isShown());
                        this.stopSelf();
                    }
                }
            }
        }
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.stopService() calling method android.content.Intent.<init>()


    public static void stopService(android.content.Context p2)
    {
        p2.stopService(new android.content.Intent(p2, com.urbandroid.lux.AbstractTwilightService.getServiceClass(p2)));
        android.content.Intent v0_3 = new android.content.Intent(p2, com.urbandroid.lux.AbstractTwilightService.getServiceClass(p2));
        v0_3.setAction("background");
        com.urbandroid.lux.AlarmScheduler.getInstance().cancelNextAlarm(p2, v0_3);
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdateForeground() calling method android.content.Intent.<init>()


    public static void startForegroundServiceUpdateForeground(android.content.Context p3)
    {
        android.content.Intent v0_1 = new android.content.Intent(p3, com.urbandroid.lux.AbstractTwilightService.getServiceClass(p3));
        v0_1.putExtra("foreground", 1);
        android.support.v4.content.ContextCompat.startForegroundService(p3, v0_1);
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate() calling method android.content.Intent.<init>()


    public static void startForegroundServiceUpdate(android.content.Context p3)
    {
        android.content.Intent v0_1 = new android.content.Intent(p3, com.urbandroid.lux.AbstractTwilightService.getServiceClass(p3));
        v0_1.putExtra("update", 1);
        android.support.v4.content.ContextCompat.startForegroundService(p3, v0_1);
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceToggle() calling method android.content.Intent.<init>()


    public static void startForegroundServiceToggle(android.content.Context p3)
    {
        android.content.Intent v0_1 = new android.content.Intent(p3, com.urbandroid.lux.AbstractTwilightService.getServiceClass(p3));
        v0_1.putExtra("toggle", 1);
        android.support.v4.content.ContextCompat.startForegroundService(p3, v0_1);
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceRefreshWallpaper() calling method android.content.Intent.<init>()


    public static void startForegroundServiceRefreshWallpaper(android.content.Context p3)
    {
        android.content.Intent v0_1 = new android.content.Intent(p3, com.urbandroid.lux.AbstractTwilightService.getServiceClass(p3));
        v0_1.putExtra("refresh", 1);
        v0_1.putExtra("refresh_wallpaper", 1);
        android.support.v4.content.ContextCompat.startForegroundService(p3, v0_1);
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceRefresh() calling method android.content.Intent.<init>()


    public static void startForegroundServiceRefresh(android.content.Context p3)
    {
        android.content.Intent v0_1 = new android.content.Intent(p3, com.urbandroid.lux.AbstractTwilightService.getServiceClass(p3));
        v0_1.putExtra("refresh", 1);
        android.support.v4.content.ContextCompat.startForegroundService(p3, v0_1);
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceQuickSettingsOnTop() calling method android.content.Intent.<init>()


    public static void startForegroundServiceQuickSettingsOnTop(android.content.Context p3)
    {
        android.content.Intent v0_1 = new android.content.Intent(p3, com.urbandroid.lux.AbstractTwilightService.getServiceClass(p3));
        v0_1.putExtra("quick_settings", 1);
        v0_1.putExtra("quick_settings_on_top", 1);
        android.support.v4.content.ContextCompat.startForegroundService(p3, v0_1);
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceQuickSettings() calling method android.content.Intent.<init>()


    public static void startForegroundServiceQuickSettings(android.content.Context p3)
    {
        android.content.Intent v0_1 = new android.content.Intent(p3, com.urbandroid.lux.AbstractTwilightService.getServiceClass(p3));
        v0_1.putExtra("quick_settings", 1);
        android.support.v4.content.ContextCompat.startForegroundService(p3, v0_1);
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceProfileNext() calling method android.content.Intent.<init>()


    public static void startForegroundServiceProfileNext(android.content.Context p3)
    {
        android.content.Intent v0_1 = new android.content.Intent(p3, com.urbandroid.lux.AbstractTwilightService.getServiceClass(p3));
        v0_1.putExtra("profile_next", 1);
        android.support.v4.content.ContextCompat.startForegroundService(p3, v0_1);
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceProfile() calling method android.content.Intent.<init>()


    public static void startForegroundServiceProfile(android.content.Context p2, String p3)
    {
        android.content.Intent v0_1 = new android.content.Intent(p2, com.urbandroid.lux.AbstractTwilightService.getServiceClass(p2));
        v0_1.putExtra("profile", p3);
        android.support.v4.content.ContextCompat.startForegroundService(p2, v0_1);
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundService() calling method android.content.Intent.<init>()


    public static void startForegroundService(android.content.Context p2)
    {
        android.support.v4.content.ContextCompat.startForegroundService(p2, new android.content.Intent(p2, com.urbandroid.lux.AbstractTwilightService.getServiceClass(p2)));
        com.urbandroid.lux.context.AppContext.settings().scheduleProfileSwitch(p2);
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.pauseTemp() calling method android.content.Intent.<init>()


    public static void pauseTemp(android.content.Context p6)
    {
        p6.stopService(new android.content.Intent(p6, com.urbandroid.lux.AbstractTwilightService.getServiceClass(p6)));
        android.content.Intent v0_3 = new android.content.Intent(p6, com.urbandroid.lux.AbstractTwilightService.getServiceClass(p6));
        v0_3.setAction("background");
        com.urbandroid.lux.AlarmScheduler.getInstance().scheduleNextAlarm(p6, v0_3, (System.currentTimeMillis() + 60000));
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.getDrawOverlayPermissionIntent() calling method android.content.Intent.<init>()


    public static android.content.Intent getDrawOverlayPermissionIntent(android.content.Context p3)
    {
        android.content.Intent v0_1 = new android.content.Intent("android.settings.action.MANAGE_OVERLAY_PERMISSION");
        StringBuilder v1_2 = new StringBuilder();
        v1_2.append("package:");
        v1_2.append(p3.getPackageName());
        v0_1.setData(android.net.Uri.parse(v1_2.toString()));
        v0_1.setFlags(268435456);
        return v0_1;
    }

Method com.urbandroid.lux.AbstractTwilightService$5.run() calling method android.content.Intent.<init>()


    public void run()
    {
        android.content.Intent v0_1 = new android.content.Intent(this.this$0, com.urbandroid.lux.DummyBrightnessActivity);
        v0_1.setFlags(268435456);
        this.this$0.startActivity(v0_1);
        return;
    }

Method com.urbandroid.common.version.UpdateCheckingView$UpdateClickedListener.onClick() calling method android.content.Intent.<init>()


    public void onClick(android.view.View p3)
    {
        android.content.Context v0_5 = new StringBuilder();
        v0_5.append("market://details?id=");
        v0_5.append(com.urbandroid.common.version.UpdateCheckingView.access$700(this.this$0).getPackageName());
        com.urbandroid.common.version.UpdateCheckingView.access$700(this.this$0).startActivity(new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse(v0_5.toString())));
        return;
    }

Method com.urbandroid.common.util.PowerManagerCompat.requestIgnoreBatteryOptimizations() calling method android.content.Intent.<init>()


    public static void requestIgnoreBatteryOptimizations(android.app.Activity p3)
    {
        if (com.urbandroid.common.util.Environment.isMOrGreater()) {
            android.content.Intent v0_2 = new android.content.Intent("android.settings.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS");
            int v1_5 = new StringBuilder();
            v1_5.append("package:");
            v1_5.append(p3.getPackageName());
            v0_2.setData(android.net.Uri.parse(v1_5.toString()));
            p3.startActivityForResult(v0_2, 312);
        }
        return;
    }

Method com.urbandroid.common.connectivity.WaitForConnectivityService.updateToProgressNotification() calling method android.content.Intent.<init>()


    private void updateToProgressNotification()
    {
        android.app.NotificationManager v0_0 = this.getNotificationIcon();
        int v1_4 = this.getProgressIntent();
        if (v1_4 != 0) {
            this.progressReceiverRegistered = 1;
            this.registerReceiver(this.progressReceiver, new android.content.IntentFilter(v1_4));
        }
        this.notificationBuilderProgress = new android.support.v4.app.NotificationCompat$Builder(this).setSmallIcon(v0_0).setColor(this.getNotificationColor()).setContentIntent(android.app.PendingIntent.getBroadcast(this, 0, new android.content.Intent("com.urbandroid.common.connectivity.CANCEL_NETWORK_WAITING"), 0)).setContentTitle(this.getNotificationTitleMessage()).setContentText(this.getNotificationProgressMessage()).setProgress(100, 0, 1);
        ((android.app.NotificationManager) this.getSystemService("notification")).notify(394720902, this.notificationBuilderProgress.build());
        return;
    }

Method com.urbandroid.common.connectivity.WaitForConnectivityService.startForeground() calling method android.content.Intent.<init>()


    private void startForeground()
    {
        com.urbandroid.common.util.ServiceUtil.startForegroundCompat(this, 394720902, new android.support.v4.app.NotificationCompat$Builder(this).setSmallIcon(this.getNotificationIcon()).setColor(this.getNotificationColor()).setContentIntent(android.app.PendingIntent.getBroadcast(this, 0, new android.content.Intent("com.urbandroid.common.connectivity.CANCEL_NETWORK_WAITING"), 0)).setContentTitle(this.getNotificationTitleMessage()).setContentText(this.getNotificationWaitingMessage()).build());
        return;
    }

Method com.urbandroid.common.connectivity.WaitForConnectivityService$3.onPostExecute() calling method android.content.Intent.<init>()


    protected void onPostExecute(Boolean p3)
    {
        android.content.Intent v0_1 = new android.content.Intent("com.urbandroid.common.connectivity.AVAILABILITY_CHECK");
        v0_1.putExtra("STATUS", p3);
        this.val$context.sendBroadcast(v0_1);
        return;
    }

Method com.google.android.gms.common.internal.zzg.zzs() calling method android.content.Intent.<init>()


    public static android.content.Intent zzs()
    {
        android.content.Intent v0_1 = new android.content.Intent("com.google.android.clockwork.home.UPDATE_ANDROID_WEAR_ACTION");
        v0_1.setPackage("com.google.android.wearable.app");
        return v0_1;
    }

Method com.google.android.gms.common.internal.zzg.zzg() calling method android.content.Intent.<init>()


    public static android.content.Intent zzg(String p2)
    {
        android.net.Uri v2_1 = android.net.Uri.fromParts("package", p2, 0);
        android.content.Intent v0_2 = new android.content.Intent("android.settings.APPLICATION_DETAILS_SETTINGS");
        v0_2.setData(v2_1);
        return v0_2;
    }

Method com.google.android.gms.common.internal.zzg.zza() calling method android.content.Intent.<init>()


    public static android.content.Intent zza(String p3, String p4)
    {
        android.content.Intent v0_1 = new android.content.Intent("android.intent.action.VIEW");
        int v3_1 = android.net.Uri.parse("market://details").buildUpon().appendQueryParameter("id", p3);
        if (!android.text.TextUtils.isEmpty(p4)) {
            v3_1.appendQueryParameter("pcampaignid", p4);
        }
        v0_1.setData(v3_1.build());
        v0_1.setPackage("com.android.vending");
        v0_1.addFlags(524288);
        return v0_1;
    }

Method com.google.android.gms.common.internal.GmsClientSupervisor$zza.zzb() calling method android.content.Intent.<init>()


    public final android.content.Intent zzb(android.content.Context p2)
    {
        android.content.Intent v2_1;
        android.content.Intent v2_0 = this.zzdr;
        if (v2_0 == null) {
            v2_1 = new android.content.Intent().setComponent(this.mComponentName);
        } else {
            v2_1 = new android.content.Intent(v2_0).setPackage(this.zzds);
        }
        return v2_1;
    }

Method com.google.android.gms.common.api.GoogleApiActivity.zaa() calling method android.content.Intent.<init>()


    public static android.content.Intent zaa(android.content.Context p2, android.app.PendingIntent p3, int p4, boolean p5)
    {
        android.content.Intent v0_1 = new android.content.Intent(p2, com.google.android.gms.common.api.GoogleApiActivity);
        v0_1.putExtra("pending_intent", p3);
        v0_1.putExtra("failing_client_id", p4);
        v0_1.putExtra("notify_manager", p5);
        return v0_1;
    }

Method android.support.v4.widget.TextViewCompat$OreoCallback.createProcessTextIntent() calling method android.content.Intent.<init>()


    private android.content.Intent createProcessTextIntent()
    {
        return new android.content.Intent().setAction("android.intent.action.PROCESS_TEXT").setType("text/plain");
    }

Method android.support.v4.app.TaskStackBuilder.startActivities() calling method android.content.Intent.<init>()


    public void startActivities(android.os.Bundle p5)
    {
        if (this.mIntents.isEmpty()) {
            throw new IllegalStateException("No intents added to TaskStackBuilder; cannot startActivities");
        } else {
            android.content.Context v0_8 = this.mIntents;
            int v1_1 = new android.content.Intent[v0_8.size()];
            android.content.Context v0_2 = ((android.content.Intent[]) v0_8.toArray(v1_1));
            v0_2[0] = new android.content.Intent(v0_2[0]).addFlags(268484608);
            if (!android.support.v4.content.ContextCompat.startActivities(this.mSourceContext, v0_2, p5)) {
                android.content.Intent v5_3 = new android.content.Intent(v0_2[(v0_2.length - 1)]);
                v5_3.addFlags(268435456);
                this.mSourceContext.startActivity(v5_3);
            }
            return;
        }
    }

Method android.support.v4.app.TaskStackBuilder.getPendingIntent() calling method android.content.Intent.<init>()


    public android.app.PendingIntent getPendingIntent(int p5, int p6, android.os.Bundle p7)
    {
        if (this.mIntents.isEmpty()) {
            throw new IllegalStateException("No intents added to TaskStackBuilder; cannot getPendingIntent");
        } else {
            android.content.Intent[] v0_4 = this.mIntents;
            android.content.Context v1_1 = new android.content.Intent[v0_4.size()];
            android.content.Intent[] v0_2 = ((android.content.Intent[]) v0_4.toArray(v1_1));
            v0_2[0] = new android.content.Intent(v0_2[0]).addFlags(268484608);
            if (android.os.Build$VERSION.SDK_INT < 16) {
                return android.app.PendingIntent.getActivities(this.mSourceContext, p5, v0_2, p6);
            } else {
                return android.app.PendingIntent.getActivities(this.mSourceContext, p5, v0_2, p6, p7);
            }
        }
    }

Method android.support.v4.app.TaskStackBuilder.getIntents() calling method android.content.Intent.<init>()


    public android.content.Intent[] getIntents()
    {
        android.content.Intent[] v0_2 = new android.content.Intent[this.mIntents.size()];
        if (v0_2.length != 0) {
            v0_2[0] = new android.content.Intent(((android.content.Intent) this.mIntents.get(0))).addFlags(268484608);
            int v1_2 = 1;
            while (v1_2 < v0_2.length) {
                v0_2[v1_2] = new android.content.Intent(((android.content.Intent) this.mIntents.get(v1_2)));
                v1_2++;
            }
            return v0_2;
        } else {
            return v0_2;
        }
    }

Method android.support.v4.app.ShareCompat$IntentBuilder.<init>() calling method android.content.Intent.<init>()


    private ShareCompat$IntentBuilder(android.app.Activity p4)
    {
        this.mActivity = p4;
        this.mIntent = new android.content.Intent().setAction("android.intent.action.SEND");
        this.mIntent.putExtra("android.support.v4.app.EXTRA_CALLING_PACKAGE", p4.getPackageName());
        this.mIntent.putExtra("android.support.v4.app.EXTRA_CALLING_ACTIVITY", p4.getComponentName());
        this.mIntent.addFlags(524288);
        return;
    }

Method android.support.v4.app.RemoteInput.addResultsToIntent() calling method android.content.Intent.<init>()


    public static void addResultsToIntent(android.support.v4.app.RemoteInput[] p8, android.content.Intent p9, android.os.Bundle p10)
    {
        android.content.Intent v0_0 = android.os.Build$VERSION.SDK_INT;
        if (v0_0 < 26) {
            int v2 = 0;
            if (v0_0 < 20) {
                if (v0_0 < 16) {
                    android.util.Log.w("RemoteInput", "RemoteInput is only supported from API Level 16");
                } else {
                    android.content.Intent v0_1 = android.support.v4.app.RemoteInput.getClipDataIntentFromIntent(p9);
                    if (v0_1 == null) {
                        v0_1 = new android.content.Intent();
                    }
                    String v3_0 = v0_1.getBundleExtra("android.remoteinput.resultsData");
                    if (v3_0 == null) {
                        v3_0 = new android.os.Bundle();
                    }
                    java.util.Map v4_0 = p8.length;
                    while (v2 < v4_0) {
                        String v5_0 = p8[v2];
                        CharSequence v6_1 = p10.get(v5_0.getResultKey());
                        if ((v6_1 instanceof CharSequence)) {
                            v3_0.putCharSequence(v5_0.getResultKey(), ((CharSequence) v6_1));
                        }
                        v2++;
                    }
                    v0_1.putExtra("android.remoteinput.resultsData", v3_0);
                    p9.setClipData(android.content.ClipData.newIntent("android.remoteinput.results", v0_1));
                }
            } else {
                android.content.Intent v0_3 = android.support.v4.app.RemoteInput.getResultsFromIntent(p9);
                if (v0_3 != null) {
                    v0_3.putAll(p10);
                    p10 = v0_3;
                }
                android.content.Intent v0_4 = p8.length;
                int v1_3 = 0;
                while (v1_3 < v0_4) {
                    String v3_2 = p8[v1_3];
                    java.util.Map v4_2 = android.support.v4.app.RemoteInput.getDataResultsFromIntent(p9, v3_2.getResultKey());
                    String v5_3 = new android.support.v4.app.RemoteInput[1];
                    v5_3[0] = v3_2;
                    android.app.RemoteInput.addResultsToIntent(android.support.v4.app.RemoteInput.fromCompat(v5_3), p9, p10);
                    if (v4_2 != null) {
                        android.support.v4.app.RemoteInput.addDataResultToIntent(v3_2, p9, v4_2);
                    }
                    v1_3++;
                }
            }
        } else {
            android.app.RemoteInput.addResultsToIntent(android.support.v4.app.RemoteInput.fromCompat(p8), p9, p10);
        }
        return;
    }

Method android.support.v4.app.RemoteInput.addDataResultToIntent() calling method android.content.Intent.<init>()


    public static void addDataResultToIntent(android.support.v4.app.RemoteInput p5, android.content.Intent p6, java.util.Map p7)
    {
        android.content.Intent v0_0 = android.os.Build$VERSION.SDK_INT;
        if (v0_0 < 26) {
            if (v0_0 < 16) {
                android.util.Log.w("RemoteInput", "RemoteInput is only supported from API Level 16");
            } else {
                android.content.Intent v0_2 = android.support.v4.app.RemoteInput.getClipDataIntentFromIntent(p6);
                if (v0_2 == null) {
                    v0_2 = new android.content.Intent();
                }
                java.util.Iterator v7_2 = p7.entrySet().iterator();
                while (v7_2.hasNext()) {
                    String v1_3 = ((java.util.Map$Entry) v7_2.next());
                    String v2_1 = ((String) v1_3.getKey());
                    String v1_6 = ((android.net.Uri) v1_3.getValue());
                    if (v2_1 != null) {
                        android.os.Bundle v3_1 = v0_2.getBundleExtra(android.support.v4.app.RemoteInput.getExtraResultsKeyForData(v2_1));
                        if (v3_1 == null) {
                            v3_1 = new android.os.Bundle();
                        }
                        v3_1.putString(p5.getResultKey(), v1_6.toString());
                        v0_2.putExtra(android.support.v4.app.RemoteInput.getExtraResultsKeyForData(v2_1), v3_1);
                    }
                }
                p6.setClipData(android.content.ClipData.newIntent("android.remoteinput.results", v0_2));
            }
        } else {
            android.app.RemoteInput.addDataResultToIntent(android.support.v4.app.RemoteInput.fromCompat(p5), p6, p7);
        }
        return;
    }

Method android.support.v4.app.NotificationManagerCompat$SideChannelManager.updateListenerMap() calling method android.content.Intent.<init>()


    private void updateListenerMap()
    {
        java.util.Iterator v0_1 = android.support.v4.app.NotificationManagerCompat.getEnabledListenerPackages(this.mContext);
        if (!v0_1.equals(this.mCachedEnabledPackages)) {
            this.mCachedEnabledPackages = v0_1;
            android.support.v4.app.NotificationManagerCompat$SideChannelManager$ListenerRecord v1_1 = this.mContext.getPackageManager().queryIntentServices(new android.content.Intent().setAction("android.support.BIND_NOTIFICATION_SIDE_CHANNEL"), 0);
            java.util.HashSet v2_4 = new java.util.HashSet();
            android.support.v4.app.NotificationManagerCompat$SideChannelManager$ListenerRecord v1_2 = v1_1.iterator();
            while (v1_2.hasNext()) {
                java.util.Map v3_15 = ((android.content.pm.ResolveInfo) v1_2.next());
                if (v0_1.contains(v3_15.serviceInfo.packageName)) {
                    String v5_0 = new android.content.ComponentName(v3_15.serviceInfo.packageName, v3_15.serviceInfo.name);
                    if (v3_15.serviceInfo.permission == null) {
                        v2_4.add(v5_0);
                    } else {
                        java.util.Map v3_3 = new StringBuilder();
                        v3_3.append("Permission present on component ");
                        v3_3.append(v5_0);
                        v3_3.append(", not adding listener record.");
                        android.util.Log.w("NotifManCompat", v3_3.toString());
                    }
                }
            }
            java.util.Iterator v0_2 = v2_4.iterator();
            while (v0_2.hasNext()) {
                android.support.v4.app.NotificationManagerCompat$SideChannelManager$ListenerRecord v1_12 = ((android.content.ComponentName) v0_2.next());
                if (!this.mRecordMap.containsKey(v1_12)) {
                    if (android.util.Log.isLoggable("NotifManCompat", 3)) {
                        java.util.Map v3_11 = new StringBuilder();
                        v3_11.append("Adding listener record for ");
                        v3_11.append(v1_12);
                        android.util.Log.d("NotifManCompat", v3_11.toString());
                    }
                    this.mRecordMap.put(v1_12, new android.support.v4.app.NotificationManagerCompat$SideChannelManager$ListenerRecord(v1_12));
                }
            }
            java.util.Iterator v0_5 = this.mRecordMap.entrySet().iterator();
            while (v0_5.hasNext()) {
                android.support.v4.app.NotificationManagerCompat$SideChannelManager$ListenerRecord v1_7 = ((java.util.Map$Entry) v0_5.next());
                if (!v2_4.contains(v1_7.getKey())) {
                    if (android.util.Log.isLoggable("NotifManCompat", 3)) {
                        String v5_6 = new StringBuilder();
                        v5_6.append("Removing listener record for ");
                        v5_6.append(v1_7.getKey());
                        android.util.Log.d("NotifManCompat", v5_6.toString());
                    }
                    this.ensureServiceUnbound(((android.support.v4.app.NotificationManagerCompat$SideChannelManager$ListenerRecord) v1_7.getValue()));
                    v0_5.remove();
                }
            }
            return;
        } else {
            return;
        }
    }

Method android.support.v4.app.NotificationManagerCompat$SideChannelManager.ensureServiceBound() calling method android.content.Intent.<init>()


    private boolean ensureServiceBound(android.support.v4.app.NotificationManagerCompat$SideChannelManager$ListenerRecord p4)
    {
        if (!p4.bound) {
            p4.bound = this.mContext.bindService(new android.content.Intent("android.support.BIND_NOTIFICATION_SIDE_CHANNEL").setComponent(p4.componentName), this, 33);
            if (!p4.bound) {
                android.content.Context v0_4 = new StringBuilder();
                v0_4.append("Unable to bind to listener ");
                v0_4.append(p4.componentName);
                android.util.Log.w("NotifManCompat", v0_4.toString());
                this.mContext.unbindService(this);
            } else {
                p4.retryCount = 0;
            }
            return p4.bound;
        } else {
            return 1;
        }
    }

Method android.support.v4.app.NavUtils.getParentActivityIntent() calling method android.content.Intent.<init>()


    public static android.content.Intent getParentActivityIntent(android.content.Context p1, Class p2)
    {
        String v2_1 = android.support.v4.app.NavUtils.getParentActivityName(p1, new android.content.ComponentName(p1, p2));
        if (v2_1 != null) {
            android.content.Intent v1_3;
            android.content.ComponentName v0_3 = new android.content.ComponentName(p1, v2_1);
            if (android.support.v4.app.NavUtils.getParentActivityName(p1, v0_3) != null) {
                v1_3 = new android.content.Intent().setComponent(v0_3);
            } else {
                v1_3 = android.content.Intent.makeMainActivity(v0_3);
            }
            return v1_3;
        } else {
            return 0;
        }
    }

Method android.support.v4.app.NavUtils.getParentActivityIntent() calling method android.content.Intent.<init>()


    public static android.content.Intent getParentActivityIntent(android.content.Context p2, android.content.ComponentName p3)
    {
        String v0 = android.support.v4.app.NavUtils.getParentActivityName(p2, p3);
        if (v0 != null) {
            android.content.Intent v2_3;
            android.content.ComponentName v1_1 = new android.content.ComponentName(p3.getPackageName(), v0);
            if (android.support.v4.app.NavUtils.getParentActivityName(p2, v1_1) != null) {
                v2_3 = new android.content.Intent().setComponent(v1_1);
            } else {
                v2_3 = android.content.Intent.makeMainActivity(v1_1);
            }
            return v2_3;
        } else {
            return 0;
        }
    }

Method android.support.v4.app.NavUtils.getParentActivityIntent() calling method android.content.Intent.<init>()


    public static android.content.Intent getParentActivityIntent(android.app.Activity p3)
    {
        if (android.os.Build$VERSION.SDK_INT >= 16) {
            String v0_3 = p3.getParentActivityIntent();
            if (v0_3 != null) {
                return v0_3;
            }
        }
        String v0_4 = android.support.v4.app.NavUtils.getParentActivityName(p3);
        if (v0_4 != null) {
            String v2_1 = new android.content.ComponentName(p3, v0_4);
            try {
                android.content.Intent v3_4;
                if (android.support.v4.app.NavUtils.getParentActivityName(p3, v2_1) != null) {
                    v3_4 = new android.content.Intent().setComponent(v2_1);
                } else {
                    v3_4 = android.content.Intent.makeMainActivity(v2_1);
                }
            } catch (android.content.pm.PackageManager$NameNotFoundException) {
                android.content.Intent v3_6 = new StringBuilder();
                v3_6.append("getParentActivityIntent: bad parentActivityName \'");
                v3_6.append(v0_4);
                v3_6.append("\' in manifest");
                android.util.Log.e("NavUtils", v3_6.toString());
                return 0;
            }
            return v3_4;
        } else {
            return 0;
        }
    }

Method android.support.v4.app.JobIntentService.onStartCommand() calling method android.content.Intent.<init>()


    public int onStartCommand(android.content.Intent p3, int p4, int p5)
    {
        if (this.mCompatQueue == null) {
            return 2;
        } else {
            this.mCompatWorkEnqueuer.serviceStartReceived();
            try {
                java.util.ArrayList v0 = this.mCompatQueue;
            } catch (int v3_4) {
                throw v3_4;
            }
            if (p3 == 0) {
                p3 = new android.content.Intent();
            } else {
            }
            v0.add(new android.support.v4.app.JobIntentService$CompatWorkItem(this, p3, p5));
            this.ensureProcessorRunningLocked(1);
            return 3;
        }
    }

Method android.support.v17.leanback.widget.SearchBar.startRecognition() calling method android.content.Intent.<init>()


    public void startRecognition()
    {
        if (!this.mRecognizing) {
            if (!this.hasFocus()) {
                this.requestFocus();
            }
            if (this.mSpeechRecognitionCallback == null) {
                if (this.mSpeechRecognizer != null) {
                    if (this.getContext().checkCallingOrSelfPermission("android.permission.RECORD_AUDIO") == 0) {
                        this.mRecognizing = 1;
                        this.mSearchTextEditor.setText("");
                        IllegalStateException v0_6 = new android.content.Intent("android.speech.action.RECOGNIZE_SPEECH");
                        v0_6.putExtra("android.speech.extra.LANGUAGE_MODEL", "free_form");
                        v0_6.putExtra("android.speech.extra.PARTIAL_RESULTS", 1);
                        this.mSpeechRecognizer.setRecognitionListener(new android.support.v17.leanback.widget.SearchBar$9(this));
                        this.mListening = 1;
                        this.mSpeechRecognizer.startListening(v0_6);
                        return;
                    } else {
                        if (android.os.Build$VERSION.SDK_INT >= 23) {
                            IllegalStateException v0_9 = this.mPermissionListener;
                            if (v0_9 != null) {
                                v0_9.requestAudioPermission();
                                return;
                            }
                        }
                        throw new IllegalStateException("android.permission.RECORD_AUDIO required for search");
                    }
                } else {
                    return;
                }
            } else {
                this.mSearchTextEditor.setText("");
                this.mSearchTextEditor.setHint("");
                this.mSpeechRecognitionCallback.recognizeSpeech();
                this.mRecognizing = 1;
                return;
            }
        } else {
            return;
        }
    }

Method android.support.v17.leanback.system.Settings.getCustomizations() calling method android.content.Intent.<init>()

Couldn't retrieve source code