Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(407)

Unified Diff: remoting/android/java/src/org/chromium/chromoting/DesktopView.java

Issue 2101783002: [Chromoting] Feedback animation has stopped (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/android/java/src/org/chromium/chromoting/DesktopView.java
diff --git a/remoting/android/java/src/org/chromium/chromoting/DesktopView.java b/remoting/android/java/src/org/chromium/chromoting/DesktopView.java
index e0ceeae98ab1ca6db89ff26539d2ec9ae0445bc0..fd5751bc057f7c830badcf7c0ab755ae4fcb2f70 100644
--- a/remoting/android/java/src/org/chromium/chromoting/DesktopView.java
+++ b/remoting/android/java/src/org/chromium/chromoting/DesktopView.java
@@ -201,16 +201,12 @@ public class DesktopView extends SurfaceView implements DesktopViewInterface,
getHolder().unlockCanvasAndPost(canvas);
- synchronized (mAnimationLock) {
- if (mInputAnimationRunning) {
- getHandler().postAtTime(new Runnable() {
- @Override
- public void run() {
- processAnimation();
- }
- }, startTimeMs + 30);
+ getHandler().postAtTime(new Runnable() {
+ @Override
Lambros 2016/06/27 23:16:16 I don't understand why removing the mInputAnimatio
Hzj_jie 2016/06/27 23:45:45 FeedbackAnimator adds itself as SelfRemovableParam
Yuwei 2016/06/28 04:26:51 If I understand it right, the bug is: * When call
Yuwei 2016/06/28 08:43:40 I think if you use mOnPaint for TouchInputHandler
Hzj_jie 2016/06/28 18:57:49 Yes, that's the plan. This root cause of this bug
+ public void run() {
+ processAnimation();
}
- }
+ }, startTimeMs + 30);
}
private void processAnimation() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698