mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-11 13:45:48 -04:00
Not creating StringBuilder without use
This commit is contained in:
parent
6132f81b25
commit
226c8ae7e9
@ -574,10 +574,9 @@ public class MainActivity extends AppCompatActivity implements OnTouchListener,
|
||||
{
|
||||
x += ((int) e.getX()) / scaleFactor;
|
||||
y -= ((int) e.getY()) / scaleFactor;
|
||||
|
||||
StringBuilder builder = new StringBuilder();
|
||||
|
||||
if (debugText.getVisibility() == View.VISIBLE && !debugErrored) {
|
||||
StringBuilder builder = new StringBuilder();
|
||||
try {
|
||||
builder.append("PointerCapture debug\n");
|
||||
builder.append("MotionEvent=" + e.getActionMasked() + "\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user