0

So, this is interesting case. I've a SearchView in my Toolbar. The moment I click inside SearchView application automatically re-starts. This happens when I use specific model: Huawei P9 Lite. Any other device I tried on emulator - works as expected. I tried to Log a message in onConfigurationChange(), but nothing was displayed so the reason behind this is unknown.

My Activity manifest looks like:

<activity android:name=".Activity"
android:configChanges="orientation|screenSize|keyboardHidden|smallestScreenSize"
    android:windowSoftInputMode="adjustResize"
    android:label=""
    android:parentActivityName=".Activity" />

What could cause this?

MaaAn13
  • 264
  • 5
  • 24
  • 54

1 Answers1

0

After few days, the answer was found on SO: focus on editText result in crash

You have to disable "Advanced profiling"

MaaAn13
  • 264
  • 5
  • 24
  • 54