Merge "Fix multi-display nav bar tests on large screen devices" into tm-qpr-dev
This commit is contained in:
@@ -302,10 +302,6 @@ public class NavigationBarController implements
|
|||||||
*/
|
*/
|
||||||
@VisibleForTesting
|
@VisibleForTesting
|
||||||
void createNavigationBar(Display display, Bundle savedState, RegisterStatusBarResult result) {
|
void createNavigationBar(Display display, Bundle savedState, RegisterStatusBarResult result) {
|
||||||
if (initializeTaskbarIfNecessary()) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (display == null) {
|
if (display == null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -315,7 +311,7 @@ public class NavigationBarController implements
|
|||||||
|
|
||||||
// We may show TaskBar on the default display for large screen device. Don't need to create
|
// We may show TaskBar on the default display for large screen device. Don't need to create
|
||||||
// navigation bar for this case.
|
// navigation bar for this case.
|
||||||
if (mIsTablet && isOnDefaultDisplay) {
|
if (isOnDefaultDisplay && initializeTaskbarIfNecessary()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user