public void onClick(View paramView) { FtUtil.log_d("FactoryTestNVView", "onClick", "start_update_in_nvitem"); switch (paramView.getId()) { default: return; case 2131296758: if (FtUtil.isFactoryAppAPO()) { set_NV_Value((byte) 1); getFactoryTestNVValue(); return; } set_NV_ValueCPO((byte) 1, (byte) 80); return; } if (FtUtil.isFactoryAppAPO()) { set_NV_Value((byte) 4); getFactoryTestNVValue(); return; } set_NV_ValueCPO((byte) 4, (byte) 80); }
protected void onResume() { super.onResume(); if (FtUtil.isFactoryAppAPO()) { getFactoryTestNVValue(); return; } IntentFilter localIntentFilter = new IntentFilter(); localIntentFilter.addAction("com.android.samsungtest.RilOmissionCommand"); registerReceiver(this.mBroadcastReceiver, localIntentFilter); this.mFactoryPhone = new FactoryTestPhone(this); this.mFactoryPhone.bindSecPhoneService(); FtUtil.log_d("FactoryTestNVView", "onResume", "Request for TestNV!"); this.mFactoryPhone.requestTestNvViewToRil(); }