Merge "Force system ApplicationInfo update and notify DisplayManager" into qt-dev am: 70e0438d59 am: ad982e23cc
am: 5639e2cf29
Change-Id: I1b36abe72d903e11f2fa168a242e67053252c8cd
This commit is contained in:
@@ -36,6 +36,7 @@ import android.content.res.Configuration;
|
||||
import android.content.res.Resources.Theme;
|
||||
import android.database.sqlite.SQLiteCompatibilityWalFlags;
|
||||
import android.database.sqlite.SQLiteGlobal;
|
||||
import android.hardware.display.DisplayManagerInternal;
|
||||
import android.net.NetworkStackClient;
|
||||
import android.os.BaseBundle;
|
||||
import android.os.Binder;
|
||||
@@ -792,6 +793,12 @@ public final class SystemServer {
|
||||
mSystemServiceManager.startService(new SensorPrivacyService(mSystemContext));
|
||||
traceEnd();
|
||||
|
||||
if (SystemProperties.getInt("persist.sys.displayinset.top", 0) > 0) {
|
||||
// DisplayManager needs the overlay immediately.
|
||||
mActivityManagerService.updateSystemUiContext();
|
||||
LocalServices.getService(DisplayManagerInternal.class).onOverlayChanged();
|
||||
}
|
||||
|
||||
// The sensor service needs access to package manager service, app ops
|
||||
// service, and permissions service, therefore we start it after them.
|
||||
// Start sensor service in a separate thread. Completion should be checked
|
||||
|
||||
Reference in New Issue
Block a user