am 794fca97: am a7d2f72f: am c35d3ebb: Merge "No need to send PRE_BOOT_COMPLETED for new users" into lmp-dev
* commit '794fca977de17415e06946c23b71e8bd19d24b78': No need to send PRE_BOOT_COMPLETED for new users
This commit is contained in:
@@ -17354,11 +17354,6 @@ public final class ActivityManagerService extends ActivityManagerNative
|
||||
|
||||
if ((userInfo.flags&UserInfo.FLAG_INITIALIZED) == 0) {
|
||||
if (userId != UserHandle.USER_OWNER) {
|
||||
// Send PRE_BOOT_COMPLETED broadcasts for this new user
|
||||
final ArrayList<ComponentName> doneReceivers
|
||||
= new ArrayList<ComponentName>();
|
||||
deliverPreBootCompleted(null, doneReceivers, userId);
|
||||
|
||||
Intent intent = new Intent(Intent.ACTION_USER_INITIALIZE);
|
||||
intent.addFlags(Intent.FLAG_RECEIVER_FOREGROUND);
|
||||
broadcastIntentLocked(null, null, intent, null,
|
||||
|
||||
@@ -1142,8 +1142,6 @@ final class WindowState implements WindowManagerPolicy.WindowState {
|
||||
|
||||
boolean showLw(boolean doAnimation, boolean requestAnim) {
|
||||
if (isHiddenFromUserLocked()) {
|
||||
Slog.w(TAG, "current user violation " + mService.mCurrentUserId + " trying to display "
|
||||
+ this + ", type " + mAttrs.type + ", belonging to " + mOwnerUid);
|
||||
return false;
|
||||
}
|
||||
if (!mAppOpVisibility) {
|
||||
|
||||
@@ -1533,8 +1533,6 @@ class WindowStateAnimator {
|
||||
// This must be called while inside a transaction.
|
||||
boolean performShowLocked() {
|
||||
if (mWin.isHiddenFromUserLocked()) {
|
||||
Slog.w(TAG, "current user violation " + mService.mCurrentUserId + " trying to display "
|
||||
+ this + ", type " + mWin.mAttrs.type + ", belonging to " + mWin.mOwnerUid);
|
||||
return false;
|
||||
}
|
||||
if (DEBUG_VISIBILITY || (DEBUG_STARTING_WINDOW &&
|
||||
|
||||
Reference in New Issue
Block a user