Merge "Don't WTF if getSystemService(VIRTUALIZATION_SERVICE) returns null" am: 634c15d3c0

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2323440

Change-Id: Ifc11c2907def44ab00f905c1176d144397bbc4e4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Nikita Ioffe
2022-12-02 11:54:32 +00:00
committed by Automerger Merge Worker

View File

@@ -1574,6 +1574,7 @@ public final class SystemServiceRegistry {
case Context.APP_PREDICTION_SERVICE: case Context.APP_PREDICTION_SERVICE:
case Context.INCREMENTAL_SERVICE: case Context.INCREMENTAL_SERVICE:
case Context.ETHERNET_SERVICE: case Context.ETHERNET_SERVICE:
case Context.VIRTUALIZATION_SERVICE:
return null; return null;
} }
Slog.wtf(TAG, "Manager wrapper not available: " + name); Slog.wtf(TAG, "Manager wrapper not available: " + name);