Potentially Intent Spoofing

Description

The application is vulnerable to intent spoofing which could result in the access and exploitation of unauthorized components.

Recommendation

It is recommended to apply proper input validation and parameter filtering on intent action.

Technical details
[TAINT] String 'market://details?id=com.urbandroid.lux.donate' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String; Landroid/net/Uri;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/ProActivity;', 'onPreferenceClick', '(Landroid/preference/Preference;)Z'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String; Landroid/net/Uri;)V')]]

Use of a string value market://details?id=com.urbandroid.lux.donate to construct an Intent

Method com.urbandroid.lux.ProActivity.onPreferenceClick():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/ProActivity;', 'onPreferenceChange', '(Landroid/preference/Preference; Ljava/lang/Object;)Z'), ('Lcom/urbandroid/lux/AbstractTwilightService;', 'startForegroundServiceUpdate', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.ProActivity.onPreferenceChange():


    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.AbstractTwilightService.startForegroundServiceUpdate():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/MainActivity;', 'onResume', '()V'), ('Lcom/urbandroid/lux/AbstractTwilightService;', 'startForegroundService', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.MainActivity.onResume():


    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.AbstractTwilightService.startForegroundService():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/MainActivity;', 'onPreferenceChange', '(Landroid/preference/Preference; Ljava/lang/Object;)Z'), ('Lcom/urbandroid/lux/MainActivity;', 'handleChange', '(Landroid/preference/Preference; Ljava/lang/Object;)Z'), ('Lcom/urbandroid/lux/AbstractTwilightService;', 'startForegroundServiceUpdate', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.MainActivity.onPreferenceChange():


    public boolean onPreferenceChange(android.preference.Preference p3, Object p4)
    {
        com.urbandroid.lux.context.AppContext.settings().setCurrentProfile(this.getString(2131820749));
        this.setSubtitle();
        return this.handleChange(p3, p4);
    }

Method com.urbandroid.lux.MainActivity.handleChange():


    private boolean handleChange(android.preference.Preference p3, Object p4)
    {
        if (p3) {
            if ((p3 instanceof android.preference.ListPreference)) {
                CharSequence v4_11 = ((android.preference.ListPreference) p3).findIndexOfValue(((String) p4));
                if ((v4_11 > -1) && ((((android.preference.ListPreference) p3).getEntries() != null) && ((((android.preference.ListPreference) p3).getEntries().length > v4_11) && ((((android.preference.ListPreference) p3).getEntries()[v4_11] != null) && (((android.preference.ListPreference) p3).getEntries()[v4_11].length() > 0))))) {
                    ((android.preference.ListPreference) p3).setSummary(((android.preference.ListPreference) p3).getEntries()[v4_11]);
                }
            }
            if ("settings_intensity".equals(p3.getKey())) {
                CharSequence v4_5 = new StringBuilder();
                v4_5.append("MainActivity: Intensity change ");
                v4_5.append(com.urbandroid.lux.context.AppContext.settings().getMaxIntesity());
                com.urbandroid.common.logging.Logger.logInfo(v4_5.toString());
                com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate(this);
            }
            if ("settings_dim".equals(p3.getKey())) {
                com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate(this);
            }
            if ("settings_color_temperature2".equals(p3.getKey())) {
                com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate(this);
            }
        }
        return 1;
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/MainActivity;', 'onOptionsItemSelected', '(Landroid/view/MenuItem;)Z'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.MainActivity.onOptionsItemSelected():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/MainActivity;', 'onCreatePreference', '(Landroid/os/Bundle;)V'), ('Lcom/urbandroid/lux/AbstractTwilightService;', 'startForegroundService', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.MainActivity.onCreatePreference():


    public void onCreatePreference(android.os.Bundle p14)
    {
        com.urbandroid.common.logging.Logger.logInfo("MainActivity: onCreatePreference()");
        this.navigationView = ((android.support.design.widget.NavigationView) this.findViewById(2131362062));
        this.drawerList = ((android.widget.ListView) this.findViewById(2131362063));
        com.urbandroid.lux.ui.TintUtil.tint(this, ((android.view.ViewGroup) this.findViewById(2131361933)));
        com.urbandroid.lux.ui.ToolbarUtil.apply(this);
        android.view.animation.Animation v0_4 = this.isFirstUseInit();
        this.fab = ((android.support.design.widget.FloatingActionButton) this.findViewById(2131362137));
        this.fab.setOnClickListener(new com.urbandroid.lux.MainActivity$13(this));
        com.urbandroid.lux.util.TrialFilter.getInstance().reevaluate(this);
        this.drawerLayout = ((android.support.v4.widget.DrawerLayout) this.findViewById(2131361932));
        int v5_8 = this.drawerLayout;
        android.widget.ListView v1_5 = 0;
        if (v5_8 != 0) {
            String v8_2 = new com.urbandroid.lux.MainActivity$14;
            v8_2(this, this, v5_8, 2131820588, 2131820588);
            this.drawerToggle = v8_2;
            this.drawerLayout.setDrawerListener(this.drawerToggle);
            this.drawerToggle.setDrawerIndicatorEnabled(0);
            ((android.support.v7.widget.Toolbar) this.findViewById(2131362226)).setNavigationIcon(2131230891);
            ((android.support.v7.widget.Toolbar) this.findViewById(2131362226)).setNavigationOnClickListener(new com.urbandroid.lux.MainActivity$15(this));
        }
        android.view.animation.Animation v14_45;
        com.urbandroid.lux.MainActivity$30 v2_53 = this.getLayoutInflater();
        if (this.findViewById(2131362062) == null) {
            v14_45 = 2131558450;
        } else {
            v14_45 = 2131558449;
        }
        this.drawerList.addHeaderView(v2_53.inflate(v14_45, 0));
        android.view.animation.Animation v14_47 = this.initDrawer();
        this.drawerAdapter = new com.urbandroid.lux.ui.drawer.DrawerAdapter(this);
        com.urbandroid.lux.MainActivity$30 v2_59 = com.urbandroid.lux.context.AppContext.settings().getProfiles().iterator();
        int v10 = 0;
        while (v2_59.hasNext()) {
            String v8_1 = ((String) v2_59.next());
            com.urbandroid.lux.MainActivity$16 v12 = new com.urbandroid.lux.MainActivity$16;
            v12(this, v8_1, 2131230854, v8_1, v10);
            v14_47.add(v12);
            v10++;
        }
        v14_47.add(new com.urbandroid.lux.ui.drawer.SectionItem(this.getString(2131820815)));
        v14_47.add(new com.urbandroid.lux.MainActivity$17(this, this.getString(2131820841), 2131230877));
        v14_47.add(new com.urbandroid.lux.MainActivity$18(this, this.getString(2131820747), 2131230875));
        v14_47.add(new com.urbandroid.lux.MainActivity$19(this, this.getString(2131820759), 2131230868));
        v14_47.add(new com.urbandroid.lux.MainActivity$20(this, this.getString(2131820632), 2131230908));
        android.view.animation.Animation v14_1 = v14_47.iterator();
        while (v14_1.hasNext()) {
            this.drawerAdapter.add(((com.urbandroid.lux.ui.drawer.Item) v14_1.next()));
        }
        this.drawerList.setAdapter(this.drawerAdapter);
        this.drawerList.setOnItemClickListener(new com.urbandroid.lux.MainActivity$21(this));
        this.setSubtitle();
        if ((com.urbandroid.lux.context.AppContext.settings().isFirstUse2()) && (com.urbandroid.lux.context.AppContext.settings().hasNavbar())) {
            com.urbandroid.lux.context.AppContext.settings().setDimBehind(1);
        }
        com.urbandroid.lux.util.TrialFilter.getInstance().reevaluate(this);
        android.view.animation.Animation v14_11 = new com.urbandroid.lux.MainActivity$MainListener(this);
        this.findViewById(2131361868).setOnClickListener(v14_11);
        this.findViewById(2131361869).setOnClickListener(v14_11);
        this.findViewById(2131361870).setOnClickListener(v14_11);
        android.view.animation.Animation v14_14 = ((com.urbandroid.lux.ui.SeekBarPreference) this.findPreference("settings_color_temperature2"));
        this.addColorToPref(v14_14, new com.urbandroid.lux.MainActivity$22(this));
        this.addColorToPref(((com.urbandroid.lux.ui.SeekBarPreference) this.findPreference("settings_dim")), new com.urbandroid.lux.MainActivity$23(this));
        this.addColorToPref(((com.urbandroid.lux.ui.SeekBarPreference) this.findPreference("settings_intensity")), new com.urbandroid.lux.MainActivity$24(this, v14_14));
        if ((android.os.Build$VERSION.SDK_INT >= 23) && (!android.provider.Settings.canDrawOverlays(this))) {
            this.hasPermissionToDraw = 0;
        } else {
            com.urbandroid.lux.context.AppContext.settings().setServiceEnabled(1);
            com.urbandroid.lux.AbstractTwilightService.startForegroundService(this);
            this.hasPermissionToDraw = 1;
        }
        if (this.findPreference("settings_scheduled_profiles") != null) {
            this.findPreference("settings_scheduled_profiles").setOnPreferenceClickListener(new com.urbandroid.lux.MainActivity$25(this));
        }
        android.view.animation.Animation v14_23 = ((android.preference.CheckBoxPreference) this.findPreference("hide_oreo_notification"));
        com.urbandroid.lux.MainActivity$30 v2_29 = android.os.Build$VERSION.SDK_INT;
        if ((v2_29 >= 26) && (v2_29 < 28)) {
            com.urbandroid.lux.MainActivity$30 v2_30 = this.getResources();
            int v5_4 = new Object[1];
            int v6_1 = new StringBuilder();
            v6_1.append("X ");
            v6_1.append(this.getString(2131820729));
            v5_4[0] = v6_1.toString();
            v14_23.setSummary(v2_30.getString(2131820674, v5_4));
            v14_23.setOnPreferenceChangeListener(new com.urbandroid.lux.MainActivity$26(this));
        } else {
            if (this.getPreferenceScreen() != null) {
                this.getPreferenceScreen().removePreference(v14_23);
            }
        }
        ((com.urbandroid.lux.ui.CustomPreference) this.findPreference("settings_filter")).setOnBindListener(new com.urbandroid.lux.MainActivity$27(this));
        android.view.animation.Animation v14_27 = android.os.Build.MANUFACTURER;
        String v4_15 = v14_27.hashCode();
        if (v4_15 == -2122609145) {
            if (!v14_27.equals("Huawei")) {
                v1_5 = -1;
            } else {
                v1_5 = 1;
            }
        } else {
            if (v4_15 == -1675632421) {
                if (!v14_27.equals("Xiaomi")) {
                }
            } else {
                if ((v4_15 != 74224812) || (!v14_27.equals("Meizu"))) {
                } else {
                    v1_5 = 2;
                }
            }
        }
        android.view.animation.Animation v14_32;
        if (v1_5 == null) {
            v14_32 = this.getString(2131820640);
        } else {
            if (v1_5 == 1) {
                if (!android.os.Build.MODEL.equals("Nexus 6P")) {
                    v14_32 = this.getString(2131820638);
                    if ((v14_32 != null) && (com.urbandroid.lux.context.AppContext.settings().isShowDeviceWarning())) {
                        android.widget.ListView v1_13 = new android.app.AlertDialog$Builder(this);
                        v1_13.setTitle(2131820639);
                        v1_13.setMessage(v14_32);
                        v1_13.setPositiveButton(2131820600, 0);
                        v1_13.setNegativeButton(2131820636, new com.urbandroid.lux.MainActivity$28(this));
                        com.urbandroid.lux.ui.DialogUtil.fixDivider(v1_13.show());
                    }
                    if (v0_4 != null) {
                        new android.os.Handler().postDelayed(new com.urbandroid.lux.MainActivity$29(this), 500);
                    }
                    this.getActivity();
                    android.view.animation.Animation v14_43 = android.view.animation.AnimationUtils.loadAnimation(this.getApplicationContext(), 2130771991);
                    this.getActivity();
                    this.getListView().setOnScrollListener(new com.urbandroid.lux.MainActivity$30(this, android.view.animation.AnimationUtils.loadAnimation(this.getApplicationContext(), 2130771986), v14_43));
                    return;
                }
            } else {
                if (v1_5 == 2) {
                    v14_32 = this.getString(2131820637);
                }
            }
            v14_32 = 0;
        }
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundService():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/MainActivity;', 'setupSegment', '()V'), ('Lcom/urbandroid/lux/MainActivity;', 'refreshFilterTimes', '(I)V'), ('Lcom/urbandroid/lux/AbstractTwilightService;', 'startForegroundServiceUpdate', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.MainActivity.setupSegment():


    private void setupSegment()
    {
        android.widget.RadioButton v0_0 = this.group;
        if (v0_0 != null) {
            v0_0.clearCheck();
            if (!com.urbandroid.lux.context.AppContext.settings().isForced()) {
                if (!com.urbandroid.lux.context.AppContext.settings().isIntegrateWithSAA()) {
                    if (!com.urbandroid.lux.context.AppContext.settings().isCustomTimes()) {
                        com.urbandroid.common.logging.Logger.logInfo("MainActivity: Checking sun 2131361961");
                        ((android.widget.RadioButton) this.group.findViewById(2131361961)).setChecked(1);
                        this.refreshFilterTimes(2131361961);
                    } else {
                        com.urbandroid.common.logging.Logger.logInfo("MainActivity: Checking custom 2131361957");
                        ((android.widget.RadioButton) this.group.findViewById(2131361957)).setChecked(1);
                        this.refreshFilterTimes(2131361957);
                    }
                } else {
                    com.urbandroid.common.logging.Logger.logInfo("MainActivity: Checking alarm 2131361956");
                    ((android.widget.RadioButton) this.group.findViewById(2131361956)).setChecked(1);
                    this.refreshFilterTimes(2131361956);
                }
            } else {
                com.urbandroid.common.logging.Logger.logInfo("MainActivity: Checking forced 2131361958");
                ((android.widget.RadioButton) this.group.findViewById(2131361958)).setChecked(1);
                this.refreshFilterTimes(2131361958);
            }
        }
        return;
    }

Method com.urbandroid.lux.MainActivity.refreshFilterTimes():


    private void refreshFilterTimes(int p14)
    {
        int v0_0 = this.filterView;
        if (v0_0 != 0) {
            int v0_8 = ((android.widget.TextView) v0_0.findViewById(2131361960));
            com.urbandroid.lux.context.AppContext.settings().setForced(0);
            com.urbandroid.lux.context.AppContext.settings().setIntegrateWithSAA(0);
            com.urbandroid.lux.context.AppContext.settings().setCustomTimes(0);
            this.bar.setEnabled(0);
            String v1_5 = this.filterView;
            if ((v1_5 != null) && (v1_5.findViewById(2131361903) != null)) {
                this.filterView.findViewById(2131361903).setVisibility(8);
            }
            switch (p14) {
                case 2131361956:
                    com.urbandroid.common.logging.Logger.logInfo("MainActivity: Checked alarm");
                    com.urbandroid.lux.context.AppContext.settings().setIntegrateWithSAA(1);
                    com.urbandroid.lux.AbstractTwilightService.updateTimeToBed(this);
                    long v8_1 = com.urbandroid.lux.context.AppContext.settings().getTimeToBed();
                    int v10_1 = com.urbandroid.lux.context.AppContext.settings().getAlarm();
                    com.urbandroid.lux.ui.ThemeUtil v14_20 = new StringBuilder();
                    v14_20.append("MainActivity: Checked alarm ");
                    v14_20.append(new java.util.Date(v8_1));
                    v14_20.append(" ");
                    v14_20.append(new java.util.Date(v10_1));
                    com.urbandroid.common.logging.Logger.logInfo(v14_20.toString());
                    if ((v8_1 != -1) && ((v10_1 != -1) && (v10_1 >= System.currentTimeMillis()))) {
                        com.urbandroid.lux.ui.ThemeUtil v14_26 = new StringBuilder();
                        v14_26.append(this.getString(2131820595));
                        v14_26.append(" \u2192 ");
                        v14_26.append(this.getString(2131820655));
                        v0_8.setText(v14_26.toString());
                        this.updateBar(this.bar, this.filterView, v8_1, v10_1, 0);
                        this.themeUtil.onResume();
                    } else {
                        com.urbandroid.lux.ui.ThemeUtil v14_30 = new android.app.AlertDialog$Builder(this);
                        v14_30.setTitle(2131820650);
                        v14_30.setMessage(2131820649);
                        v14_30.setPositiveButton(2131820600, 0);
                        com.urbandroid.lux.ui.DialogUtil.fixDivider(v14_30.show());
                        ((android.widget.RadioButton) this.group.findViewById(2131361961)).setChecked(1);
                        this.refreshFilterTimes(2131361961);
                    }
                    break;
                case 2131361957:
                    com.urbandroid.common.logging.Logger.logInfo("MainActivity: Checked custom ");
                    this.updateBar(this.bar, this.filterView, com.urbandroid.lux.context.AppContext.settings().getCustomSunset().getTimeInMillis(), com.urbandroid.lux.context.AppContext.settings().getCustomSunrise().getTimeInMillis(), 1);
                    com.urbandroid.lux.context.AppContext.settings().setCustomTimes(1);
                    this.bar.setEnabled(1);
                    com.urbandroid.lux.ui.ThemeUtil v14_7 = this.filterView;
                    if ((v14_7 != null) && (v14_7.findViewById(2131361903) != null)) {
                        this.filterView.findViewById(2131361903).setVisibility(0);
                        this.filterView.findViewById(2131361903).setOnClickListener(new com.urbandroid.lux.MainActivity$31(this));
                    }
                    v0_8.setText(2131820659);
                    this.themeUtil.onResume();
                    break;
                case 2131361958:
                    com.urbandroid.common.logging.Logger.logInfo("MainActivity: Checked force ");
                    com.urbandroid.lux.context.AppContext.settings().setForced(1);
                    v0_8.setText(2131820657);
                    com.urbandroid.lux.ui.ThemeUtil v14_45 = java.util.Calendar.getInstance();
                    v14_45.set(11, 0);
                    v14_45.set(12, 0);
                    com.urbandroid.lux.ui.RangeSeekBar v6_3 = v14_45.getTime().getTime();
                    v14_45.set(11, 23);
                    v14_45.set(12, 59);
                    this.updateBar(this.bar, this.filterView, v6_3, v14_45.getTime().getTime(), 1);
                    this.themeUtil.onResume();
                    break;
                case 2131361959:
                case 2131361960:
                default:
                    break;
                case 2131361961:
                    com.urbandroid.common.logging.Logger.logInfo("MainActivity: Checked sun ");
                    com.urbandroid.lux.ui.ThemeUtil v14_38 = com.urbandroid.lux.context.AppContext.settings().getSunriseOffset();
                    String v2_11 = com.urbandroid.lux.context.AppContext.settings().getSunsetOffset();
                    if ((v14_38 != null) && (v2_11 != null)) {
                        this.updateBar(this.bar, this.filterView, v2_11.getTimeInMillis(), v14_38.getTimeInMillis(), 0);
                    }
                    com.urbandroid.lux.ui.ThemeUtil v14_40 = new StringBuilder();
                    v14_40.append(this.getString(2131820814));
                    v14_40.append(" \u2192 ");
                    v14_40.append(this.getString(2131820813));
                    v0_8.setText(v14_40.toString());
                    break;
            }
            com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate(this);
            this.h.postDelayed(new com.urbandroid.lux.MainActivity$32(this), 500);
            return;
        } else {
            return;
        }
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/MainActivity;', 'selectProfile', '(Ljava/lang/String;)V'), ('Lcom/urbandroid/lux/MainActivity;', 'loadProfile', '(Ljava/lang/String;)V'), ('Lcom/urbandroid/lux/AbstractTwilightService;', 'startForegroundServiceUpdate', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.MainActivity.selectProfile():


    private void selectProfile(String p4)
    {
        android.support.v7.app.ActionBar v0_1 = com.urbandroid.lux.context.AppContext.settings().isBacklightControl();
        com.urbandroid.lux.context.AppContext.settings().setForced(0);
        com.urbandroid.lux.context.AppContext.settings().setIntegrateWithSAA(0);
        com.urbandroid.lux.context.AppContext.settings().setCustomTimes(0);
        com.urbandroid.lux.context.AppContext.settings().loadProfile(p4);
        this.loadProfile(p4);
        this.setupSegment();
        com.urbandroid.lux.context.AppContext.settings().setCurrentProfile(p4);
        if ((!com.urbandroid.lux.context.AppContext.settings().isBacklightControl()) && (v0_1 != null)) {
            com.urbandroid.lux.ui.TwilightView.revertBrightness(this);
        }
        this.getSupportActionBar().setTitle(p4);
        return;
    }

Method com.urbandroid.lux.MainActivity.loadProfile():


    private void loadProfile(String p6)
    {
        java.util.Iterator v0_1 = new StringBuilder();
        v0_1.append("twilight_profile_");
        v0_1.append(p6);
        android.content.SharedPreferences v6_2 = this.getSharedPreferences(v0_1.toString(), 4);
        java.util.Iterator v0_4 = v6_2.getAll().keySet().iterator();
        while (v0_4.hasNext()) {
            int v1_3 = ((String) v0_4.next());
            android.preference.Preference v2_1 = this.getPreferenceScreen().findPreference(v1_3);
            if (v2_1 != null) {
                v2_1.setOnPreferenceChangeListener(0);
                com.urbandroid.lux.ui.SeekBarPreference v3_1 = (v2_1 instanceof android.preference.CheckBoxPreference);
                if (v3_1 == null) {
                    if (v3_1 == null) {
                        if (!(v2_1 instanceof android.preference.ListPreference)) {
                            if ((v2_1 instanceof com.urbandroid.lux.ui.SeekBarPreference)) {
                                int v1_4 = v6_2.getInt(v1_3, -1);
                                if (v1_4 > -1) {
                                    ((com.urbandroid.lux.ui.SeekBarPreference) v2_1).setCurrentValue(v1_4);
                                }
                            }
                        } else {
                            com.urbandroid.lux.ui.SeekBarPreference v3_8 = ((android.preference.ListPreference) v2_1);
                            v3_8.setValue(v6_2.getString(v1_3, v3_8.getValue()));
                        }
                    } else {
                        ((android.preference.CheckBoxPreference) v2_1).setChecked(v6_2.getBoolean(v1_3, 0));
                    }
                } else {
                    ((android.preference.CheckBoxPreference) v2_1).setChecked(v6_2.getBoolean(v1_3, 0));
                }
                v2_1.setOnPreferenceChangeListener(this);
            }
        }
        com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate(this);
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/MainActivity;', 'refreshFilterTimes', '(I)V'), ('Lcom/urbandroid/lux/AbstractTwilightService;', 'startForegroundServiceUpdate', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.MainActivity.refreshFilterTimes():


    private void refreshFilterTimes(int p14)
    {
        int v0_0 = this.filterView;
        if (v0_0 != 0) {
            int v0_8 = ((android.widget.TextView) v0_0.findViewById(2131361960));
            com.urbandroid.lux.context.AppContext.settings().setForced(0);
            com.urbandroid.lux.context.AppContext.settings().setIntegrateWithSAA(0);
            com.urbandroid.lux.context.AppContext.settings().setCustomTimes(0);
            this.bar.setEnabled(0);
            String v1_5 = this.filterView;
            if ((v1_5 != null) && (v1_5.findViewById(2131361903) != null)) {
                this.filterView.findViewById(2131361903).setVisibility(8);
            }
            switch (p14) {
                case 2131361956:
                    com.urbandroid.common.logging.Logger.logInfo("MainActivity: Checked alarm");
                    com.urbandroid.lux.context.AppContext.settings().setIntegrateWithSAA(1);
                    com.urbandroid.lux.AbstractTwilightService.updateTimeToBed(this);
                    long v8_1 = com.urbandroid.lux.context.AppContext.settings().getTimeToBed();
                    int v10_1 = com.urbandroid.lux.context.AppContext.settings().getAlarm();
                    com.urbandroid.lux.ui.ThemeUtil v14_20 = new StringBuilder();
                    v14_20.append("MainActivity: Checked alarm ");
                    v14_20.append(new java.util.Date(v8_1));
                    v14_20.append(" ");
                    v14_20.append(new java.util.Date(v10_1));
                    com.urbandroid.common.logging.Logger.logInfo(v14_20.toString());
                    if ((v8_1 != -1) && ((v10_1 != -1) && (v10_1 >= System.currentTimeMillis()))) {
                        com.urbandroid.lux.ui.ThemeUtil v14_26 = new StringBuilder();
                        v14_26.append(this.getString(2131820595));
                        v14_26.append(" \u2192 ");
                        v14_26.append(this.getString(2131820655));
                        v0_8.setText(v14_26.toString());
                        this.updateBar(this.bar, this.filterView, v8_1, v10_1, 0);
                        this.themeUtil.onResume();
                    } else {
                        com.urbandroid.lux.ui.ThemeUtil v14_30 = new android.app.AlertDialog$Builder(this);
                        v14_30.setTitle(2131820650);
                        v14_30.setMessage(2131820649);
                        v14_30.setPositiveButton(2131820600, 0);
                        com.urbandroid.lux.ui.DialogUtil.fixDivider(v14_30.show());
                        ((android.widget.RadioButton) this.group.findViewById(2131361961)).setChecked(1);
                        this.refreshFilterTimes(2131361961);
                    }
                    break;
                case 2131361957:
                    com.urbandroid.common.logging.Logger.logInfo("MainActivity: Checked custom ");
                    this.updateBar(this.bar, this.filterView, com.urbandroid.lux.context.AppContext.settings().getCustomSunset().getTimeInMillis(), com.urbandroid.lux.context.AppContext.settings().getCustomSunrise().getTimeInMillis(), 1);
                    com.urbandroid.lux.context.AppContext.settings().setCustomTimes(1);
                    this.bar.setEnabled(1);
                    com.urbandroid.lux.ui.ThemeUtil v14_7 = this.filterView;
                    if ((v14_7 != null) && (v14_7.findViewById(2131361903) != null)) {
                        this.filterView.findViewById(2131361903).setVisibility(0);
                        this.filterView.findViewById(2131361903).setOnClickListener(new com.urbandroid.lux.MainActivity$31(this));
                    }
                    v0_8.setText(2131820659);
                    this.themeUtil.onResume();
                    break;
                case 2131361958:
                    com.urbandroid.common.logging.Logger.logInfo("MainActivity: Checked force ");
                    com.urbandroid.lux.context.AppContext.settings().setForced(1);
                    v0_8.setText(2131820657);
                    com.urbandroid.lux.ui.ThemeUtil v14_45 = java.util.Calendar.getInstance();
                    v14_45.set(11, 0);
                    v14_45.set(12, 0);
                    com.urbandroid.lux.ui.RangeSeekBar v6_3 = v14_45.getTime().getTime();
                    v14_45.set(11, 23);
                    v14_45.set(12, 59);
                    this.updateBar(this.bar, this.filterView, v6_3, v14_45.getTime().getTime(), 1);
                    this.themeUtil.onResume();
                    break;
                case 2131361959:
                case 2131361960:
                default:
                    break;
                case 2131361961:
                    com.urbandroid.common.logging.Logger.logInfo("MainActivity: Checked sun ");
                    com.urbandroid.lux.ui.ThemeUtil v14_38 = com.urbandroid.lux.context.AppContext.settings().getSunriseOffset();
                    String v2_11 = com.urbandroid.lux.context.AppContext.settings().getSunsetOffset();
                    if ((v14_38 != null) && (v2_11 != null)) {
                        this.updateBar(this.bar, this.filterView, v2_11.getTimeInMillis(), v14_38.getTimeInMillis(), 0);
                    }
                    com.urbandroid.lux.ui.ThemeUtil v14_40 = new StringBuilder();
                    v14_40.append(this.getString(2131820814));
                    v14_40.append(" \u2192 ");
                    v14_40.append(this.getString(2131820813));
                    v0_8.setText(v14_40.toString());
                    break;
            }
            com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate(this);
            this.h.postDelayed(new com.urbandroid.lux.MainActivity$32(this), 500);
            return;
        } else {
            return;
        }
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/MainActivity;', 'refreshFilterTimes', '()V'), ('Lcom/urbandroid/lux/MainActivity;', 'refreshFilterTimes', '(I)V'), ('Lcom/urbandroid/lux/AbstractTwilightService;', 'startForegroundServiceUpdate', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.MainActivity.refreshFilterTimes():


    private void refreshFilterTimes()
    {
        this.refreshFilterTimes(this.group.getCheckedRadioButtonId());
        return;
    }

Method com.urbandroid.lux.MainActivity.refreshFilterTimes():


    private void refreshFilterTimes(int p14)
    {
        int v0_0 = this.filterView;
        if (v0_0 != 0) {
            int v0_8 = ((android.widget.TextView) v0_0.findViewById(2131361960));
            com.urbandroid.lux.context.AppContext.settings().setForced(0);
            com.urbandroid.lux.context.AppContext.settings().setIntegrateWithSAA(0);
            com.urbandroid.lux.context.AppContext.settings().setCustomTimes(0);
            this.bar.setEnabled(0);
            String v1_5 = this.filterView;
            if ((v1_5 != null) && (v1_5.findViewById(2131361903) != null)) {
                this.filterView.findViewById(2131361903).setVisibility(8);
            }
            switch (p14) {
                case 2131361956:
                    com.urbandroid.common.logging.Logger.logInfo("MainActivity: Checked alarm");
                    com.urbandroid.lux.context.AppContext.settings().setIntegrateWithSAA(1);
                    com.urbandroid.lux.AbstractTwilightService.updateTimeToBed(this);
                    long v8_1 = com.urbandroid.lux.context.AppContext.settings().getTimeToBed();
                    int v10_1 = com.urbandroid.lux.context.AppContext.settings().getAlarm();
                    com.urbandroid.lux.ui.ThemeUtil v14_20 = new StringBuilder();
                    v14_20.append("MainActivity: Checked alarm ");
                    v14_20.append(new java.util.Date(v8_1));
                    v14_20.append(" ");
                    v14_20.append(new java.util.Date(v10_1));
                    com.urbandroid.common.logging.Logger.logInfo(v14_20.toString());
                    if ((v8_1 != -1) && ((v10_1 != -1) && (v10_1 >= System.currentTimeMillis()))) {
                        com.urbandroid.lux.ui.ThemeUtil v14_26 = new StringBuilder();
                        v14_26.append(this.getString(2131820595));
                        v14_26.append(" \u2192 ");
                        v14_26.append(this.getString(2131820655));
                        v0_8.setText(v14_26.toString());
                        this.updateBar(this.bar, this.filterView, v8_1, v10_1, 0);
                        this.themeUtil.onResume();
                    } else {
                        com.urbandroid.lux.ui.ThemeUtil v14_30 = new android.app.AlertDialog$Builder(this);
                        v14_30.setTitle(2131820650);
                        v14_30.setMessage(2131820649);
                        v14_30.setPositiveButton(2131820600, 0);
                        com.urbandroid.lux.ui.DialogUtil.fixDivider(v14_30.show());
                        ((android.widget.RadioButton) this.group.findViewById(2131361961)).setChecked(1);
                        this.refreshFilterTimes(2131361961);
                    }
                    break;
                case 2131361957:
                    com.urbandroid.common.logging.Logger.logInfo("MainActivity: Checked custom ");
                    this.updateBar(this.bar, this.filterView, com.urbandroid.lux.context.AppContext.settings().getCustomSunset().getTimeInMillis(), com.urbandroid.lux.context.AppContext.settings().getCustomSunrise().getTimeInMillis(), 1);
                    com.urbandroid.lux.context.AppContext.settings().setCustomTimes(1);
                    this.bar.setEnabled(1);
                    com.urbandroid.lux.ui.ThemeUtil v14_7 = this.filterView;
                    if ((v14_7 != null) && (v14_7.findViewById(2131361903) != null)) {
                        this.filterView.findViewById(2131361903).setVisibility(0);
                        this.filterView.findViewById(2131361903).setOnClickListener(new com.urbandroid.lux.MainActivity$31(this));
                    }
                    v0_8.setText(2131820659);
                    this.themeUtil.onResume();
                    break;
                case 2131361958:
                    com.urbandroid.common.logging.Logger.logInfo("MainActivity: Checked force ");
                    com.urbandroid.lux.context.AppContext.settings().setForced(1);
                    v0_8.setText(2131820657);
                    com.urbandroid.lux.ui.ThemeUtil v14_45 = java.util.Calendar.getInstance();
                    v14_45.set(11, 0);
                    v14_45.set(12, 0);
                    com.urbandroid.lux.ui.RangeSeekBar v6_3 = v14_45.getTime().getTime();
                    v14_45.set(11, 23);
                    v14_45.set(12, 59);
                    this.updateBar(this.bar, this.filterView, v6_3, v14_45.getTime().getTime(), 1);
                    this.themeUtil.onResume();
                    break;
                case 2131361959:
                case 2131361960:
                default:
                    break;
                case 2131361961:
                    com.urbandroid.common.logging.Logger.logInfo("MainActivity: Checked sun ");
                    com.urbandroid.lux.ui.ThemeUtil v14_38 = com.urbandroid.lux.context.AppContext.settings().getSunriseOffset();
                    String v2_11 = com.urbandroid.lux.context.AppContext.settings().getSunsetOffset();
                    if ((v14_38 != null) && (v2_11 != null)) {
                        this.updateBar(this.bar, this.filterView, v2_11.getTimeInMillis(), v14_38.getTimeInMillis(), 0);
                    }
                    com.urbandroid.lux.ui.ThemeUtil v14_40 = new StringBuilder();
                    v14_40.append(this.getString(2131820814));
                    v14_40.append(" \u2192 ");
                    v14_40.append(this.getString(2131820813));
                    v0_8.setText(v14_40.toString());
                    break;
            }
            com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate(this);
            this.h.postDelayed(new com.urbandroid.lux.MainActivity$32(this), 500);
            return;
        } else {
            return;
        }
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/MainActivity;', 'loadProfile', '(Ljava/lang/String;)V'), ('Lcom/urbandroid/lux/AbstractTwilightService;', 'startForegroundServiceUpdate', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.MainActivity.loadProfile():


    private void loadProfile(String p6)
    {
        java.util.Iterator v0_1 = new StringBuilder();
        v0_1.append("twilight_profile_");
        v0_1.append(p6);
        android.content.SharedPreferences v6_2 = this.getSharedPreferences(v0_1.toString(), 4);
        java.util.Iterator v0_4 = v6_2.getAll().keySet().iterator();
        while (v0_4.hasNext()) {
            int v1_3 = ((String) v0_4.next());
            android.preference.Preference v2_1 = this.getPreferenceScreen().findPreference(v1_3);
            if (v2_1 != null) {
                v2_1.setOnPreferenceChangeListener(0);
                com.urbandroid.lux.ui.SeekBarPreference v3_1 = (v2_1 instanceof android.preference.CheckBoxPreference);
                if (v3_1 == null) {
                    if (v3_1 == null) {
                        if (!(v2_1 instanceof android.preference.ListPreference)) {
                            if ((v2_1 instanceof com.urbandroid.lux.ui.SeekBarPreference)) {
                                int v1_4 = v6_2.getInt(v1_3, -1);
                                if (v1_4 > -1) {
                                    ((com.urbandroid.lux.ui.SeekBarPreference) v2_1).setCurrentValue(v1_4);
                                }
                            }
                        } else {
                            com.urbandroid.lux.ui.SeekBarPreference v3_8 = ((android.preference.ListPreference) v2_1);
                            v3_8.setValue(v6_2.getString(v1_3, v3_8.getValue()));
                        }
                    } else {
                        ((android.preference.CheckBoxPreference) v2_1).setChecked(v6_2.getBoolean(v1_3, 0));
                    }
                } else {
                    ((android.preference.CheckBoxPreference) v2_1).setChecked(v6_2.getBoolean(v1_3, 0));
                }
                v2_1.setOnPreferenceChangeListener(this);
            }
        }
        com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate(this);
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate():


    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 android.content.Intent.<init>() not found.

[TAINT] String 'com.urbandroid.lux.ACTION_SHORTCUT_PROFILE' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String; Landroid/net/Uri; Landroid/content/Context; Ljava/lang/Class;)V', '0', 'IPC_SINK']' [[('Lcom/urbandroid/lux/MainActivity;', 'initializeShortcuts', '()V'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String; Landroid/net/Uri; Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value com.urbandroid.lux.ACTION_SHORTCUT_PROFILE to construct an Intent

Method com.urbandroid.lux.MainActivity.initializeShortcuts():


    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 android.content.Intent.<init>() not found.

[TAINT] String 'com.urbandroid.lux.ACTION_SHORTCUT_TOGGLE' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String; Landroid/net/Uri; Landroid/content/Context; Ljava/lang/Class;)V', '0', 'IPC_SINK']' [[('Lcom/urbandroid/lux/MainActivity;', 'initializeShortcuts', '()V'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String; Landroid/net/Uri; Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value com.urbandroid.lux.ACTION_SHORTCUT_TOGGLE to construct an Intent

Method com.urbandroid.lux.MainActivity.initializeShortcuts():


    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 android.content.Intent.<init>() not found.

[TAINT] String 'com.urbandroid.lux.ACTION_SHORTCUT_QUICK_SETTINGS' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String; Landroid/net/Uri; Landroid/content/Context; Ljava/lang/Class;)V', '0', 'IPC_SINK']' [[('Lcom/urbandroid/lux/MainActivity;', 'initializeShortcuts', '()V'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String; Landroid/net/Uri; Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value com.urbandroid.lux.ACTION_SHORTCUT_QUICK_SETTINGS to construct an Intent

Method com.urbandroid.lux.MainActivity.initializeShortcuts():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/MainActivity;', 'handleChange', '(Landroid/preference/Preference; Ljava/lang/Object;)Z'), ('Lcom/urbandroid/lux/AbstractTwilightService;', 'startForegroundServiceUpdate', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.MainActivity.handleChange():


    private boolean handleChange(android.preference.Preference p3, Object p4)
    {
        if (p3) {
            if ((p3 instanceof android.preference.ListPreference)) {
                CharSequence v4_11 = ((android.preference.ListPreference) p3).findIndexOfValue(((String) p4));
                if ((v4_11 > -1) && ((((android.preference.ListPreference) p3).getEntries() != null) && ((((android.preference.ListPreference) p3).getEntries().length > v4_11) && ((((android.preference.ListPreference) p3).getEntries()[v4_11] != null) && (((android.preference.ListPreference) p3).getEntries()[v4_11].length() > 0))))) {
                    ((android.preference.ListPreference) p3).setSummary(((android.preference.ListPreference) p3).getEntries()[v4_11]);
                }
            }
            if ("settings_intensity".equals(p3.getKey())) {
                CharSequence v4_5 = new StringBuilder();
                v4_5.append("MainActivity: Intensity change ");
                v4_5.append(com.urbandroid.lux.context.AppContext.settings().getMaxIntesity());
                com.urbandroid.common.logging.Logger.logInfo(v4_5.toString());
                com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate(this);
            }
            if ("settings_dim".equals(p3.getKey())) {
                com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate(this);
            }
            if ("settings_color_temperature2".equals(p3.getKey())) {
                com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate(this);
            }
        }
        return 1;
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/MainActivity;', 'access$800', '(Lcom/urbandroid/lux/MainActivity; Ljava/lang/String;)V'), ('Lcom/urbandroid/lux/MainActivity;', 'selectProfile', '(Ljava/lang/String;)V'), ('Lcom/urbandroid/lux/MainActivity;', 'loadProfile', '(Ljava/lang/String;)V'), ('Lcom/urbandroid/lux/AbstractTwilightService;', 'startForegroundServiceUpdate', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.MainActivity.access$800():


    static synthetic void access$800(com.urbandroid.lux.MainActivity p0, String p1)
    {
        p0.selectProfile(p1);
        return;
    }

Method com.urbandroid.lux.MainActivity.selectProfile():


    private void selectProfile(String p4)
    {
        android.support.v7.app.ActionBar v0_1 = com.urbandroid.lux.context.AppContext.settings().isBacklightControl();
        com.urbandroid.lux.context.AppContext.settings().setForced(0);
        com.urbandroid.lux.context.AppContext.settings().setIntegrateWithSAA(0);
        com.urbandroid.lux.context.AppContext.settings().setCustomTimes(0);
        com.urbandroid.lux.context.AppContext.settings().loadProfile(p4);
        this.loadProfile(p4);
        this.setupSegment();
        com.urbandroid.lux.context.AppContext.settings().setCurrentProfile(p4);
        if ((!com.urbandroid.lux.context.AppContext.settings().isBacklightControl()) && (v0_1 != null)) {
            com.urbandroid.lux.ui.TwilightView.revertBrightness(this);
        }
        this.getSupportActionBar().setTitle(p4);
        return;
    }

Method com.urbandroid.lux.MainActivity.loadProfile():


    private void loadProfile(String p6)
    {
        java.util.Iterator v0_1 = new StringBuilder();
        v0_1.append("twilight_profile_");
        v0_1.append(p6);
        android.content.SharedPreferences v6_2 = this.getSharedPreferences(v0_1.toString(), 4);
        java.util.Iterator v0_4 = v6_2.getAll().keySet().iterator();
        while (v0_4.hasNext()) {
            int v1_3 = ((String) v0_4.next());
            android.preference.Preference v2_1 = this.getPreferenceScreen().findPreference(v1_3);
            if (v2_1 != null) {
                v2_1.setOnPreferenceChangeListener(0);
                com.urbandroid.lux.ui.SeekBarPreference v3_1 = (v2_1 instanceof android.preference.CheckBoxPreference);
                if (v3_1 == null) {
                    if (v3_1 == null) {
                        if (!(v2_1 instanceof android.preference.ListPreference)) {
                            if ((v2_1 instanceof com.urbandroid.lux.ui.SeekBarPreference)) {
                                int v1_4 = v6_2.getInt(v1_3, -1);
                                if (v1_4 > -1) {
                                    ((com.urbandroid.lux.ui.SeekBarPreference) v2_1).setCurrentValue(v1_4);
                                }
                            }
                        } else {
                            com.urbandroid.lux.ui.SeekBarPreference v3_8 = ((android.preference.ListPreference) v2_1);
                            v3_8.setValue(v6_2.getString(v1_3, v3_8.getValue()));
                        }
                    } else {
                        ((android.preference.CheckBoxPreference) v2_1).setChecked(v6_2.getBoolean(v1_3, 0));
                    }
                } else {
                    ((android.preference.CheckBoxPreference) v2_1).setChecked(v6_2.getBoolean(v1_3, 0));
                }
                v2_1.setOnPreferenceChangeListener(this);
            }
        }
        com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate(this);
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/MainActivity;', 'access$200', '(Lcom/urbandroid/lux/MainActivity; Ljava/lang/String;)V'), ('Lcom/urbandroid/lux/MainActivity;', 'loadProfile', '(Ljava/lang/String;)V'), ('Lcom/urbandroid/lux/AbstractTwilightService;', 'startForegroundServiceUpdate', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.MainActivity.access$200():


    static synthetic void access$200(com.urbandroid.lux.MainActivity p0, String p1)
    {
        p0.loadProfile(p1);
        return;
    }

Method com.urbandroid.lux.MainActivity.loadProfile():


    private void loadProfile(String p6)
    {
        java.util.Iterator v0_1 = new StringBuilder();
        v0_1.append("twilight_profile_");
        v0_1.append(p6);
        android.content.SharedPreferences v6_2 = this.getSharedPreferences(v0_1.toString(), 4);
        java.util.Iterator v0_4 = v6_2.getAll().keySet().iterator();
        while (v0_4.hasNext()) {
            int v1_3 = ((String) v0_4.next());
            android.preference.Preference v2_1 = this.getPreferenceScreen().findPreference(v1_3);
            if (v2_1 != null) {
                v2_1.setOnPreferenceChangeListener(0);
                com.urbandroid.lux.ui.SeekBarPreference v3_1 = (v2_1 instanceof android.preference.CheckBoxPreference);
                if (v3_1 == null) {
                    if (v3_1 == null) {
                        if (!(v2_1 instanceof android.preference.ListPreference)) {
                            if ((v2_1 instanceof com.urbandroid.lux.ui.SeekBarPreference)) {
                                int v1_4 = v6_2.getInt(v1_3, -1);
                                if (v1_4 > -1) {
                                    ((com.urbandroid.lux.ui.SeekBarPreference) v2_1).setCurrentValue(v1_4);
                                }
                            }
                        } else {
                            com.urbandroid.lux.ui.SeekBarPreference v3_8 = ((android.preference.ListPreference) v2_1);
                            v3_8.setValue(v6_2.getString(v1_3, v3_8.getValue()));
                        }
                    } else {
                        ((android.preference.CheckBoxPreference) v2_1).setChecked(v6_2.getBoolean(v1_3, 0));
                    }
                } else {
                    ((android.preference.CheckBoxPreference) v2_1).setChecked(v6_2.getBoolean(v1_3, 0));
                }
                v2_1.setOnPreferenceChangeListener(this);
            }
        }
        com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate(this);
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/MainActivity;', 'access$1900', '(Lcom/urbandroid/lux/MainActivity;)V'), ('Lcom/urbandroid/lux/MainActivity;', 'setupSegment', '()V'), ('Lcom/urbandroid/lux/MainActivity;', 'refreshFilterTimes', '(I)V'), ('Lcom/urbandroid/lux/AbstractTwilightService;', 'startForegroundServiceUpdate', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.MainActivity.access$1900():


    static synthetic void access$1900(com.urbandroid.lux.MainActivity p0)
    {
        p0.setupSegment();
        return;
    }

Method com.urbandroid.lux.MainActivity.setupSegment():


    private void setupSegment()
    {
        android.widget.RadioButton v0_0 = this.group;
        if (v0_0 != null) {
            v0_0.clearCheck();
            if (!com.urbandroid.lux.context.AppContext.settings().isForced()) {
                if (!com.urbandroid.lux.context.AppContext.settings().isIntegrateWithSAA()) {
                    if (!com.urbandroid.lux.context.AppContext.settings().isCustomTimes()) {
                        com.urbandroid.common.logging.Logger.logInfo("MainActivity: Checking sun 2131361961");
                        ((android.widget.RadioButton) this.group.findViewById(2131361961)).setChecked(1);
                        this.refreshFilterTimes(2131361961);
                    } else {
                        com.urbandroid.common.logging.Logger.logInfo("MainActivity: Checking custom 2131361957");
                        ((android.widget.RadioButton) this.group.findViewById(2131361957)).setChecked(1);
                        this.refreshFilterTimes(2131361957);
                    }
                } else {
                    com.urbandroid.common.logging.Logger.logInfo("MainActivity: Checking alarm 2131361956");
                    ((android.widget.RadioButton) this.group.findViewById(2131361956)).setChecked(1);
                    this.refreshFilterTimes(2131361956);
                }
            } else {
                com.urbandroid.common.logging.Logger.logInfo("MainActivity: Checking forced 2131361958");
                ((android.widget.RadioButton) this.group.findViewById(2131361958)).setChecked(1);
                this.refreshFilterTimes(2131361958);
            }
        }
        return;
    }

Method com.urbandroid.lux.MainActivity.refreshFilterTimes():


    private void refreshFilterTimes(int p14)
    {
        int v0_0 = this.filterView;
        if (v0_0 != 0) {
            int v0_8 = ((android.widget.TextView) v0_0.findViewById(2131361960));
            com.urbandroid.lux.context.AppContext.settings().setForced(0);
            com.urbandroid.lux.context.AppContext.settings().setIntegrateWithSAA(0);
            com.urbandroid.lux.context.AppContext.settings().setCustomTimes(0);
            this.bar.setEnabled(0);
            String v1_5 = this.filterView;
            if ((v1_5 != null) && (v1_5.findViewById(2131361903) != null)) {
                this.filterView.findViewById(2131361903).setVisibility(8);
            }
            switch (p14) {
                case 2131361956:
                    com.urbandroid.common.logging.Logger.logInfo("MainActivity: Checked alarm");
                    com.urbandroid.lux.context.AppContext.settings().setIntegrateWithSAA(1);
                    com.urbandroid.lux.AbstractTwilightService.updateTimeToBed(this);
                    long v8_1 = com.urbandroid.lux.context.AppContext.settings().getTimeToBed();
                    int v10_1 = com.urbandroid.lux.context.AppContext.settings().getAlarm();
                    com.urbandroid.lux.ui.ThemeUtil v14_20 = new StringBuilder();
                    v14_20.append("MainActivity: Checked alarm ");
                    v14_20.append(new java.util.Date(v8_1));
                    v14_20.append(" ");
                    v14_20.append(new java.util.Date(v10_1));
                    com.urbandroid.common.logging.Logger.logInfo(v14_20.toString());
                    if ((v8_1 != -1) && ((v10_1 != -1) && (v10_1 >= System.currentTimeMillis()))) {
                        com.urbandroid.lux.ui.ThemeUtil v14_26 = new StringBuilder();
                        v14_26.append(this.getString(2131820595));
                        v14_26.append(" \u2192 ");
                        v14_26.append(this.getString(2131820655));
                        v0_8.setText(v14_26.toString());
                        this.updateBar(this.bar, this.filterView, v8_1, v10_1, 0);
                        this.themeUtil.onResume();
                    } else {
                        com.urbandroid.lux.ui.ThemeUtil v14_30 = new android.app.AlertDialog$Builder(this);
                        v14_30.setTitle(2131820650);
                        v14_30.setMessage(2131820649);
                        v14_30.setPositiveButton(2131820600, 0);
                        com.urbandroid.lux.ui.DialogUtil.fixDivider(v14_30.show());
                        ((android.widget.RadioButton) this.group.findViewById(2131361961)).setChecked(1);
                        this.refreshFilterTimes(2131361961);
                    }
                    break;
                case 2131361957:
                    com.urbandroid.common.logging.Logger.logInfo("MainActivity: Checked custom ");
                    this.updateBar(this.bar, this.filterView, com.urbandroid.lux.context.AppContext.settings().getCustomSunset().getTimeInMillis(), com.urbandroid.lux.context.AppContext.settings().getCustomSunrise().getTimeInMillis(), 1);
                    com.urbandroid.lux.context.AppContext.settings().setCustomTimes(1);
                    this.bar.setEnabled(1);
                    com.urbandroid.lux.ui.ThemeUtil v14_7 = this.filterView;
                    if ((v14_7 != null) && (v14_7.findViewById(2131361903) != null)) {
                        this.filterView.findViewById(2131361903).setVisibility(0);
                        this.filterView.findViewById(2131361903).setOnClickListener(new com.urbandroid.lux.MainActivity$31(this));
                    }
                    v0_8.setText(2131820659);
                    this.themeUtil.onResume();
                    break;
                case 2131361958:
                    com.urbandroid.common.logging.Logger.logInfo("MainActivity: Checked force ");
                    com.urbandroid.lux.context.AppContext.settings().setForced(1);
                    v0_8.setText(2131820657);
                    com.urbandroid.lux.ui.ThemeUtil v14_45 = java.util.Calendar.getInstance();
                    v14_45.set(11, 0);
                    v14_45.set(12, 0);
                    com.urbandroid.lux.ui.RangeSeekBar v6_3 = v14_45.getTime().getTime();
                    v14_45.set(11, 23);
                    v14_45.set(12, 59);
                    this.updateBar(this.bar, this.filterView, v6_3, v14_45.getTime().getTime(), 1);
                    this.themeUtil.onResume();
                    break;
                case 2131361959:
                case 2131361960:
                default:
                    break;
                case 2131361961:
                    com.urbandroid.common.logging.Logger.logInfo("MainActivity: Checked sun ");
                    com.urbandroid.lux.ui.ThemeUtil v14_38 = com.urbandroid.lux.context.AppContext.settings().getSunriseOffset();
                    String v2_11 = com.urbandroid.lux.context.AppContext.settings().getSunsetOffset();
                    if ((v14_38 != null) && (v2_11 != null)) {
                        this.updateBar(this.bar, this.filterView, v2_11.getTimeInMillis(), v14_38.getTimeInMillis(), 0);
                    }
                    com.urbandroid.lux.ui.ThemeUtil v14_40 = new StringBuilder();
                    v14_40.append(this.getString(2131820814));
                    v14_40.append(" \u2192 ");
                    v14_40.append(this.getString(2131820813));
                    v0_8.setText(v14_40.toString());
                    break;
            }
            com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate(this);
            this.h.postDelayed(new com.urbandroid.lux.MainActivity$32(this), 500);
            return;
        } else {
            return;
        }
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/MainActivity;', 'access$1800', '(Lcom/urbandroid/lux/MainActivity; I)V'), ('Lcom/urbandroid/lux/MainActivity;', 'refreshFilterTimes', '(I)V'), ('Lcom/urbandroid/lux/AbstractTwilightService;', 'startForegroundServiceUpdate', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.MainActivity.access$1800():


    static synthetic void access$1800(com.urbandroid.lux.MainActivity p0, int p1)
    {
        p0.refreshFilterTimes(p1);
        return;
    }

Method com.urbandroid.lux.MainActivity.refreshFilterTimes():


    private void refreshFilterTimes(int p14)
    {
        int v0_0 = this.filterView;
        if (v0_0 != 0) {
            int v0_8 = ((android.widget.TextView) v0_0.findViewById(2131361960));
            com.urbandroid.lux.context.AppContext.settings().setForced(0);
            com.urbandroid.lux.context.AppContext.settings().setIntegrateWithSAA(0);
            com.urbandroid.lux.context.AppContext.settings().setCustomTimes(0);
            this.bar.setEnabled(0);
            String v1_5 = this.filterView;
            if ((v1_5 != null) && (v1_5.findViewById(2131361903) != null)) {
                this.filterView.findViewById(2131361903).setVisibility(8);
            }
            switch (p14) {
                case 2131361956:
                    com.urbandroid.common.logging.Logger.logInfo("MainActivity: Checked alarm");
                    com.urbandroid.lux.context.AppContext.settings().setIntegrateWithSAA(1);
                    com.urbandroid.lux.AbstractTwilightService.updateTimeToBed(this);
                    long v8_1 = com.urbandroid.lux.context.AppContext.settings().getTimeToBed();
                    int v10_1 = com.urbandroid.lux.context.AppContext.settings().getAlarm();
                    com.urbandroid.lux.ui.ThemeUtil v14_20 = new StringBuilder();
                    v14_20.append("MainActivity: Checked alarm ");
                    v14_20.append(new java.util.Date(v8_1));
                    v14_20.append(" ");
                    v14_20.append(new java.util.Date(v10_1));
                    com.urbandroid.common.logging.Logger.logInfo(v14_20.toString());
                    if ((v8_1 != -1) && ((v10_1 != -1) && (v10_1 >= System.currentTimeMillis()))) {
                        com.urbandroid.lux.ui.ThemeUtil v14_26 = new StringBuilder();
                        v14_26.append(this.getString(2131820595));
                        v14_26.append(" \u2192 ");
                        v14_26.append(this.getString(2131820655));
                        v0_8.setText(v14_26.toString());
                        this.updateBar(this.bar, this.filterView, v8_1, v10_1, 0);
                        this.themeUtil.onResume();
                    } else {
                        com.urbandroid.lux.ui.ThemeUtil v14_30 = new android.app.AlertDialog$Builder(this);
                        v14_30.setTitle(2131820650);
                        v14_30.setMessage(2131820649);
                        v14_30.setPositiveButton(2131820600, 0);
                        com.urbandroid.lux.ui.DialogUtil.fixDivider(v14_30.show());
                        ((android.widget.RadioButton) this.group.findViewById(2131361961)).setChecked(1);
                        this.refreshFilterTimes(2131361961);
                    }
                    break;
                case 2131361957:
                    com.urbandroid.common.logging.Logger.logInfo("MainActivity: Checked custom ");
                    this.updateBar(this.bar, this.filterView, com.urbandroid.lux.context.AppContext.settings().getCustomSunset().getTimeInMillis(), com.urbandroid.lux.context.AppContext.settings().getCustomSunrise().getTimeInMillis(), 1);
                    com.urbandroid.lux.context.AppContext.settings().setCustomTimes(1);
                    this.bar.setEnabled(1);
                    com.urbandroid.lux.ui.ThemeUtil v14_7 = this.filterView;
                    if ((v14_7 != null) && (v14_7.findViewById(2131361903) != null)) {
                        this.filterView.findViewById(2131361903).setVisibility(0);
                        this.filterView.findViewById(2131361903).setOnClickListener(new com.urbandroid.lux.MainActivity$31(this));
                    }
                    v0_8.setText(2131820659);
                    this.themeUtil.onResume();
                    break;
                case 2131361958:
                    com.urbandroid.common.logging.Logger.logInfo("MainActivity: Checked force ");
                    com.urbandroid.lux.context.AppContext.settings().setForced(1);
                    v0_8.setText(2131820657);
                    com.urbandroid.lux.ui.ThemeUtil v14_45 = java.util.Calendar.getInstance();
                    v14_45.set(11, 0);
                    v14_45.set(12, 0);
                    com.urbandroid.lux.ui.RangeSeekBar v6_3 = v14_45.getTime().getTime();
                    v14_45.set(11, 23);
                    v14_45.set(12, 59);
                    this.updateBar(this.bar, this.filterView, v6_3, v14_45.getTime().getTime(), 1);
                    this.themeUtil.onResume();
                    break;
                case 2131361959:
                case 2131361960:
                default:
                    break;
                case 2131361961:
                    com.urbandroid.common.logging.Logger.logInfo("MainActivity: Checked sun ");
                    com.urbandroid.lux.ui.ThemeUtil v14_38 = com.urbandroid.lux.context.AppContext.settings().getSunriseOffset();
                    String v2_11 = com.urbandroid.lux.context.AppContext.settings().getSunsetOffset();
                    if ((v14_38 != null) && (v2_11 != null)) {
                        this.updateBar(this.bar, this.filterView, v2_11.getTimeInMillis(), v14_38.getTimeInMillis(), 0);
                    }
                    com.urbandroid.lux.ui.ThemeUtil v14_40 = new StringBuilder();
                    v14_40.append(this.getString(2131820814));
                    v14_40.append(" \u2192 ");
                    v14_40.append(this.getString(2131820813));
                    v0_8.setText(v14_40.toString());
                    break;
            }
            com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate(this);
            this.h.postDelayed(new com.urbandroid.lux.MainActivity$32(this), 500);
            return;
        } else {
            return;
        }
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/BacklightActivity;', 'onStart', '()V'), ('Lcom/urbandroid/lux/AbstractTwilightService;', 'startForegroundServiceUpdate', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.BacklightActivity.onStart():


    protected void onStart()
    {
        super.onStart();
        com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate(this);
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/schedules/ScheduleActivity;', 'onStop', '()V'), ('Lcom/urbandroid/lux/context/Settings;', 'scheduleProfileSwitch', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.schedules.ScheduleActivity.onStop():


    protected void onStop()
    {
        super.onStop();
        com.urbandroid.lux.context.AppContext.settings().scheduleProfileSwitch(this);
        return;
    }

Method com.urbandroid.lux.context.Settings.scheduleProfileSwitch():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/ban/NewBanListActivity;', 'onPause', '()V'), ('Lcom/urbandroid/lux/AbstractTwilightService;', 'startForegroundServiceUpdate', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.ban.NewBanListActivity.onPause():


    protected void onPause()
    {
        super.onPause();
        com.urbandroid.lux.context.AppContext.settings().saveBanList(this.banList);
        com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate(this);
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/ban/BanListActivity;', 'onStop', '()V'), ('Lcom/urbandroid/lux/AbstractTwilightService;', 'startForegroundServiceUpdate', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.ban.BanListActivity.onStop():


    protected void onStop()
    {
        super.onStop();
        com.urbandroid.lux.context.Settings v0_1 = this.banList.iterator();
        while (v0_1.hasNext()) {
            java.util.Set v1_1 = ((String) v0_1.next());
            StringBuilder v2_1 = new StringBuilder();
            v2_1.append("Saving ");
            v2_1.append(v1_1);
            com.urbandroid.common.logging.Logger.logInfo(v2_1.toString());
        }
        com.urbandroid.lux.context.AppContext.settings().saveBanList(this.banList);
        com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate(this);
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/MainActivity$42$1;', 'onClick', '()V'), ('Lcom/urbandroid/lux/MainActivity;', 'access$800', '(Lcom/urbandroid/lux/MainActivity; Ljava/lang/String;)V'), ('Lcom/urbandroid/lux/MainActivity;', 'selectProfile', '(Ljava/lang/String;)V'), ('Lcom/urbandroid/lux/MainActivity;', 'loadProfile', '(Ljava/lang/String;)V'), ('Lcom/urbandroid/lux/AbstractTwilightService;', 'startForegroundServiceUpdate', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.MainActivity$42$1.onClick():


    public void onClick()
    {
        com.urbandroid.lux.MainActivity.access$800(this.this$1.this$0, this.val$profileName);
        return;
    }

Method com.urbandroid.lux.MainActivity.access$800():


    static synthetic void access$800(com.urbandroid.lux.MainActivity p0, String p1)
    {
        p0.selectProfile(p1);
        return;
    }

Method com.urbandroid.lux.MainActivity.selectProfile():


    private void selectProfile(String p4)
    {
        android.support.v7.app.ActionBar v0_1 = com.urbandroid.lux.context.AppContext.settings().isBacklightControl();
        com.urbandroid.lux.context.AppContext.settings().setForced(0);
        com.urbandroid.lux.context.AppContext.settings().setIntegrateWithSAA(0);
        com.urbandroid.lux.context.AppContext.settings().setCustomTimes(0);
        com.urbandroid.lux.context.AppContext.settings().loadProfile(p4);
        this.loadProfile(p4);
        this.setupSegment();
        com.urbandroid.lux.context.AppContext.settings().setCurrentProfile(p4);
        if ((!com.urbandroid.lux.context.AppContext.settings().isBacklightControl()) && (v0_1 != null)) {
            com.urbandroid.lux.ui.TwilightView.revertBrightness(this);
        }
        this.getSupportActionBar().setTitle(p4);
        return;
    }

Method com.urbandroid.lux.MainActivity.loadProfile():


    private void loadProfile(String p6)
    {
        java.util.Iterator v0_1 = new StringBuilder();
        v0_1.append("twilight_profile_");
        v0_1.append(p6);
        android.content.SharedPreferences v6_2 = this.getSharedPreferences(v0_1.toString(), 4);
        java.util.Iterator v0_4 = v6_2.getAll().keySet().iterator();
        while (v0_4.hasNext()) {
            int v1_3 = ((String) v0_4.next());
            android.preference.Preference v2_1 = this.getPreferenceScreen().findPreference(v1_3);
            if (v2_1 != null) {
                v2_1.setOnPreferenceChangeListener(0);
                com.urbandroid.lux.ui.SeekBarPreference v3_1 = (v2_1 instanceof android.preference.CheckBoxPreference);
                if (v3_1 == null) {
                    if (v3_1 == null) {
                        if (!(v2_1 instanceof android.preference.ListPreference)) {
                            if ((v2_1 instanceof com.urbandroid.lux.ui.SeekBarPreference)) {
                                int v1_4 = v6_2.getInt(v1_3, -1);
                                if (v1_4 > -1) {
                                    ((com.urbandroid.lux.ui.SeekBarPreference) v2_1).setCurrentValue(v1_4);
                                }
                            }
                        } else {
                            com.urbandroid.lux.ui.SeekBarPreference v3_8 = ((android.preference.ListPreference) v2_1);
                            v3_8.setValue(v6_2.getString(v1_3, v3_8.getValue()));
                        }
                    } else {
                        ((android.preference.CheckBoxPreference) v2_1).setChecked(v6_2.getBoolean(v1_3, 0));
                    }
                } else {
                    ((android.preference.CheckBoxPreference) v2_1).setChecked(v6_2.getBoolean(v1_3, 0));
                }
                v2_1.setOnPreferenceChangeListener(this);
            }
        }
        com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate(this);
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/MainActivity$16;', 'onClick', '()V'), ('Lcom/urbandroid/lux/MainActivity;', 'access$800', '(Lcom/urbandroid/lux/MainActivity; Ljava/lang/String;)V'), ('Lcom/urbandroid/lux/MainActivity;', 'selectProfile', '(Ljava/lang/String;)V'), ('Lcom/urbandroid/lux/MainActivity;', 'loadProfile', '(Ljava/lang/String;)V'), ('Lcom/urbandroid/lux/AbstractTwilightService;', 'startForegroundServiceUpdate', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.MainActivity$16.onClick():


    public void onClick()
    {
        com.urbandroid.lux.MainActivity.access$800(this.this$0, this.title);
        return;
    }

Method com.urbandroid.lux.MainActivity.access$800():


    static synthetic void access$800(com.urbandroid.lux.MainActivity p0, String p1)
    {
        p0.selectProfile(p1);
        return;
    }

Method com.urbandroid.lux.MainActivity.selectProfile():


    private void selectProfile(String p4)
    {
        android.support.v7.app.ActionBar v0_1 = com.urbandroid.lux.context.AppContext.settings().isBacklightControl();
        com.urbandroid.lux.context.AppContext.settings().setForced(0);
        com.urbandroid.lux.context.AppContext.settings().setIntegrateWithSAA(0);
        com.urbandroid.lux.context.AppContext.settings().setCustomTimes(0);
        com.urbandroid.lux.context.AppContext.settings().loadProfile(p4);
        this.loadProfile(p4);
        this.setupSegment();
        com.urbandroid.lux.context.AppContext.settings().setCurrentProfile(p4);
        if ((!com.urbandroid.lux.context.AppContext.settings().isBacklightControl()) && (v0_1 != null)) {
            com.urbandroid.lux.ui.TwilightView.revertBrightness(this);
        }
        this.getSupportActionBar().setTitle(p4);
        return;
    }

Method com.urbandroid.lux.MainActivity.loadProfile():


    private void loadProfile(String p6)
    {
        java.util.Iterator v0_1 = new StringBuilder();
        v0_1.append("twilight_profile_");
        v0_1.append(p6);
        android.content.SharedPreferences v6_2 = this.getSharedPreferences(v0_1.toString(), 4);
        java.util.Iterator v0_4 = v6_2.getAll().keySet().iterator();
        while (v0_4.hasNext()) {
            int v1_3 = ((String) v0_4.next());
            android.preference.Preference v2_1 = this.getPreferenceScreen().findPreference(v1_3);
            if (v2_1 != null) {
                v2_1.setOnPreferenceChangeListener(0);
                com.urbandroid.lux.ui.SeekBarPreference v3_1 = (v2_1 instanceof android.preference.CheckBoxPreference);
                if (v3_1 == null) {
                    if (v3_1 == null) {
                        if (!(v2_1 instanceof android.preference.ListPreference)) {
                            if ((v2_1 instanceof com.urbandroid.lux.ui.SeekBarPreference)) {
                                int v1_4 = v6_2.getInt(v1_3, -1);
                                if (v1_4 > -1) {
                                    ((com.urbandroid.lux.ui.SeekBarPreference) v2_1).setCurrentValue(v1_4);
                                }
                            }
                        } else {
                            com.urbandroid.lux.ui.SeekBarPreference v3_8 = ((android.preference.ListPreference) v2_1);
                            v3_8.setValue(v6_2.getString(v1_3, v3_8.getValue()));
                        }
                    } else {
                        ((android.preference.CheckBoxPreference) v2_1).setChecked(v6_2.getBoolean(v1_3, 0));
                    }
                } else {
                    ((android.preference.CheckBoxPreference) v2_1).setChecked(v6_2.getBoolean(v1_3, 0));
                }
                v2_1.setOnPreferenceChangeListener(this);
            }
        }
        com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate(this);
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/WearMessageServerService;', 'onMessageReceived', '(Lcom/google/android/gms/wearable/MessageEvent;)V'), ('Lcom/urbandroid/lux/AbstractTwilightService;', 'startForegroundServiceUpdate', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.WearMessageServerService.onMessageReceived():


    public void onMessageReceived(com.google.android.gms.wearable.MessageEvent p3)
    {
        super.onMessageReceived(p3);
        StringBuilder v0_1 = new StringBuilder();
        v0_1.append("Wear message ");
        v0_1.append(p3.getPath());
        com.urbandroid.common.logging.Logger.logInfo(v0_1.toString());
        com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate(this.getApplicationContext());
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/TvFragment$ItemViewClickedListener;', 'onItemClicked', '(Landroid/support/v17/leanback/widget/Presenter$ViewHolder; Ljava/lang/Object; Landroid/support/v17/leanback/widget/RowPresenter$ViewHolder; Ljava/lang/Object;)V'), ('Lcom/urbandroid/lux/TvFragment$ItemViewClickedListener;', 'onItemClicked', '(Landroid/support/v17/leanback/widget/Presenter$ViewHolder; Ljava/lang/Object; Landroid/support/v17/leanback/widget/RowPresenter$ViewHolder; Landroid/support/v17/leanback/widget/Row;)V'), ('Lcom/urbandroid/lux/AbstractTwilightService;', 'startForegroundServiceUpdate', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.TvFragment$ItemViewClickedListener.onItemClicked():


    public bridge synthetic void onItemClicked(android.support.v17.leanback.widget.Presenter$ViewHolder p1, Object p2, android.support.v17.leanback.widget.RowPresenter$ViewHolder p3, Object p4)
    {
        this.onItemClicked(p1, p2, p3, ((android.support.v17.leanback.widget.Row) p4));
        return;
    }

Method com.urbandroid.lux.TvFragment$ItemViewClickedListener.onItemClicked():


    public void onItemClicked(android.support.v17.leanback.widget.Presenter$ViewHolder p1, Object p2, android.support.v17.leanback.widget.RowPresenter$ViewHolder p3, android.support.v17.leanback.widget.Row p4)
    {
        if (((com.urbandroid.lux.domain.Option) p2) != null) {
            com.urbandroid.lux.TvFragment v1_5 = new StringBuilder();
            v1_5.append("Clicked ");
            v1_5.append(((com.urbandroid.lux.domain.Option) p2).getTitle());
            v1_5.append(" op ");
            v1_5.append(((com.urbandroid.lux.domain.Option) p2).getClass());
            v1_5.append(" row ");
            v1_5.append(p4.getHeaderItem().getName());
            com.urbandroid.common.logging.Logger.logInfo(v1_5.toString());
            ((com.urbandroid.lux.domain.Option) p2).onSelected();
            com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate(this.this$0.getActivity());
            this.this$0.refreshNavigation();
        }
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/TvFragment$ItemViewClickedListener;', 'onItemClicked', '(Landroid/support/v17/leanback/widget/Presenter$ViewHolder; Ljava/lang/Object; Landroid/support/v17/leanback/widget/RowPresenter$ViewHolder; Landroid/support/v17/leanback/widget/Row;)V'), ('Lcom/urbandroid/lux/AbstractTwilightService;', 'startForegroundServiceUpdate', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.TvFragment$ItemViewClickedListener.onItemClicked():


    public void onItemClicked(android.support.v17.leanback.widget.Presenter$ViewHolder p1, Object p2, android.support.v17.leanback.widget.RowPresenter$ViewHolder p3, android.support.v17.leanback.widget.Row p4)
    {
        if (((com.urbandroid.lux.domain.Option) p2) != null) {
            com.urbandroid.lux.TvFragment v1_5 = new StringBuilder();
            v1_5.append("Clicked ");
            v1_5.append(((com.urbandroid.lux.domain.Option) p2).getTitle());
            v1_5.append(" op ");
            v1_5.append(((com.urbandroid.lux.domain.Option) p2).getClass());
            v1_5.append(" row ");
            v1_5.append(p4.getHeaderItem().getName());
            com.urbandroid.common.logging.Logger.logInfo(v1_5.toString());
            ((com.urbandroid.lux.domain.Option) p2).onSelected();
            com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate(this.this$0.getActivity());
            this.this$0.refreshNavigation();
        }
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/MainActivity$4;', 'onClick', '()V'), ('Lcom/urbandroid/lux/AbstractTwilightService;', 'stopService', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.MainActivity$4.onClick():


    public void onClick()
    {
        com.urbandroid.lux.context.AppContext.settings().setServiceEnabled(0);
        com.urbandroid.lux.AbstractTwilightService.stopService(this.this$0);
        if (com.urbandroid.lux.context.AppContext.settings().isBacklightControl()) {
            com.urbandroid.lux.ui.TwilightView.revertBrightness(this.this$0.getApplicationContext());
        }
        this.this$0.finish();
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/MainActivity$3;', 'onClick', '()V'), ('Lcom/urbandroid/lux/AbstractTwilightService;', 'pauseTemp', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.MainActivity$3.onClick():


    public void onClick()
    {
        com.urbandroid.lux.AbstractTwilightService.pauseTemp(this.this$0);
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.pauseTemp():


    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.content.Intent.<init>() not found.

[TAINT] String 'market://details?id=com.urbandroid.lux.donate' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String; Landroid/net/Uri;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/MainActivity$2;', 'onClick', '()V'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String; Landroid/net/Uri;)V')]]

Use of a string value market://details?id=com.urbandroid.lux.donate to construct an Intent

Method com.urbandroid.lux.MainActivity$2.onClick():


    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 android.content.Intent.<init>() not found.

[TAINT] String 'https://docs.google.com/spreadsheets/d/1Jse7DqJr4eNTca6_7rSBchpaX3eU6SgLo9V3ltBio5Q/edit?usp=sharing' ==>>> Sink '['Landroid/content/Intent;', 'setData', '(Landroid/net/Uri;)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/urbandroid/lux/MainActivity$20;', 'onClick', '()V'), ('Landroid/content/Intent;', 'setData', '(Landroid/net/Uri;)Landroid/content/Intent;')]]

Use of a string value https://docs.google.com/spreadsheets/d/1Jse7DqJr4eNTca6_7rSBchpaX3eU6SgLo9V3ltBio5Q/edit?usp=sharing to construct an Intent

Method com.urbandroid.lux.MainActivity$20.onClick():


    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.content.Intent.setData() not found.

[TAINT] String 'com.urbandroid.lux.taskerplugin.extra.INT_VERSION_CODE' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Landroid/os/Bundle;)Landroid/content/Intent;', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/integration/taskerplugin/ui/EditEventActivity;', 'finish', '()V'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Landroid/os/Bundle;)Landroid/content/Intent;')]]

Use of a string value com.urbandroid.lux.taskerplugin.extra.INT_VERSION_CODE to construct an Intent

Method com.urbandroid.lux.integration.taskerplugin.ui.EditEventActivity.finish():


    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 android.content.Intent.putExtra() not found.

[TAINT] String 'com.urbandroid.lux.taskerplugin.extra.EVENT' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Landroid/os/Bundle;)Landroid/content/Intent;', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/integration/taskerplugin/ui/EditEventActivity;', 'finish', '()V'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Landroid/os/Bundle;)Landroid/content/Intent;')]]

Use of a string value com.urbandroid.lux.taskerplugin.extra.EVENT to construct an Intent

Method com.urbandroid.lux.integration.taskerplugin.ui.EditEventActivity.finish():


    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 android.content.Intent.putExtra() not found.

[TAINT] String 'com.urbandroid.lux.taskerplugin.extra.INT_VERSION_CODE' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Ljava/lang/String;)Landroid/content/Intent;', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/integration/taskerplugin/ui/EditEventActivity;', 'finish', '()V'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Ljava/lang/String;)Landroid/content/Intent;')]]

Use of a string value com.urbandroid.lux.taskerplugin.extra.INT_VERSION_CODE to construct an Intent

Method com.urbandroid.lux.integration.taskerplugin.ui.EditEventActivity.finish():


    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 android.content.Intent.putExtra() not found.

[TAINT] String 'com.twofortyfouram.locale.intent.extra.BUNDLE' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Landroid/os/Bundle;)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/urbandroid/lux/integration/taskerplugin/ui/EditEventActivity;', 'finish', '()V'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Landroid/os/Bundle;)Landroid/content/Intent;')]]

Use of a string value com.twofortyfouram.locale.intent.extra.BUNDLE to construct an Intent

Method com.urbandroid.lux.integration.taskerplugin.ui.EditEventActivity.finish():


    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 android.content.Intent.putExtra() not found.

[TAINT] String 'com.twofortyfouram.locale.intent.extra.BUNDLE' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Ljava/lang/String;)Landroid/content/Intent;', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/integration/taskerplugin/ui/EditEventActivity;', 'finish', '()V'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Ljava/lang/String;)Landroid/content/Intent;')]]

Use of a string value com.twofortyfouram.locale.intent.extra.BUNDLE to construct an Intent

Method com.urbandroid.lux.integration.taskerplugin.ui.EditEventActivity.finish():


    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 android.content.Intent.putExtra() not found.

[TAINT] String 'com.urbandroid.lux.taskerplugin.extra.EVENT' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Ljava/lang/String;)Landroid/content/Intent;', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/integration/taskerplugin/ui/EditEventActivity;', 'finish', '()V'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Ljava/lang/String;)Landroid/content/Intent;')]]

Use of a string value com.urbandroid.lux.taskerplugin.extra.EVENT to construct an Intent

Method com.urbandroid.lux.integration.taskerplugin.ui.EditEventActivity.finish():


    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 android.content.Intent.putExtra() not found.

[TAINT] String 'com.twofortyfouram.locale.intent.extra.BLURB' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Ljava/lang/String;)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/urbandroid/lux/integration/taskerplugin/ui/EditEventActivity;', 'finish', '()V'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Ljava/lang/String;)Landroid/content/Intent;')]]

Use of a string value com.twofortyfouram.locale.intent.extra.BLURB to construct an Intent

Method com.urbandroid.lux.integration.taskerplugin.ui.EditEventActivity.finish():


    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 android.content.Intent.putExtra() not found.

[TAINT] String 'com.urbandroid.lux.taskerplugin.extra.INT_VERSION_CODE' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Landroid/os/Bundle;)Landroid/content/Intent;', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/integration/taskerplugin/ui/EditActionActivity;', 'finish', '()V'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Landroid/os/Bundle;)Landroid/content/Intent;')]]

Use of a string value com.urbandroid.lux.taskerplugin.extra.INT_VERSION_CODE to construct an Intent

Method com.urbandroid.lux.integration.taskerplugin.ui.EditActionActivity.finish():


    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 android.content.Intent.putExtra() not found.

[TAINT] String 'com.urbandroid.lux.taskerplugin.extra.EVENT' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Landroid/os/Bundle;)Landroid/content/Intent;', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/integration/taskerplugin/ui/EditActionActivity;', 'finish', '()V'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Landroid/os/Bundle;)Landroid/content/Intent;')]]

Use of a string value com.urbandroid.lux.taskerplugin.extra.EVENT to construct an Intent

Method com.urbandroid.lux.integration.taskerplugin.ui.EditActionActivity.finish():


    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 android.content.Intent.putExtra() not found.

[TAINT] String 'com.twofortyfouram.locale.intent.extra.BUNDLE' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Ljava/lang/String;)Landroid/content/Intent;', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/integration/taskerplugin/ui/EditActionActivity;', 'finish', '()V'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Ljava/lang/String;)Landroid/content/Intent;')]]

Use of a string value com.twofortyfouram.locale.intent.extra.BUNDLE to construct an Intent

Method com.urbandroid.lux.integration.taskerplugin.ui.EditActionActivity.finish():


    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 android.content.Intent.putExtra() not found.

[TAINT] String 'com.twofortyfouram.locale.intent.extra.BUNDLE' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Landroid/os/Bundle;)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/urbandroid/lux/integration/taskerplugin/ui/EditActionActivity;', 'finish', '()V'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Landroid/os/Bundle;)Landroid/content/Intent;')]]

Use of a string value com.twofortyfouram.locale.intent.extra.BUNDLE to construct an Intent

Method com.urbandroid.lux.integration.taskerplugin.ui.EditActionActivity.finish():


    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 android.content.Intent.putExtra() not found.

[TAINT] String 'com.urbandroid.lux.taskerplugin.extra.INT_VERSION_CODE' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Ljava/lang/String;)Landroid/content/Intent;', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/integration/taskerplugin/ui/EditActionActivity;', 'finish', '()V'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Ljava/lang/String;)Landroid/content/Intent;')]]

Use of a string value com.urbandroid.lux.taskerplugin.extra.INT_VERSION_CODE to construct an Intent

Method com.urbandroid.lux.integration.taskerplugin.ui.EditActionActivity.finish():


    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 android.content.Intent.putExtra() not found.

[TAINT] String 'com.twofortyfouram.locale.intent.extra.BLURB' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Ljava/lang/String;)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/urbandroid/lux/integration/taskerplugin/ui/EditActionActivity;', 'finish', '()V'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Ljava/lang/String;)Landroid/content/Intent;')]]

Use of a string value com.twofortyfouram.locale.intent.extra.BLURB to construct an Intent

Method com.urbandroid.lux.integration.taskerplugin.ui.EditActionActivity.finish():


    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 android.content.Intent.putExtra() not found.

[TAINT] String 'com.urbandroid.lux.taskerplugin.extra.EVENT' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Ljava/lang/String;)Landroid/content/Intent;', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/integration/taskerplugin/ui/EditActionActivity;', 'finish', '()V'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Ljava/lang/String;)Landroid/content/Intent;')]]

Use of a string value com.urbandroid.lux.taskerplugin.extra.EVENT to construct an Intent

Method com.urbandroid.lux.integration.taskerplugin.ui.EditActionActivity.finish():


    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 android.content.Intent.putExtra() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/context/Settings;', 'scheduleProfileSwitch', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.context.Settings.scheduleProfileSwitch():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/TwilightService;', 'onDestroy', '()V'), ('Lcom/urbandroid/lux/AbstractTwilightService;', 'onDestroy', '()V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.TwilightService.onDestroy():


    public void onDestroy()
    {
        java.util.concurrent.ExecutorService v0 = this.executor;
        if (v0 != null) {
            v0.submit(new com.urbandroid.lux.TwilightService$3(this));
        }
        super.onDestroy();
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.onDestroy():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/MainActivity$27;', 'onBind', '(Landroid/view/View;)V'), ('Lcom/urbandroid/lux/MainActivity;', 'access$1900', '(Lcom/urbandroid/lux/MainActivity;)V'), ('Lcom/urbandroid/lux/MainActivity;', 'setupSegment', '()V'), ('Lcom/urbandroid/lux/MainActivity;', 'refreshFilterTimes', '(I)V'), ('Lcom/urbandroid/lux/AbstractTwilightService;', 'startForegroundServiceUpdate', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.MainActivity$27.onBind():


    public void onBind(android.view.View p6)
    {
        com.urbandroid.lux.MainActivity.access$1302(this.this$0, ((android.view.ViewGroup) p6.findViewById(2131361955)));
        com.urbandroid.lux.MainActivity.access$1402(this.this$0, new com.urbandroid.lux.ui.RangeSeekBar(Integer.valueOf(0), Integer.valueOf(1439), this.this$0));
        com.urbandroid.lux.MainActivity.access$1502(this.this$0, ((com.urbandroid.lux.ui.SegmentedGroup) p6.findViewById(2131362172)));
        if ((p6 != null) && (p6.findViewById(2131361959) != null)) {
            ((android.view.ViewGroup) p6.findViewById(2131361959)).removeAllViews();
            ((android.view.ViewGroup) p6.findViewById(2131361959)).addView(com.urbandroid.lux.MainActivity.access$1400(this.this$0));
            com.urbandroid.lux.MainActivity.access$1400(this.this$0).setNotifyWhileDragging(1);
            com.urbandroid.lux.MainActivity.access$1400(this.this$0).setOnRangeSeekBarChangeListener(new com.urbandroid.lux.MainActivity$27$1(this));
            com.urbandroid.lux.MainActivity.access$1400(this.this$0).setOnRangeSeekBarChangeAfterListener(new com.urbandroid.lux.MainActivity$27$2(this));
            com.urbandroid.lux.MainActivity.access$1300(this.this$0).findViewById(2131361956).setOnClickListener(new com.urbandroid.lux.MainActivity$27$3(this));
            com.urbandroid.lux.MainActivity.access$1300(this.this$0).findViewById(2131361961).setOnClickListener(new com.urbandroid.lux.MainActivity$27$4(this));
            com.urbandroid.lux.MainActivity.access$1300(this.this$0).findViewById(2131361958).setOnClickListener(new com.urbandroid.lux.MainActivity$27$5(this));
            com.urbandroid.lux.MainActivity.access$1300(this.this$0).findViewById(2131361957).setOnClickListener(new com.urbandroid.lux.MainActivity$27$6(this));
            com.urbandroid.lux.MainActivity.access$1900(this.this$0);
            return;
        } else {
            com.urbandroid.common.logging.Logger.logSevere("No views");
            return;
        }
    }

Method com.urbandroid.lux.MainActivity.access$1900():


    static synthetic void access$1900(com.urbandroid.lux.MainActivity p0)
    {
        p0.setupSegment();
        return;
    }

Method com.urbandroid.lux.MainActivity.setupSegment():


    private void setupSegment()
    {
        android.widget.RadioButton v0_0 = this.group;
        if (v0_0 != null) {
            v0_0.clearCheck();
            if (!com.urbandroid.lux.context.AppContext.settings().isForced()) {
                if (!com.urbandroid.lux.context.AppContext.settings().isIntegrateWithSAA()) {
                    if (!com.urbandroid.lux.context.AppContext.settings().isCustomTimes()) {
                        com.urbandroid.common.logging.Logger.logInfo("MainActivity: Checking sun 2131361961");
                        ((android.widget.RadioButton) this.group.findViewById(2131361961)).setChecked(1);
                        this.refreshFilterTimes(2131361961);
                    } else {
                        com.urbandroid.common.logging.Logger.logInfo("MainActivity: Checking custom 2131361957");
                        ((android.widget.RadioButton) this.group.findViewById(2131361957)).setChecked(1);
                        this.refreshFilterTimes(2131361957);
                    }
                } else {
                    com.urbandroid.common.logging.Logger.logInfo("MainActivity: Checking alarm 2131361956");
                    ((android.widget.RadioButton) this.group.findViewById(2131361956)).setChecked(1);
                    this.refreshFilterTimes(2131361956);
                }
            } else {
                com.urbandroid.common.logging.Logger.logInfo("MainActivity: Checking forced 2131361958");
                ((android.widget.RadioButton) this.group.findViewById(2131361958)).setChecked(1);
                this.refreshFilterTimes(2131361958);
            }
        }
        return;
    }

Method com.urbandroid.lux.MainActivity.refreshFilterTimes():


    private void refreshFilterTimes(int p14)
    {
        int v0_0 = this.filterView;
        if (v0_0 != 0) {
            int v0_8 = ((android.widget.TextView) v0_0.findViewById(2131361960));
            com.urbandroid.lux.context.AppContext.settings().setForced(0);
            com.urbandroid.lux.context.AppContext.settings().setIntegrateWithSAA(0);
            com.urbandroid.lux.context.AppContext.settings().setCustomTimes(0);
            this.bar.setEnabled(0);
            String v1_5 = this.filterView;
            if ((v1_5 != null) && (v1_5.findViewById(2131361903) != null)) {
                this.filterView.findViewById(2131361903).setVisibility(8);
            }
            switch (p14) {
                case 2131361956:
                    com.urbandroid.common.logging.Logger.logInfo("MainActivity: Checked alarm");
                    com.urbandroid.lux.context.AppContext.settings().setIntegrateWithSAA(1);
                    com.urbandroid.lux.AbstractTwilightService.updateTimeToBed(this);
                    long v8_1 = com.urbandroid.lux.context.AppContext.settings().getTimeToBed();
                    int v10_1 = com.urbandroid.lux.context.AppContext.settings().getAlarm();
                    com.urbandroid.lux.ui.ThemeUtil v14_20 = new StringBuilder();
                    v14_20.append("MainActivity: Checked alarm ");
                    v14_20.append(new java.util.Date(v8_1));
                    v14_20.append(" ");
                    v14_20.append(new java.util.Date(v10_1));
                    com.urbandroid.common.logging.Logger.logInfo(v14_20.toString());
                    if ((v8_1 != -1) && ((v10_1 != -1) && (v10_1 >= System.currentTimeMillis()))) {
                        com.urbandroid.lux.ui.ThemeUtil v14_26 = new StringBuilder();
                        v14_26.append(this.getString(2131820595));
                        v14_26.append(" \u2192 ");
                        v14_26.append(this.getString(2131820655));
                        v0_8.setText(v14_26.toString());
                        this.updateBar(this.bar, this.filterView, v8_1, v10_1, 0);
                        this.themeUtil.onResume();
                    } else {
                        com.urbandroid.lux.ui.ThemeUtil v14_30 = new android.app.AlertDialog$Builder(this);
                        v14_30.setTitle(2131820650);
                        v14_30.setMessage(2131820649);
                        v14_30.setPositiveButton(2131820600, 0);
                        com.urbandroid.lux.ui.DialogUtil.fixDivider(v14_30.show());
                        ((android.widget.RadioButton) this.group.findViewById(2131361961)).setChecked(1);
                        this.refreshFilterTimes(2131361961);
                    }
                    break;
                case 2131361957:
                    com.urbandroid.common.logging.Logger.logInfo("MainActivity: Checked custom ");
                    this.updateBar(this.bar, this.filterView, com.urbandroid.lux.context.AppContext.settings().getCustomSunset().getTimeInMillis(), com.urbandroid.lux.context.AppContext.settings().getCustomSunrise().getTimeInMillis(), 1);
                    com.urbandroid.lux.context.AppContext.settings().setCustomTimes(1);
                    this.bar.setEnabled(1);
                    com.urbandroid.lux.ui.ThemeUtil v14_7 = this.filterView;
                    if ((v14_7 != null) && (v14_7.findViewById(2131361903) != null)) {
                        this.filterView.findViewById(2131361903).setVisibility(0);
                        this.filterView.findViewById(2131361903).setOnClickListener(new com.urbandroid.lux.MainActivity$31(this));
                    }
                    v0_8.setText(2131820659);
                    this.themeUtil.onResume();
                    break;
                case 2131361958:
                    com.urbandroid.common.logging.Logger.logInfo("MainActivity: Checked force ");
                    com.urbandroid.lux.context.AppContext.settings().setForced(1);
                    v0_8.setText(2131820657);
                    com.urbandroid.lux.ui.ThemeUtil v14_45 = java.util.Calendar.getInstance();
                    v14_45.set(11, 0);
                    v14_45.set(12, 0);
                    com.urbandroid.lux.ui.RangeSeekBar v6_3 = v14_45.getTime().getTime();
                    v14_45.set(11, 23);
                    v14_45.set(12, 59);
                    this.updateBar(this.bar, this.filterView, v6_3, v14_45.getTime().getTime(), 1);
                    this.themeUtil.onResume();
                    break;
                case 2131361959:
                case 2131361960:
                default:
                    break;
                case 2131361961:
                    com.urbandroid.common.logging.Logger.logInfo("MainActivity: Checked sun ");
                    com.urbandroid.lux.ui.ThemeUtil v14_38 = com.urbandroid.lux.context.AppContext.settings().getSunriseOffset();
                    String v2_11 = com.urbandroid.lux.context.AppContext.settings().getSunsetOffset();
                    if ((v14_38 != null) && (v2_11 != null)) {
                        this.updateBar(this.bar, this.filterView, v2_11.getTimeInMillis(), v14_38.getTimeInMillis(), 0);
                    }
                    com.urbandroid.lux.ui.ThemeUtil v14_40 = new StringBuilder();
                    v14_40.append(this.getString(2131820814));
                    v14_40.append(" \u2192 ");
                    v14_40.append(this.getString(2131820813));
                    v0_8.setText(v14_40.toString());
                    break;
            }
            com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate(this);
            this.h.postDelayed(new com.urbandroid.lux.MainActivity$32(this), 500);
            return;
        } else {
            return;
        }
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/MainActivity$27$2;', 'onRangeSeekBarValuesChanged', '(Lcom/urbandroid/lux/ui/RangeSeekBar; Ljava/lang/Object; Ljava/lang/Object;)V'), ('Lcom/urbandroid/lux/MainActivity$27$2;', 'onRangeSeekBarValuesChanged', '(Lcom/urbandroid/lux/ui/RangeSeekBar; Ljava/lang/Integer; Ljava/lang/Integer;)V'), ('Lcom/urbandroid/lux/AbstractTwilightService;', 'startForegroundServiceUpdate', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.MainActivity$27$2.onRangeSeekBarValuesChanged():


    public bridge synthetic void onRangeSeekBarValuesChanged(com.urbandroid.lux.ui.RangeSeekBar p1, Object p2, Object p3)
    {
        this.onRangeSeekBarValuesChanged(p1, ((Integer) p2), ((Integer) p3));
        return;
    }

Method com.urbandroid.lux.MainActivity$27$2.onRangeSeekBarValuesChanged():


    public void onRangeSeekBarValuesChanged(com.urbandroid.lux.ui.RangeSeekBar p7, Integer p8, Integer p9)
    {
        long v0 = p7.getMinEntry();
        long v2 = p7.getMaxEntry();
        if (p8.equals(p7.getLastMin())) {
            if (!p9.equals(p7.getLastMax())) {
                v2 += ((long) (((p9.intValue() - ((Integer) p7.getLastMax()).intValue()) * 1) * 60000));
            }
        } else {
            v0 += ((long) (((p8.intValue() - ((Integer) p7.getLastMin()).intValue()) * 1) * 60000));
        }
        com.urbandroid.lux.context.AppContext.settings().setCustomSunset(v0);
        com.urbandroid.lux.context.AppContext.settings().setCustomSunrise(v2);
        com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate(this.this$1.this$0);
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/MainActivity$27$2;', 'onRangeSeekBarValuesChanged', '(Lcom/urbandroid/lux/ui/RangeSeekBar; Ljava/lang/Integer; Ljava/lang/Integer;)V'), ('Lcom/urbandroid/lux/AbstractTwilightService;', 'startForegroundServiceUpdate', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.MainActivity$27$2.onRangeSeekBarValuesChanged():


    public void onRangeSeekBarValuesChanged(com.urbandroid.lux.ui.RangeSeekBar p7, Integer p8, Integer p9)
    {
        long v0 = p7.getMinEntry();
        long v2 = p7.getMaxEntry();
        if (p8.equals(p7.getLastMin())) {
            if (!p9.equals(p7.getLastMax())) {
                v2 += ((long) (((p9.intValue() - ((Integer) p7.getLastMax()).intValue()) * 1) * 60000));
            }
        } else {
            v0 += ((long) (((p8.intValue() - ((Integer) p7.getLastMin()).intValue()) * 1) * 60000));
        }
        com.urbandroid.lux.context.AppContext.settings().setCustomSunset(v0);
        com.urbandroid.lux.context.AppContext.settings().setCustomSunrise(v2);
        com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate(this.this$1.this$0);
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate():


    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 android.content.Intent.<init>() not found.

[TAINT] String 'com.urbandroid.lux.ACTION_REFRESH_PROFILE' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/urbandroid/lux/ui/QuickSettingsView$9;', 'onItemSelected', '(Landroid/widget/AdapterView; Landroid/view/View; I J)V'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.urbandroid.lux.ACTION_REFRESH_PROFILE to construct an Intent

Method com.urbandroid.lux.ui.QuickSettingsView$9.onItemSelected():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/ui/QuickSettingsView$6;', 'onClick', '(Landroid/view/View;)V'), ('Lcom/urbandroid/lux/AbstractTwilightService;', 'startForegroundServiceUpdate', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.ui.QuickSettingsView$6.onClick():


    public void onClick(android.view.View p5)
    {
        Runnable v0_5 = (com.urbandroid.lux.context.AppContext.settings().isForced() ^ 1);
        com.urbandroid.lux.context.AppContext.settings().setForced(v0_5);
        com.urbandroid.lux.context.AppContext.settings().setProfileChanged(0);
        com.urbandroid.lux.context.AppContext.settings().setCurrentProfile(this.this$0.getContext().getString(2131820749));
        com.urbandroid.lux.ui.QuickSettingsView.access$300(this.this$0, v0_5, ((android.widget.Button) p5));
        com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate(this.this$0.getContext());
        if (com.urbandroid.lux.context.AppContext.settings().isDimBehind()) {
            android.os.Handler v5_7 = new android.os.Handler();
            v5_7.removeCallbacks(com.urbandroid.lux.ui.QuickSettingsView.access$100(this.this$0));
            v5_7.postDelayed(com.urbandroid.lux.ui.QuickSettingsView.access$100(this.this$0), 1000);
        }
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/ui/QuickSettingsView$5;', 'onClick', '(Landroid/view/View;)V'), ('Lcom/urbandroid/lux/AbstractTwilightService;', 'startForegroundServiceToggle', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.ui.QuickSettingsView$5.onClick():


    public void onClick(android.view.View p3)
    {
        com.urbandroid.lux.ui.QuickSettingsView.access$200(this.this$0, (com.urbandroid.lux.context.AppContext.settings().isPaused() ^ 1), ((android.widget.Button) p3));
        com.urbandroid.lux.AbstractTwilightService.startForegroundServiceToggle(this.this$0.getContext());
        this.this$0.hide();
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceToggle():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/ui/QuickSettingsView$4;', 'onStopTrackingTouch', '(Landroid/widget/SeekBar;)V'), ('Lcom/urbandroid/lux/AbstractTwilightService;', 'startForegroundServiceUpdate', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.ui.QuickSettingsView$4.onStopTrackingTouch():


    public void onStopTrackingTouch(android.widget.SeekBar p4)
    {
        com.urbandroid.lux.context.AppContext.settings().setDim(p4.getProgress());
        com.urbandroid.lux.context.AppContext.settings().setProfileChanged(0);
        com.urbandroid.lux.context.AppContext.settings().setCurrentProfile(this.this$0.getContext().getString(2131820749));
        com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate(this.this$0.getContext());
        if (com.urbandroid.lux.context.AppContext.settings().isDimBehind()) {
            android.os.Handler v4_7 = new android.os.Handler();
            v4_7.removeCallbacks(com.urbandroid.lux.ui.QuickSettingsView.access$100(this.this$0));
            v4_7.postDelayed(com.urbandroid.lux.ui.QuickSettingsView.access$100(this.this$0), 1000);
        }
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/ui/QuickSettingsView$3;', 'onStopTrackingTouch', '(Landroid/widget/SeekBar;)V'), ('Lcom/urbandroid/lux/AbstractTwilightService;', 'startForegroundServiceUpdate', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.ui.QuickSettingsView$3.onStopTrackingTouch():


    public void onStopTrackingTouch(android.widget.SeekBar p3)
    {
        com.urbandroid.lux.context.AppContext.settings().setMaxIntesity(p3.getProgress());
        com.urbandroid.lux.context.AppContext.settings().setProfileChanged(0);
        com.urbandroid.lux.context.AppContext.settings().setCurrentProfile(this.this$0.getContext().getString(2131820749));
        com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate(this.this$0.getContext());
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate():


    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 android.content.Intent.<init>() not found.

[TAINT] String 'com.urbandroid.lux.LOCATION_FOUND' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/urbandroid/lux/ui/LocationView;', 'onTouchEvent', '(Landroid/view/MotionEvent;)Z'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.urbandroid.lux.LOCATION_FOUND to construct an Intent

Method com.urbandroid.lux.ui.LocationView.onTouchEvent():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/ui/LocationView;', 'onTouchEvent', '(Landroid/view/MotionEvent;)Z'), ('Lcom/urbandroid/lux/AbstractTwilightService;', 'startForegroundServiceUpdate', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.ui.LocationView.onTouchEvent():


    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.AbstractTwilightService.startForegroundServiceUpdate():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/schedules/ScheduleActivity$5;', 'onClick', '(Landroid/content/DialogInterface; I)V'), ('Lcom/urbandroid/lux/context/Settings;', 'scheduleProfileSwitch', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.schedules.ScheduleActivity$5.onClick():


    public void onClick(android.content.DialogInterface p1, int p2)
    {
        com.urbandroid.lux.context.AppContext.settings().deleteProfileSchedules(this.val$originalSchedule);
        com.urbandroid.lux.context.AppContext.settings().addProfileSchedule(this.val$schedule);
        this.this$0.update(this.val$adapter);
        com.urbandroid.lux.context.AppContext.settings().scheduleProfileSwitch(this.this$0);
        return;
    }

Method com.urbandroid.lux.context.Settings.scheduleProfileSwitch():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/schedules/ScheduleActivity$4;', 'onClick', '(Landroid/content/DialogInterface; I)V'), ('Lcom/urbandroid/lux/context/Settings;', 'scheduleProfileSwitch', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.schedules.ScheduleActivity$4.onClick():


    public void onClick(android.content.DialogInterface p1, int p2)
    {
        if (this.val$originalSchedule.getHour() != -1) {
            com.urbandroid.lux.context.AppContext.settings().deleteProfileSchedules(this.val$originalSchedule);
            com.urbandroid.lux.context.Settings v1_1 = new StringBuilder();
            v1_1.append("Deleting ");
            v1_1.append(this.val$originalSchedule);
            com.urbandroid.common.logging.Logger.logInfo(v1_1.toString());
            this.this$0.update(this.val$adapter);
            com.urbandroid.lux.context.AppContext.settings().scheduleProfileSwitch(this.this$0);
        }
        return;
    }

Method com.urbandroid.lux.context.Settings.scheduleProfileSwitch():


    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 android.content.Intent.<init>() not found.

[TAINT] String 'com.twofortyfouram.locale.intent.extra.ACTIVITY' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Ljava/lang/String;)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/urbandroid/lux/integration/taskerplugin/receiver/TaskerEventReceiver;', '<clinit>', '()V'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Ljava/lang/String;)Landroid/content/Intent;')]]

Use of a string value com.twofortyfouram.locale.intent.extra.ACTIVITY to construct an Intent

Method com.urbandroid.lux.integration.taskerplugin.receiver.TaskerEventReceiver.<clinit>():


    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 android.content.Intent.putExtra() not found.

[TAINT] String 'com.twofortyfouram.locale.intent.action.REQUEST_QUERY' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/urbandroid/lux/integration/taskerplugin/receiver/TaskerEventReceiver;', '<clinit>', '()V'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.twofortyfouram.locale.intent.action.REQUEST_QUERY to construct an Intent

Method com.urbandroid.lux.integration.taskerplugin.receiver.TaskerEventReceiver.<clinit>():


    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 android.content.Intent.<init>() not found.

[TAINT] String 'net.dinglisch.android.tasker.RELEVANT_VARIABLES' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; [Ljava/lang/String;)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/urbandroid/lux/integration/taskerplugin/TaskerPlugin;', 'addRelevantVariableList', '(Landroid/content/Intent; [Ljava/lang/String;)V'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; [Ljava/lang/String;)Landroid/content/Intent;')]]

Use of a string value net.dinglisch.android.tasker.RELEVANT_VARIABLES to construct an Intent

Method com.urbandroid.lux.integration.taskerplugin.TaskerPlugin.addRelevantVariableList():


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

Method android.content.Intent.putExtra() not found.

[TAINT] String 'net.dinglisch.android.tasker.extras.RESULT_CODE' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; I)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/urbandroid/lux/integration/taskerplugin/TaskerPlugin$Setting;', 'signalFinish', '(Landroid/content/Context; Landroid/content/Intent; I Landroid/os/Bundle;)Z'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; I)Landroid/content/Intent;')]]

Use of a string value net.dinglisch.android.tasker.extras.RESULT_CODE to construct an Intent

Method com.urbandroid.lux.integration.taskerplugin.TaskerPlugin$Setting.signalFinish():


    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 android.content.Intent.putExtra() not found.

[TAINT] String 'net.dinglisch.android.tasker.extras.COMPLETION_INTENT' ==>>> Sink '['Landroid/content/Context;', 'sendBroadcast', '(Landroid/content/Intent;)V', '0', 'IPC_SINK']' [[('Lcom/urbandroid/lux/integration/taskerplugin/TaskerPlugin$Setting;', 'signalFinish', '(Landroid/content/Context; Landroid/content/Intent; I Landroid/os/Bundle;)Z'), ('Landroid/content/Context;', 'sendBroadcast', '(Landroid/content/Intent;)V')]]

Use of a string value net.dinglisch.android.tasker.extras.COMPLETION_INTENT to construct an Intent

Method com.urbandroid.lux.integration.taskerplugin.TaskerPlugin$Setting.signalFinish():


    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 android.content.Context.sendBroadcast() not found.

[TAINT] String 'net.dinglisch.android.tasker.extras.COMPLETION_INTENT' ==>>> Sink '['Landroid/content/Intent;', 'parseUri', '(Ljava/lang/String; I)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/urbandroid/lux/integration/taskerplugin/TaskerPlugin$Setting;', 'signalFinish', '(Landroid/content/Context; Landroid/content/Intent; I Landroid/os/Bundle;)Z'), ('Landroid/content/Intent;', 'parseUri', '(Ljava/lang/String; I)Landroid/content/Intent;')]]

Use of a string value net.dinglisch.android.tasker.extras.COMPLETION_INTENT to construct an Intent

Method com.urbandroid.lux.integration.taskerplugin.TaskerPlugin$Setting.signalFinish():


    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 android.content.Intent.parseUri() not found.

[TAINT] String 'net.dinglisch.android.tasker.extras.VARIABLES' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Landroid/os/Bundle;)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/urbandroid/lux/integration/taskerplugin/TaskerPlugin$Setting;', 'signalFinish', '(Landroid/content/Context; Landroid/content/Intent; I Landroid/os/Bundle;)Z'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Landroid/os/Bundle;)Landroid/content/Intent;')]]

Use of a string value net.dinglisch.android.tasker.extras.VARIABLES to construct an Intent

Method com.urbandroid.lux.integration.taskerplugin.TaskerPlugin$Setting.signalFinish():


    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 android.content.Intent.putExtra() not found.

[TAINT] String 'net.dinglisch.android.tasker.extras.REQUESTED_TIMEOUT' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; I)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/urbandroid/lux/integration/taskerplugin/TaskerPlugin$Setting;', 'requestTimeoutMS', '(Landroid/content/Intent; I)V'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; I)Landroid/content/Intent;')]]

Use of a string value net.dinglisch.android.tasker.extras.REQUESTED_TIMEOUT to construct an Intent

Method com.urbandroid.lux.integration.taskerplugin.TaskerPlugin$Setting.requestTimeoutMS():


    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 android.content.Intent.putExtra() not found.

[TAINT] String 'net.dinglisch.android.tasker.extras.HINTS' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Landroid/os/Bundle;)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/urbandroid/lux/integration/taskerplugin/TaskerPlugin$Host;', 'getHintsBundle', '(Landroid/content/Intent; Ljava/lang/String;)Landroid/os/Bundle;'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Landroid/os/Bundle;)Landroid/content/Intent;')]]

Use of a string value net.dinglisch.android.tasker.extras.HINTS to construct an Intent

Method com.urbandroid.lux.integration.taskerplugin.TaskerPlugin$Host.getHintsBundle():


    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 android.content.Intent.putExtra() not found.

[TAINT] String 'net.dinglisch.android.tasker.extras.HINTS' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Landroid/os/Bundle;)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/urbandroid/lux/integration/taskerplugin/TaskerPlugin$Host;', 'addHintTimeoutMS', '(Landroid/content/Intent; I)V'), ('Lcom/urbandroid/lux/integration/taskerplugin/TaskerPlugin$Host;', 'getHintsBundle', '(Landroid/content/Intent; Ljava/lang/String;)Landroid/os/Bundle;'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Landroid/os/Bundle;)Landroid/content/Intent;')]]

Use of a string value net.dinglisch.android.tasker.extras.HINTS to construct an Intent

Method com.urbandroid.lux.integration.taskerplugin.TaskerPlugin$Host.addHintTimeoutMS():


    public static void addHintTimeoutMS(android.content.Intent p1, int p2)
    {
        com.urbandroid.lux.integration.taskerplugin.TaskerPlugin$Host.getHintsBundle(p1, "addHintTimeoutMS").putInt(".hints.TIMEOUT", p2);
        return;
    }

Method com.urbandroid.lux.integration.taskerplugin.TaskerPlugin$Host.getHintsBundle():


    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 android.content.Intent.putExtra() not found.

[TAINT] String 'net.dinglisch.android.tasker.extras.COMPLETION_INTENT' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Ljava/lang/String;)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/urbandroid/lux/integration/taskerplugin/TaskerPlugin$Host;', 'addCompletionIntent', '(Landroid/content/Intent; Landroid/content/Intent;)V'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Ljava/lang/String;)Landroid/content/Intent;')]]

Use of a string value net.dinglisch.android.tasker.extras.COMPLETION_INTENT to construct an Intent

Method com.urbandroid.lux.integration.taskerplugin.TaskerPlugin$Host.addCompletionIntent():


    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 android.content.Intent.putExtra() not found.

[TAINT] String 'net.dinglisch.android.tasker.extras.HOST_CAPABILITIES' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; I)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/urbandroid/lux/integration/taskerplugin/TaskerPlugin$Host;', 'addCapabilities', '(Landroid/content/Intent; I)Landroid/content/Intent;'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; I)Landroid/content/Intent;')]]

Use of a string value net.dinglisch.android.tasker.extras.HOST_CAPABILITIES to construct an Intent

Method com.urbandroid.lux.integration.taskerplugin.TaskerPlugin$Host.addCapabilities():


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

Method android.content.Intent.putExtra() not found.

[TAINT] String 'net.dinglisch.android.tasker.extras.PASS_THROUGH_DATA' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Landroid/os/Bundle;)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/urbandroid/lux/integration/taskerplugin/TaskerPlugin$Event;', 'retrieveOrCreatePassThroughBundle', '(Landroid/content/Intent;)Landroid/os/Bundle;'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Landroid/os/Bundle;)Landroid/content/Intent;')]]

Use of a string value net.dinglisch.android.tasker.extras.PASS_THROUGH_DATA to construct an Intent

Method com.urbandroid.lux.integration.taskerplugin.TaskerPlugin$Event.retrieveOrCreatePassThroughBundle():


    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 android.content.Intent.putExtra() not found.

[TAINT] String 'net.dinglisch.android.tasker.extras.PASS_THROUGH_DATA' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Landroid/os/Bundle;)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/urbandroid/lux/integration/taskerplugin/TaskerPlugin$Event;', 'addPassThroughMessageID', '(Landroid/content/Intent;)I'), ('Lcom/urbandroid/lux/integration/taskerplugin/TaskerPlugin$Event;', 'retrieveOrCreatePassThroughBundle', '(Landroid/content/Intent;)Landroid/os/Bundle;'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Landroid/os/Bundle;)Landroid/content/Intent;')]]

Use of a string value net.dinglisch.android.tasker.extras.PASS_THROUGH_DATA to construct an Intent

Method com.urbandroid.lux.integration.taskerplugin.TaskerPlugin$Event.addPassThroughMessageID():


    public static int addPassThroughMessageID(android.content.Intent p2)
    {
        android.os.Bundle v2_1 = com.urbandroid.lux.integration.taskerplugin.TaskerPlugin$Event.retrieveOrCreatePassThroughBundle(p2);
        int v0 = com.urbandroid.lux.integration.taskerplugin.TaskerPlugin.getPositiveNonRepeatingRandomInteger();
        v2_1.putInt("net.dinglisch.android.tasker.MESSAGE_ID", v0);
        return v0;
    }

Method com.urbandroid.lux.integration.taskerplugin.TaskerPlugin$Event.retrieveOrCreatePassThroughBundle():


    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 android.content.Intent.putExtra() not found.

[TAINT] String 'net.dinglisch.android.tasker.extras.PASS_THROUGH_DATA' ==>>> Sink '['Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Landroid/os/Bundle;)Landroid/content/Intent;', '0', 'IPC_SINK']' [[('Lcom/urbandroid/lux/integration/taskerplugin/TaskerPlugin$Event;', 'addPassThroughData', '(Landroid/content/Intent; Landroid/os/Bundle;)V'), ('Lcom/urbandroid/lux/integration/taskerplugin/TaskerPlugin$Event;', 'retrieveOrCreatePassThroughBundle', '(Landroid/content/Intent;)Landroid/os/Bundle;'), ('Landroid/content/Intent;', 'putExtra', '(Ljava/lang/String; Landroid/os/Bundle;)Landroid/content/Intent;')]]

Use of a string value net.dinglisch.android.tasker.extras.PASS_THROUGH_DATA to construct an Intent

Method com.urbandroid.lux.integration.taskerplugin.TaskerPlugin$Event.addPassThroughData():


    public static void addPassThroughData(android.content.Intent p0, android.os.Bundle p1)
    {
        com.urbandroid.lux.integration.taskerplugin.TaskerPlugin$Event.retrieveOrCreatePassThroughBundle(p0).putAll(p1);
        return;
    }

Method com.urbandroid.lux.integration.taskerplugin.TaskerPlugin$Event.retrieveOrCreatePassThroughBundle():


    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 android.content.Intent.putExtra() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/TwilightTileService;', 'onClick', '()V'), ('Lcom/urbandroid/lux/AbstractTwilightService;', 'startForegroundService', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.TwilightTileService.onClick():


    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.AbstractTwilightService.startForegroundService():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/TwilightApplication;', 'onTrimMemory', '(I)V'), ('Lcom/urbandroid/lux/TwilightApplication;', 'restartOnLowMemory', '(Landroid/content/Context; I J)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.TwilightApplication.onTrimMemory():


    public void onTrimMemory(int p5)
    {
        super.onTrimMemory(p5);
        if (p5 <= 10) {
            if (p5 > 15) {
                com.urbandroid.lux.TwilightApplication.restartOnLowMemory(this.getApplicationContext(), 3000, System.currentTimeMillis());
                if (com.urbandroid.common.logging.Logger.isInitialized()) {
                    StringBuilder v0_3 = new StringBuilder();
                    v0_3.append("onTrimMemory Low level ");
                    v0_3.append(p5);
                    com.urbandroid.common.logging.Logger.logSevere(v0_3.toString());
                }
            }
        } else {
            com.urbandroid.lux.TwilightApplication.restartOnLowMemory(this.getApplicationContext(), 30000, System.currentTimeMillis());
        }
        return;
    }

Method com.urbandroid.lux.TwilightApplication.restartOnLowMemory():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/TwilightApplication;', 'onLowMemory', '()V'), ('Lcom/urbandroid/lux/TwilightApplication;', 'restartOnLowMemory', '(Landroid/content/Context; I J)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.TwilightApplication.onLowMemory():


    public void onLowMemory()
    {
        super.onLowMemory();
        if (!com.urbandroid.common.util.Environment.isIcsOrGreater()) {
            com.urbandroid.lux.TwilightApplication.restartOnLowMemory(this.getApplicationContext(), 30000, System.currentTimeMillis());
            if (com.urbandroid.common.logging.Logger.isInitialized()) {
                com.urbandroid.common.logging.Logger.logSevere("onLowMemory");
            }
        }
        return;
    }

Method com.urbandroid.lux.TwilightApplication.restartOnLowMemory():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/TwilightApplication;', 'restartOnLowMemory', '(Landroid/content/Context; I J)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.TwilightApplication.restartOnLowMemory():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/ShortcutActivity;', 'handleShortcut', '(Landroid/content/Intent;)V'), ('Lcom/urbandroid/lux/AbstractTwilightService;', 'startForegroundServiceToggle', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.ShortcutActivity.handleShortcut():


    private void handleShortcut(android.content.Intent p7)
    {
        if ((p7 != null) && (android.os.Build$VERSION.SDK_INT >= 25)) {
            android.content.Context v0_5 = p7.getAction();
            String v1_0 = -1;
            String v2_3 = v0_5.hashCode();
            if (v2_3 == -1006453981) {
                if (v0_5.equals("com.urbandroid.lux.ACTION_SHORTCUT_PROFILE")) {
                    v1_0 = 2;
                }
            } else {
                if (v2_3 == -201613445) {
                    if (v0_5.equals("com.urbandroid.lux.ACTION_SHORTCUT_QUICK_SETTINGS")) {
                        v1_0 = 1;
                    }
                } else {
                    if ((v2_3 == 1880157818) && (v0_5.equals("com.urbandroid.lux.ACTION_SHORTCUT_TOGGLE"))) {
                        v1_0 = 0;
                    }
                }
            }
            if (v1_0 == null) {
                com.urbandroid.lux.AbstractTwilightService.startForegroundServiceToggle(this.getApplicationContext());
            } else {
                if (v1_0 == 1) {
                    com.urbandroid.lux.AbstractTwilightService.startForegroundServiceQuickSettings(this.getApplicationContext());
                } else {
                    if (v1_0 == 2) {
                        com.urbandroid.lux.AbstractTwilightService.startForegroundServiceProfile(this.getApplicationContext(), p7.getStringExtra("profile"));
                    }
                }
            }
        }
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceToggle():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/ProActivity$8;', 'run', '()V'), ('Lcom/urbandroid/lux/AbstractTwilightService;', 'startForegroundServiceRefresh', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.ProActivity$8.run():


    public void run()
    {
        com.urbandroid.common.logging.Logger.logInfo("Refresh service");
        com.urbandroid.lux.AbstractTwilightService.startForegroundServiceRefresh(this.this$0);
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceRefresh():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/ProActivity$2;', 'onClick', '(Landroid/content/DialogInterface; I)V'), ('Lcom/urbandroid/lux/AbstractTwilightService;', 'startForegroundServiceRefreshWallpaper', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.ProActivity$2.onClick():


    public void onClick(android.content.DialogInterface p2, int p3)
    {
        com.urbandroid.lux.context.AppContext.settings().setFilterLockWallpaper(0);
        com.urbandroid.lux.context.AppContext.settings().setFilterWallpaper(0);
        android.content.Context v2_1 = this.this$0.findPreference("settings_filter_wallpaper_lockscreen");
        if (v2_1 != null) {
            ((android.preference.CheckBoxPreference) v2_1).setChecked(0);
        }
        android.content.Context v2_4 = this.this$0.findPreference("settings_filter_wallpaper");
        if (v2_4 != null) {
            ((android.preference.CheckBoxPreference) v2_4).setChecked(0);
        }
        com.urbandroid.lux.AbstractTwilightService.startForegroundServiceRefreshWallpaper(this.this$0.getApplicationContext());
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceRefreshWallpaper():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/ProActivity$10;', 'run', '()V'), ('Lcom/urbandroid/lux/AbstractTwilightService;', 'startForegroundServiceRefresh', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.ProActivity$10.run():


    public void run()
    {
        com.urbandroid.lux.AbstractTwilightService.startForegroundServiceRefresh(this.this$0);
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceRefresh():


    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 android.content.Intent.<init>() not found.

[TAINT] String 'market://details?id=com.urbandroid.lux.donate' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String; Landroid/net/Uri;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/MainActivity$MainListener;', 'onClick', '(Landroid/view/View;)V'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String; Landroid/net/Uri;)V')]]

Use of a string value market://details?id=com.urbandroid.lux.donate to construct an Intent

Method com.urbandroid.lux.MainActivity$MainListener.onClick():


    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 android.content.Intent.<init>() not found.

[TAINT] String 'market://details?id=com.urbandroid.lux' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String; Landroid/net/Uri;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/MainActivity$MainListener;', 'onClick', '(Landroid/view/View;)V'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String; Landroid/net/Uri;)V')]]

Use of a string value market://details?id=com.urbandroid.lux to construct an Intent

Method com.urbandroid.lux.MainActivity$MainListener.onClick():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/MainActivity$46;', 'onPostExecute', '(Ljava/lang/Object;)V'), ('Lcom/urbandroid/lux/MainActivity$46;', 'onPostExecute', '(Lcom/urbandroid/lux/LocationService$Location;)V'), ('Lcom/urbandroid/lux/AbstractTwilightService;', 'startForegroundServiceUpdate', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.MainActivity$46.onPostExecute():


    protected bridge synthetic void onPostExecute(Object p1)
    {
        this.onPostExecute(((com.urbandroid.lux.LocationService$Location) p1));
        return;
    }

Method com.urbandroid.lux.MainActivity$46.onPostExecute():


    protected void onPostExecute(com.urbandroid.lux.LocationService$Location p4)
    {
        super.onPostExecute(p4);
        com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate(this.this$0);
        if (p4 == null) {
            com.urbandroid.common.logging.Logger.logInfo("MainActivity: Location unknown ");
        } else {
            com.urbandroid.lux.context.AppContext.settings().setLocation(p4);
            int v0_1 = new StringBuilder();
            v0_1.append("MainActivity: Location ");
            v0_1.append(p4.getLat());
            v0_1.append(" ");
            v0_1.append(p4.getLon());
            com.urbandroid.common.logging.Logger.logInfo(v0_1.toString());
            com.urbandroid.lux.context.AppContext.settings().setLocationUpdated();
            com.urbandroid.lux.MainActivity.access$000(this.this$0);
            com.urbandroid.lux.MainActivity.access$1800(this.this$0, 2131361961);
        }
        com.urbandroid.common.logging.Logger.logInfo("MainActivity: Permissions LOCATION resolved");
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/MainActivity$46;', 'onPostExecute', '(Lcom/urbandroid/lux/LocationService$Location;)V'), ('Lcom/urbandroid/lux/AbstractTwilightService;', 'startForegroundServiceUpdate', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.MainActivity$46.onPostExecute():


    protected void onPostExecute(com.urbandroid.lux.LocationService$Location p4)
    {
        super.onPostExecute(p4);
        com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate(this.this$0);
        if (p4 == null) {
            com.urbandroid.common.logging.Logger.logInfo("MainActivity: Location unknown ");
        } else {
            com.urbandroid.lux.context.AppContext.settings().setLocation(p4);
            int v0_1 = new StringBuilder();
            v0_1.append("MainActivity: Location ");
            v0_1.append(p4.getLat());
            v0_1.append(" ");
            v0_1.append(p4.getLon());
            com.urbandroid.common.logging.Logger.logInfo(v0_1.toString());
            com.urbandroid.lux.context.AppContext.settings().setLocationUpdated();
            com.urbandroid.lux.MainActivity.access$000(this.this$0);
            com.urbandroid.lux.MainActivity.access$1800(this.this$0, 2131361961);
        }
        com.urbandroid.common.logging.Logger.logInfo("MainActivity: Permissions LOCATION resolved");
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate():


    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 android.content.Intent.<init>() not found.

[TAINT] String 'com.urbandroid.lux.LOCATION_FOUND' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/urbandroid/lux/MainActivity$46;', 'doInBackground', '([Ljava/lang/Object;)Ljava/lang/Object;'), ('Lcom/urbandroid/lux/MainActivity$46;', 'doInBackground', '([Ljava/lang/Void;)Lcom/urbandroid/lux/LocationService$Location;'), ('Lcom/urbandroid/lux/LocationService;', 'resolveLocation', '()Lcom/urbandroid/lux/LocationService$Location;'), ('Lcom/urbandroid/lux/LocationService;', 'resolveLocation', '(Z)Lcom/urbandroid/lux/LocationService$Location;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.urbandroid.lux.LOCATION_FOUND to construct an Intent

Method com.urbandroid.lux.MainActivity$46.doInBackground():


    protected bridge synthetic Object doInBackground(Object[] p1)
    {
        return this.doInBackground(((Void[]) p1));
    }

Method com.urbandroid.lux.MainActivity$46.doInBackground():


    protected varargs com.urbandroid.lux.LocationService$Location doInBackground(Void[] p2)
    {
        return new com.urbandroid.lux.LocationService(this.this$0.getApplicationContext()).resolveLocation();
    }

Method com.urbandroid.lux.LocationService.resolveLocation():


    public com.urbandroid.lux.LocationService$Location resolveLocation()
    {
        return this.resolveLocation(0);
    }

Method com.urbandroid.lux.LocationService.resolveLocation():


    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 android.content.Intent.<init>() not found.

[TAINT] String 'com.urbandroid.lux.LOCATION_FOUND' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/urbandroid/lux/MainActivity$46;', 'doInBackground', '([Ljava/lang/Void;)Lcom/urbandroid/lux/LocationService$Location;'), ('Lcom/urbandroid/lux/LocationService;', 'resolveLocation', '()Lcom/urbandroid/lux/LocationService$Location;'), ('Lcom/urbandroid/lux/LocationService;', 'resolveLocation', '(Z)Lcom/urbandroid/lux/LocationService$Location;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.urbandroid.lux.LOCATION_FOUND to construct an Intent

Method com.urbandroid.lux.MainActivity$46.doInBackground():


    protected varargs com.urbandroid.lux.LocationService$Location doInBackground(Void[] p2)
    {
        return new com.urbandroid.lux.LocationService(this.this$0.getApplicationContext()).resolveLocation();
    }

Method com.urbandroid.lux.LocationService.resolveLocation():


    public com.urbandroid.lux.LocationService$Location resolveLocation()
    {
        return this.resolveLocation(0);
    }

Method com.urbandroid.lux.LocationService.resolveLocation():


    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 android.content.Intent.<init>() not found.

[TAINT] String 'market://details?id=com.urbandroid.lux.donate' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String; Landroid/net/Uri;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/MainActivity$45;', 'onClick', '(Landroid/content/DialogInterface; I)V'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String; Landroid/net/Uri;)V')]]

Use of a string value market://details?id=com.urbandroid.lux.donate to construct an Intent

Method com.urbandroid.lux.MainActivity$45.onClick():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/MainActivity$34;', 'onTimeSet', '(Landroid/widget/TimePicker; I I)V'), ('Lcom/urbandroid/lux/AbstractTwilightService;', 'startForegroundServiceUpdate', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.MainActivity$34.onTimeSet():


    public void onTimeSet(android.widget.TimePicker p11, int p12, int p13)
    {
        com.urbandroid.lux.MainActivity v11_0 = java.util.Calendar.getInstance();
        v11_0.set(11, p12);
        v11_0.set(12, p13);
        if (!this.val$sunrise) {
            com.urbandroid.lux.context.AppContext.settings().setCustomSunset(v11_0.getTimeInMillis());
        } else {
            com.urbandroid.lux.context.AppContext.settings().setCustomSunrise(v11_0.getTimeInMillis());
        }
        com.urbandroid.lux.MainActivity v2 = this.this$0;
        com.urbandroid.lux.MainActivity.access$1600(v2, com.urbandroid.lux.MainActivity.access$1400(v2), com.urbandroid.lux.MainActivity.access$1300(this.this$0), com.urbandroid.lux.context.AppContext.settings().getCustomSunset().getTimeInMillis(), com.urbandroid.lux.context.AppContext.settings().getCustomSunrise().getTimeInMillis(), 1);
        if (!this.val$sunrise) {
            com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate(this.this$0);
        } else {
            com.urbandroid.lux.MainActivity.access$2600(this.this$0).removeCallbacks(com.urbandroid.lux.MainActivity.access$2500(this.this$0));
            com.urbandroid.lux.MainActivity.access$2600(this.this$0).postDelayed(com.urbandroid.lux.MainActivity.access$2500(this.this$0), 200);
        }
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/MainActivity$27$6;', 'onClick', '(Landroid/view/View;)V'), ('Lcom/urbandroid/lux/MainActivity;', 'access$1800', '(Lcom/urbandroid/lux/MainActivity; I)V'), ('Lcom/urbandroid/lux/MainActivity;', 'refreshFilterTimes', '(I)V'), ('Lcom/urbandroid/lux/AbstractTwilightService;', 'startForegroundServiceUpdate', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.MainActivity$27$6.onClick():


    public void onClick(android.view.View p3)
    {
        com.urbandroid.lux.context.AppContext.settings().setCurrentProfile(this.this$1.this$0.getString(2131820749));
        com.urbandroid.lux.MainActivity.access$1800(this.this$1.this$0, 2131361957);
        return;
    }

Method com.urbandroid.lux.MainActivity.access$1800():


    static synthetic void access$1800(com.urbandroid.lux.MainActivity p0, int p1)
    {
        p0.refreshFilterTimes(p1);
        return;
    }

Method com.urbandroid.lux.MainActivity.refreshFilterTimes():


    private void refreshFilterTimes(int p14)
    {
        int v0_0 = this.filterView;
        if (v0_0 != 0) {
            int v0_8 = ((android.widget.TextView) v0_0.findViewById(2131361960));
            com.urbandroid.lux.context.AppContext.settings().setForced(0);
            com.urbandroid.lux.context.AppContext.settings().setIntegrateWithSAA(0);
            com.urbandroid.lux.context.AppContext.settings().setCustomTimes(0);
            this.bar.setEnabled(0);
            String v1_5 = this.filterView;
            if ((v1_5 != null) && (v1_5.findViewById(2131361903) != null)) {
                this.filterView.findViewById(2131361903).setVisibility(8);
            }
            switch (p14) {
                case 2131361956:
                    com.urbandroid.common.logging.Logger.logInfo("MainActivity: Checked alarm");
                    com.urbandroid.lux.context.AppContext.settings().setIntegrateWithSAA(1);
                    com.urbandroid.lux.AbstractTwilightService.updateTimeToBed(this);
                    long v8_1 = com.urbandroid.lux.context.AppContext.settings().getTimeToBed();
                    int v10_1 = com.urbandroid.lux.context.AppContext.settings().getAlarm();
                    com.urbandroid.lux.ui.ThemeUtil v14_20 = new StringBuilder();
                    v14_20.append("MainActivity: Checked alarm ");
                    v14_20.append(new java.util.Date(v8_1));
                    v14_20.append(" ");
                    v14_20.append(new java.util.Date(v10_1));
                    com.urbandroid.common.logging.Logger.logInfo(v14_20.toString());
                    if ((v8_1 != -1) && ((v10_1 != -1) && (v10_1 >= System.currentTimeMillis()))) {
                        com.urbandroid.lux.ui.ThemeUtil v14_26 = new StringBuilder();
                        v14_26.append(this.getString(2131820595));
                        v14_26.append(" \u2192 ");
                        v14_26.append(this.getString(2131820655));
                        v0_8.setText(v14_26.toString());
                        this.updateBar(this.bar, this.filterView, v8_1, v10_1, 0);
                        this.themeUtil.onResume();
                    } else {
                        com.urbandroid.lux.ui.ThemeUtil v14_30 = new android.app.AlertDialog$Builder(this);
                        v14_30.setTitle(2131820650);
                        v14_30.setMessage(2131820649);
                        v14_30.setPositiveButton(2131820600, 0);
                        com.urbandroid.lux.ui.DialogUtil.fixDivider(v14_30.show());
                        ((android.widget.RadioButton) this.group.findViewById(2131361961)).setChecked(1);
                        this.refreshFilterTimes(2131361961);
                    }
                    break;
                case 2131361957:
                    com.urbandroid.common.logging.Logger.logInfo("MainActivity: Checked custom ");
                    this.updateBar(this.bar, this.filterView, com.urbandroid.lux.context.AppContext.settings().getCustomSunset().getTimeInMillis(), com.urbandroid.lux.context.AppContext.settings().getCustomSunrise().getTimeInMillis(), 1);
                    com.urbandroid.lux.context.AppContext.settings().setCustomTimes(1);
                    this.bar.setEnabled(1);
                    com.urbandroid.lux.ui.ThemeUtil v14_7 = this.filterView;
                    if ((v14_7 != null) && (v14_7.findViewById(2131361903) != null)) {
                        this.filterView.findViewById(2131361903).setVisibility(0);
                        this.filterView.findViewById(2131361903).setOnClickListener(new com.urbandroid.lux.MainActivity$31(this));
                    }
                    v0_8.setText(2131820659);
                    this.themeUtil.onResume();
                    break;
                case 2131361958:
                    com.urbandroid.common.logging.Logger.logInfo("MainActivity: Checked force ");
                    com.urbandroid.lux.context.AppContext.settings().setForced(1);
                    v0_8.setText(2131820657);
                    com.urbandroid.lux.ui.ThemeUtil v14_45 = java.util.Calendar.getInstance();
                    v14_45.set(11, 0);
                    v14_45.set(12, 0);
                    com.urbandroid.lux.ui.RangeSeekBar v6_3 = v14_45.getTime().getTime();
                    v14_45.set(11, 23);
                    v14_45.set(12, 59);
                    this.updateBar(this.bar, this.filterView, v6_3, v14_45.getTime().getTime(), 1);
                    this.themeUtil.onResume();
                    break;
                case 2131361959:
                case 2131361960:
                default:
                    break;
                case 2131361961:
                    com.urbandroid.common.logging.Logger.logInfo("MainActivity: Checked sun ");
                    com.urbandroid.lux.ui.ThemeUtil v14_38 = com.urbandroid.lux.context.AppContext.settings().getSunriseOffset();
                    String v2_11 = com.urbandroid.lux.context.AppContext.settings().getSunsetOffset();
                    if ((v14_38 != null) && (v2_11 != null)) {
                        this.updateBar(this.bar, this.filterView, v2_11.getTimeInMillis(), v14_38.getTimeInMillis(), 0);
                    }
                    com.urbandroid.lux.ui.ThemeUtil v14_40 = new StringBuilder();
                    v14_40.append(this.getString(2131820814));
                    v14_40.append(" \u2192 ");
                    v14_40.append(this.getString(2131820813));
                    v0_8.setText(v14_40.toString());
                    break;
            }
            com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate(this);
            this.h.postDelayed(new com.urbandroid.lux.MainActivity$32(this), 500);
            return;
        } else {
            return;
        }
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/MainActivity$27$5;', 'onClick', '(Landroid/view/View;)V'), ('Lcom/urbandroid/lux/MainActivity;', 'access$1800', '(Lcom/urbandroid/lux/MainActivity; I)V'), ('Lcom/urbandroid/lux/MainActivity;', 'refreshFilterTimes', '(I)V'), ('Lcom/urbandroid/lux/AbstractTwilightService;', 'startForegroundServiceUpdate', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.MainActivity$27$5.onClick():


    public void onClick(android.view.View p3)
    {
        com.urbandroid.lux.context.AppContext.settings().setCurrentProfile(this.this$1.this$0.getString(2131820749));
        com.urbandroid.lux.MainActivity.access$1800(this.this$1.this$0, 2131361958);
        return;
    }

Method com.urbandroid.lux.MainActivity.access$1800():


    static synthetic void access$1800(com.urbandroid.lux.MainActivity p0, int p1)
    {
        p0.refreshFilterTimes(p1);
        return;
    }

Method com.urbandroid.lux.MainActivity.refreshFilterTimes():


    private void refreshFilterTimes(int p14)
    {
        int v0_0 = this.filterView;
        if (v0_0 != 0) {
            int v0_8 = ((android.widget.TextView) v0_0.findViewById(2131361960));
            com.urbandroid.lux.context.AppContext.settings().setForced(0);
            com.urbandroid.lux.context.AppContext.settings().setIntegrateWithSAA(0);
            com.urbandroid.lux.context.AppContext.settings().setCustomTimes(0);
            this.bar.setEnabled(0);
            String v1_5 = this.filterView;
            if ((v1_5 != null) && (v1_5.findViewById(2131361903) != null)) {
                this.filterView.findViewById(2131361903).setVisibility(8);
            }
            switch (p14) {
                case 2131361956:
                    com.urbandroid.common.logging.Logger.logInfo("MainActivity: Checked alarm");
                    com.urbandroid.lux.context.AppContext.settings().setIntegrateWithSAA(1);
                    com.urbandroid.lux.AbstractTwilightService.updateTimeToBed(this);
                    long v8_1 = com.urbandroid.lux.context.AppContext.settings().getTimeToBed();
                    int v10_1 = com.urbandroid.lux.context.AppContext.settings().getAlarm();
                    com.urbandroid.lux.ui.ThemeUtil v14_20 = new StringBuilder();
                    v14_20.append("MainActivity: Checked alarm ");
                    v14_20.append(new java.util.Date(v8_1));
                    v14_20.append(" ");
                    v14_20.append(new java.util.Date(v10_1));
                    com.urbandroid.common.logging.Logger.logInfo(v14_20.toString());
                    if ((v8_1 != -1) && ((v10_1 != -1) && (v10_1 >= System.currentTimeMillis()))) {
                        com.urbandroid.lux.ui.ThemeUtil v14_26 = new StringBuilder();
                        v14_26.append(this.getString(2131820595));
                        v14_26.append(" \u2192 ");
                        v14_26.append(this.getString(2131820655));
                        v0_8.setText(v14_26.toString());
                        this.updateBar(this.bar, this.filterView, v8_1, v10_1, 0);
                        this.themeUtil.onResume();
                    } else {
                        com.urbandroid.lux.ui.ThemeUtil v14_30 = new android.app.AlertDialog$Builder(this);
                        v14_30.setTitle(2131820650);
                        v14_30.setMessage(2131820649);
                        v14_30.setPositiveButton(2131820600, 0);
                        com.urbandroid.lux.ui.DialogUtil.fixDivider(v14_30.show());
                        ((android.widget.RadioButton) this.group.findViewById(2131361961)).setChecked(1);
                        this.refreshFilterTimes(2131361961);
                    }
                    break;
                case 2131361957:
                    com.urbandroid.common.logging.Logger.logInfo("MainActivity: Checked custom ");
                    this.updateBar(this.bar, this.filterView, com.urbandroid.lux.context.AppContext.settings().getCustomSunset().getTimeInMillis(), com.urbandroid.lux.context.AppContext.settings().getCustomSunrise().getTimeInMillis(), 1);
                    com.urbandroid.lux.context.AppContext.settings().setCustomTimes(1);
                    this.bar.setEnabled(1);
                    com.urbandroid.lux.ui.ThemeUtil v14_7 = this.filterView;
                    if ((v14_7 != null) && (v14_7.findViewById(2131361903) != null)) {
                        this.filterView.findViewById(2131361903).setVisibility(0);
                        this.filterView.findViewById(2131361903).setOnClickListener(new com.urbandroid.lux.MainActivity$31(this));
                    }
                    v0_8.setText(2131820659);
                    this.themeUtil.onResume();
                    break;
                case 2131361958:
                    com.urbandroid.common.logging.Logger.logInfo("MainActivity: Checked force ");
                    com.urbandroid.lux.context.AppContext.settings().setForced(1);
                    v0_8.setText(2131820657);
                    com.urbandroid.lux.ui.ThemeUtil v14_45 = java.util.Calendar.getInstance();
                    v14_45.set(11, 0);
                    v14_45.set(12, 0);
                    com.urbandroid.lux.ui.RangeSeekBar v6_3 = v14_45.getTime().getTime();
                    v14_45.set(11, 23);
                    v14_45.set(12, 59);
                    this.updateBar(this.bar, this.filterView, v6_3, v14_45.getTime().getTime(), 1);
                    this.themeUtil.onResume();
                    break;
                case 2131361959:
                case 2131361960:
                default:
                    break;
                case 2131361961:
                    com.urbandroid.common.logging.Logger.logInfo("MainActivity: Checked sun ");
                    com.urbandroid.lux.ui.ThemeUtil v14_38 = com.urbandroid.lux.context.AppContext.settings().getSunriseOffset();
                    String v2_11 = com.urbandroid.lux.context.AppContext.settings().getSunsetOffset();
                    if ((v14_38 != null) && (v2_11 != null)) {
                        this.updateBar(this.bar, this.filterView, v2_11.getTimeInMillis(), v14_38.getTimeInMillis(), 0);
                    }
                    com.urbandroid.lux.ui.ThemeUtil v14_40 = new StringBuilder();
                    v14_40.append(this.getString(2131820814));
                    v14_40.append(" \u2192 ");
                    v14_40.append(this.getString(2131820813));
                    v0_8.setText(v14_40.toString());
                    break;
            }
            com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate(this);
            this.h.postDelayed(new com.urbandroid.lux.MainActivity$32(this), 500);
            return;
        } else {
            return;
        }
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/MainActivity$27$4;', 'onClick', '(Landroid/view/View;)V'), ('Lcom/urbandroid/lux/MainActivity;', 'access$1800', '(Lcom/urbandroid/lux/MainActivity; I)V'), ('Lcom/urbandroid/lux/MainActivity;', 'refreshFilterTimes', '(I)V'), ('Lcom/urbandroid/lux/AbstractTwilightService;', 'startForegroundServiceUpdate', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.MainActivity$27$4.onClick():


    public void onClick(android.view.View p3)
    {
        if ((!com.urbandroid.common.util.PermissionCompat.isPermissionGranted(this.this$1.this$0, "android.permission.ACCESS_COARSE_LOCATION")) && (com.urbandroid.lux.context.AppContext.settings().isAutoLocation())) {
            com.urbandroid.common.util.PermissionCompat.requestPermission(this.this$1.this$0, "android.permission.ACCESS_COARSE_LOCATION", 972);
        }
        com.urbandroid.lux.context.AppContext.settings().setCurrentProfile(this.this$1.this$0.getString(2131820749));
        com.urbandroid.lux.MainActivity.access$1800(this.this$1.this$0, 2131361961);
        return;
    }

Method com.urbandroid.lux.MainActivity.access$1800():


    static synthetic void access$1800(com.urbandroid.lux.MainActivity p0, int p1)
    {
        p0.refreshFilterTimes(p1);
        return;
    }

Method com.urbandroid.lux.MainActivity.refreshFilterTimes():


    private void refreshFilterTimes(int p14)
    {
        int v0_0 = this.filterView;
        if (v0_0 != 0) {
            int v0_8 = ((android.widget.TextView) v0_0.findViewById(2131361960));
            com.urbandroid.lux.context.AppContext.settings().setForced(0);
            com.urbandroid.lux.context.AppContext.settings().setIntegrateWithSAA(0);
            com.urbandroid.lux.context.AppContext.settings().setCustomTimes(0);
            this.bar.setEnabled(0);
            String v1_5 = this.filterView;
            if ((v1_5 != null) && (v1_5.findViewById(2131361903) != null)) {
                this.filterView.findViewById(2131361903).setVisibility(8);
            }
            switch (p14) {
                case 2131361956:
                    com.urbandroid.common.logging.Logger.logInfo("MainActivity: Checked alarm");
                    com.urbandroid.lux.context.AppContext.settings().setIntegrateWithSAA(1);
                    com.urbandroid.lux.AbstractTwilightService.updateTimeToBed(this);
                    long v8_1 = com.urbandroid.lux.context.AppContext.settings().getTimeToBed();
                    int v10_1 = com.urbandroid.lux.context.AppContext.settings().getAlarm();
                    com.urbandroid.lux.ui.ThemeUtil v14_20 = new StringBuilder();
                    v14_20.append("MainActivity: Checked alarm ");
                    v14_20.append(new java.util.Date(v8_1));
                    v14_20.append(" ");
                    v14_20.append(new java.util.Date(v10_1));
                    com.urbandroid.common.logging.Logger.logInfo(v14_20.toString());
                    if ((v8_1 != -1) && ((v10_1 != -1) && (v10_1 >= System.currentTimeMillis()))) {
                        com.urbandroid.lux.ui.ThemeUtil v14_26 = new StringBuilder();
                        v14_26.append(this.getString(2131820595));
                        v14_26.append(" \u2192 ");
                        v14_26.append(this.getString(2131820655));
                        v0_8.setText(v14_26.toString());
                        this.updateBar(this.bar, this.filterView, v8_1, v10_1, 0);
                        this.themeUtil.onResume();
                    } else {
                        com.urbandroid.lux.ui.ThemeUtil v14_30 = new android.app.AlertDialog$Builder(this);
                        v14_30.setTitle(2131820650);
                        v14_30.setMessage(2131820649);
                        v14_30.setPositiveButton(2131820600, 0);
                        com.urbandroid.lux.ui.DialogUtil.fixDivider(v14_30.show());
                        ((android.widget.RadioButton) this.group.findViewById(2131361961)).setChecked(1);
                        this.refreshFilterTimes(2131361961);
                    }
                    break;
                case 2131361957:
                    com.urbandroid.common.logging.Logger.logInfo("MainActivity: Checked custom ");
                    this.updateBar(this.bar, this.filterView, com.urbandroid.lux.context.AppContext.settings().getCustomSunset().getTimeInMillis(), com.urbandroid.lux.context.AppContext.settings().getCustomSunrise().getTimeInMillis(), 1);
                    com.urbandroid.lux.context.AppContext.settings().setCustomTimes(1);
                    this.bar.setEnabled(1);
                    com.urbandroid.lux.ui.ThemeUtil v14_7 = this.filterView;
                    if ((v14_7 != null) && (v14_7.findViewById(2131361903) != null)) {
                        this.filterView.findViewById(2131361903).setVisibility(0);
                        this.filterView.findViewById(2131361903).setOnClickListener(new com.urbandroid.lux.MainActivity$31(this));
                    }
                    v0_8.setText(2131820659);
                    this.themeUtil.onResume();
                    break;
                case 2131361958:
                    com.urbandroid.common.logging.Logger.logInfo("MainActivity: Checked force ");
                    com.urbandroid.lux.context.AppContext.settings().setForced(1);
                    v0_8.setText(2131820657);
                    com.urbandroid.lux.ui.ThemeUtil v14_45 = java.util.Calendar.getInstance();
                    v14_45.set(11, 0);
                    v14_45.set(12, 0);
                    com.urbandroid.lux.ui.RangeSeekBar v6_3 = v14_45.getTime().getTime();
                    v14_45.set(11, 23);
                    v14_45.set(12, 59);
                    this.updateBar(this.bar, this.filterView, v6_3, v14_45.getTime().getTime(), 1);
                    this.themeUtil.onResume();
                    break;
                case 2131361959:
                case 2131361960:
                default:
                    break;
                case 2131361961:
                    com.urbandroid.common.logging.Logger.logInfo("MainActivity: Checked sun ");
                    com.urbandroid.lux.ui.ThemeUtil v14_38 = com.urbandroid.lux.context.AppContext.settings().getSunriseOffset();
                    String v2_11 = com.urbandroid.lux.context.AppContext.settings().getSunsetOffset();
                    if ((v14_38 != null) && (v2_11 != null)) {
                        this.updateBar(this.bar, this.filterView, v2_11.getTimeInMillis(), v14_38.getTimeInMillis(), 0);
                    }
                    com.urbandroid.lux.ui.ThemeUtil v14_40 = new StringBuilder();
                    v14_40.append(this.getString(2131820814));
                    v14_40.append(" \u2192 ");
                    v14_40.append(this.getString(2131820813));
                    v0_8.setText(v14_40.toString());
                    break;
            }
            com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate(this);
            this.h.postDelayed(new com.urbandroid.lux.MainActivity$32(this), 500);
            return;
        } else {
            return;
        }
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/MainActivity$27$3;', 'onClick', '(Landroid/view/View;)V'), ('Lcom/urbandroid/lux/MainActivity;', 'access$1800', '(Lcom/urbandroid/lux/MainActivity; I)V'), ('Lcom/urbandroid/lux/MainActivity;', 'refreshFilterTimes', '(I)V'), ('Lcom/urbandroid/lux/AbstractTwilightService;', 'startForegroundServiceUpdate', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.MainActivity$27$3.onClick():


    public void onClick(android.view.View p3)
    {
        com.urbandroid.lux.context.AppContext.settings().setCurrentProfile(this.this$1.this$0.getString(2131820749));
        com.urbandroid.lux.MainActivity.access$1700(this.this$1.this$0);
        if (!com.urbandroid.lux.util.TrialFilter.getInstance().isSAA()) {
            com.urbandroid.lux.MainActivity v3_4 = new android.app.AlertDialog$Builder(this.this$1.this$0);
            v3_4.setTitle(2131820761);
            v3_4.setMessage(2131820648);
            v3_4.setNegativeButton(2131820601, 0);
            v3_4.setPositiveButton(2131820605, new com.urbandroid.lux.MainActivity$27$3$1(this));
            com.urbandroid.lux.ui.DialogUtil.fixDivider(v3_4.show());
        }
        com.urbandroid.lux.MainActivity.access$1800(this.this$1.this$0, 2131361956);
        return;
    }

Method com.urbandroid.lux.MainActivity.access$1800():


    static synthetic void access$1800(com.urbandroid.lux.MainActivity p0, int p1)
    {
        p0.refreshFilterTimes(p1);
        return;
    }

Method com.urbandroid.lux.MainActivity.refreshFilterTimes():


    private void refreshFilterTimes(int p14)
    {
        int v0_0 = this.filterView;
        if (v0_0 != 0) {
            int v0_8 = ((android.widget.TextView) v0_0.findViewById(2131361960));
            com.urbandroid.lux.context.AppContext.settings().setForced(0);
            com.urbandroid.lux.context.AppContext.settings().setIntegrateWithSAA(0);
            com.urbandroid.lux.context.AppContext.settings().setCustomTimes(0);
            this.bar.setEnabled(0);
            String v1_5 = this.filterView;
            if ((v1_5 != null) && (v1_5.findViewById(2131361903) != null)) {
                this.filterView.findViewById(2131361903).setVisibility(8);
            }
            switch (p14) {
                case 2131361956:
                    com.urbandroid.common.logging.Logger.logInfo("MainActivity: Checked alarm");
                    com.urbandroid.lux.context.AppContext.settings().setIntegrateWithSAA(1);
                    com.urbandroid.lux.AbstractTwilightService.updateTimeToBed(this);
                    long v8_1 = com.urbandroid.lux.context.AppContext.settings().getTimeToBed();
                    int v10_1 = com.urbandroid.lux.context.AppContext.settings().getAlarm();
                    com.urbandroid.lux.ui.ThemeUtil v14_20 = new StringBuilder();
                    v14_20.append("MainActivity: Checked alarm ");
                    v14_20.append(new java.util.Date(v8_1));
                    v14_20.append(" ");
                    v14_20.append(new java.util.Date(v10_1));
                    com.urbandroid.common.logging.Logger.logInfo(v14_20.toString());
                    if ((v8_1 != -1) && ((v10_1 != -1) && (v10_1 >= System.currentTimeMillis()))) {
                        com.urbandroid.lux.ui.ThemeUtil v14_26 = new StringBuilder();
                        v14_26.append(this.getString(2131820595));
                        v14_26.append(" \u2192 ");
                        v14_26.append(this.getString(2131820655));
                        v0_8.setText(v14_26.toString());
                        this.updateBar(this.bar, this.filterView, v8_1, v10_1, 0);
                        this.themeUtil.onResume();
                    } else {
                        com.urbandroid.lux.ui.ThemeUtil v14_30 = new android.app.AlertDialog$Builder(this);
                        v14_30.setTitle(2131820650);
                        v14_30.setMessage(2131820649);
                        v14_30.setPositiveButton(2131820600, 0);
                        com.urbandroid.lux.ui.DialogUtil.fixDivider(v14_30.show());
                        ((android.widget.RadioButton) this.group.findViewById(2131361961)).setChecked(1);
                        this.refreshFilterTimes(2131361961);
                    }
                    break;
                case 2131361957:
                    com.urbandroid.common.logging.Logger.logInfo("MainActivity: Checked custom ");
                    this.updateBar(this.bar, this.filterView, com.urbandroid.lux.context.AppContext.settings().getCustomSunset().getTimeInMillis(), com.urbandroid.lux.context.AppContext.settings().getCustomSunrise().getTimeInMillis(), 1);
                    com.urbandroid.lux.context.AppContext.settings().setCustomTimes(1);
                    this.bar.setEnabled(1);
                    com.urbandroid.lux.ui.ThemeUtil v14_7 = this.filterView;
                    if ((v14_7 != null) && (v14_7.findViewById(2131361903) != null)) {
                        this.filterView.findViewById(2131361903).setVisibility(0);
                        this.filterView.findViewById(2131361903).setOnClickListener(new com.urbandroid.lux.MainActivity$31(this));
                    }
                    v0_8.setText(2131820659);
                    this.themeUtil.onResume();
                    break;
                case 2131361958:
                    com.urbandroid.common.logging.Logger.logInfo("MainActivity: Checked force ");
                    com.urbandroid.lux.context.AppContext.settings().setForced(1);
                    v0_8.setText(2131820657);
                    com.urbandroid.lux.ui.ThemeUtil v14_45 = java.util.Calendar.getInstance();
                    v14_45.set(11, 0);
                    v14_45.set(12, 0);
                    com.urbandroid.lux.ui.RangeSeekBar v6_3 = v14_45.getTime().getTime();
                    v14_45.set(11, 23);
                    v14_45.set(12, 59);
                    this.updateBar(this.bar, this.filterView, v6_3, v14_45.getTime().getTime(), 1);
                    this.themeUtil.onResume();
                    break;
                case 2131361959:
                case 2131361960:
                default:
                    break;
                case 2131361961:
                    com.urbandroid.common.logging.Logger.logInfo("MainActivity: Checked sun ");
                    com.urbandroid.lux.ui.ThemeUtil v14_38 = com.urbandroid.lux.context.AppContext.settings().getSunriseOffset();
                    String v2_11 = com.urbandroid.lux.context.AppContext.settings().getSunsetOffset();
                    if ((v14_38 != null) && (v2_11 != null)) {
                        this.updateBar(this.bar, this.filterView, v2_11.getTimeInMillis(), v14_38.getTimeInMillis(), 0);
                    }
                    com.urbandroid.lux.ui.ThemeUtil v14_40 = new StringBuilder();
                    v14_40.append(this.getString(2131820814));
                    v14_40.append(" \u2192 ");
                    v14_40.append(this.getString(2131820813));
                    v0_8.setText(v14_40.toString());
                    break;
            }
            com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate(this);
            this.h.postDelayed(new com.urbandroid.lux.MainActivity$32(this), 500);
            return;
        } else {
            return;
        }
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate():


    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 android.content.Intent.<init>() not found.

[TAINT] String 'market://details?id=com.urbandroid.sleep' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String; Landroid/net/Uri;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/MainActivity$27$3$1;', 'onClick', '(Landroid/content/DialogInterface; I)V'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String; Landroid/net/Uri;)V')]]

Use of a string value market://details?id=com.urbandroid.sleep to construct an Intent

Method com.urbandroid.lux.MainActivity$27$3$1.onClick():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/MainActivity$13;', 'onClick', '(Landroid/view/View;)V'), ('Lcom/urbandroid/lux/AbstractTwilightService;', 'startForegroundServiceToggle', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.MainActivity$13.onClick():


    public void onClick(android.view.View p1)
    {
        com.urbandroid.lux.MainActivity.access$600(this.this$0);
        com.urbandroid.lux.AbstractTwilightService.startForegroundServiceToggle(this.this$0);
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceToggle():


    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 android.content.Intent.<init>() not found.

[TAINT] String 'com.urbandroid.lux.LOCATION_FOUND' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/urbandroid/lux/LocationService;', 'resolveLocation', '(Z)Lcom/urbandroid/lux/LocationService$Location;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.urbandroid.lux.LOCATION_FOUND to construct an Intent

Method com.urbandroid.lux.LocationService.resolveLocation():


    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 android.content.Intent.<init>() not found.

[TAINT] String 'com.urbandroid.lux.LOCATION_FOUND' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/urbandroid/lux/LocationService;', 'resolveLocation', '()Lcom/urbandroid/lux/LocationService$Location;'), ('Lcom/urbandroid/lux/LocationService;', 'resolveLocation', '(Z)Lcom/urbandroid/lux/LocationService$Location;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.urbandroid.lux.LOCATION_FOUND to construct an Intent

Method com.urbandroid.lux.LocationService.resolveLocation():


    public com.urbandroid.lux.LocationService$Location resolveLocation()
    {
        return this.resolveLocation(0);
    }

Method com.urbandroid.lux.LocationService.resolveLocation():


    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 android.content.Intent.<init>() not found.

[TAINT] String 'com.urbandroid.lux.LOCATION_FOUND' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/urbandroid/lux/LocationService$4$1;', 'doInBackground', '([Ljava/lang/Void;)Ljava/lang/Void;'), ('Lcom/urbandroid/lux/LocationService;', 'resolveLocation', '(Z)Lcom/urbandroid/lux/LocationService$Location;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.urbandroid.lux.LOCATION_FOUND to construct an Intent

Method com.urbandroid.lux.LocationService$4$1.doInBackground():


    protected varargs Void doInBackground(Void[] p2)
    {
        this.this$1.this$0.resolveLocation(1);
        return 0;
    }

Method com.urbandroid.lux.LocationService.resolveLocation():


    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 android.content.Intent.<init>() not found.

[TAINT] String 'com.urbandroid.lux.LOCATION_FOUND' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/urbandroid/lux/LocationService$4$1;', 'doInBackground', '([Ljava/lang/Object;)Ljava/lang/Object;'), ('Lcom/urbandroid/lux/LocationService$4$1;', 'doInBackground', '([Ljava/lang/Void;)Ljava/lang/Void;'), ('Lcom/urbandroid/lux/LocationService;', 'resolveLocation', '(Z)Lcom/urbandroid/lux/LocationService$Location;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.urbandroid.lux.LOCATION_FOUND to construct an Intent

Method com.urbandroid.lux.LocationService$4$1.doInBackground():


    protected bridge synthetic Object doInBackground(Object[] p1)
    {
        return this.doInBackground(((Void[]) p1));
    }

Method com.urbandroid.lux.LocationService$4$1.doInBackground():


    protected varargs Void doInBackground(Void[] p2)
    {
        this.this$1.this$0.resolveLocation(1);
        return 0;
    }

Method com.urbandroid.lux.LocationService.resolveLocation():


    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 android.content.Intent.<init>() not found.

[TAINT] String 'com.urbandroid.lux.LOCATION_FOUND' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/urbandroid/lux/LocationActivity$3;', 'doInBackground', '([Ljava/lang/Void;)Ljava/lang/Void;'), ('Lcom/urbandroid/lux/LocationService;', 'resolveLocation', '()Lcom/urbandroid/lux/LocationService$Location;'), ('Lcom/urbandroid/lux/LocationService;', 'resolveLocation', '(Z)Lcom/urbandroid/lux/LocationService$Location;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.urbandroid.lux.LOCATION_FOUND to construct an Intent

Method com.urbandroid.lux.LocationActivity$3.doInBackground():


    protected varargs Void doInBackground(Void[] p5)
    {
        com.urbandroid.common.logging.Logger.logInfo("Location update");
        try {
            String v0_4 = this.this$0.locationService.resolveLocation();
        } catch (Exception) {
            return 0;
        }
        if (v0_4 == null) {
            com.urbandroid.common.logging.Logger.logInfo("Location unknown ");
            return 0;
        } else {
            com.urbandroid.lux.context.AppContext.settings().setLocation(v0_4);
            StringBuilder v1_2 = new StringBuilder();
            v1_2.append("Location ");
            v1_2.append(v0_4.getLat());
            v1_2.append(" ");
            v1_2.append(v0_4.getLon());
            com.urbandroid.common.logging.Logger.logInfo(v1_2.toString());
            com.urbandroid.lux.context.AppContext.settings().setLocationUpdated();
            return 0;
        }
    }

Method com.urbandroid.lux.LocationService.resolveLocation():


    public com.urbandroid.lux.LocationService$Location resolveLocation()
    {
        return this.resolveLocation(0);
    }

Method com.urbandroid.lux.LocationService.resolveLocation():


    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 android.content.Intent.<init>() not found.

[TAINT] String 'com.urbandroid.lux.LOCATION_FOUND' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/urbandroid/lux/LocationActivity$3;', 'doInBackground', '([Ljava/lang/Object;)Ljava/lang/Object;'), ('Lcom/urbandroid/lux/LocationActivity$3;', 'doInBackground', '([Ljava/lang/Void;)Ljava/lang/Void;'), ('Lcom/urbandroid/lux/LocationService;', 'resolveLocation', '()Lcom/urbandroid/lux/LocationService$Location;'), ('Lcom/urbandroid/lux/LocationService;', 'resolveLocation', '(Z)Lcom/urbandroid/lux/LocationService$Location;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.urbandroid.lux.LOCATION_FOUND to construct an Intent

Method com.urbandroid.lux.LocationActivity$3.doInBackground():


    protected bridge synthetic Object doInBackground(Object[] p1)
    {
        return this.doInBackground(((Void[]) p1));
    }

Method com.urbandroid.lux.LocationActivity$3.doInBackground():


    protected varargs Void doInBackground(Void[] p5)
    {
        com.urbandroid.common.logging.Logger.logInfo("Location update");
        try {
            String v0_4 = this.this$0.locationService.resolveLocation();
        } catch (Exception) {
            return 0;
        }
        if (v0_4 == null) {
            com.urbandroid.common.logging.Logger.logInfo("Location unknown ");
            return 0;
        } else {
            com.urbandroid.lux.context.AppContext.settings().setLocation(v0_4);
            StringBuilder v1_2 = new StringBuilder();
            v1_2.append("Location ");
            v1_2.append(v0_4.getLat());
            v1_2.append(" ");
            v1_2.append(v0_4.getLon());
            com.urbandroid.common.logging.Logger.logInfo(v1_2.toString());
            com.urbandroid.lux.context.AppContext.settings().setLocationUpdated();
            return 0;
        }
    }

Method com.urbandroid.lux.LocationService.resolveLocation():


    public com.urbandroid.lux.LocationService$Location resolveLocation()
    {
        return this.resolveLocation(0);
    }

Method com.urbandroid.lux.LocationService.resolveLocation():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/BacklightActivity$1;', 'run', '()V'), ('Lcom/urbandroid/lux/AbstractTwilightService;', 'startForegroundServiceUpdate', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.BacklightActivity$1.run():


    public void run()
    {
        com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate(this.this$0);
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/AbstractTwilightService;', 'start', '(Landroid/content/Intent; I)V'), ('Lcom/urbandroid/lux/TwilightApplication;', 'restartOnLowMemory', '(Landroid/content/Context; I J)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.AbstractTwilightService.start():


    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.TwilightApplication.restartOnLowMemory():


    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 android.content.Intent.<init>() not found.

[TAINT] String 'com.urbandroid.lux.ACTION_SERVICE_TOGGLE' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/urbandroid/lux/AbstractTwilightService;', 'resume', '()V'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.urbandroid.lux.ACTION_SERVICE_TOGGLE to construct an Intent

Method com.urbandroid.lux.AbstractTwilightService.resume():


    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 android.content.Intent.<init>() not found.

[TAINT] String 'com.urbandroid.lux.ACTION_SERVICE_TOGGLE' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/urbandroid/lux/AbstractTwilightService;', 'pause', '()V'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.urbandroid.lux.ACTION_SERVICE_TOGGLE to construct an Intent

Method com.urbandroid.lux.AbstractTwilightService.pause():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/AbstractTwilightService;', 'onDestroy', '()V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.AbstractTwilightService.onDestroy():


    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 android.content.Intent.<init>() not found.

[TAINT] String 'com.urbandroid.lux.event_transition_start' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/urbandroid/lux/AbstractTwilightService;', 'updateAndCheckForeground', '()V'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.urbandroid.lux.event_transition_start to construct an Intent

Method com.urbandroid.lux.AbstractTwilightService.updateAndCheckForeground():


    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 android.content.Intent.<init>() not found.

[TAINT] String 'com.urbandroid.lux.event_transition_end' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/urbandroid/lux/AbstractTwilightService;', 'updateAndCheckForeground', '()V'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.urbandroid.lux.event_transition_end to construct an Intent

Method com.urbandroid.lux.AbstractTwilightService.updateAndCheckForeground():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/AbstractTwilightService;', 'stopService', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.AbstractTwilightService.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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/AbstractTwilightService;', 'startForegroundServiceUpdateForeground', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdateForeground():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/AbstractTwilightService;', 'startForegroundServiceUpdate', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/AbstractTwilightService;', 'startForegroundServiceToggle', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceToggle():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/AbstractTwilightService;', 'startForegroundService', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.AbstractTwilightService.startForegroundService():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/AbstractTwilightService;', 'pauseTemp', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.AbstractTwilightService.pauseTemp():


    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.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/AbstractTwilightService$ScreenReceiver$1;', 'run', '()V'), ('Lcom/urbandroid/lux/AbstractTwilightService;', 'stopService', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.AbstractTwilightService$ScreenReceiver$1.run():


    public void run()
    {
        com.urbandroid.common.logging.Logger.logInfo("Service: USER foreground delayed ");
        com.urbandroid.lux.AbstractTwilightService.stopService(this.this$1.this$0.getApplicationContext());
        com.urbandroid.lux.AbstractTwilightService.startForegroundService(this.this$1.this$0.getApplicationContext());
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/AbstractTwilightService$6;', 'onPostExecute', '(Ljava/lang/Void;)V'), ('Lcom/urbandroid/lux/AbstractTwilightService;', 'startForegroundServiceUpdate', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.AbstractTwilightService$6.onPostExecute():


    protected void onPostExecute(Void p1)
    {
        com.urbandroid.lux.AbstractTwilightService v1_1 = this.this$0.filter;
        if ((v1_1 != null) && (v1_1.isShown())) {
            com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate(this.this$0);
        }
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/AbstractTwilightService$6;', 'onPostExecute', '(Ljava/lang/Object;)V'), ('Lcom/urbandroid/lux/AbstractTwilightService$6;', 'onPostExecute', '(Ljava/lang/Void;)V'), ('Lcom/urbandroid/lux/AbstractTwilightService;', 'startForegroundServiceUpdate', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.AbstractTwilightService$6.onPostExecute():


    protected bridge synthetic void onPostExecute(Object p1)
    {
        this.onPostExecute(((Void) p1));
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService$6.onPostExecute():


    protected void onPostExecute(Void p1)
    {
        com.urbandroid.lux.AbstractTwilightService v1_1 = this.this$0.filter;
        if ((v1_1 != null) && (v1_1.isShown())) {
            com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate(this.this$0);
        }
        return;
    }

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceUpdate():


    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 android.content.Intent.<init>() not found.

[TAINT] String 'com.urbandroid.lux.LOCATION_FOUND' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/urbandroid/lux/AbstractTwilightService$6;', 'doInBackground', '([Ljava/lang/Void;)Ljava/lang/Void;'), ('Lcom/urbandroid/lux/LocationService;', 'resolveLocation', '()Lcom/urbandroid/lux/LocationService$Location;'), ('Lcom/urbandroid/lux/LocationService;', 'resolveLocation', '(Z)Lcom/urbandroid/lux/LocationService$Location;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.urbandroid.lux.LOCATION_FOUND to construct an Intent

Method com.urbandroid.lux.AbstractTwilightService$6.doInBackground():


    protected varargs Void doInBackground(Void[] p5)
    {
        try {
            String v0_6 = com.urbandroid.lux.AbstractTwilightService.access$600(this.this$0).resolveLocation();
        } catch (Exception) {
            com.urbandroid.lux.context.AppContext.settings().setLocationUpdateFailed();
            return 0;
        }
        if (v0_6 == null) {
            com.urbandroid.lux.context.AppContext.settings().setLocationUpdateFailed();
            com.urbandroid.common.logging.Logger.logInfo("Service: Location unknown ");
        } else {
            com.urbandroid.lux.context.AppContext.settings().setLocation(v0_6);
            StringBuilder v1_2 = new StringBuilder();
            v1_2.append("Service: Location ");
            v1_2.append(v0_6.getLat());
            v1_2.append(" ");
            v1_2.append(v0_6.getLon());
            com.urbandroid.common.logging.Logger.logInfo(v1_2.toString());
            com.urbandroid.lux.context.AppContext.settings().setLocationUpdated();
        }
        return 0;
    }

Method com.urbandroid.lux.LocationService.resolveLocation():


    public com.urbandroid.lux.LocationService$Location resolveLocation()
    {
        return this.resolveLocation(0);
    }

Method com.urbandroid.lux.LocationService.resolveLocation():


    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 android.content.Intent.<init>() not found.

[TAINT] String 'com.urbandroid.lux.LOCATION_FOUND' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/urbandroid/lux/AbstractTwilightService$6;', 'doInBackground', '([Ljava/lang/Object;)Ljava/lang/Object;'), ('Lcom/urbandroid/lux/AbstractTwilightService$6;', 'doInBackground', '([Ljava/lang/Void;)Ljava/lang/Void;'), ('Lcom/urbandroid/lux/LocationService;', 'resolveLocation', '()Lcom/urbandroid/lux/LocationService$Location;'), ('Lcom/urbandroid/lux/LocationService;', 'resolveLocation', '(Z)Lcom/urbandroid/lux/LocationService$Location;'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.urbandroid.lux.LOCATION_FOUND to construct an Intent

Method com.urbandroid.lux.AbstractTwilightService$6.doInBackground():


    protected bridge synthetic Object doInBackground(Object[] p1)
    {
        return this.doInBackground(((Void[]) p1));
    }

Method com.urbandroid.lux.AbstractTwilightService$6.doInBackground():


    protected varargs Void doInBackground(Void[] p5)
    {
        try {
            String v0_6 = com.urbandroid.lux.AbstractTwilightService.access$600(this.this$0).resolveLocation();
        } catch (Exception) {
            com.urbandroid.lux.context.AppContext.settings().setLocationUpdateFailed();
            return 0;
        }
        if (v0_6 == null) {
            com.urbandroid.lux.context.AppContext.settings().setLocationUpdateFailed();
            com.urbandroid.common.logging.Logger.logInfo("Service: Location unknown ");
        } else {
            com.urbandroid.lux.context.AppContext.settings().setLocation(v0_6);
            StringBuilder v1_2 = new StringBuilder();
            v1_2.append("Service: Location ");
            v1_2.append(v0_6.getLat());
            v1_2.append(" ");
            v1_2.append(v0_6.getLon());
            com.urbandroid.common.logging.Logger.logInfo(v1_2.toString());
            com.urbandroid.lux.context.AppContext.settings().setLocationUpdated();
        }
        return 0;
    }

Method com.urbandroid.lux.LocationService.resolveLocation():


    public com.urbandroid.lux.LocationService$Location resolveLocation()
    {
        return this.resolveLocation(0);
    }

Method com.urbandroid.lux.LocationService.resolveLocation():


    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 android.content.Intent.<init>() not found.

[TAINT] String 'com.urbandroid.common.connectivity.CANCEL_NETWORK_WAITING' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/urbandroid/common/connectivity/WaitForConnectivityService;', 'updateToProgressNotification', '()V'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.urbandroid.common.connectivity.CANCEL_NETWORK_WAITING to construct an Intent

Method com.urbandroid.common.connectivity.WaitForConnectivityService.updateToProgressNotification():


    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 android.content.Intent.<init>() not found.

[TAINT] String 'com.urbandroid.common.connectivity.CANCEL_NETWORK_WAITING' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/urbandroid/common/connectivity/WaitForConnectivityService;', 'startForeground', '()V'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.urbandroid.common.connectivity.CANCEL_NETWORK_WAITING to construct an Intent

Method com.urbandroid.common.connectivity.WaitForConnectivityService.startForeground():


    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 android.content.Intent.<init>() not found.

[TAINT] String 'com.urbandroid.common.connectivity.CANCEL_NETWORK_WAITING' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/urbandroid/common/connectivity/WaitForConnectivityService;', 'access$000', '(Lcom/urbandroid/common/connectivity/WaitForConnectivityService;)V'), ('Lcom/urbandroid/common/connectivity/WaitForConnectivityService;', 'updateToProgressNotification', '()V'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.urbandroid.common.connectivity.CANCEL_NETWORK_WAITING to construct an Intent

Method com.urbandroid.common.connectivity.WaitForConnectivityService.access$000():


    static synthetic void access$000(com.urbandroid.common.connectivity.WaitForConnectivityService p0)
    {
        p0.updateToProgressNotification();
        return;
    }

Method com.urbandroid.common.connectivity.WaitForConnectivityService.updateToProgressNotification():


    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 android.content.Intent.<init>() not found.

[TAINT] String 'com.urbandroid.common.connectivity.AVAILABILITY_CHECK' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/urbandroid/common/connectivity/WaitForConnectivityService$3;', 'onPostExecute', '(Ljava/lang/Object;)V'), ('Lcom/urbandroid/common/connectivity/WaitForConnectivityService$3;', 'onPostExecute', '(Ljava/lang/Boolean;)V'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.urbandroid.common.connectivity.AVAILABILITY_CHECK to construct an Intent

Method com.urbandroid.common.connectivity.WaitForConnectivityService$3.onPostExecute():


    protected bridge synthetic void onPostExecute(Object p1)
    {
        this.onPostExecute(((Boolean) p1));
        return;
    }

Method com.urbandroid.common.connectivity.WaitForConnectivityService$3.onPostExecute():


    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.content.Intent.<init>() not found.

[TAINT] String 'com.urbandroid.common.connectivity.AVAILABILITY_CHECK' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V', '0', 'IPC_SINK']' [[('Lcom/urbandroid/common/connectivity/WaitForConnectivityService$3;', 'onPostExecute', '(Ljava/lang/Boolean;)V'), ('Landroid/content/Intent;', '<init>', '(Ljava/lang/String;)V')]]

Use of a string value com.urbandroid.common.connectivity.AVAILABILITY_CHECK to construct an Intent

Method com.urbandroid.common.connectivity.WaitForConnectivityService$3.onPostExecute():


    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.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/AbstractTwilightService;', 'startForegroundServiceRefreshWallpaper', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceRefreshWallpaper():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/AbstractTwilightService;', 'startForegroundServiceRefresh', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceRefresh():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/AbstractTwilightService;', 'startForegroundServiceQuickSettingsOnTop', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceQuickSettingsOnTop():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/AbstractTwilightService;', 'startForegroundServiceQuickSettings', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceQuickSettings():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/AbstractTwilightService;', 'startForegroundServiceProfileNext', '(Landroid/content/Context;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceProfileNext():


    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 android.content.Intent.<init>() not found.

[TAINT] String '.TwilightService' ==>>> Sink '['Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V', '1', 'IPC_SINK']' [[('Lcom/urbandroid/lux/AbstractTwilightService;', 'startForegroundServiceProfile', '(Landroid/content/Context; Ljava/lang/String;)V'), ('Landroid/content/Intent;', '<init>', '(Landroid/content/Context; Ljava/lang/Class;)V')]]

Use of a string value .TwilightService to construct an Intent

Method com.urbandroid.lux.AbstractTwilightService.startForegroundServiceProfile():


    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 android.content.Intent.<init>() not found.