mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 18:58:19 +00:00
Merge "Various lint error fixes." into ub-launcher3-burnaby
This commit is contained in:
@@ -459,11 +459,7 @@ public class DeviceProfile {
|
||||
isLandscape = (configuration.orientation == Configuration.ORIENTATION_LANDSCAPE);
|
||||
isTablet = resources.getBoolean(R.bool.is_tablet);
|
||||
isLargeTablet = resources.getBoolean(R.bool.is_large_tablet);
|
||||
if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.JELLY_BEAN_MR1) {
|
||||
isLayoutRtl = (configuration.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL);
|
||||
} else {
|
||||
isLayoutRtl = false;
|
||||
}
|
||||
isLayoutRtl = Utilities.isRtl(resources);
|
||||
widthPx = wPx;
|
||||
heightPx = hPx;
|
||||
availableWidthPx = awPx;
|
||||
|
||||
Reference in New Issue
Block a user