Merge "Report incorrect context usage in ViewConfiguration" into rvc-dev am: c64d21d47a am: 5d0046ee46
Change-Id: I756e272599474af76db88ffd6c6624a62a48b530
This commit is contained in:
@@ -1920,7 +1920,9 @@ class ContextImpl extends Context {
|
||||
return SystemServiceRegistry.getSystemServiceName(serviceClass);
|
||||
}
|
||||
|
||||
private boolean isUiContext() {
|
||||
/** @hide */
|
||||
@Override
|
||||
public boolean isUiContext() {
|
||||
return mIsSystemOrSystemUiContext || mIsUiContext || isSystemOrSystemUI();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user