Merge "Add logs to track down how OPS creation" into tm-qpr-dev am: 1367a0b3fb
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19904698 Change-Id: Ie1e8a34dec70faa4bc2dc6015eefa2df02a73695 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -61,6 +61,7 @@ import android.os.Handler;
|
||||
import android.os.IBinder;
|
||||
import android.os.Looper;
|
||||
import android.os.PatternMatcher;
|
||||
import android.os.Process;
|
||||
import android.os.RemoteException;
|
||||
import android.os.SystemClock;
|
||||
import android.os.UserHandle;
|
||||
@@ -581,6 +582,12 @@ public class OverviewProxyService extends CurrentUserTracker implements
|
||||
AssistUtils assistUtils,
|
||||
DumpManager dumpManager) {
|
||||
super(broadcastDispatcher);
|
||||
|
||||
// b/241601880: This component shouldn't be running for a non-primary user
|
||||
if (!Process.myUserHandle().equals(UserHandle.SYSTEM)) {
|
||||
Log.e(TAG_OPS, "Unexpected initialization for non-primary user", new Throwable());
|
||||
}
|
||||
|
||||
mContext = context;
|
||||
mPipOptional = pipOptional;
|
||||
mCentralSurfacesOptionalLazy = centralSurfacesOptionalLazy;
|
||||
|
||||
Reference in New Issue
Block a user