Improve: remove unused method
This commit is contained in:
parent
abfc49aed0
commit
39d581cd7c
@ -116,13 +116,5 @@ class FullScreenHelper private constructor(activity: Activity, var fullScreen: B
|
||||
return FullScreenHelper(activity, fullScreen, recreate)
|
||||
}
|
||||
|
||||
fun getStatusBarHeight(context: Context): Int {
|
||||
val resourceId = context.resources.getIdentifier("status_bar_height",
|
||||
"dimen", "android")
|
||||
if (resourceId > 0) {
|
||||
return context.resources.getDimensionPixelSize(resourceId)
|
||||
}
|
||||
return -1
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user