forClass("com.android.internal.policy.impl.LockScreen", {
  onViewFocused: function() {
    return true;
  }
});

forClass("com.android.internal.policy.impl.KeyguardViewManager$KeyguardViewHost", {
  onWindowStateChanged: function() {
    return true;
  }
});

forClass("com.android.internal.policy.impl.LockPatternKeyguardView", {
  onViewFocused: function() {
    return true;
  }
});

forClass("com.android.internal.policy.impl.LockScreen", {
  onViewFocused: function() {
    return true;
  }
});

forClass("com.android.internal.policy.impl.KeyguardViewManager$KeyguardViewHost", {
  onWindowStateChanged: function() {
    return true;
  }
});

forClass("com.android.internal.policy.impl.LockPatternKeyguardView", {
  onViewFocused: function() {
    return true;
  }
});

forClass("com.android.server.status.StatusBarService$ExpandedDialog", {
  onWindowStateChanged: function() {
    speak("Notifications", true);
    nextShouldNotInterrupt();
    return true;
  }
});

Make expanding notification bar much less verbose.
Make expanding notification bar much less verbose.

--HG--
extra : convert_revision : 3f96e638dc43a8cd6d58ae2ffdca6d120e8c7ec8
