Contextual action mode not closing in API 24 nougat

159 views Asked by At

Since updating all of the google sdks to 24 Actionmode.finish() isn't working anymore. No code changes have been made and even a back press & press on the back arrow in the toolbar have no effect. I'm I missing something or is this a bug?

EDIT

My phone is a nexus 6p and is currently not running nougat yet.

Just changed everything back to 23 and actionmode.finish() works so there is def something different:

Working:

compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.android.support:support-v4:23.4.0'
compile 'com.android.support:cardview-v7:23.4.0'
compile 'com.android.support:design:23.4.0'

targetSdkVersion 23

compileSdkVersion 23

buildToolsVersion 23

Not Working:

compile 'com.android.support:appcompat-v7:24.2.0'
compile 'com.android.support:support-v4:24.2.0'
compile 'com.android.support:cardview-v7:24.2.0'
compile 'com.android.support:design:24.2.0'

targetSdkVersion 24

compileSdkVersion 24

buildToolsVersion 24.0.2

0

There are 0 answers