Activity did not call finish? (API 23) Activity did not call finish? (API 23) android android

Activity did not call finish? (API 23)


I'm having the same problem, the same crash with the

did not call finish() prior to onResume() completing

error message. So I created the v23\styles.xml

<style name="AppTheme" parent="android:Theme.Translucent">...</style>

while the normal styles.xml has

<style name="AppTheme" parent="android:Theme.NoDisplay">...</style>

It works fine, no longer crashes. However, I don't know how good is this solution, to use Theme.Translucent in API 23, especially as it is defined as

Theme for translucent activities (on API level 10 and lower).

I really hope they fix this bug.


I found a workaround. Call setVisible(true) in onStart():

@Overrideprotected void onStart() {    super.onStart();    setVisible(true);}