Make Lockscreen Notification Content work for profiles
The settings for the Notification Content is user-dependent and the correct values are used in the lock screen. Bug: 26709332 Change-Id: I7acf94014771dacc2841da336bed645fdb948541
This commit is contained in:
@@ -21,6 +21,7 @@ import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.content.res.Resources;
|
||||
import android.os.Bundle;
|
||||
import android.os.UserHandle;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
@@ -39,7 +40,7 @@ import com.android.setupwizardlib.view.NavigationBar;
|
||||
public class SetupRedactionInterstitial extends RedactionInterstitial {
|
||||
|
||||
public static Intent createStartIntent(Context ctx) {
|
||||
Intent startIntent = RedactionInterstitial.createStartIntent(ctx);
|
||||
Intent startIntent = RedactionInterstitial.createStartIntent(ctx, UserHandle.myUserId());
|
||||
if (startIntent != null) {
|
||||
startIntent.setClass(ctx, SetupRedactionInterstitial.class);
|
||||
startIntent.putExtra(EXTRA_PREFS_SHOW_BUTTON_BAR, false)
|
||||
|
Reference in New Issue
Block a user