diff options
author | Jason Monk <jmonk@google.com> | 2017-01-09 15:13:23 -0500 |
---|---|---|
committer | Jason Monk <jmonk@google.com> | 2017-01-23 16:28:03 -0500 |
commit | 20ff3f9255c86a3747aa55746788d4bde1d12753 (patch) | |
tree | 0d683a35e12060cca41a9ffca8550b8257be18e2 /packages/SystemUI/src/com/android/systemui/PluginInflateContainer.java | |
parent | 4a65687b853a92268f4f0eb52f22e092b16f8ed3 (diff) |
SysUI fragments: Integrate new support for constructing
Use a new system for constructing fragments so they can be swapped
out in place maintaining state. This will allow easier integration
with plugin lifecycle as parents who have child plugin fragments
can depend on the class existing and won't have to listen to
the lifecycle.
Test: runtest systemui
Change-Id: I517f4ce3d114abd49b1b5baca388d19e929b8f90
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/PluginInflateContainer.java')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/PluginInflateContainer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/PluginInflateContainer.java b/packages/SystemUI/src/com/android/systemui/PluginInflateContainer.java index efa7cae0821d..efddf206878e 100644 --- a/packages/SystemUI/src/com/android/systemui/PluginInflateContainer.java +++ b/packages/SystemUI/src/com/android/systemui/PluginInflateContainer.java @@ -98,7 +98,7 @@ public class PluginInflateContainer extends AutoReinflateContainer } @Override - public void onPluginConnected(ViewProvider plugin) { + public void onPluginConnected(ViewProvider plugin, Context context) { mPluginView = plugin.getView(); inflateLayout(); } |