switch(paramMotionEvent.getAction())
{
}
do
{
for(;;)
{
return super.onInterceptTouchEvent(paramMotionEvent);
this.prevX = MotionEvent.obtain(paramMotionEvent).getX();
}
}while(Math.abs(paramMotionEvent.getX() - this.prevX) <=this.touchSlop);
return false;
}
}
Hi, I decompiled a few APK files. While analyzing those source code, I found weird lines similar to above code.
Why does the switch
do nothing? In addition, I don't know why there is such use for those do - for - while
statement. Please tell me something.
Based only on the code posted, it's impossible to say. Most likely you're using a bad decompiler and it gave incorrect output. A lot of the older decompilers aren't very good. Have you tried Procyon or Krakatau?
Also, if possible, please post the apk you're trying to analyze.