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

Description

List of all calls to Android IPC API.

Recommendation

This entry is informative, no recommendations applicable.

Technical details

Method Zo.a() calling method android.content.Context.bindService()


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

Method je.a() calling method android.content.Context.startActivities()


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

Method rd.startIntentSenderForResult() calling method android.app.Activity.startIntentSenderForResult()


    public void startIntentSenderForResult(android.content.IntentSender p2, int p3, android.content.Intent p4, int p5, int p6, int p7, android.os.Bundle p8)
    {
        if ((!this.j) && (p3 != -1)) {
            rd.c(p3);
        }
        super.startIntentSenderForResult(p2, p3, p4, p5, p6, p7, p8);
        return;
    }

Method rd.startIntentSenderForResult() calling method android.app.Activity.startIntentSenderForResult()


    public void startIntentSenderForResult(android.content.IntentSender p2, int p3, android.content.Intent p4, int p5, int p6, int p7)
    {
        if ((!this.j) && (p3 != -1)) {
            rd.c(p3);
        }
        super.startIntentSenderForResult(p2, p3, p4, p5, p6, p7);
        return;
    }

Method com.google.android.gms.common.api.Status.a() calling method android.app.Activity.startIntentSenderForResult()


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

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


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

Method com.ramco.ramcoerp.ReportPageActivity.u() calling method android.app.Activity.startActivityFromChild()


    public final void u()
    {
        try {
            if (this.s != null) {
                int v0_2 = this.getPackageManager();
                String v1_4 = new StringBuilder();
                v1_4.append(this.getPackageName());
                v1_4.append(".provider");
                String v1_1 = android.support.v4.content.FileProvider.a(this, v1_4.toString(), this.s);
                android.content.ComponentName v2_2 = this.getContentResolver().getType(v1_1);
                this.L.b(2131624019);
                if ((v2_2 == null) || (!v2_2.contains("pdf"))) {
                    this.B.setVisibility(8);
                    this.y.setVisibility(0);
                    if (v2_2 != null) {
                        if (!v2_2.contains("image")) {
                            String v3_6 = new android.content.Intent("android.intent.action.VIEW");
                            v3_6.setDataAndType(v1_1, v2_2);
                            v3_6.setFlags(1);
                            int v0_3 = v0_2.queryIntentActivities(v3_6, 0);
                            if (v0_3.size() <= 0) {
                                this.r.a(this, this.getTitle().toString(), "The file can\u2019t open.  No associate opener found.", 17301659, this);
                            } else {
                                int v0_6 = ((android.content.pm.ResolveInfo) v0_3.get(0));
                                if (v0_6 != 0) {
                                    v3_6.setComponent(new android.content.ComponentName(v0_6.activityInfo.packageName, v0_6.activityInfo.name));
                                }
                                v3_6.addCategory("android.intent.category.EMBED");
                                this.startActivityFromChild(this, v3_6, 8004);
                                this.w = 1;
                            }
                        } else {
                            this.y.loadUrl(v1_1.toString());
                        }
                    }
                } else {
                    this.L.a(this.s.getName());
                    this.y.setVisibility(8);
                    this.B.setVisibility(0);
                    int v0_16 = this.B.a(this.s);
                    v0_16.c(1);
                    v0_16.d(0);
                    v0_16.b(1);
                    v0_16.a(0);
                    v0_16.a(1);
                    v0_16.b(0);
                    v0_16.a(this);
                    v0_16.a();
                }
            }
        } catch (int v0_1) {
            v0_1.printStackTrace();
        }
        return;
    }

Method rd.startActivityForResult() calling method android.app.Activity.startActivityForResult()


    public void startActivityForResult(android.content.Intent p2, int p3, android.os.Bundle p4)
    {
        if ((!this.k) && (p3 != -1)) {
            rd.c(p3);
        }
        super.startActivityForResult(p2, p3, p4);
        return;
    }

Method rd.startActivityForResult() calling method android.app.Activity.startActivityForResult()


    public void startActivityForResult(android.content.Intent p2, int p3)
    {
        if ((!this.k) && (p3 != -1)) {
            rd.c(p3);
        }
        super.startActivityForResult(p2, p3);
        return;
    }

Method org.apache.cordova.CordovaInterfaceImpl.startActivityForResult() calling method android.app.Activity.startActivityForResult()


    public void startActivityForResult(org.apache.cordova.CordovaPlugin p1, android.content.Intent p2, int p3)
    {
        this.setActivityResultCallback(p1);
        try {
            this.activity.startActivityForResult(p2, p3);
            return;
        } catch (RuntimeException v1_2) {
            this.activityResultCallback = 0;
            throw v1_2;
        }
    }

Method fd.a() calling method android.app.Activity.startActivityForResult()


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

Method Fo.a() calling method android.app.Activity.startActivityForResult()


    public final void a()
    {
        android.content.Intent v0 = this.a;
        if (v0 != null) {
            this.b.startActivityark>Foark>rResult(v0, this.c);
        }
        return;
    }

Method org.apache.cordova.CordovaActivity.startActivityForResult() calling method android.app.Activity.startActivityForResult()


    public void startActivityForResult(android.content.Intent p2, int p3, android.os.Bundle p4)
    {
        this.cordovaInterface.setActivityResultRequestCode(p3);
        super.startActivityForResult(p2, p3, p4);
        return;
    }

Method com.ramco.ramcoerp.SplashScreenActivity.m() calling method android.app.Activity.startActivity()


    public synthetic void m()
    {
        int v0_0 = this.s;
        String v1 = this.t;
        String v2 = this.u;
        android.content.Intent v3_2 = this.q;
        boolean v4_7 = new Object[3];
        v4_7[0] = v0_0;
        v4_7[1] = v1;
        v4_7[2] = v2;
        android.util.Log.d(v3_2, String.format("%s - %s - %s", v4_7));
        android.content.Intent v3_1 = new android.content.Intent(this.getBaseContext(), com.ramco.ramcoerp.LoginActivity);
        if ((!android.text.TextUtils.isEmpty(v0_0)) || ((!android.text.TextUtils.isEmpty(v1)) || (!android.text.TextUtils.isEmpty(v2)))) {
            v3_1.putExtra("n", v0_0);
            v3_1.putExtra("url", v1);
            v3_1.putExtra("u", v2);
        }
        v3_1.setFlags(67108864);
        this.startActivity(v3_1);
        this.finish();
        this.overridePendingTransition(0, 0);
        return;
    }

Method com.ramco.ramcoerp.LoginActivity.e() calling method android.app.Activity.startActivity()


    public final void e(org.json.JSONArray p3)
    {
        if (p3 != null) {
            String v0_0 = 0;
            if (p3.length() > 0) {
                v0_0 = p3.optString(0);
            }
            if (!android.text.TextUtils.isEmpty(v0_0)) {
                wB v3_1 = this.R;
                if ((v3_1 != null) && (v3_1.isShowing())) {
                    this.R.hide();
                }
                wB v3_5 = new android.content.Intent(this, com.ramco.ramcoerp.ReportPageActivity);
                v3_5.putExtra("reportpagedetail", v0_0);
                this.startActivity(v3_5);
                return;
            } else {
                return;
            }
        } else {
            return;
        }
    }

Method com.ramco.ramcoerp.ChooseServerActivity.onOptionsItemSelected() calling method android.app.Activity.startActivity()


    public boolean onOptionsItemSelected(android.view.MenuItem p7)
    {
        android.widget.ListView v7_1 = p7.getItemId();
        if (v7_1 != 16908332) {
            if (v7_1 != 2131230862) {
                if (v7_1 != 2131230864) {
                    if (v7_1 != 2131230863) {
                        return 1;
                    } else {
                        if (this.t.getCount() > 0) {
                            android.widget.ListView v7_7 = new java.util.ArrayList();
                            WA v2_0 = 0;
                            while (v2_0 < this.t.getCount()) {
                                WA v4_3 = this.t.getItem(v2_0);
                                if ((v4_3 != null) && (v4_3.s())) {
                                    v7_7.add(v4_3);
                                    this.z = v4_3.b();
                                    this.v.b(this.z);
                                    this.y.c(this.z);
                                    this.y.d(this.z);
                                    this.y.a(this.z);
                                    this.y.e(this.z);
                                    this.y.f(this.z);
                                    this.y.b(this.z);
                                }
                                v2_0++;
                            }
                            if (v7_7.size() > 0) {
                                this.y.a(v7_7);
                            }
                        }
                        this.findViewById(2131230863).setActivated(0);
                        this.r.setChoiceMode(1);
                    }
                } else {
                    if (this.r.getChoiceMode() != 2) {
                        this.r.setChoiceMode(2);
                        this.findViewById(2131230863).setActivated(1);
                    } else {
                        this.r.setChoiceMode(1);
                        this.findViewById(2131230863).setActivated(0);
                    }
                }
                this.p();
            } else {
                this.startActivity(new android.content.Intent(this, com.ramco.ramcoerp.ServerInfoActivity));
            }
            return 1;
        } else {
            android.widget.ListView v7_18 = this.u;
            if (v7_18 != null) {
                v7_18.dismiss();
                this.u = 0;
            }
            if ((!VB.b(this).booleanValue()) || (this.y.b() == null)) {
                this.setResult(0, 0);
            } else {
                this.setResult(-1, 0);
            }
            XA.a(0);
            this.v.a(0);
            this.finish();
            return 1;
        }
    }

Method org.apache.cordova.CordovaWebViewImpl.showWebPage() calling method android.app.Activity.startActivity()


    public void showWebPage(String p4, boolean p5, boolean p6, java.util.Map p7)
    {
        String v7_1 = new Object[3];
        v7_1[0] = p4;
        v7_1[1] = Boolean.valueOf(p5);
        v7_1[2] = Boolean.valueOf(p6);
        org.apache.cordova.LOG.d("CordovaWebViewImpl", "showWebPage(%s, %b, %b, HashMap)", v7_1);
        if (p6 != null) {
            this.engine.clearHistory();
        }
        if (p5 == null) {
            if (!this.pluginManager.shouldAllowNavigation(p4)) {
                android.content.ActivityNotFoundException v5_4 = new StringBuilder();
                v5_4.append("showWebPage: Refusing to load URL into webview since it is not in the <allow-navigation> whitelist. URL=");
                v5_4.append(p4);
                org.apache.cordova.LOG.w("CordovaWebViewImpl", v5_4.toString());
            } else {
                this.loadUrlIntoView(p4, 1);
            }
        }
        if (this.pluginManager.shouldOpenExternalUrl(p4).booleanValue()) {
            try {
                android.content.ActivityNotFoundException v5_10 = new android.content.Intent("android.intent.action.VIEW");
                v5_10.addCategory("android.intent.category.BROWSABLE");
                android.app.Activity v6_5 = android.net.Uri.parse(p4);
            } catch (android.content.ActivityNotFoundException v5_11) {
                android.app.Activity v6_7 = new StringBuilder();
                v6_7.append("Error loading url ");
                v6_7.append(p4);
                org.apache.cordova.LOG.e("CordovaWebViewImpl", v6_7.toString(), v5_11);
                return;
            }
            if (!"file".equals(v6_5.getScheme())) {
                v5_10.setData(v6_5);
            } else {
                v5_10.setDataAndType(v6_5, this.resourceApi.getMimeType(v6_5));
            }
            this.cordova.getActivity().startActivity(v5_10);
            return;
        } else {
            android.content.ActivityNotFoundException v5_13 = new StringBuilder();
            v5_13.append("showWebPage: Refusing to send intent for URL since it is not in the <allow-intent> whitelist. URL=");
            v5_13.append(p4);
            org.apache.cordova.LOG.w("CordovaWebViewImpl", v5_13.toString());
            return;
        }
    }

Method Zd.a() calling method android.app.Activity.startActivity()


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

Method rd.onNewIntent() calling method android.app.Activity.onNewIntent()


    public void onNewIntent(android.content.Intent p1)
    {
        super.onNewIntent(p1);
        this.d.k();
        return;
    }

Method org.apache.cordova.CordovaActivity.onNewIntent() calling method android.app.Activity.onNewIntent()


    public void onNewIntent(android.content.Intent p2)
    {
        super.onNewIntent(p2);
        org.apache.cordova.CordovaWebView v0 = this.appView;
        if (v0 != null) {
            v0.onNewIntent(p2);
        }
        return;
    }

Method com.ramco.ramcoerp.LoginActivity.onResume() calling method android.app.Activity.registerReceiver()


    public void onResume()
    {
        super.onResume();
        org.apache.cordova.LOG.d("Login Page", "Resumed the activity.");
        if (this.y != null) {
            this.getWindow().getDecorView().requestFocus();
            if (this.N == null) {
                this.N = com.ramco.ramcoerp.RamcoApplication.a();
                this.O = this.N.d();
            }
            this.registerReceiver(this.B, new android.content.IntentFilter("android.location.PROVIDERS_CHANGED"), "ramco.erp.PERMISSION", 0);
            this.y.handleResume(this.z);
            boolean v0_7 = this.q();
            boolean v1_4 = this.K();
            if ((v0_7) && ((v1_4) && (!this.x.booleanValue()))) {
                this.Z();
            }
            return;
        } else {
            return;
        }
    }

Method com.ramco.ramcoerp.BarcodeCaptureActivity.a() calling method android.app.Activity.registerReceiver()


    public final void a(boolean p7, boolean p8)
    {
        int v0_3 = new Jz$a(this.getApplicationContext()).a();
        v0_3.a(new Gz$a(new TA(this.s, this)).a());
        String v3 = 0;
        if (!v0_3.a()) {
            String v4_4;
            android.util.Log.w("Barcode-reader", "Detector dependencies are not yet available.");
            if (this.registerReceiver(0, new android.content.IntentFilter("android.intent.action.DEVICE_STORAGE_LOW")) == null) {
                v4_4 = 0;
            } else {
                v4_4 = 1;
            }
            if (v4_4 != null) {
                android.widget.Toast.makeText(this, 2131624038, 1).show();
                android.util.Log.w("Barcode-reader", this.getString(2131624038));
            }
        }
        aC v7_1;
        aC$a v1_6 = new aC$a(this.getApplicationContext(), v0_3);
        v1_6.a(0);
        v1_6.a(1600, 1024);
        v1_6.a(1084227584);
        if (p7 == null) {
            v7_1 = 0;
        } else {
            v7_1 = "continuous-picture";
        }
        v1_6.b(v7_1);
        if (p8) {
            v3 = "torch";
        }
        v1_6.a(v3);
        this.q = v1_6.a();
        return;
    }

Method he.onCreate() calling method android.app.Activity.onCreate()


    public void onCreate(android.os.Bundle p1)
    {
        super.onCreate(p1);
        x.a(this);
        return;
    }

Method org.apache.cordova.CordovaActivity.onCreate() calling method android.app.Activity.onCreate()


    public void onCreate(android.os.Bundle p6)
    {
        this.loadConfig();
        org.apache.cordova.LOG.setLogLevel(this.preferences.getString("loglevel", "ERROR"));
        org.apache.cordova.LOG.i(org.apache.cordova.CordovaActivity.TAG, "Apache Cordova native platform version 6.0.0 is starting");
        org.apache.cordova.LOG.d(org.apache.cordova.CordovaActivity.TAG, "CordovaActivity.onCreate()");
        if (!this.preferences.getBoolean("ShowTitle", 0)) {
            this.getWindow().requestFeature(1);
        }
        if (this.preferences.getBoolean("SetFullscreen", 0)) {
            org.apache.cordova.LOG.d(org.apache.cordova.CordovaActivity.TAG, "The SetFullscreen configuration is deprecated in favor of Fullscreen, and will be removed in a future version.");
            this.preferences.set("Fullscreen", 1);
        }
        org.apache.cordova.CordovaInterfaceImpl v0_11;
        int v1_3;
        if (!this.preferences.getBoolean("Fullscreen", 0)) {
            v0_11 = this.getWindow();
            v1_3 = 2048;
            v0_11.setFlags(v1_3, v1_3);
        } else {
            if ((android.os.Build$VERSION.SDK_INT < 19) || (this.preferences.getBoolean("FullscreenNotImmersive", 0))) {
                v0_11 = this.getWindow();
                v1_3 = 1024;
            } else {
                this.immersiveMode = 1;
            }
        }
        super.onCreate(p6);
        this.cordovaInterface = this.makeCordovaInterface();
        if (p6 != null) {
            this.cordovaInterface.restoreInstanceState(p6);
        }
        return;
    }

Method com.ramco.ramcoerp.NFCActivity.onCreate() calling method android.app.Activity.onCreate()


    public void onCreate(android.os.Bundle p4)
    {
        android.content.IntentFilter$MalformedMimeTypeException v4_18;
        RuntimeException v0_6;
        super.onCreate(p4);
        this.setContentView(2131427358);
        this.d = ((android.widget.TextView) this.findViewById(2131230975));
        this.e = ((android.widget.Button) this.findViewById(2131230768));
        this.e.setOnClickListener(this);
        this.a = 0;
        android.content.IntentFilter$MalformedMimeTypeException v4_6 = android.nfc.NfcAdapter.getDefaultAdapter(this);
        if (v4_6 != null) {
            if (v4_6.isEnabled()) {
                this.d.setText(2131624071);
                android.content.IntentFilter$MalformedMimeTypeException v4_10 = new android.content.Intent(this, com.ramco.ramcoerp.NFCActivity);
                v4_10.addFlags(603979776);
                this.a = android.app.PendingIntent.getActivity(this, 0, v4_10, 0);
                android.content.IntentFilter$MalformedMimeTypeException v4_14 = new android.content.IntentFilter("android.nfc.action.NDEF_DISCOVERED");
                try {
                    v4_14.addDataType("*/*");
                    String v2_0 = new android.content.IntentFilter[1];
                    v2_0[0] = v4_14;
                    this.b = v2_0;
                    android.content.IntentFilter$MalformedMimeTypeException v4_15 = new String[][1];
                    String v1_3 = new String[1];
                    v1_3[0] = android.nfc.tech.NfcF.getName();
                    v4_15[0] = v1_3;
                    this.c = v4_15;
                } catch (android.content.IntentFilter$MalformedMimeTypeException v4_17) {
                    throw new RuntimeException("fail", v4_17);
                }
            } else {
                v4_18 = this.d;
                v0_6 = 2131624044;
                v4_18.setText(v0_6);
            }
        } else {
            v4_18 = this.d;
            v0_6 = 2131624043;
        }
        return;
    }

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


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

Method DB.openFileChooser() calling method android.content.Intent.setPackage()


    public void openFileChooser(android.webkit.ValueCallback p7, String p8, String p9)
    {
        try {
            org.apache.cordova.CordovaInterface v8_9 = new java.io.File(android.os.Environment.getExternalStoragePublicDirectory(android.os.Environment.DIRECTORY_PICTURES), "com.ramco.ramcoerp");
        } catch (int v7_2) {
            v7_2.printStackTrace();
            return;
        }
        if ((!v8_9.exists()) && (!v8_9.mkdirs())) {
            android.util.Log.i("RamcoChromeClient", "File direct creation error.");
        }
        AB v0_2 = new StringBuilder();
        v0_2.append(v8_9);
        v0_2.append(java.io.File.separator);
        v0_2.append("IMG_");
        v0_2.append(String.valueOf(System.currentTimeMillis()));
        v0_2.append(".jpg");
        this.b = android.net.Uri.fromFile(new java.io.File(v0_2.toString()));
        org.apache.cordova.CordovaInterface v8_8 = new java.util.ArrayList();
        android.content.Intent v9_7 = new android.content.Intent("android.media.action.IMAGE_CAPTURE");
        AB v0_9 = this.c.getActivity().getPackageManager().queryIntentActivities(v9_7, 0).iterator();
        while (v0_9.hasNext()) {
            android.os.Parcelable[] v1_6 = ((android.content.pm.ResolveInfo) v0_9.next());
            android.net.Uri v2_1 = v1_6.activityInfo.packageName;
            android.content.Intent v3_1 = new android.content.Intent(v9_7);
            v3_1.setComponent(new android.content.ComponentName(v1_6.activityInfo.packageName, v1_6.activityInfo.name));
            v3_1.setPackage(v2_1);
            v3_1.putExtra("output", this.b);
            v8_8.add(v3_1);
        }
        android.content.Intent v9_9 = new android.content.Intent();
        v9_9.setType("image/*");
        v9_9.setAction("android.intent.action.GET_CONTENT");
        android.content.Intent v9_10 = android.content.Intent.createChooser(v9_9, "Select Source");
        android.os.Parcelable[] v1_4 = new android.os.Parcelable[v8_8.size()];
        v9_10.putExtra("android.intent.extra.INITIAL_INTENTS", ((android.os.Parcelable[]) v8_8.toArray(v1_4)));
        this.c.startActivityForResult(new AB(this, p7), v9_10, 5173);
        return;
    }

Method DB.onShowFileChooser() calling method android.content.Intent.setPackage()


    public boolean onShowFileChooser(android.webkit.WebView p17, android.webkit.ValueCallback p18, android.webkit.WebChromeClient$FileChooserParams p19)
    {
        try {
            if (android.os.Build$VERSION.SDK_INT <= 21) {
                android.util.Log.i("RamcoChromeClient", "onshowfile");
                org.apache.cordova.CordovaInterface v2_17 = new java.io.File(android.os.Environment.getExternalStoragePublicDirectory(android.os.Environment.DIRECTORY_PICTURES), "com.ramco.ramcoerp");
                if ((!v2_17.exists()) && (!v2_17.mkdirs())) {
                    android.util.Log.i("RamcoChromeClient", "File direct creation error.");
                }
                android.content.Intent v12_6 = new StringBuilder();
                v12_6.append(v2_17);
                v12_6.append(java.io.File.separator);
                v12_6.append("IMG_");
                v12_6.append(String.valueOf(System.currentTimeMillis()));
                v12_6.append(".jpg");
                this.b = android.net.Uri.fromFile(new java.io.File(v12_6.toString()));
                org.apache.cordova.CordovaInterface v2_23 = new java.util.ArrayList();
                android.content.Intent v3_12 = new android.content.Intent("android.media.action.IMAGE_CAPTURE");
                java.util.Iterator v9_9 = this.c.getActivity().getPackageManager().queryIntentActivities(v3_12, 0).iterator();
                while (v9_9.hasNext()) {
                    android.net.Uri v10_10 = ((android.content.pm.ResolveInfo) v9_9.next());
                    String v11_4 = v10_10.activityInfo.packageName;
                    android.content.Intent v12_8 = new android.content.Intent(v3_12);
                    v12_8.setComponent(new android.content.ComponentName(v10_10.activityInfo.packageName, v10_10.activityInfo.name));
                    v12_8.setPackage(v11_4);
                    v12_8.putExtra("output", this.b);
                    v2_23.add(v12_8);
                }
                android.content.Intent v3_14 = new android.content.Intent();
                v3_14.setType("image/*");
                v3_14.setAction("android.intent.action.GET_CONTENT");
                android.content.Intent v3_15 = android.content.Intent.createChooser(v3_14, "Select Source");
                BB v4_6 = new android.os.Parcelable[v2_23.size()];
                v3_15.putExtra("android.intent.extra.INITIAL_INTENTS", ((android.os.Parcelable[]) v2_23.toArray(v4_6)));
                this.c.startActivityForResult(new CB(this, p18), v3_15, 5173);
            } else {
                if (this.c.hasPermission("android.permission.CAMERA")) {
                    android.util.Log.i("RamcoChromeClient", "onshowfile");
                    org.apache.cordova.CordovaInterface v2_3 = new java.io.File(android.os.Environment.getExternalStoragePublicDirectory(android.os.Environment.DIRECTORY_PICTURES), "com.ramco.ramcoerp");
                    if ((!v2_3.exists()) && (!v2_3.mkdirs())) {
                        android.util.Log.i("RamcoChromeClient", "File direct creation error.");
                    }
                    android.content.Intent v12_2 = new StringBuilder();
                    v12_2.append(v2_3);
                    v12_2.append(java.io.File.separator);
                    v12_2.append("IMG_");
                    v12_2.append(String.valueOf(System.currentTimeMillis()));
                    v12_2.append(".jpg");
                    this.b = android.net.Uri.fromFile(new java.io.File(v12_2.toString()));
                    org.apache.cordova.CordovaInterface v2_9 = new java.util.ArrayList();
                    android.content.Intent v3_4 = new android.content.Intent("android.media.action.IMAGE_CAPTURE");
                    java.util.Iterator v9_4 = this.c.getActivity().getPackageManager().queryIntentActivities(v3_4, 0).iterator();
                    while (v9_4.hasNext()) {
                        android.net.Uri v10_3 = ((android.content.pm.ResolveInfo) v9_4.next());
                        String v11_2 = v10_3.activityInfo.packageName;
                        android.content.Intent v12_4 = new android.content.Intent(v3_4);
                        v12_4.setComponent(new android.content.ComponentName(v10_3.activityInfo.packageName, v10_3.activityInfo.name));
                        v12_4.setPackage(v11_2);
                        v12_4.putExtra("output", this.b);
                        v2_9.add(v12_4);
                    }
                    android.content.Intent v3_6 = new android.content.Intent();
                    v3_6.setType("image/*");
                    v3_6.setAction("android.intent.action.GET_CONTENT");
                    android.content.Intent v3_7 = android.content.Intent.createChooser(v3_6, "Select Source");
                    BB v4_1 = new android.os.Parcelable[v2_9.size()];
                    v3_7.putExtra("android.intent.extra.INITIAL_INTENTS", ((android.os.Parcelable[]) v2_9.toArray(v4_1)));
                    this.c.startActivityForResult(new BB(this, p18), v3_7, 5173);
                } else {
                    android.widget.Toast.makeText(this.a, 2131624062, 1).show();
                    return 0;
                }
            }
        } catch (int v0_2) {
            v0_2.printStackTrace();
        }
        return 1;
    }

Method no$a.a() calling method android.content.Intent.setPackage()


    public final android.content.Intent a(android.content.Context p2)
    {
        android.content.Intent v2_1;
        android.content.Intent v2_0 = this.a;
        if (v2_0 == null) {
            v2_1 = new android.content.Intent().setComponent(this.c);
        } else {
            v2_1 = new android.content.Intent(v2_0).setPackage(this.b);
        }
        return v2_1;
    }

Method To.a() calling method android.content.Intent.setPackage()


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

Method To.a() calling method android.content.Intent.setPackage()


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

Method com.ramco.ramcoerp.SplashScreenActivity.m() calling method android.content.Intent.setFlags()


    public synthetic void m()
    {
        int v0_0 = this.s;
        String v1 = this.t;
        String v2 = this.u;
        android.content.Intent v3_2 = this.q;
        boolean v4_7 = new Object[3];
        v4_7[0] = v0_0;
        v4_7[1] = v1;
        v4_7[2] = v2;
        android.util.Log.d(v3_2, String.format("%s - %s - %s", v4_7));
        android.content.Intent v3_1 = new android.content.Intent(this.getBaseContext(), com.ramco.ramcoerp.LoginActivity);
        if ((!android.text.TextUtils.isEmpty(v0_0)) || ((!android.text.TextUtils.isEmpty(v1)) || (!android.text.TextUtils.isEmpty(v2)))) {
            v3_1.putExtra("n", v0_0);
            v3_1.putExtra("url", v1);
            v3_1.putExtra("u", v2);
        }
        v3_1.setFlags(67108864);
        this.startActivity(v3_1);
        this.finish();
        this.overridePendingTransition(0, 0);
        return;
    }

Method com.ramco.ramcoerp.ReportPageActivity.u() calling method android.content.Intent.setFlags()


    public final void u()
    {
        try {
            if (this.s != null) {
                int v0_2 = this.getPackageManager();
                String v1_4 = new StringBuilder();
                v1_4.append(this.getPackageName());
                v1_4.append(".provider");
                String v1_1 = android.support.v4.content.FileProvider.a(this, v1_4.toString(), this.s);
                android.content.ComponentName v2_2 = this.getContentResolver().getType(v1_1);
                this.L.b(2131624019);
                if ((v2_2 == null) || (!v2_2.contains("pdf"))) {
                    this.B.setVisibility(8);
                    this.y.setVisibility(0);
                    if (v2_2 != null) {
                        if (!v2_2.contains("image")) {
                            String v3_6 = new android.content.Intent("android.intent.action.VIEW");
                            v3_6.setDataAndType(v1_1, v2_2);
                            v3_6.setFlags(1);
                            int v0_3 = v0_2.queryIntentActivities(v3_6, 0);
                            if (v0_3.size() <= 0) {
                                this.r.a(this, this.getTitle().toString(), "The file can\u2019t open.  No associate opener found.", 17301659, this);
                            } else {
                                int v0_6 = ((android.content.pm.ResolveInfo) v0_3.get(0));
                                if (v0_6 != 0) {
                                    v3_6.setComponent(new android.content.ComponentName(v0_6.activityInfo.packageName, v0_6.activityInfo.name));
                                }
                                v3_6.addCategory("android.intent.category.EMBED");
                                this.startActivityFromChild(this, v3_6, 8004);
                                this.w = 1;
                            }
                        } else {
                            this.y.loadUrl(v1_1.toString());
                        }
                    }
                } else {
                    this.L.a(this.s.getName());
                    this.y.setVisibility(8);
                    this.B.setVisibility(0);
                    int v0_16 = this.B.a(this.s);
                    v0_16.c(1);
                    v0_16.d(0);
                    v0_16.b(1);
                    v0_16.a(0);
                    v0_16.a(1);
                    v0_16.b(0);
                    v0_16.a(this);
                    v0_16.a();
                }
            }
        } catch (int v0_1) {
            v0_1.printStackTrace();
        }
        return;
    }

Method org.apache.cordova.camera.CameraLauncher.refreshGallery() calling method android.content.Intent.setData()


    private void refreshGallery(android.net.Uri p3)
    {
        android.content.Intent v0_1 = new android.content.Intent("android.intent.action.MEDIA_SCANNER_SCAN_FILE");
        v0_1.setData(p3);
        this.cordova.getActivity().sendBroadcast(v0_1);
        return;
    }

Method org.apache.cordova.CordovaWebViewImpl.showWebPage() calling method android.content.Intent.setData()


    public void showWebPage(String p4, boolean p5, boolean p6, java.util.Map p7)
    {
        String v7_1 = new Object[3];
        v7_1[0] = p4;
        v7_1[1] = Boolean.valueOf(p5);
        v7_1[2] = Boolean.valueOf(p6);
        org.apache.cordova.LOG.d("CordovaWebViewImpl", "showWebPage(%s, %b, %b, HashMap)", v7_1);
        if (p6 != null) {
            this.engine.clearHistory();
        }
        if (p5 == null) {
            if (!this.pluginManager.shouldAllowNavigation(p4)) {
                android.content.ActivityNotFoundException v5_4 = new StringBuilder();
                v5_4.append("showWebPage: Refusing to load URL into webview since it is not in the <allow-navigation> whitelist. URL=");
                v5_4.append(p4);
                org.apache.cordova.LOG.w("CordovaWebViewImpl", v5_4.toString());
            } else {
                this.loadUrlIntoView(p4, 1);
            }
        }
        if (this.pluginManager.shouldOpenExternalUrl(p4).booleanValue()) {
            try {
                android.content.ActivityNotFoundException v5_10 = new android.content.Intent("android.intent.action.VIEW");
                v5_10.addCategory("android.intent.category.BROWSABLE");
                android.app.Activity v6_5 = android.net.Uri.parse(p4);
            } catch (android.content.ActivityNotFoundException v5_11) {
                android.app.Activity v6_7 = new StringBuilder();
                v6_7.append("Error loading url ");
                v6_7.append(p4);
                org.apache.cordova.LOG.e("CordovaWebViewImpl", v6_7.toString(), v5_11);
                return;
            }
            if (!"file".equals(v6_5.getScheme())) {
                v5_10.setData(v6_5);
            } else {
                v5_10.setDataAndType(v6_5, this.resourceApi.getMimeType(v6_5));
            }
            this.cordova.getActivity().startActivity(v5_10);
            return;
        } else {
            android.content.ActivityNotFoundException v5_13 = new StringBuilder();
            v5_13.append("showWebPage: Refusing to send intent for URL since it is not in the <allow-intent> whitelist. URL=");
            v5_13.append(p4);
            org.apache.cordova.LOG.w("CordovaWebViewImpl", v5_13.toString());
            return;
        }
    }

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


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

Method To.a() calling method android.content.Intent.setData()


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

Method To.a() calling method android.content.Intent.setData()


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

Method org.apache.cordova.camera.CameraLauncher.takePicture() calling method android.content.Intent.addFlags()


    private void takePicture(int p6, int p7)
    {
        this.numPics = this.queryImgDB(this.whichContentStore()).getCount();
        android.content.Intent v0_4 = new android.content.Intent("android.media.action.IMAGE_CAPTURE");
        String v7_1 = this.createCaptureFile(p7);
        android.app.Activity v2_1 = this.cordova.getActivity();
        String v3_1 = new StringBuilder();
        v3_1.append(this.applicationId);
        v3_1.append(".provider");
        this.imageUri = new oK(android.support.v4.content.FileProvider.a(v2_1, v3_1.toString(), v7_1));
        v0_4.putExtra("output", this.imageUri.a());
        v0_4.addFlags(2);
        String v7_6 = this.cordova;
        if (v7_6 != null) {
            if (v0_4.resolveActivity(v7_6.getActivity().getPackageManager()) == null) {
                org.apache.cordova.LOG.d("CameraLauncher", "Error: You don\'t have a default camera.  Your device may not be CTS complaint.");
            } else {
                this.cordova.startActivityForResult(this, v0_4, ((p6 + 32) + 1));
            }
        }
        return;
    }

Method org.apache.cordova.camera.CameraLauncher.performCrop() calling method android.content.Intent.addFlags()


    private void performCrop(android.net.Uri p6, int p7, android.content.Intent p8)
    {
        try {
            String v0_1 = new android.content.Intent("com.android.camera.action.CROP");
            v0_1.setDataAndType(p6, "image/*");
            v0_1.putExtra("crop", "true");
        } catch (android.content.ActivityNotFoundException) {
            org.apache.cordova.LOG.e("CameraLauncher", "Crop operation not supported on this device");
            try {
                this.processResultFromCamera(p7, p8);
            } catch (String v7_1) {
                v7_1.printStackTrace();
                org.apache.cordova.LOG.e("CameraLauncher", "Unable to write to file");
            }
            return;
        }
        if (this.targetWidth > 0) {
            v0_1.putExtra("outputX", this.targetWidth);
        }
        if (this.targetHeight > 0) {
            v0_1.putExtra("outputY", this.targetHeight);
        }
        if ((this.targetHeight > 0) && ((this.targetWidth > 0) && (this.targetWidth == this.targetHeight))) {
            v0_1.putExtra("aspectX", 1);
            v0_1.putExtra("aspectY", 1);
        }
        String v6_9 = this.encodingType;
        int v2_2 = new StringBuilder();
        v2_2.append(System.currentTimeMillis());
        v2_2.append("");
        this.croppedUri = android.net.Uri.fromFile(this.createCaptureFile(v6_9, v2_2.toString()));
        v0_1.addFlags(1);
        v0_1.addFlags(2);
        v0_1.putExtra("output", this.croppedUri);
        if (this.cordova == null) {
            return;
        } else {
            this.cordova.startActivityForResult(this, v0_1, (p7 + 100));
            return;
        }
    }

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


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

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


    public SearchView(android.content.Context p4, android.util.AttributeSet p5, int p6)
    {
        super(p4, p5, p6);
        super.A = new android.graphics.Rect();
        super.B = new android.graphics.Rect();
        int v1_1 = new int[2];
        super.C = v1_1;
        String v0_1 = new int[2];
        super.D = v0_1;
        super.ia = new Pk(super);
        super.ja = new Qk(super);
        super.ka = new java.util.WeakHashMap();
        super.la = new Tk(super);
        super.ma = new Uk(super);
        super.na = new Vk(super);
        super.oa = new Wk(super);
        super.pa = new Xk(super);
        super.qa = new Ok(super);
        Sk v5_5 = jl.a(p4, p5, ai.SearchView, p6, 0);
        android.view.LayoutInflater.from(p4).inflate(v5_5.g(ai.SearchView_layout, Yh.abc_search_view), super, 1);
        super.q = ((android.support.v7.widget.SearchView$SearchAutoComplete) super.findViewById(Xh.search_src_text));
        super.q.setSearchView(super);
        super.r = super.findViewById(Xh.search_edit_frame);
        super.s = super.findViewById(Xh.search_plate);
        super.t = super.findViewById(Xh.submit_area);
        super.u = ((android.widget.ImageView) super.findViewById(Xh.search_button));
        super.v = ((android.widget.ImageView) super.findViewById(Xh.search_go_btn));
        super.w = ((android.widget.ImageView) super.findViewById(Xh.search_close_btn));
        super.x = ((android.widget.ImageView) super.findViewById(Xh.search_voice_btn));
        super.E = ((android.widget.ImageView) super.findViewById(Xh.search_mag_icon));
        wg.a(super.s, v5_5.b(ai.SearchView_queryBackground));
        wg.a(super.t, v5_5.b(ai.SearchView_submitBackground));
        super.u.setImageDrawable(v5_5.b(ai.SearchView_searchIcon));
        super.v.setImageDrawable(v5_5.b(ai.SearchView_goIcon));
        super.w.setImageDrawable(v5_5.b(ai.SearchView_closeIcon));
        super.x.setImageDrawable(v5_5.b(ai.SearchView_voiceIcon));
        super.E.setImageDrawable(v5_5.b(ai.SearchView_searchIcon));
        super.F = v5_5.b(ai.SearchView_searchHintIcon);
        rl.a(super.u, super.getResources().getString(Zh.abc_searchview_description_search));
        super.G = v5_5.g(ai.SearchView_suggestionRowLayout, Yh.abc_search_dropdown_item_icons_2line);
        super.H = v5_5.g(ai.SearchView_commitIcon, 0);
        super.u.setOnClickListener(super.la);
        super.w.setOnClickListener(super.la);
        super.v.setOnClickListener(super.la);
        super.x.setOnClickListener(super.la);
        super.q.setOnClickListener(super.la);
        super.q.addTextChangedListener(super.qa);
        super.q.setOnEditorActionListener(super.na);
        super.q.setOnItemClickListener(super.oa);
        super.q.setOnItemSelectedListener(super.pa);
        super.q.setOnKeyListener(super.ma);
        super.q.setOnFocusChangeListener(new Rk(super));
        super.setIconifiedByDefault(v5_5.a(ai.SearchView_iconifiedByDefault, 1));
        boolean v4_28 = v5_5.c(ai.SearchView_android_maxWidth, -1);
        if (v4_28 != -1) {
            super.setMaxWidth(v4_28);
        }
        super.K = v5_5.e(ai.SearchView_defaultQueryHint);
        super.U = v5_5.e(ai.SearchView_queryHint);
        boolean v4_34 = v5_5.d(ai.SearchView_android_imeOptions, -1);
        if (v4_34 != -1) {
            super.setImeOptions(v4_34);
        }
        boolean v4_36 = v5_5.d(ai.SearchView_android_inputType, -1);
        if (v4_36 != -1) {
            super.setInputType(v4_36);
        }
        super.setFocusable(v5_5.a(ai.SearchView_android_focusable, 1));
        v5_5.a();
        super.I = new android.content.Intent("android.speech.action.WEB_SEARCH");
        super.I.addFlags(268435456);
        super.I.putExtra("android.speech.extra.LANGUAGE_MODEL", "web_search");
        super.J = new android.content.Intent("android.speech.action.RECOGNIZE_SPEECH");
        super.J.addFlags(268435456);
        super.y = super.findViewById(super.q.getDropDownAnchor());
        boolean v4_49 = super.y;
        if (v4_49) {
            v4_49.addOnLayoutChangeListener(new Sk(super));
        }
        super.b(super.Q);
        super.p();
        return;
    }

Method ie.a() calling method android.content.Intent.addFlags()


    public void a(android.os.Bundle p5)
    {
        if (this.a.isEmpty()) {
            throw new IllegalStateException("No intents added to TaskStackBuilder; cannot startActivitark>ieark>s");
        } else {
            android.content.Context v0_8 = this.a;
            int v1_1 = new android.content.Intent[v0_8.size()];
            android.content.Context v0_2 = ((android.content.Intent[]) v0_8.toArray(v1_1));
            v0_2[0] = new android.content.Intent(v0_2[0]).addFlags(268484608);
            if (!je.a(this.b, v0_2, p5)) {
                android.content.Intent v5_3 = new android.content.Intent(v0_2[(v0_2.length - 1)]);
                v5_3.addFlags(268435456);
                this.b.startActivity(v5_3);
            }
            return;
        }
    }

Method com.ramco.ramcoerp.NFCActivity.onCreate() calling method android.content.Intent.addFlags()


    public void onCreate(android.os.Bundle p4)
    {
        android.content.IntentFilter$MalformedMimeTypeException v4_18;
        RuntimeException v0_6;
        super.onCreate(p4);
        this.setContentView(2131427358);
        this.d = ((android.widget.TextView) this.findViewById(2131230975));
        this.e = ((android.widget.Button) this.findViewById(2131230768));
        this.e.setOnClickListener(this);
        this.a = 0;
        android.content.IntentFilter$MalformedMimeTypeException v4_6 = android.nfc.NfcAdapter.getDefaultAdapter(this);
        if (v4_6 != null) {
            if (v4_6.isEnabled()) {
                this.d.setText(2131624071);
                android.content.IntentFilter$MalformedMimeTypeException v4_10 = new android.content.Intent(this, com.ramco.ramcoerp.NFCActivity);
                v4_10.addFlags(603979776);
                this.a = android.app.PendingIntent.getActivity(this, 0, v4_10, 0);
                android.content.IntentFilter$MalformedMimeTypeException v4_14 = new android.content.IntentFilter("android.nfc.action.NDEF_DISCOVERED");
                try {
                    v4_14.addDataType("*/*");
                    String v2_0 = new android.content.IntentFilter[1];
                    v2_0[0] = v4_14;
                    this.b = v2_0;
                    android.content.IntentFilter$MalformedMimeTypeException v4_15 = new String[][1];
                    String v1_3 = new String[1];
                    v1_3[0] = android.nfc.tech.NfcF.getName();
                    v4_15[0] = v1_3;
                    this.c = v4_15;
                } catch (android.content.IntentFilter$MalformedMimeTypeException v4_17) {
                    throw new RuntimeException("fail", v4_17);
                }
            } else {
                v4_18 = this.d;
                v0_6 = 2131624044;
                v4_18.setText(v0_6);
            }
        } else {
            v4_18 = this.d;
            v0_6 = 2131624043;
        }
        return;
    }

Method Zd.a() calling method android.content.Intent.addFlags()


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

Method To.a() calling method android.content.Intent.addFlags()


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

Method com.ramco.ramcoerp.ReportPageActivity.u() calling method android.content.Intent.addCategory()


    public final void u()
    {
        try {
            if (this.s != null) {
                int v0_2 = this.getPackageManager();
                String v1_4 = new StringBuilder();
                v1_4.append(this.getPackageName());
                v1_4.append(".provider");
                String v1_1 = android.support.v4.content.FileProvider.a(this, v1_4.toString(), this.s);
                android.content.ComponentName v2_2 = this.getContentResolver().getType(v1_1);
                this.L.b(2131624019);
                if ((v2_2 == null) || (!v2_2.contains("pdf"))) {
                    this.B.setVisibility(8);
                    this.y.setVisibility(0);
                    if (v2_2 != null) {
                        if (!v2_2.contains("image")) {
                            String v3_6 = new android.content.Intent("android.intent.action.VIEW");
                            v3_6.setDataAndType(v1_1, v2_2);
                            v3_6.setFlags(1);
                            int v0_3 = v0_2.queryIntentActivities(v3_6, 0);
                            if (v0_3.size() <= 0) {
                                this.r.a(this, this.getTitle().toString(), "The file can\u2019t open.  No associate opener found.", 17301659, this);
                            } else {
                                int v0_6 = ((android.content.pm.ResolveInfo) v0_3.get(0));
                                if (v0_6 != 0) {
                                    v3_6.setComponent(new android.content.ComponentName(v0_6.activityInfo.packageName, v0_6.activityInfo.name));
                                }
                                v3_6.addCategory("android.intent.category.EMBED");
                                this.startActivityFromChild(this, v3_6, 8004);
                                this.w = 1;
                            }
                        } else {
                            this.y.loadUrl(v1_1.toString());
                        }
                    }
                } else {
                    this.L.a(this.s.getName());
                    this.y.setVisibility(8);
                    this.B.setVisibility(0);
                    int v0_16 = this.B.a(this.s);
                    v0_16.c(1);
                    v0_16.d(0);
                    v0_16.b(1);
                    v0_16.a(0);
                    v0_16.a(1);
                    v0_16.b(0);
                    v0_16.a(this);
                    v0_16.a();
                }
            }
        } catch (int v0_1) {
            v0_1.printStackTrace();
        }
        return;
    }

Method org.apache.cordova.camera.CameraLauncher.getImage() calling method android.content.Intent.addCategory()


    private void getImage(int p6, int p7, int p8)
    {
        android.net.Uri v8_3;
        android.content.Intent v0_1 = new android.content.Intent();
        this.croppedUri = 0;
        String v1_7 = this.mediaType;
        if (v1_7 != null) {
            if (v1_7 != 1) {
                if (v1_7 != 2) {
                    v8_3 = "Get Picture";
                } else {
                    v0_1.setType("*/*");
                    v0_1.setAction("android.intent.action.GET_CONTENT");
                    v0_1.addCategory("android.intent.category.OPENABLE");
                    v8_3 = "Get All";
                }
            } else {
                v0_1.setType("video/*");
                v0_1.setAction("android.intent.action.GET_CONTENT");
                v0_1.addCategory("android.intent.category.OPENABLE");
                v8_3 = "Get Video";
            }
        } else {
            v0_1.setType("image/*");
            if (!this.allowEdit) {
                v0_1.setAction("android.intent.action.GET_CONTENT");
                v0_1.addCategory("android.intent.category.OPENABLE");
            } else {
                v0_1.setAction("android.intent.action.PICK");
                v0_1.putExtra("crop", "true");
                String v1_5 = this.targetWidth;
                if (v1_5 > null) {
                    v0_1.putExtra("outputX", v1_5);
                }
                String v1_6 = this.targetHeight;
                if (v1_6 > null) {
                    v0_1.putExtra("outputY", v1_6);
                }
                String v1_8 = this.targetHeight;
                if (v1_8 > null) {
                    int v2_3 = this.targetWidth;
                    if ((v2_3 > 0) && (v2_3 == v1_8)) {
                        v0_1.putExtra("aspectX", 1);
                        v0_1.putExtra("aspectY", 1);
                    }
                }
                this.croppedUri = android.net.Uri.fromFile(this.createCaptureFile(p8));
                v0_1.putExtra("output", this.croppedUri);
            }
        }
        String v1_12 = this.cordova;
        if (v1_12 != null) {
            v1_12.startActivityForResult(this, android.content.Intent.createChooser(v0_1, v8_3), ((((p6 + 1) * 16) + p7) + 1));
        }
        return;
    }

Method org.apache.cordova.CordovaWebViewImpl.showWebPage() calling method android.content.Intent.addCategory()


    public void showWebPage(String p4, boolean p5, boolean p6, java.util.Map p7)
    {
        String v7_1 = new Object[3];
        v7_1[0] = p4;
        v7_1[1] = Boolean.valueOf(p5);
        v7_1[2] = Boolean.valueOf(p6);
        org.apache.cordova.LOG.d("CordovaWebViewImpl", "showWebPage(%s, %b, %b, HashMap)", v7_1);
        if (p6 != null) {
            this.engine.clearHistory();
        }
        if (p5 == null) {
            if (!this.pluginManager.shouldAllowNavigation(p4)) {
                android.content.ActivityNotFoundException v5_4 = new StringBuilder();
                v5_4.append("showWebPage: Refusing to load URL into webview since it is not in the <allow-navigation> whitelist. URL=");
                v5_4.append(p4);
                org.apache.cordova.LOG.w("CordovaWebViewImpl", v5_4.toString());
            } else {
                this.loadUrlIntoView(p4, 1);
            }
        }
        if (this.pluginManager.shouldOpenExternalUrl(p4).booleanValue()) {
            try {
                android.content.ActivityNotFoundException v5_10 = new android.content.Intent("android.intent.action.VIEW");
                v5_10.addCategory("android.intent.category.BROWSABLE");
                android.app.Activity v6_5 = android.net.Uri.parse(p4);
            } catch (android.content.ActivityNotFoundException v5_11) {
                android.app.Activity v6_7 = new StringBuilder();
                v6_7.append("Error loading url ");
                v6_7.append(p4);
                org.apache.cordova.LOG.e("CordovaWebViewImpl", v6_7.toString(), v5_11);
                return;
            }
            if (!"file".equals(v6_5.getScheme())) {
                v5_10.setData(v6_5);
            } else {
                v5_10.setDataAndType(v6_5, this.resourceApi.getMimeType(v6_5));
            }
            this.cordova.getActivity().startActivity(v5_10);
            return;
        } else {
            android.content.ActivityNotFoundException v5_13 = new StringBuilder();
            v5_13.append("showWebPage: Refusing to send intent for URL since it is not in the <allow-intent> whitelist. URL=");
            v5_13.append(p4);
            org.apache.cordova.LOG.w("CordovaWebViewImpl", v5_13.toString());
            return;
        }
    }

Method IB.c() calling method android.content.Intent.addCategory()


    public final void c()
    {
        android.content.Intent v0_1 = new android.content.Intent("com.ramco.ramcoerp.ramcobarcodescanner.SCAN");
        v0_1.addCategory("android.intent.category.DEFAULT");
        this.cordova.startActivityForResult(this, v0_1, 8003);
        return;
    }

Method IB.b() calling method android.content.Intent.addCategory()


    public final void b()
    {
        android.content.Intent v0_1 = new android.content.Intent("com.ramco.ramcoerp.ramconfcscanner.SCAN");
        v0_1.addCategory("android.intent.category.DEFAULT");
        this.cordova.startActivityForResult(this, v0_1, 8002);
        return;
    }

Method org.apache.cordova.engine.SystemWebChromeClient.openFileChooser() calling method android.content.Intent.addCategory()


    public void openFileChooser(android.webkit.ValueCallback p2, String p3, String p4)
    {
        android.content.Intent v3_1 = new android.content.Intent("android.intent.action.GET_CONTENT");
        v3_1.addCategory("android.intent.category.OPENABLE");
        v3_1.setType("*/*");
        this.parentEngine.cordova.startActivityForResult(new uK(this, p2), v3_1, 5173);
        return;
    }

Method com.ramco.ramcoerp.SplashScreenActivity.m() calling method android.content.Intent.putExtra()


    public synthetic void m()
    {
        int v0_0 = this.s;
        String v1 = this.t;
        String v2 = this.u;
        android.content.Intent v3_2 = this.q;
        boolean v4_7 = new Object[3];
        v4_7[0] = v0_0;
        v4_7[1] = v1;
        v4_7[2] = v2;
        android.util.Log.d(v3_2, String.format("%s - %s - %s", v4_7));
        android.content.Intent v3_1 = new android.content.Intent(this.getBaseContext(), com.ramco.ramcoerp.LoginActivity);
        if ((!android.text.TextUtils.isEmpty(v0_0)) || ((!android.text.TextUtils.isEmpty(v1)) || (!android.text.TextUtils.isEmpty(v2)))) {
            v3_1.putExtra("n", v0_0);
            v3_1.putExtra("url", v1);
            v3_1.putExtra("u", v2);
        }
        v3_1.setFlags(67108864);
        this.startActivity(v3_1);
        this.finish();
        this.overridePendingTransition(0, 0);
        return;
    }

Method com.ramco.ramcoerp.LoginActivity.e() calling method android.content.Intent.putExtra()


    public final void e(org.json.JSONArray p3)
    {
        if (p3 != null) {
            String v0_0 = 0;
            if (p3.length() > 0) {
                v0_0 = p3.optString(0);
            }
            if (!android.text.TextUtils.isEmpty(v0_0)) {
                wB v3_1 = this.R;
                if ((v3_1 != null) && (v3_1.isShowing())) {
                    this.R.hide();
                }
                wB v3_5 = new android.content.Intent(this, com.ramco.ramcoerp.ReportPageActivity);
                v3_5.putExtra("reportpagedetail", v0_0);
                this.startActivity(v3_5);
                return;
            } else {
                return;
            }
        } else {
            return;
        }
    }

Method com.ramco.ramcoerp.LoginActivity.X() calling method android.content.Intent.putExtra()


    public final void X()
    {
        android.content.Intent v0_1 = new android.content.Intent(this.getApplicationContext(), com.ramco.ramcoerp.ChooseServerActivity);
        v0_1.putExtra("cancelled", this.za);
        this.startActivityForResult(v0_1, 8000);
        return;
    }

Method com.ramco.ramcoerp.BarcodeCaptureActivity.a() calling method android.content.Intent.putExtra()


    public final boolean a(float p2, float p3)
    {
        int v2_1;
        int v2_6 = ((RA) this.s.getFirstGraphic());
        if (v2_6 == 0) {
            v2_1 = "no barcode detected";
        } else {
            int v2_7 = v2_6.b();
            if (v2_7 == 0) {
                v2_1 = "barcode data is null";
            } else {
                android.content.Intent v3_1 = new android.content.Intent();
                v3_1.putExtra("Barcode", v2_7);
                this.setResult(-1, v3_1);
                this.finish();
                return 1;
            }
        }
        android.util.Log.d("Barcode-reader", v2_1);
        return 0;
    }

Method com.ramco.ramcoerp.BarcodeCaptureActivity.a() calling method android.content.Intent.putExtra()


    public void a(Iz p3)
    {
        if (p3 != 0) {
            android.content.Intent v0_1 = new android.content.Intent();
            v0_1.putExtra("Barcode", p3);
            this.setResult(-1, v0_1);
            this.finish();
        }
        return;
    }

Method org.apache.cordova.camera.CameraLauncher.takePicture() calling method android.content.Intent.putExtra()


    private void takePicture(int p6, int p7)
    {
        this.numPics = this.queryImgDB(this.whichContentStore()).getCount();
        android.content.Intent v0_4 = new android.content.Intent("android.media.action.IMAGE_CAPTURE");
        String v7_1 = this.createCaptureFile(p7);
        android.app.Activity v2_1 = this.cordova.getActivity();
        String v3_1 = new StringBuilder();
        v3_1.append(this.applicationId);
        v3_1.append(".provider");
        this.imageUri = new oK(android.support.v4.content.FileProvider.a(v2_1, v3_1.toString(), v7_1));
        v0_4.putExtra("output", this.imageUri.a());
        v0_4.addFlags(2);
        String v7_6 = this.cordova;
        if (v7_6 != null) {
            if (v0_4.resolveActivity(v7_6.getActivity().getPackageManager()) == null) {
                org.apache.cordova.LOG.d("CameraLauncher", "Error: You don\'t have a default camera.  Your device may not be CTS complaint.");
            } else {
                this.cordova.startActivityForResult(this, v0_4, ((p6 + 32) + 1));
            }
        }
        return;
    }

Method org.apache.cordova.camera.CameraLauncher.performCrop() calling method android.content.Intent.putExtra()


    private void performCrop(android.net.Uri p6, int p7, android.content.Intent p8)
    {
        try {
            String v0_1 = new android.content.Intent("com.android.camera.action.CROP");
            v0_1.setDataAndType(p6, "image/*");
            v0_1.putExtra("crop", "true");
        } catch (android.content.ActivityNotFoundException) {
            org.apache.cordova.LOG.e("CameraLauncher", "Crop operation not supported on this device");
            try {
                this.processResultFromCamera(p7, p8);
            } catch (String v7_1) {
                v7_1.printStackTrace();
                org.apache.cordova.LOG.e("CameraLauncher", "Unable to write to file");
            }
            return;
        }
        if (this.targetWidth > 0) {
            v0_1.putExtra("outputX", this.targetWidth);
        }
        if (this.targetHeight > 0) {
            v0_1.putExtra("outputY", this.targetHeight);
        }
        if ((this.targetHeight > 0) && ((this.targetWidth > 0) && (this.targetWidth == this.targetHeight))) {
            v0_1.putExtra("aspectX", 1);
            v0_1.putExtra("aspectY", 1);
        }
        String v6_9 = this.encodingType;
        int v2_2 = new StringBuilder();
        v2_2.append(System.currentTimeMillis());
        v2_2.append("");
        this.croppedUri = android.net.Uri.fromFile(this.createCaptureFile(v6_9, v2_2.toString()));
        v0_1.addFlags(1);
        v0_1.addFlags(2);
        v0_1.putExtra("output", this.croppedUri);
        if (this.cordova == null) {
            return;
        } else {
            this.cordova.startActivityForResult(this, v0_1, (p7 + 100));
            return;
        }
    }

Method org.apache.cordova.camera.CameraLauncher.getImage() calling method android.content.Intent.putExtra()


    private void getImage(int p6, int p7, int p8)
    {
        android.net.Uri v8_3;
        android.content.Intent v0_1 = new android.content.Intent();
        this.croppedUri = 0;
        String v1_7 = this.mediaType;
        if (v1_7 != null) {
            if (v1_7 != 1) {
                if (v1_7 != 2) {
                    v8_3 = "Get Picture";
                } else {
                    v0_1.setType("*/*");
                    v0_1.setAction("android.intent.action.GET_CONTENT");
                    v0_1.addCategory("android.intent.category.OPENABLE");
                    v8_3 = "Get All";
                }
            } else {
                v0_1.setType("video/*");
                v0_1.setAction("android.intent.action.GET_CONTENT");
                v0_1.addCategory("android.intent.category.OPENABLE");
                v8_3 = "Get Video";
            }
        } else {
            v0_1.setType("image/*");
            if (!this.allowEdit) {
                v0_1.setAction("android.intent.action.GET_CONTENT");
                v0_1.addCategory("android.intent.category.OPENABLE");
            } else {
                v0_1.setAction("android.intent.action.PICK");
                v0_1.putExtra("crop", "true");
                String v1_5 = this.targetWidth;
                if (v1_5 > null) {
                    v0_1.putExtra("outputX", v1_5);
                }
                String v1_6 = this.targetHeight;
                if (v1_6 > null) {
                    v0_1.putExtra("outputY", v1_6);
                }
                String v1_8 = this.targetHeight;
                if (v1_8 > null) {
                    int v2_3 = this.targetWidth;
                    if ((v2_3 > 0) && (v2_3 == v1_8)) {
                        v0_1.putExtra("aspectX", 1);
                        v0_1.putExtra("aspectY", 1);
                    }
                }
                this.croppedUri = android.net.Uri.fromFile(this.createCaptureFile(p8));
                v0_1.putExtra("output", this.croppedUri);
            }
        }
        String v1_12 = this.cordova;
        if (v1_12 != null) {
            v1_12.startActivityForResult(this, android.content.Intent.createChooser(v0_1, v8_3), ((((p6 + 1) * 16) + p7) + 1));
        }
        return;
    }

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


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

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


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

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


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

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


    public SearchView(android.content.Context p4, android.util.AttributeSet p5, int p6)
    {
        super(p4, p5, p6);
        super.A = new android.graphics.Rect();
        super.B = new android.graphics.Rect();
        int v1_1 = new int[2];
        super.C = v1_1;
        String v0_1 = new int[2];
        super.D = v0_1;
        super.ia = new Pk(super);
        super.ja = new Qk(super);
        super.ka = new java.util.WeakHashMap();
        super.la = new Tk(super);
        super.ma = new Uk(super);
        super.na = new Vk(super);
        super.oa = new Wk(super);
        super.pa = new Xk(super);
        super.qa = new Ok(super);
        Sk v5_5 = jl.a(p4, p5, ai.SearchView, p6, 0);
        android.view.LayoutInflater.from(p4).inflate(v5_5.g(ai.SearchView_layout, Yh.abc_search_view), super, 1);
        super.q = ((android.support.v7.widget.SearchView$SearchAutoComplete) super.findViewById(Xh.search_src_text));
        super.q.setSearchView(super);
        super.r = super.findViewById(Xh.search_edit_frame);
        super.s = super.findViewById(Xh.search_plate);
        super.t = super.findViewById(Xh.submit_area);
        super.u = ((android.widget.ImageView) super.findViewById(Xh.search_button));
        super.v = ((android.widget.ImageView) super.findViewById(Xh.search_go_btn));
        super.w = ((android.widget.ImageView) super.findViewById(Xh.search_close_btn));
        super.x = ((android.widget.ImageView) super.findViewById(Xh.search_voice_btn));
        super.E = ((android.widget.ImageView) super.findViewById(Xh.search_mag_icon));
        wg.a(super.s, v5_5.b(ai.SearchView_queryBackground));
        wg.a(super.t, v5_5.b(ai.SearchView_submitBackground));
        super.u.setImageDrawable(v5_5.b(ai.SearchView_searchIcon));
        super.v.setImageDrawable(v5_5.b(ai.SearchView_goIcon));
        super.w.setImageDrawable(v5_5.b(ai.SearchView_closeIcon));
        super.x.setImageDrawable(v5_5.b(ai.SearchView_voiceIcon));
        super.E.setImageDrawable(v5_5.b(ai.SearchView_searchIcon));
        super.F = v5_5.b(ai.SearchView_searchHintIcon);
        rl.a(super.u, super.getResources().getString(Zh.abc_searchview_description_search));
        super.G = v5_5.g(ai.SearchView_suggestionRowLayout, Yh.abc_search_dropdown_item_icons_2line);
        super.H = v5_5.g(ai.SearchView_commitIcon, 0);
        super.u.setOnClickListener(super.la);
        super.w.setOnClickListener(super.la);
        super.v.setOnClickListener(super.la);
        super.x.setOnClickListener(super.la);
        super.q.setOnClickListener(super.la);
        super.q.addTextChangedListener(super.qa);
        super.q.setOnEditorActionListener(super.na);
        super.q.setOnItemClickListener(super.oa);
        super.q.setOnItemSelectedListener(super.pa);
        super.q.setOnKeyListener(super.ma);
        super.q.setOnFocusChangeListener(new Rk(super));
        super.setIconifiedByDefault(v5_5.a(ai.SearchView_iconifiedByDefault, 1));
        boolean v4_28 = v5_5.c(ai.SearchView_android_maxWidth, -1);
        if (v4_28 != -1) {
            super.setMaxWidth(v4_28);
        }
        super.K = v5_5.e(ai.SearchView_defaultQueryHint);
        super.U = v5_5.e(ai.SearchView_queryHint);
        boolean v4_34 = v5_5.d(ai.SearchView_android_imeOptions, -1);
        if (v4_34 != -1) {
            super.setImeOptions(v4_34);
        }
        boolean v4_36 = v5_5.d(ai.SearchView_android_inputType, -1);
        if (v4_36 != -1) {
            super.setInputType(v4_36);
        }
        super.setFocusable(v5_5.a(ai.SearchView_android_focusable, 1));
        v5_5.a();
        super.I = new android.content.Intent("android.speech.action.WEB_SEARCH");
        super.I.addFlags(268435456);
        super.I.putExtra("android.speech.extra.LANGUAGE_MODEL", "web_search");
        super.J = new android.content.Intent("android.speech.action.RECOGNIZE_SPEECH");
        super.J.addFlags(268435456);
        super.y = super.findViewById(super.q.getDropDownAnchor());
        boolean v4_49 = super.y;
        if (v4_49) {
            v4_49.addOnLayoutChangeListener(new Sk(super));
        }
        super.b(super.Q);
        super.p();
        return;
    }

Method IB.b() calling method android.content.Intent.putExtra()


    public final void b(org.json.JSONObject p9)
    {
        android.content.Intent v1_1 = new android.content.Intent("android.intent.action.SEND_MULTIPLE");
        try {
            String v3_20 = p9.getBoolean("bIsHTML");
        } catch (String v3_32) {
            int v4_0 = new StringBuilder();
            v4_0.append("Error handling isHTML param: ");
            v4_0.append(v3_32.toString());
            org.apache.cordova.LOG.e("EmailComposer", v4_0.toString());
            v3_20 = 0;
        }
        int v4_12;
        if (v3_20 == null) {
            v4_12 = "text/plain";
        } else {
            v4_12 = "text/html";
        }
        v1_1.setType(v4_12);
        try {
            int v4_15 = p9.getString("subject");
        } catch (int v4_16) {
            String v5_14 = new StringBuilder();
            v5_14.append("Error handling subject param: ");
            v5_14.append(v4_16.toString());
            org.apache.cordova.LOG.e("EmailComposer", v5_14.toString());
            try {
                int v4_20 = p9.getString("body");
            } catch (String v3_27) {
                int v4_22 = new StringBuilder();
                v4_22.append("Error handling body param: ");
                v4_22.append(v3_27.toString());
                org.apache.cordova.LOG.e("EmailComposer", v4_22.toString());
                try {
                    String v3_31 = p9.getJSONArray("toRecipients");
                } catch (String v3_34) {
                    int v4_28 = new StringBuilder();
                    v4_28.append("Error handling toRecipients param: ");
                    v4_28.append(v3_34.toString());
                    org.apache.cordova.LOG.e("EmailComposer", v4_28.toString());
                    try {
                        String v3_3 = p9.getJSONArray("ccRecipients");
                    } catch (String v3_5) {
                        int v4_5 = new StringBuilder();
                        v4_5.append("Error handling ccRecipients param: ");
                        v4_5.append(v3_5.toString());
                        org.apache.cordova.LOG.e("EmailComposer", v4_5.toString());
                        try {
                            String v3_9 = p9.getJSONArray("bccRecipients");
                        } catch (String v3_12) {
                            int v4_10 = new StringBuilder();
                            v4_10.append("Error handling bccRecipients param: ");
                            v4_10.append(v3_12.toString());
                            org.apache.cordova.LOG.e("EmailComposer", v4_10.toString());
                            try {
                                String v9_1 = p9.getJSONArray("attachments");
                            } catch (String v9_4) {
                                String v3_22 = new StringBuilder();
                                v3_22.append("Error handling attachments param: ");
                                v3_22.append(v9_4.toString());
                                org.apache.cordova.LOG.e("EmailComposer", v3_22.toString());
                                this.cordova.startActivityForResult(this, v1_1, 0);
                                return;
                            }
                            if ((v9_1 == null) || (v9_1.length() <= 0)) {
                                this.cordova.startActivityForResult(this, v1_1, 0);
                                return;
                            } else {
                                String v3_19 = new java.util.ArrayList();
                                int v4_11 = 0;
                                while (v4_11 < v9_1.length()) {
                                    try {
                                        String v5_7 = new java.io.File(v9_1.getString(v4_11));
                                    } catch (String v5_8) {
                                        StringBuilder v6_7 = new StringBuilder();
                                        v6_7.append("Error adding an attachment: ");
                                        v6_7.append(v5_8.toString());
                                        org.apache.cordova.LOG.e("EmailComposer", v6_7.toString());
                                        v4_11++;
                                    }
                                    if (!v5_7.exists()) {
                                    } else {
                                        v3_19.add(android.net.Uri.fromFile(v5_7));
                                    }
                                }
                                if (v3_19.size() <= 0) {
                                    this.cordova.startActivityForResult(this, v1_1, 0);
                                    return;
                                } else {
                                    v1_1.putParcelableArrayListExtra("android.intent.extra.STREAM", v3_19);
                                    this.cordova.startActivityForResult(this, v1_1, 0);
                                    return;
                                }
                            }
                        }
                        if ((v3_9 == null) || (v3_9.length() <= 0)) {
                        } else {
                            int v4_8 = new String[v3_9.length()];
                            String v5_3 = 0;
                            while (v5_3 < v3_9.length()) {
                                v4_8[v5_3] = v3_9.getString(v5_3);
                                v5_3++;
                            }
                            v1_1.putExtra("android.intent.extra.BCC", v4_8);
                        }
                    }
                    if ((v3_3 == null) || (v3_3.length() <= 0)) {
                    } else {
                        int v4_3 = new String[v3_3.length()];
                        String v5_1 = 0;
                        while (v5_1 < v3_3.length()) {
                            v4_3[v5_1] = v3_3.getString(v5_1);
                            v5_1++;
                        }
                        v1_1.putExtra("android.intent.extra.CC", v4_3);
                    }
                }
                if ((v3_31 == null) || (v3_31.length() <= 0)) {
                } else {
                    int v4_25 = new String[v3_31.length()];
                    String v5_19 = 0;
                    while (v5_19 < v3_31.length()) {
                        v4_25[v5_19] = v3_31.getString(v5_19);
                        v5_19++;
                    }
                    v1_1.putExtra("android.intent.extra.EMAIL", v4_25);
                }
            }
            if ((v4_20 == 0) || (v4_20.length() <= 0)) {
            } else {
                if (v3_20 == null) {
                    v1_1.putExtra("android.intent.extra.TEXT", v4_20);
                } else {
                    String v3_25;
                    if (android.os.Build$VERSION.SDK_INT < 24) {
                        v3_25 = android.text.Html.fromHtml(v4_20);
                    } else {
                        v3_25 = android.text.Html.fromHtml(v4_20, 63);
                    }
                    v1_1.putExtra("android.intent.extra.TEXT", v3_25);
                }
            }
        }
        if ((v4_15 == 0) || (v4_15.length() <= 0)) {
        } else {
            v1_1.putExtra("android.intent.extra.SUBJECT", v4_15);
        }
    }

Method DB.openFileChooser() calling method android.content.Intent.putExtra()


    public void openFileChooser(android.webkit.ValueCallback p7, String p8, String p9)
    {
        try {
            org.apache.cordova.CordovaInterface v8_9 = new java.io.File(android.os.Environment.getExternalStoragePublicDirectory(android.os.Environment.DIRECTORY_PICTURES), "com.ramco.ramcoerp");
        } catch (int v7_2) {
            v7_2.printStackTrace();
            return;
        }
        if ((!v8_9.exists()) && (!v8_9.mkdirs())) {
            android.util.Log.i("RamcoChromeClient", "File direct creation error.");
        }
        AB v0_2 = new StringBuilder();
        v0_2.append(v8_9);
        v0_2.append(java.io.File.separator);
        v0_2.append("IMG_");
        v0_2.append(String.valueOf(System.currentTimeMillis()));
        v0_2.append(".jpg");
        this.b = android.net.Uri.fromFile(new java.io.File(v0_2.toString()));
        org.apache.cordova.CordovaInterface v8_8 = new java.util.ArrayList();
        android.content.Intent v9_7 = new android.content.Intent("android.media.action.IMAGE_CAPTURE");
        AB v0_9 = this.c.getActivity().getPackageManager().queryIntentActivities(v9_7, 0).iterator();
        while (v0_9.hasNext()) {
            android.os.Parcelable[] v1_6 = ((android.content.pm.ResolveInfo) v0_9.next());
            android.net.Uri v2_1 = v1_6.activityInfo.packageName;
            android.content.Intent v3_1 = new android.content.Intent(v9_7);
            v3_1.setComponent(new android.content.ComponentName(v1_6.activityInfo.packageName, v1_6.activityInfo.name));
            v3_1.setPackage(v2_1);
            v3_1.putExtra("output", this.b);
            v8_8.add(v3_1);
        }
        android.content.Intent v9_9 = new android.content.Intent();
        v9_9.setType("image/*");
        v9_9.setAction("android.intent.action.GET_CONTENT");
        android.content.Intent v9_10 = android.content.Intent.createChooser(v9_9, "Select Source");
        android.os.Parcelable[] v1_4 = new android.os.Parcelable[v8_8.size()];
        v9_10.putExtra("android.intent.extra.INITIAL_INTENTS", ((android.os.Parcelable[]) v8_8.toArray(v1_4)));
        this.c.startActivityForResult(new AB(this, p7), v9_10, 5173);
        return;
    }

Method DB.onShowFileChooser() calling method android.content.Intent.putExtra()


    public boolean onShowFileChooser(android.webkit.WebView p17, android.webkit.ValueCallback p18, android.webkit.WebChromeClient$FileChooserParams p19)
    {
        try {
            if (android.os.Build$VERSION.SDK_INT <= 21) {
                android.util.Log.i("RamcoChromeClient", "onshowfile");
                org.apache.cordova.CordovaInterface v2_17 = new java.io.File(android.os.Environment.getExternalStoragePublicDirectory(android.os.Environment.DIRECTORY_PICTURES), "com.ramco.ramcoerp");
                if ((!v2_17.exists()) && (!v2_17.mkdirs())) {
                    android.util.Log.i("RamcoChromeClient", "File direct creation error.");
                }
                android.content.Intent v12_6 = new StringBuilder();
                v12_6.append(v2_17);
                v12_6.append(java.io.File.separator);
                v12_6.append("IMG_");
                v12_6.append(String.valueOf(System.currentTimeMillis()));
                v12_6.append(".jpg");
                this.b = android.net.Uri.fromFile(new java.io.File(v12_6.toString()));
                org.apache.cordova.CordovaInterface v2_23 = new java.util.ArrayList();
                android.content.Intent v3_12 = new android.content.Intent("android.media.action.IMAGE_CAPTURE");
                java.util.Iterator v9_9 = this.c.getActivity().getPackageManager().queryIntentActivities(v3_12, 0).iterator();
                while (v9_9.hasNext()) {
                    android.net.Uri v10_10 = ((android.content.pm.ResolveInfo) v9_9.next());
                    String v11_4 = v10_10.activityInfo.packageName;
                    android.content.Intent v12_8 = new android.content.Intent(v3_12);
                    v12_8.setComponent(new android.content.ComponentName(v10_10.activityInfo.packageName, v10_10.activityInfo.name));
                    v12_8.setPackage(v11_4);
                    v12_8.putExtra("output", this.b);
                    v2_23.add(v12_8);
                }
                android.content.Intent v3_14 = new android.content.Intent();
                v3_14.setType("image/*");
                v3_14.setAction("android.intent.action.GET_CONTENT");
                android.content.Intent v3_15 = android.content.Intent.createChooser(v3_14, "Select Source");
                BB v4_6 = new android.os.Parcelable[v2_23.size()];
                v3_15.putExtra("android.intent.extra.INITIAL_INTENTS", ((android.os.Parcelable[]) v2_23.toArray(v4_6)));
                this.c.startActivityForResult(new CB(this, p18), v3_15, 5173);
            } else {
                if (this.c.hasPermission("android.permission.CAMERA")) {
                    android.util.Log.i("RamcoChromeClient", "onshowfile");
                    org.apache.cordova.CordovaInterface v2_3 = new java.io.File(android.os.Environment.getExternalStoragePublicDirectory(android.os.Environment.DIRECTORY_PICTURES), "com.ramco.ramcoerp");
                    if ((!v2_3.exists()) && (!v2_3.mkdirs())) {
                        android.util.Log.i("RamcoChromeClient", "File direct creation error.");
                    }
                    android.content.Intent v12_2 = new StringBuilder();
                    v12_2.append(v2_3);
                    v12_2.append(java.io.File.separator);
                    v12_2.append("IMG_");
                    v12_2.append(String.valueOf(System.currentTimeMillis()));
                    v12_2.append(".jpg");
                    this.b = android.net.Uri.fromFile(new java.io.File(v12_2.toString()));
                    org.apache.cordova.CordovaInterface v2_9 = new java.util.ArrayList();
                    android.content.Intent v3_4 = new android.content.Intent("android.media.action.IMAGE_CAPTURE");
                    java.util.Iterator v9_4 = this.c.getActivity().getPackageManager().queryIntentActivities(v3_4, 0).iterator();
                    while (v9_4.hasNext()) {
                        android.net.Uri v10_3 = ((android.content.pm.ResolveInfo) v9_4.next());
                        String v11_2 = v10_3.activityInfo.packageName;
                        android.content.Intent v12_4 = new android.content.Intent(v3_4);
                        v12_4.setComponent(new android.content.ComponentName(v10_3.activityInfo.packageName, v10_3.activityInfo.name));
                        v12_4.setPackage(v11_2);
                        v12_4.putExtra("output", this.b);
                        v2_9.add(v12_4);
                    }
                    android.content.Intent v3_6 = new android.content.Intent();
                    v3_6.setType("image/*");
                    v3_6.setAction("android.intent.action.GET_CONTENT");
                    android.content.Intent v3_7 = android.content.Intent.createChooser(v3_6, "Select Source");
                    BB v4_1 = new android.os.Parcelable[v2_9.size()];
                    v3_7.putExtra("android.intent.extra.INITIAL_INTENTS", ((android.os.Parcelable[]) v2_9.toArray(v4_1)));
                    this.c.startActivityForResult(new BB(this, p18), v3_7, 5173);
                } else {
                    android.widget.Toast.makeText(this.a, 2131624062, 1).show();
                    return 0;
                }
            }
        } catch (int v0_2) {
            v0_2.printStackTrace();
        }
        return 1;
    }

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


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

Method ch$a.a() calling method android.content.Intent.putExtra()


    public final android.content.Intent a(android.content.pm.ResolveInfo p3, android.widget.TextView p4)
    {
        android.content.Intent v4_2;
        String v0_0 = this.a();
        if (this.a(p4)) {
            v4_2 = 0;
        } else {
            v4_2 = 1;
        }
        return v0_0.putExtra("android.intent.extra.PROCESS_TEXT_READONLY", v4_2).setClassName(p3.activityInfo.packageName, p3.activityInfo.name);
    }

Method com.ramco.ramcoerp.SplashScreenActivity.m() calling method android.content.Intent.<init>()


    public synthetic void m()
    {
        int v0_0 = this.s;
        String v1 = this.t;
        String v2 = this.u;
        android.content.Intent v3_2 = this.q;
        boolean v4_7 = new Object[3];
        v4_7[0] = v0_0;
        v4_7[1] = v1;
        v4_7[2] = v2;
        android.util.Log.d(v3_2, String.format("%s - %s - %s", v4_7));
        android.content.Intent v3_1 = new android.content.Intent(this.getBaseContext(), com.ramco.ramcoerp.LoginActivity);
        if ((!android.text.TextUtils.isEmpty(v0_0)) || ((!android.text.TextUtils.isEmpty(v1)) || (!android.text.TextUtils.isEmpty(v2)))) {
            v3_1.putExtra("n", v0_0);
            v3_1.putExtra("url", v1);
            v3_1.putExtra("u", v2);
        }
        v3_1.setFlags(67108864);
        this.startActivity(v3_1);
        this.finish();
        this.overridePendingTransition(0, 0);
        return;
    }

Method com.ramco.ramcoerp.ReportPageActivity.u() calling method android.content.Intent.<init>()


    public final void u()
    {
        try {
            if (this.s != null) {
                int v0_2 = this.getPackageManager();
                String v1_4 = new StringBuilder();
                v1_4.append(this.getPackageName());
                v1_4.append(".provider");
                String v1_1 = android.support.v4.content.FileProvider.a(this, v1_4.toString(), this.s);
                android.content.ComponentName v2_2 = this.getContentResolver().getType(v1_1);
                this.L.b(2131624019);
                if ((v2_2 == null) || (!v2_2.contains("pdf"))) {
                    this.B.setVisibility(8);
                    this.y.setVisibility(0);
                    if (v2_2 != null) {
                        if (!v2_2.contains("image")) {
                            String v3_6 = new android.content.Intent("android.intent.action.VIEW");
                            v3_6.setDataAndType(v1_1, v2_2);
                            v3_6.setFlags(1);
                            int v0_3 = v0_2.queryIntentActivities(v3_6, 0);
                            if (v0_3.size() <= 0) {
                                this.r.a(this, this.getTitle().toString(), "The file can\u2019t open.  No associate opener found.", 17301659, this);
                            } else {
                                int v0_6 = ((android.content.pm.ResolveInfo) v0_3.get(0));
                                if (v0_6 != 0) {
                                    v3_6.setComponent(new android.content.ComponentName(v0_6.activityInfo.packageName, v0_6.activityInfo.name));
                                }
                                v3_6.addCategory("android.intent.category.EMBED");
                                this.startActivityFromChild(this, v3_6, 8004);
                                this.w = 1;
                            }
                        } else {
                            this.y.loadUrl(v1_1.toString());
                        }
                    }
                } else {
                    this.L.a(this.s.getName());
                    this.y.setVisibility(8);
                    this.B.setVisibility(0);
                    int v0_16 = this.B.a(this.s);
                    v0_16.c(1);
                    v0_16.d(0);
                    v0_16.b(1);
                    v0_16.a(0);
                    v0_16.a(1);
                    v0_16.b(0);
                    v0_16.a(this);
                    v0_16.a();
                }
            }
        } catch (int v0_1) {
            v0_1.printStackTrace();
        }
        return;
    }

Method com.ramco.ramcoerp.LoginActivity.e() calling method android.content.Intent.<init>()


    public final void e(org.json.JSONArray p3)
    {
        if (p3 != null) {
            String v0_0 = 0;
            if (p3.length() > 0) {
                v0_0 = p3.optString(0);
            }
            if (!android.text.TextUtils.isEmpty(v0_0)) {
                wB v3_1 = this.R;
                if ((v3_1 != null) && (v3_1.isShowing())) {
                    this.R.hide();
                }
                wB v3_5 = new android.content.Intent(this, com.ramco.ramcoerp.ReportPageActivity);
                v3_5.putExtra("reportpagedetail", v0_0);
                this.startActivity(v3_5);
                return;
            } else {
                return;
            }
        } else {
            return;
        }
    }

Method com.ramco.ramcoerp.LoginActivity.X() calling method android.content.Intent.<init>()


    public final void X()
    {
        android.content.Intent v0_1 = new android.content.Intent(this.getApplicationContext(), com.ramco.ramcoerp.ChooseServerActivity);
        v0_1.putExtra("cancelled", this.za);
        this.startActivityForResult(v0_1, 8000);
        return;
    }

Method com.ramco.ramcoerp.ChooseServerActivity.onOptionsItemSelected() calling method android.content.Intent.<init>()


    public boolean onOptionsItemSelected(android.view.MenuItem p7)
    {
        android.widget.ListView v7_1 = p7.getItemId();
        if (v7_1 != 16908332) {
            if (v7_1 != 2131230862) {
                if (v7_1 != 2131230864) {
                    if (v7_1 != 2131230863) {
                        return 1;
                    } else {
                        if (this.t.getCount() > 0) {
                            android.widget.ListView v7_7 = new java.util.ArrayList();
                            WA v2_0 = 0;
                            while (v2_0 < this.t.getCount()) {
                                WA v4_3 = this.t.getItem(v2_0);
                                if ((v4_3 != null) && (v4_3.s())) {
                                    v7_7.add(v4_3);
                                    this.z = v4_3.b();
                                    this.v.b(this.z);
                                    this.y.c(this.z);
                                    this.y.d(this.z);
                                    this.y.a(this.z);
                                    this.y.e(this.z);
                                    this.y.f(this.z);
                                    this.y.b(this.z);
                                }
                                v2_0++;
                            }
                            if (v7_7.size() > 0) {
                                this.y.a(v7_7);
                            }
                        }
                        this.findViewById(2131230863).setActivated(0);
                        this.r.setChoiceMode(1);
                    }
                } else {
                    if (this.r.getChoiceMode() != 2) {
                        this.r.setChoiceMode(2);
                        this.findViewById(2131230863).setActivated(1);
                    } else {
                        this.r.setChoiceMode(1);
                        this.findViewById(2131230863).setActivated(0);
                    }
                }
                this.p();
            } else {
                this.startActivity(new android.content.Intent(this, com.ramco.ramcoerp.ServerInfoActivity));
            }
            return 1;
        } else {
            android.widget.ListView v7_18 = this.u;
            if (v7_18 != null) {
                v7_18.dismiss();
                this.u = 0;
            }
            if ((!VB.b(this).booleanValue()) || (this.y.b() == null)) {
                this.setResult(0, 0);
            } else {
                this.setResult(-1, 0);
            }
            XA.a(0);
            this.v.a(0);
            this.finish();
            return 1;
        }
    }

Method com.ramco.ramcoerp.BarcodeCaptureActivity.a() calling method android.content.Intent.<init>()


    public final boolean a(float p2, float p3)
    {
        int v2_1;
        int v2_6 = ((RA) this.s.getFirstGraphic());
        if (v2_6 == 0) {
            v2_1 = "no barcode detected";
        } else {
            int v2_7 = v2_6.b();
            if (v2_7 == 0) {
                v2_1 = "barcode data is null";
            } else {
                android.content.Intent v3_1 = new android.content.Intent();
                v3_1.putExtra("Barcode", v2_7);
                this.setResult(-1, v3_1);
                this.finish();
                return 1;
            }
        }
        android.util.Log.d("Barcode-reader", v2_1);
        return 0;
    }

Method com.ramco.ramcoerp.BarcodeCaptureActivity.a() calling method android.content.Intent.<init>()


    public void a(Iz p3)
    {
        if (p3 != 0) {
            android.content.Intent v0_1 = new android.content.Intent();
            v0_1.putExtra("Barcode", p3);
            this.setResult(-1, v0_1);
            this.finish();
        }
        return;
    }

Method org.apache.cordova.camera.CameraLauncher.takePicture() calling method android.content.Intent.<init>()


    private void takePicture(int p6, int p7)
    {
        this.numPics = this.queryImgDB(this.whichContentStore()).getCount();
        android.content.Intent v0_4 = new android.content.Intent("android.media.action.IMAGE_CAPTURE");
        String v7_1 = this.createCaptureFile(p7);
        android.app.Activity v2_1 = this.cordova.getActivity();
        String v3_1 = new StringBuilder();
        v3_1.append(this.applicationId);
        v3_1.append(".provider");
        this.imageUri = new oK(android.support.v4.content.FileProvider.a(v2_1, v3_1.toString(), v7_1));
        v0_4.putExtra("output", this.imageUri.a());
        v0_4.addFlags(2);
        String v7_6 = this.cordova;
        if (v7_6 != null) {
            if (v0_4.resolveActivity(v7_6.getActivity().getPackageManager()) == null) {
                org.apache.cordova.LOG.d("CameraLauncher", "Error: You don\'t have a default camera.  Your device may not be CTS complaint.");
            } else {
                this.cordova.startActivityForResult(this, v0_4, ((p6 + 32) + 1));
            }
        }
        return;
    }

Method org.apache.cordova.camera.CameraLauncher.refreshGallery() calling method android.content.Intent.<init>()


    private void refreshGallery(android.net.Uri p3)
    {
        android.content.Intent v0_1 = new android.content.Intent("android.intent.action.MEDIA_SCANNER_SCAN_FILE");
        v0_1.setData(p3);
        this.cordova.getActivity().sendBroadcast(v0_1);
        return;
    }

Method org.apache.cordova.camera.CameraLauncher.performCrop() calling method android.content.Intent.<init>()


    private void performCrop(android.net.Uri p6, int p7, android.content.Intent p8)
    {
        try {
            String v0_1 = new android.content.Intent("com.android.camera.action.CROP");
            v0_1.setDataAndType(p6, "image/*");
            v0_1.putExtra("crop", "true");
        } catch (android.content.ActivityNotFoundException) {
            org.apache.cordova.LOG.e("CameraLauncher", "Crop operation not supported on this device");
            try {
                this.processResultFromCamera(p7, p8);
            } catch (String v7_1) {
                v7_1.printStackTrace();
                org.apache.cordova.LOG.e("CameraLauncher", "Unable to write to file");
            }
            return;
        }
        if (this.targetWidth > 0) {
            v0_1.putExtra("outputX", this.targetWidth);
        }
        if (this.targetHeight > 0) {
            v0_1.putExtra("outputY", this.targetHeight);
        }
        if ((this.targetHeight > 0) && ((this.targetWidth > 0) && (this.targetWidth == this.targetHeight))) {
            v0_1.putExtra("aspectX", 1);
            v0_1.putExtra("aspectY", 1);
        }
        String v6_9 = this.encodingType;
        int v2_2 = new StringBuilder();
        v2_2.append(System.currentTimeMillis());
        v2_2.append("");
        this.croppedUri = android.net.Uri.fromFile(this.createCaptureFile(v6_9, v2_2.toString()));
        v0_1.addFlags(1);
        v0_1.addFlags(2);
        v0_1.putExtra("output", this.croppedUri);
        if (this.cordova == null) {
            return;
        } else {
            this.cordova.startActivityForResult(this, v0_1, (p7 + 100));
            return;
        }
    }

Method org.apache.cordova.camera.CameraLauncher.getImage() calling method android.content.Intent.<init>()


    private void getImage(int p6, int p7, int p8)
    {
        android.net.Uri v8_3;
        android.content.Intent v0_1 = new android.content.Intent();
        this.croppedUri = 0;
        String v1_7 = this.mediaType;
        if (v1_7 != null) {
            if (v1_7 != 1) {
                if (v1_7 != 2) {
                    v8_3 = "Get Picture";
                } else {
                    v0_1.setType("*/*");
                    v0_1.setAction("android.intent.action.GET_CONTENT");
                    v0_1.addCategory("android.intent.category.OPENABLE");
                    v8_3 = "Get All";
                }
            } else {
                v0_1.setType("video/*");
                v0_1.setAction("android.intent.action.GET_CONTENT");
                v0_1.addCategory("android.intent.category.OPENABLE");
                v8_3 = "Get Video";
            }
        } else {
            v0_1.setType("image/*");
            if (!this.allowEdit) {
                v0_1.setAction("android.intent.action.GET_CONTENT");
                v0_1.addCategory("android.intent.category.OPENABLE");
            } else {
                v0_1.setAction("android.intent.action.PICK");
                v0_1.putExtra("crop", "true");
                String v1_5 = this.targetWidth;
                if (v1_5 > null) {
                    v0_1.putExtra("outputX", v1_5);
                }
                String v1_6 = this.targetHeight;
                if (v1_6 > null) {
                    v0_1.putExtra("outputY", v1_6);
                }
                String v1_8 = this.targetHeight;
                if (v1_8 > null) {
                    int v2_3 = this.targetWidth;
                    if ((v2_3 > 0) && (v2_3 == v1_8)) {
                        v0_1.putExtra("aspectX", 1);
                        v0_1.putExtra("aspectY", 1);
                    }
                }
                this.croppedUri = android.net.Uri.fromFile(this.createCaptureFile(p8));
                v0_1.putExtra("output", this.croppedUri);
            }
        }
        String v1_12 = this.cordova;
        if (v1_12 != null) {
            v1_12.startActivityForResult(this, android.content.Intent.createChooser(v0_1, v8_3), ((((p6 + 1) * 16) + p7) + 1));
        }
        return;
    }

Method org.apache.cordova.CordovaWebViewImpl.showWebPage() calling method android.content.Intent.<init>()


    public void showWebPage(String p4, boolean p5, boolean p6, java.util.Map p7)
    {
        String v7_1 = new Object[3];
        v7_1[0] = p4;
        v7_1[1] = Boolean.valueOf(p5);
        v7_1[2] = Boolean.valueOf(p6);
        org.apache.cordova.LOG.d("CordovaWebViewImpl", "showWebPage(%s, %b, %b, HashMap)", v7_1);
        if (p6 != null) {
            this.engine.clearHistory();
        }
        if (p5 == null) {
            if (!this.pluginManager.shouldAllowNavigation(p4)) {
                android.content.ActivityNotFoundException v5_4 = new StringBuilder();
                v5_4.append("showWebPage: Refusing to load URL into webview since it is not in the <allow-navigation> whitelist. URL=");
                v5_4.append(p4);
                org.apache.cordova.LOG.w("CordovaWebViewImpl", v5_4.toString());
            } else {
                this.loadUrlIntoView(p4, 1);
            }
        }
        if (this.pluginManager.shouldOpenExternalUrl(p4).booleanValue()) {
            try {
                android.content.ActivityNotFoundException v5_10 = new android.content.Intent("android.intent.action.VIEW");
                v5_10.addCategory("android.intent.category.BROWSABLE");
                android.app.Activity v6_5 = android.net.Uri.parse(p4);
            } catch (android.content.ActivityNotFoundException v5_11) {
                android.app.Activity v6_7 = new StringBuilder();
                v6_7.append("Error loading url ");
                v6_7.append(p4);
                org.apache.cordova.LOG.e("CordovaWebViewImpl", v6_7.toString(), v5_11);
                return;
            }
            if (!"file".equals(v6_5.getScheme())) {
                v5_10.setData(v6_5);
            } else {
                v5_10.setDataAndType(v6_5, this.resourceApi.getMimeType(v6_5));
            }
            this.cordova.getActivity().startActivity(v5_10);
            return;
        } else {
            android.content.ActivityNotFoundException v5_13 = new StringBuilder();
            v5_13.append("showWebPage: Refusing to send intent for URL since it is not in the <allow-intent> whitelist. URL=");
            v5_13.append(p4);
            org.apache.cordova.LOG.w("CordovaWebViewImpl", v5_13.toString());
            return;
        }
    }

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


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

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


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

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


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

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


    public SearchView(android.content.Context p4, android.util.AttributeSet p5, int p6)
    {
        super(p4, p5, p6);
        super.A = new android.graphics.Rect();
        super.B = new android.graphics.Rect();
        int v1_1 = new int[2];
        super.C = v1_1;
        String v0_1 = new int[2];
        super.D = v0_1;
        super.ia = new Pk(super);
        super.ja = new Qk(super);
        super.ka = new java.util.WeakHashMap();
        super.la = new Tk(super);
        super.ma = new Uk(super);
        super.na = new Vk(super);
        super.oa = new Wk(super);
        super.pa = new Xk(super);
        super.qa = new Ok(super);
        Sk v5_5 = jl.a(p4, p5, ai.SearchView, p6, 0);
        android.view.LayoutInflater.from(p4).inflate(v5_5.g(ai.SearchView_layout, Yh.abc_search_view), super, 1);
        super.q = ((android.support.v7.widget.SearchView$SearchAutoComplete) super.findViewById(Xh.search_src_text));
        super.q.setSearchView(super);
        super.r = super.findViewById(Xh.search_edit_frame);
        super.s = super.findViewById(Xh.search_plate);
        super.t = super.findViewById(Xh.submit_area);
        super.u = ((android.widget.ImageView) super.findViewById(Xh.search_button));
        super.v = ((android.widget.ImageView) super.findViewById(Xh.search_go_btn));
        super.w = ((android.widget.ImageView) super.findViewById(Xh.search_close_btn));
        super.x = ((android.widget.ImageView) super.findViewById(Xh.search_voice_btn));
        super.E = ((android.widget.ImageView) super.findViewById(Xh.search_mag_icon));
        wg.a(super.s, v5_5.b(ai.SearchView_queryBackground));
        wg.a(super.t, v5_5.b(ai.SearchView_submitBackground));
        super.u.setImageDrawable(v5_5.b(ai.SearchView_searchIcon));
        super.v.setImageDrawable(v5_5.b(ai.SearchView_goIcon));
        super.w.setImageDrawable(v5_5.b(ai.SearchView_closeIcon));
        super.x.setImageDrawable(v5_5.b(ai.SearchView_voiceIcon));
        super.E.setImageDrawable(v5_5.b(ai.SearchView_searchIcon));
        super.F = v5_5.b(ai.SearchView_searchHintIcon);
        rl.a(super.u, super.getResources().getString(Zh.abc_searchview_description_search));
        super.G = v5_5.g(ai.SearchView_suggestionRowLayout, Yh.abc_search_dropdown_item_icons_2line);
        super.H = v5_5.g(ai.SearchView_commitIcon, 0);
        super.u.setOnClickListener(super.la);
        super.w.setOnClickListener(super.la);
        super.v.setOnClickListener(super.la);
        super.x.setOnClickListener(super.la);
        super.q.setOnClickListener(super.la);
        super.q.addTextChangedListener(super.qa);
        super.q.setOnEditorActionListener(super.na);
        super.q.setOnItemClickListener(super.oa);
        super.q.setOnItemSelectedListener(super.pa);
        super.q.setOnKeyListener(super.ma);
        super.q.setOnFocusChangeListener(new Rk(super));
        super.setIconifiedByDefault(v5_5.a(ai.SearchView_iconifiedByDefault, 1));
        boolean v4_28 = v5_5.c(ai.SearchView_android_maxWidth, -1);
        if (v4_28 != -1) {
            super.setMaxWidth(v4_28);
        }
        super.K = v5_5.e(ai.SearchView_defaultQueryHint);
        super.U = v5_5.e(ai.SearchView_queryHint);
        boolean v4_34 = v5_5.d(ai.SearchView_android_imeOptions, -1);
        if (v4_34 != -1) {
            super.setImeOptions(v4_34);
        }
        boolean v4_36 = v5_5.d(ai.SearchView_android_inputType, -1);
        if (v4_36 != -1) {
            super.setInputType(v4_36);
        }
        super.setFocusable(v5_5.a(ai.SearchView_android_focusable, 1));
        v5_5.a();
        super.I = new android.content.Intent("android.speech.action.WEB_SEARCH");
        super.I.addFlags(268435456);
        super.I.putExtra("android.speech.extra.LANGUAGE_MODEL", "web_search");
        super.J = new android.content.Intent("android.speech.action.RECOGNIZE_SPEECH");
        super.J.addFlags(268435456);
        super.y = super.findViewById(super.q.getDropDownAnchor());
        boolean v4_49 = super.y;
        if (v4_49) {
            v4_49.addOnLayoutChangeListener(new Sk(super));
        }
        super.b(super.Q);
        super.p();
        return;
    }

Method IB.c() calling method android.content.Intent.<init>()


    public final void c()
    {
        android.content.Intent v0_1 = new android.content.Intent("com.ramco.ramcoerp.ramcobarcodescanner.SCAN");
        v0_1.addCategory("android.intent.category.DEFAULT");
        this.cordova.startActivityForResult(this, v0_1, 8003);
        return;
    }

Method IB.b() calling method android.content.Intent.<init>()


    public final void b(org.json.JSONObject p9)
    {
        android.content.Intent v1_1 = new android.content.Intent("android.intent.action.SEND_MULTIPLE");
        try {
            String v3_20 = p9.getBoolean("bIsHTML");
        } catch (String v3_32) {
            int v4_0 = new StringBuilder();
            v4_0.append("Error handling isHTML param: ");
            v4_0.append(v3_32.toString());
            org.apache.cordova.LOG.e("EmailComposer", v4_0.toString());
            v3_20 = 0;
        }
        int v4_12;
        if (v3_20 == null) {
            v4_12 = "text/plain";
        } else {
            v4_12 = "text/html";
        }
        v1_1.setType(v4_12);
        try {
            int v4_15 = p9.getString("subject");
        } catch (int v4_16) {
            String v5_14 = new StringBuilder();
            v5_14.append("Error handling subject param: ");
            v5_14.append(v4_16.toString());
            org.apache.cordova.LOG.e("EmailComposer", v5_14.toString());
            try {
                int v4_20 = p9.getString("body");
            } catch (String v3_27) {
                int v4_22 = new StringBuilder();
                v4_22.append("Error handling body param: ");
                v4_22.append(v3_27.toString());
                org.apache.cordova.LOG.e("EmailComposer", v4_22.toString());
                try {
                    String v3_31 = p9.getJSONArray("toRecipients");
                } catch (String v3_34) {
                    int v4_28 = new StringBuilder();
                    v4_28.append("Error handling toRecipients param: ");
                    v4_28.append(v3_34.toString());
                    org.apache.cordova.LOG.e("EmailComposer", v4_28.toString());
                    try {
                        String v3_3 = p9.getJSONArray("ccRecipients");
                    } catch (String v3_5) {
                        int v4_5 = new StringBuilder();
                        v4_5.append("Error handling ccRecipients param: ");
                        v4_5.append(v3_5.toString());
                        org.apache.cordova.LOG.e("EmailComposer", v4_5.toString());
                        try {
                            String v3_9 = p9.getJSONArray("bccRecipients");
                        } catch (String v3_12) {
                            int v4_10 = new StringBuilder();
                            v4_10.append("Error handling bccRecipients param: ");
                            v4_10.append(v3_12.toString());
                            org.apache.cordova.LOG.e("EmailComposer", v4_10.toString());
                            try {
                                String v9_1 = p9.getJSONArray("attachments");
                            } catch (String v9_4) {
                                String v3_22 = new StringBuilder();
                                v3_22.append("Error handling attachments param: ");
                                v3_22.append(v9_4.toString());
                                org.apache.cordova.LOG.e("EmailComposer", v3_22.toString());
                                this.cordova.startActivityForResult(this, v1_1, 0);
                                return;
                            }
                            if ((v9_1 == null) || (v9_1.length() <= 0)) {
                                this.cordova.startActivityForResult(this, v1_1, 0);
                                return;
                            } else {
                                String v3_19 = new java.util.ArrayList();
                                int v4_11 = 0;
                                while (v4_11 < v9_1.length()) {
                                    try {
                                        String v5_7 = new java.io.File(v9_1.getString(v4_11));
                                    } catch (String v5_8) {
                                        StringBuilder v6_7 = new StringBuilder();
                                        v6_7.append("Error adding an attachment: ");
                                        v6_7.append(v5_8.toString());
                                        org.apache.cordova.LOG.e("EmailComposer", v6_7.toString());
                                        v4_11++;
                                    }
                                    if (!v5_7.exists()) {
                                    } else {
                                        v3_19.add(android.net.Uri.fromFile(v5_7));
                                    }
                                }
                                if (v3_19.size() <= 0) {
                                    this.cordova.startActivityForResult(this, v1_1, 0);
                                    return;
                                } else {
                                    v1_1.putParcelableArrayListExtra("android.intent.extra.STREAM", v3_19);
                                    this.cordova.startActivityForResult(this, v1_1, 0);
                                    return;
                                }
                            }
                        }
                        if ((v3_9 == null) || (v3_9.length() <= 0)) {
                        } else {
                            int v4_8 = new String[v3_9.length()];
                            String v5_3 = 0;
                            while (v5_3 < v3_9.length()) {
                                v4_8[v5_3] = v3_9.getString(v5_3);
                                v5_3++;
                            }
                            v1_1.putExtra("android.intent.extra.BCC", v4_8);
                        }
                    }
                    if ((v3_3 == null) || (v3_3.length() <= 0)) {
                    } else {
                        int v4_3 = new String[v3_3.length()];
                        String v5_1 = 0;
                        while (v5_1 < v3_3.length()) {
                            v4_3[v5_1] = v3_3.getString(v5_1);
                            v5_1++;
                        }
                        v1_1.putExtra("android.intent.extra.CC", v4_3);
                    }
                }
                if ((v3_31 == null) || (v3_31.length() <= 0)) {
                } else {
                    int v4_25 = new String[v3_31.length()];
                    String v5_19 = 0;
                    while (v5_19 < v3_31.length()) {
                        v4_25[v5_19] = v3_31.getString(v5_19);
                        v5_19++;
                    }
                    v1_1.putExtra("android.intent.extra.EMAIL", v4_25);
                }
            }
            if ((v4_20 == 0) || (v4_20.length() <= 0)) {
            } else {
                if (v3_20 == null) {
                    v1_1.putExtra("android.intent.extra.TEXT", v4_20);
                } else {
                    String v3_25;
                    if (android.os.Build$VERSION.SDK_INT < 24) {
                        v3_25 = android.text.Html.fromHtml(v4_20);
                    } else {
                        v3_25 = android.text.Html.fromHtml(v4_20, 63);
                    }
                    v1_1.putExtra("android.intent.extra.TEXT", v3_25);
                }
            }
        }
        if ((v4_15 == 0) || (v4_15.length() <= 0)) {
        } else {
            v1_1.putExtra("android.intent.extra.SUBJECT", v4_15);
        }
    }

Method IB.b() calling method android.content.Intent.<init>()


    public final void b()
    {
        android.content.Intent v0_1 = new android.content.Intent("com.ramco.ramcoerp.ramconfcscanner.SCAN");
        v0_1.addCategory("android.intent.category.DEFAULT");
        this.cordova.startActivityForResult(this, v0_1, 8002);
        return;
    }

Method Fi.addIntentOptions() calling method android.content.Intent.<init>()


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

Method DB.openFileChooser() calling method android.content.Intent.<init>()


    public void openFileChooser(android.webkit.ValueCallback p7, String p8, String p9)
    {
        try {
            org.apache.cordova.CordovaInterface v8_9 = new java.io.File(android.os.Environment.getExternalStoragePublicDirectory(android.os.Environment.DIRECTORY_PICTURES), "com.ramco.ramcoerp");
        } catch (int v7_2) {
            v7_2.printStackTrace();
            return;
        }
        if ((!v8_9.exists()) && (!v8_9.mkdirs())) {
            android.util.Log.i("RamcoChromeClient", "File direct creation error.");
        }
        AB v0_2 = new StringBuilder();
        v0_2.append(v8_9);
        v0_2.append(java.io.File.separator);
        v0_2.append("IMG_");
        v0_2.append(String.valueOf(System.currentTimeMillis()));
        v0_2.append(".jpg");
        this.b = android.net.Uri.fromFile(new java.io.File(v0_2.toString()));
        org.apache.cordova.CordovaInterface v8_8 = new java.util.ArrayList();
        android.content.Intent v9_7 = new android.content.Intent("android.media.action.IMAGE_CAPTURE");
        AB v0_9 = this.c.getActivity().getPackageManager().queryIntentActivities(v9_7, 0).iterator();
        while (v0_9.hasNext()) {
            android.os.Parcelable[] v1_6 = ((android.content.pm.ResolveInfo) v0_9.next());
            android.net.Uri v2_1 = v1_6.activityInfo.packageName;
            android.content.Intent v3_1 = new android.content.Intent(v9_7);
            v3_1.setComponent(new android.content.ComponentName(v1_6.activityInfo.packageName, v1_6.activityInfo.name));
            v3_1.setPackage(v2_1);
            v3_1.putExtra("output", this.b);
            v8_8.add(v3_1);
        }
        android.content.Intent v9_9 = new android.content.Intent();
        v9_9.setType("image/*");
        v9_9.setAction("android.intent.action.GET_CONTENT");
        android.content.Intent v9_10 = android.content.Intent.createChooser(v9_9, "Select Source");
        android.os.Parcelable[] v1_4 = new android.os.Parcelable[v8_8.size()];
        v9_10.putExtra("android.intent.extra.INITIAL_INTENTS", ((android.os.Parcelable[]) v8_8.toArray(v1_4)));
        this.c.startActivityForResult(new AB(this, p7), v9_10, 5173);
        return;
    }

Method DB.onShowFileChooser() calling method android.content.Intent.<init>()


    public boolean onShowFileChooser(android.webkit.WebView p17, android.webkit.ValueCallback p18, android.webkit.WebChromeClient$FileChooserParams p19)
    {
        try {
            if (android.os.Build$VERSION.SDK_INT <= 21) {
                android.util.Log.i("RamcoChromeClient", "onshowfile");
                org.apache.cordova.CordovaInterface v2_17 = new java.io.File(android.os.Environment.getExternalStoragePublicDirectory(android.os.Environment.DIRECTORY_PICTURES), "com.ramco.ramcoerp");
                if ((!v2_17.exists()) && (!v2_17.mkdirs())) {
                    android.util.Log.i("RamcoChromeClient", "File direct creation error.");
                }
                android.content.Intent v12_6 = new StringBuilder();
                v12_6.append(v2_17);
                v12_6.append(java.io.File.separator);
                v12_6.append("IMG_");
                v12_6.append(String.valueOf(System.currentTimeMillis()));
                v12_6.append(".jpg");
                this.b = android.net.Uri.fromFile(new java.io.File(v12_6.toString()));
                org.apache.cordova.CordovaInterface v2_23 = new java.util.ArrayList();
                android.content.Intent v3_12 = new android.content.Intent("android.media.action.IMAGE_CAPTURE");
                java.util.Iterator v9_9 = this.c.getActivity().getPackageManager().queryIntentActivities(v3_12, 0).iterator();
                while (v9_9.hasNext()) {
                    android.net.Uri v10_10 = ((android.content.pm.ResolveInfo) v9_9.next());
                    String v11_4 = v10_10.activityInfo.packageName;
                    android.content.Intent v12_8 = new android.content.Intent(v3_12);
                    v12_8.setComponent(new android.content.ComponentName(v10_10.activityInfo.packageName, v10_10.activityInfo.name));
                    v12_8.setPackage(v11_4);
                    v12_8.putExtra("output", this.b);
                    v2_23.add(v12_8);
                }
                android.content.Intent v3_14 = new android.content.Intent();
                v3_14.setType("image/*");
                v3_14.setAction("android.intent.action.GET_CONTENT");
                android.content.Intent v3_15 = android.content.Intent.createChooser(v3_14, "Select Source");
                BB v4_6 = new android.os.Parcelable[v2_23.size()];
                v3_15.putExtra("android.intent.extra.INITIAL_INTENTS", ((android.os.Parcelable[]) v2_23.toArray(v4_6)));
                this.c.startActivityForResult(new CB(this, p18), v3_15, 5173);
            } else {
                if (this.c.hasPermission("android.permission.CAMERA")) {
                    android.util.Log.i("RamcoChromeClient", "onshowfile");
                    org.apache.cordova.CordovaInterface v2_3 = new java.io.File(android.os.Environment.getExternalStoragePublicDirectory(android.os.Environment.DIRECTORY_PICTURES), "com.ramco.ramcoerp");
                    if ((!v2_3.exists()) && (!v2_3.mkdirs())) {
                        android.util.Log.i("RamcoChromeClient", "File direct creation error.");
                    }
                    android.content.Intent v12_2 = new StringBuilder();
                    v12_2.append(v2_3);
                    v12_2.append(java.io.File.separator);
                    v12_2.append("IMG_");
                    v12_2.append(String.valueOf(System.currentTimeMillis()));
                    v12_2.append(".jpg");
                    this.b = android.net.Uri.fromFile(new java.io.File(v12_2.toString()));
                    org.apache.cordova.CordovaInterface v2_9 = new java.util.ArrayList();
                    android.content.Intent v3_4 = new android.content.Intent("android.media.action.IMAGE_CAPTURE");
                    java.util.Iterator v9_4 = this.c.getActivity().getPackageManager().queryIntentActivities(v3_4, 0).iterator();
                    while (v9_4.hasNext()) {
                        android.net.Uri v10_3 = ((android.content.pm.ResolveInfo) v9_4.next());
                        String v11_2 = v10_3.activityInfo.packageName;
                        android.content.Intent v12_4 = new android.content.Intent(v3_4);
                        v12_4.setComponent(new android.content.ComponentName(v10_3.activityInfo.packageName, v10_3.activityInfo.name));
                        v12_4.setPackage(v11_2);
                        v12_4.putExtra("output", this.b);
                        v2_9.add(v12_4);
                    }
                    android.content.Intent v3_6 = new android.content.Intent();
                    v3_6.setType("image/*");
                    v3_6.setAction("android.intent.action.GET_CONTENT");
                    android.content.Intent v3_7 = android.content.Intent.createChooser(v3_6, "Select Source");
                    BB v4_1 = new android.os.Parcelable[v2_9.size()];
                    v3_7.putExtra("android.intent.extra.INITIAL_INTENTS", ((android.os.Parcelable[]) v2_9.toArray(v4_1)));
                    this.c.startActivityForResult(new BB(this, p18), v3_7, 5173);
                } else {
                    android.widget.Toast.makeText(this.a, 2131624062, 1).show();
                    return 0;
                }
            }
        } catch (int v0_2) {
            v0_2.printStackTrace();
        }
        return 1;
    }

Method org.apache.cordova.engine.SystemWebChromeClient.openFileChooser() calling method android.content.Intent.<init>()


    public void openFileChooser(android.webkit.ValueCallback p2, String p3, String p4)
    {
        android.content.Intent v3_1 = new android.content.Intent("android.intent.action.GET_CONTENT");
        v3_1.addCategory("android.intent.category.OPENABLE");
        v3_1.setType("*/*");
        this.parentEngine.cordova.startActivityForResult(new uK(this, p2), v3_1, 5173);
        return;
    }

Method no$a.a() calling method android.content.Intent.<init>()


    public final android.content.Intent a(android.content.Context p2)
    {
        android.content.Intent v2_1;
        android.content.Intent v2_0 = this.a;
        if (v2_0 == null) {
            v2_1 = new android.content.Intent().setComponent(this.c);
        } else {
            v2_1 = new android.content.Intent(v2_0).setPackage(this.b);
        }
        return v2_1;
    }

Method ie.a() calling method android.content.Intent.<init>()


    public void a(android.os.Bundle p5)
    {
        if (this.a.isEmpty()) {
            throw new IllegalStateException("No intents added to TaskStackBuilder; cannot startActivitark>ieark>s");
        } else {
            android.content.Context v0_8 = this.a;
            int v1_1 = new android.content.Intent[v0_8.size()];
            android.content.Context v0_2 = ((android.content.Intent[]) v0_8.toArray(v1_1));
            v0_2[0] = new android.content.Intent(v0_2[0]).addFlags(268484608);
            if (!je.a(this.b, v0_2, p5)) {
                android.content.Intent v5_3 = new android.content.Intent(v0_2[(v0_2.length - 1)]);
                v5_3.addFlags(268435456);
                this.b.startActivity(v5_3);
            }
            return;
        }
    }

Method com.ramco.ramcoerp.NFCActivity.onCreate() calling method android.content.Intent.<init>()


    public void onCreate(android.os.Bundle p4)
    {
        RuntimeException v0_6;
        android.content.IntentFilter$MalformedMimeTypeException v4_18;
        super.onCreate(p4);
        this.setContentView(2131427358);
        this.d = ((android.widget.TextView) this.findViewById(2131230975));
        this.e = ((android.widget.Button) this.findViewById(2131230768));
        this.e.setOnClickListener(this);
        this.a = 0;
        android.content.IntentFilter$MalformedMimeTypeException v4_6 = android.nfc.NfcAdapter.getDefaultAdapter(this);
        if (v4_6 != null) {
            if (v4_6.isEnabled()) {
                this.d.setText(2131624071);
                android.content.IntentFilter$MalformedMimeTypeException v4_10 = new android.content.Intent(this, com.ramco.ramcoerp.NFCActivity);
                v4_10.addFlags(603979776);
                this.a = android.app.PendingIntent.getActivity(this, 0, v4_10, 0);
                android.content.IntentFilter$MalformedMimeTypeException v4_14 = new android.content.IntentFilter("android.nfc.action.NDEF_DISCOVERED");
                try {
                    v4_14.addDataType("*/*");
                    String v2_0 = new android.content.IntentFilter[1];
                    v2_0[0] = v4_14;
                    this.b = v2_0;
                    android.content.IntentFilter$MalformedMimeTypeException v4_15 = new String[][1];
                    String v1_3 = new String[1];
                    v1_3[0] = android.nfc.tech.NfcF.getName();
                    v4_15[0] = v1_3;
                    this.c = v4_15;
                } catch (android.content.IntentFilter$MalformedMimeTypeException v4_17) {
                    throw new RuntimeException("fail", v4_17);
                }
            } else {
                v4_18 = this.d;
                v0_6 = 2131624044;
                v4_18.setText(v0_6);
            }
        } else {
            v4_18 = this.d;
            v0_6 = 2131624043;
        }
        return;
    }

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


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

Method ch$a.a() calling method android.content.Intent.<init>()


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

Method Zd.a() calling method android.content.Intent.<init>()


    public static android.content.Intent a(android.content.Context p2, android.content.ComponentName p3)
    {
        String v0 = ark>Zdark>.b(p2, p3);
        if (v0 != null) {
            android.content.Intent v2_3;
            android.content.ComponentName v1_1 = new android.content.ComponentName(p3.getPackageName(), v0);
            if (ark>Zdark>.b(p2, v1_1) != null) {
                v2_3 = new android.content.Intent().setComponent(v1_1);
            } else {
                v2_3 = android.content.Intent.makeMainActivity(v1_1);
            }
            return v2_3;
        } else {
            return 0;
        }
    }

Method Zd.a() calling method android.content.Intent.<init>()


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

Method To.a() calling method android.content.Intent.<init>()


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

Method To.a() calling method android.content.Intent.<init>()


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

Method To.a() calling method android.content.Intent.<init>()


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