version:3.0.8
fix: update:优化禁用逻辑
This commit is contained in:
@@ -124,9 +124,11 @@ public class MainActivity extends BaseActivity implements MainAContact.MainView,
|
||||
|
||||
setOnClickListener();
|
||||
tv_customversion.setText(JGYUtils.getCustomVersion());
|
||||
if (JGYUtils.getInstance().checkAppPlatform() == JGYUtils.G13Platform) {
|
||||
if (JGYUtils.getInstance().checkAppPlatform() == JGYUtils.G13Platform
|
||||
|| JGYUtils.getInstance().checkAppPlatform() == JGYUtils.iPlay50SEPlatform
|
||||
) {
|
||||
tv_sn.setText("SN:" + Utils.getSerial());
|
||||
}else {
|
||||
} else {
|
||||
tv_sn.setText("IMEI:" + Utils.getIMEI(MainActivity.this));
|
||||
}
|
||||
|
||||
@@ -238,7 +240,7 @@ public class MainActivity extends BaseActivity implements MainAContact.MainView,
|
||||
@Override
|
||||
protected void onNewIntent(Intent intent) {
|
||||
super.onNewIntent(intent);
|
||||
Log.e(TAG, "onNewIntent: " );
|
||||
Log.e(TAG, "onNewIntent: ");
|
||||
if (REFRESHACTION.equals(intent.getAction())) {
|
||||
mPresenter.getSnInfo();
|
||||
}
|
||||
@@ -375,7 +377,7 @@ public class MainActivity extends BaseActivity implements MainAContact.MainView,
|
||||
class RefreshReceiver extends BroadcastReceiver {
|
||||
@Override
|
||||
public void onReceive(Context context, Intent intent) {
|
||||
Log.e("RefreshReceiver", "onReceive: " );
|
||||
Log.e("RefreshReceiver", "onReceive: ");
|
||||
if (REFRESHACTION.equals(intent.getAction())) {
|
||||
mPresenter.getSnInfo();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user