From 856493b98acaea13206f40e70c05c60a09b5cae0 Mon Sep 17 00:00:00 2001 From: Shubang Date: Wed, 21 Jun 2017 19:15:26 -0700 Subject: [PATCH] Change PIP notification icon Bug: 62823941 Test: mmm Change-Id: Ibb5ad0d77a006e115fc7f163381d0547979e1867 --- packages/SystemUI/res/drawable/pip_icon.xml | 25 +++++++++++++++++++ .../systemui/pip/tv/PipNotification.java | 2 +- 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 packages/SystemUI/res/drawable/pip_icon.xml diff --git a/packages/SystemUI/res/drawable/pip_icon.xml b/packages/SystemUI/res/drawable/pip_icon.xml new file mode 100644 index 0000000000000..bd92ccd2e6e3f --- /dev/null +++ b/packages/SystemUI/res/drawable/pip_icon.xml @@ -0,0 +1,25 @@ + + + + + \ No newline at end of file diff --git a/packages/SystemUI/src/com/android/systemui/pip/tv/PipNotification.java b/packages/SystemUI/src/com/android/systemui/pip/tv/PipNotification.java index f0745a0791ef8..ac41b752020be 100644 --- a/packages/SystemUI/src/com/android/systemui/pip/tv/PipNotification.java +++ b/packages/SystemUI/src/com/android/systemui/pip/tv/PipNotification.java @@ -174,7 +174,7 @@ public class PipNotification { void onConfigurationChanged(Context context) { Resources res = context.getResources(); mDefaultTitle = res.getString(R.string.pip_notification_unknown_title); - mDefaultIconResId = R.drawable.pip_expand; + mDefaultIconResId = R.drawable.pip_icon; if (mNotified) { // update notification notifyPipNotification();