commit | a5d8a39a6217f3f43c1d542f9854a1b8bf2aa88d | [log] [tgz] |
---|---|---|
author | Dave Mankoff <mankoff@google.com> | Thu Oct 10 12:21:09 2019 -0400 |
committer | Dave Mankoff <mankoff@google.com> | Thu Oct 10 14:02:13 2019 -0400 |
tree | 4c58715a7d2a183714deb6ff1c91e431afc284ee | |
parent | 0fd72921187fb93ebd6c582ee67f4c0595b5187e [diff] [blame] |
Pass context into the constructor of SystemUI objects. The next step is to remove `components` from the SystemUI objects and replace them with Dagger injection. Bug: 138786270 Test: atest SystemUITests Change-Id: I27415a8fa8ba0378599356426d849c9cfb9879d2
diff --git a/packages/SystemUI/src/com/android/systemui/usb/StorageNotification.java b/packages/SystemUI/src/com/android/systemui/usb/StorageNotification.java index ff5bd03..11885c5 100644 --- a/packages/SystemUI/src/com/android/systemui/usb/StorageNotification.java +++ b/packages/SystemUI/src/com/android/systemui/usb/StorageNotification.java
@@ -60,6 +60,10 @@ private NotificationManager mNotificationManager; private StorageManager mStorageManager; + public StorageNotification(Context context) { + super(context); + } + private static class MoveInfo { public int moveId; public Bundle extras;