Merge "Don't set a task description for work lock overlay"
This commit is contained in:
committed by
Android (Google) Code Review
commit
f140121f76
@@ -91,10 +91,6 @@ public class WorkLockActivity extends Activity {
|
||||
// Draw captions overlaid on the content view, so the whole window is one solid color.
|
||||
setOverlayWithDecorCaptionEnabled(true);
|
||||
|
||||
// Match task description to the task stack we are replacing so it's still recognizably the
|
||||
// original task stack with the same icon and title text.
|
||||
setTaskDescription(new TaskDescription(null, null, color));
|
||||
|
||||
// Blank out the activity. When it is on-screen it will look like a Recents thumbnail with
|
||||
// redaction switched on.
|
||||
final View blankView = new View(this);
|
||||
@@ -127,6 +123,11 @@ public class WorkLockActivity extends Activity {
|
||||
return;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setTaskDescription(TaskDescription taskDescription) {
|
||||
// Use the previous activity's task description.
|
||||
}
|
||||
|
||||
private final BroadcastReceiver mLockEventReceiver = new BroadcastReceiver() {
|
||||
@Override
|
||||
public void onReceive(Context context, Intent intent) {
|
||||
|
||||
Reference in New Issue
Block a user