I have my Activity class here:
public class CameraActivity extends Activity {
private Camera mCamera;
private CameraPreview mPreview;
public void onCreate(
I've encountered the same problem and can confirm with NeilDA.
ES File Explorer interrupts my app's activity lifecycle!
It causes an onPause which promptly leads to the 2nd onResume.
(I didn't see any toast however)
And this only happens after being opened for the first time after installation or built from studio. Afterwards, I can restart the app as many times and that double onResume won't ever happen again.
I checked this after force stoping ES File Explorer, re-built my app, and the double onResume doesn't happen. Then reopened ES File Explorer, re-built again, and the double onResume is back!
So I uninstalled ES File Explorer.