Merge changes from topic "cursor-bg-blink-cp" into tm-qpr-dev am: 131fb1ff89
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19955684 Change-Id: I896302084978f6f22cc52167f981d62feaedc31a Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -2869,6 +2869,17 @@ public class Editor {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @return whether the Blink runnable is blinking or not, if null return false.
|
||||
* @hide
|
||||
*/
|
||||
@VisibleForTesting
|
||||
public boolean isBlinking() {
|
||||
if (mBlink == null) return false;
|
||||
return !mBlink.mCancelled;
|
||||
}
|
||||
|
||||
private class Blink implements Runnable {
|
||||
private boolean mCancelled;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user