diff options
Diffstat (limited to 'packages/SystemUI/src/com/android/keyguard/KeyguardSliceView.java')
-rw-r--r-- | packages/SystemUI/src/com/android/keyguard/KeyguardSliceView.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/keyguard/KeyguardSliceView.java b/packages/SystemUI/src/com/android/keyguard/KeyguardSliceView.java index 5d35169cf926..f61f585cfe7c 100644 --- a/packages/SystemUI/src/com/android/keyguard/KeyguardSliceView.java +++ b/packages/SystemUI/src/com/android/keyguard/KeyguardSliceView.java @@ -140,6 +140,13 @@ public class KeyguardSliceView extends LinearLayout implements View.OnClickListe mLayoutTransition.setAnimateParentHierarchy(false); } + // Temporary workaround to allow KeyguardStatusView to inflate a copy for Universal Smartspace. + // Eventually the existing copy will be reparented instead, and we won't need this. + public KeyguardSliceView(Context context, AttributeSet attributeSet) { + this(context, attributeSet, Dependency.get(ActivityStarter.class), + Dependency.get(ConfigurationController.class)); + } + @Override protected void onFinishInflate() { super.onFinishInflate(); |