Revert "Support highlightable Settings homepage menu for 2-pane"
This reverts commit 9037ceabd3
.
Reason for revert: Presumed cause of b/202510128
Change-Id: I0daaab95d9bc57229c0c8c916cbe3ada7aafb6fa
This commit is contained in:
@@ -62,12 +62,4 @@ public class ActivityEmbeddingUtils {
|
||||
|
||||
return isFlagEnabled && isSplitSupported;
|
||||
}
|
||||
|
||||
/** Whether the screen meets two-pane resolution. */
|
||||
public static boolean isTwoPaneResolution(Context context) {
|
||||
final Context appContext = context.getApplicationContext();
|
||||
final DisplayMetrics dm = appContext.getResources().getDisplayMetrics();
|
||||
return dm.widthPixels >= getMinCurrentScreenSplitWidthPx(appContext)
|
||||
&& dm.heightPixels >= getMinSmallestScreenSplitWidthPx(appContext);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user