-
-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FPS text only shows for a few seconds (then disappears) in Android 7.1 #9
Comments
You can add version check as follow,and it will wrok well.
|
catch exception when loading tinker:java.lang.RuntimeException: Unable to create application com.tencent.radio.RadioApplication: android.view.WindowManager$BadTokenException: Unable to add window -- window android.view.ViewRootImpl$W@8ca0794 has already been added |
7.1.1 直接crash了 |
Google changed the behavior of
LayoutParams.TYPE_TOAST
in Android 7.1.https://android.googlesource.com/platform/frameworks/base/+/dc24f93
So on 7.1 devices the FPS text cannot not stay on the screen.
The text was updated successfully, but these errors were encountered: