From 4c48b6b410dca901437b838b98e1b0923303ce9a Mon Sep 17 00:00:00 2001 From: David Brown Date: Thu, 1 Oct 2009 19:27:44 -0700 Subject: [PATCH] Add placeholder onGrabbedStateChange() method. Update LockScreen to implement the latest RotarySelector OnDialTriggerListener interface. In a followup CL we'll use this to display onscreen hint text while dragging. BUG=2158434 DRNO=timsullivan TESTED=exercised the lock screen widget, confirmed there's no new behavior. --- policy/com/android/internal/policy/impl/LockScreen.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/policy/com/android/internal/policy/impl/LockScreen.java b/policy/com/android/internal/policy/impl/LockScreen.java index 13207b70b0c70..32736f838d368 100644 --- a/policy/com/android/internal/policy/impl/LockScreen.java +++ b/policy/com/android/internal/policy/impl/LockScreen.java @@ -247,6 +247,11 @@ class LockScreen extends LinearLayout implements KeyguardScreen, KeyguardUpdateM } } + /** {@inheritDoc} */ + public void onGrabbedStateChange(View v, int grabbedState) { + // TODO: Update onscreen hint text based on the new state. + } + /** * Displays a message in a text view and then removes it. * @param textView The text view. @@ -556,4 +561,3 @@ class LockScreen extends LinearLayout implements KeyguardScreen, KeyguardUpdateM mUpdateMonitor.removeCallback(this); } } -