am 2c4643dd: Merge "Fixed issue with using wrong display id when creating context for displays" into mnc-dev
* commit '2c4643dd802d18ca0088fa860076fe917c69335f': Fixed issue with using wrong display id when creating context for displays
This commit is contained in:
@@ -1745,7 +1745,8 @@ class ContextImpl extends Context {
|
||||
mResourcesManager = ResourcesManager.getInstance();
|
||||
|
||||
final int displayId = (createDisplayWithId != Display.INVALID_DISPLAY)
|
||||
? createDisplayWithId : getDisplayId();
|
||||
? createDisplayWithId
|
||||
: (display != null) ? display.getDisplayId() : Display.DEFAULT_DISPLAY;
|
||||
|
||||
CompatibilityInfo compatInfo = null;
|
||||
if (container != null) {
|
||||
|
||||
Reference in New Issue
Block a user