I faced some strange case from my android app.
I made a simple app which has two activities and one is LoginActivity and another one is MainActivity. The android app works without any problem on Debugging mode on the PC as following code.
Intent intent = new Intent(LoginActivity.this,MainActivity.class);
startActivity(intent);
LoginActivity.this.finish();
And I published on google play store. But I met some problem. When I click app icon on my phone, the app always back to LoginActivity and this case never happened on debugging mode