Use real IDP in DeviceProfileTest
- Mock WindowManagerProxy instead of IDP in DeviceProfileTest - Extracted NavigationMode to standalone class - Moved parseNavigationMode to WindowManagerProxy so it can be mocked - Moved DeviceProfileTest to internal repo Bug: 242086027 Test: DeviceProfileTest Change-Id: Ia5a43293b1380f04d786d2adf8503cfd10f7674a
This commit is contained in:
1 parent
77593150da
commit
e818bcb997
28 files changed
+111
-1551
No files matched your search
@@ -36,6 +36,8 @@ public class ResourceUtils {
|
||||
public static final String STATUS_BAR_HEIGHT_LANDSCAPE = "status_bar_height_landscape";
|
||||
public static final String STATUS_BAR_HEIGHT_PORTRAIT = "status_bar_height_portrait";
|
||||
|
||||
public static final String NAV_BAR_INTERACTION_MODE_RES_NAME = "config_navBarInteractionMode";
|
||||
|
||||
public static int getNavbarSize(String resName, Resources res) {
|
||||
return getDimenByName(resName, res, DEFAULT_NAVBAR_VALUE);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user