优化第一次打开不显示二维码
This commit is contained in:
@@ -107,7 +107,8 @@ public class MainAPresenter implements MainAContact.Presenter {
|
||||
|
||||
@Override
|
||||
public void onComplete() {
|
||||
|
||||
mView.setAppletQRCode(null);
|
||||
Log.e("getAppletQRCode", "onComplete: ");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -110,7 +110,7 @@ public class MainActivity extends BaseActivity implements MainAContact.MainView,
|
||||
NetworkUtils.registerNetworkStatusChangedListener(this);
|
||||
|
||||
if (BuildConfig.DEBUG) {
|
||||
ApkUtils.openApp(this, "com.android.settings");
|
||||
// ApkUtils.openApp(this, "com.android.settings");
|
||||
//静音
|
||||
AudioManager audioManager = (AudioManager) getSystemService(Context.AUDIO_SERVICE);
|
||||
int ringMax = audioManager.getStreamMinVolumeInt(AudioManager.STREAM_RING);
|
||||
|
||||
Reference in New Issue
Block a user