Skip to content

Commit

Permalink
fix_android_low_version
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhouYixun committed Nov 21, 2022
1 parent 44883d0 commit 10eb3a5
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,10 @@ class WindowManagerWrapper {
try {
val getter = windowManager!!.javaClass.getMethod("getDefaultDisplayRotation")
return getter.invoke(windowManager) as Int
} catch (e: java.lang.Exception) {
} catch (e: NoSuchMethodException) {
} catch (e: IllegalAccessException) {
e.printStackTrace()
} catch (e: InvocationTargetException) {
e.printStackTrace()
}
try {
Expand Down

0 comments on commit 10eb3a5

Please sign in to comment.