forked from len0rd/rockbox
Android: Slightly rework logging to logcat by offloading duplicated code to a new helper class.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30161 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
33de9cdaef
commit
02b2b285d6
5 changed files with 6 additions and 35 deletions
|
|
@ -28,7 +28,6 @@ import android.graphics.Bitmap;
|
|||
import android.graphics.Canvas;
|
||||
import android.graphics.Rect;
|
||||
import android.util.DisplayMetrics;
|
||||
import android.util.Log;
|
||||
import android.view.KeyEvent;
|
||||
import android.view.MotionEvent;
|
||||
import android.view.SurfaceHolder;
|
||||
|
|
@ -96,11 +95,6 @@ public class RockboxFramebuffer extends SurfaceView
|
|||
holder.unlockCanvasAndPost(c);
|
||||
}
|
||||
|
||||
private void LOG(CharSequence text)
|
||||
{
|
||||
Log.d("Rockbox", (String) text);
|
||||
}
|
||||
|
||||
public boolean onTouchEvent(MotionEvent me)
|
||||
{
|
||||
int x = (int) me.getX();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue