diff options
| author | 2017-01-20 18:05:58 +0000 | |
|---|---|---|
| committer | 2017-01-20 18:06:01 +0000 | |
| commit | f140121f76bc5698ac72b32d66c6ee5a8778df77 (patch) | |
| tree | 43a81045e83e4609bd89162240d1d4a378909d8a | |
| parent | 8e8269fc11bbc8f212be67b19b7f5b4b16b1fa24 (diff) | |
| parent | f793d87b805f204473d130ce29ece72ff1b3cec6 (diff) | |
Merge "Don't set a task description for work lock overlay"
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/keyguard/WorkLockActivity.java | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/keyguard/WorkLockActivity.java b/packages/SystemUI/src/com/android/systemui/keyguard/WorkLockActivity.java index 63d1cc246a53..c7514a90dce3 100644 --- a/packages/SystemUI/src/com/android/systemui/keyguard/WorkLockActivity.java +++ b/packages/SystemUI/src/com/android/systemui/keyguard/WorkLockActivity.java @@ -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) { |