1 package com.android.systemui.util 2 3 import android.content.res.Resources 4 import com.android.systemui.res.R 5 6 object LargeScreenUtils { 7 /** 8 * Returns true if we should use large screen shade header: 9 * [com.android.systemui.statusbar.phone.LargeScreenShadeHeaderController] 10 * That should be true when we have enough horizontal space to show all info in one row. 11 */ 12 @JvmStatic shouldUseLargeScreenShadeHeadernull13 fun shouldUseLargeScreenShadeHeader(resources: Resources): Boolean { 14 return resources.getBoolean(R.bool.config_use_large_screen_shade_header) 15 } 16 }