Commit db70bcd0 authored by Jeremy JAMET's avatar Jeremy JAMET

Fix null pointer

parent 431e34f5
......@@ -122,7 +122,8 @@ public class OverlayShowingService extends Service implements OnTouchListener, O
private void getPositionOnScreen() {
int[] location = new int[2];
if (overlayedButton != null)
originalXPos = location[0];
originalYPos = location[1];
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment