Improve: remove unused method

This commit is contained in:
zt515 2017-11-03 21:55:48 +08:00
parent abfc49aed0
commit 39d581cd7c

View File

@ -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
}
}
}