Not show ad on first day
This commit is contained in:
@@ -224,9 +224,9 @@ public class ScriptEngineService {
|
||||
|
||||
private static class ScriptExecutionEvent {
|
||||
|
||||
static final int ON_START = "Eating...".hashCode();
|
||||
static final int ON_SUCCESS = "I...lov...".hashCode();
|
||||
static final int ON_EXCEPTION = "...Sorry...I should not have said it...".hashCode();
|
||||
static final int ON_START = 1001;
|
||||
static final int ON_SUCCESS = 1002;
|
||||
static final int ON_EXCEPTION = 1003;
|
||||
|
||||
private final int mCode;
|
||||
private final String mMessage;
|
||||
|
||||
@@ -50,6 +50,7 @@ public class ScriptCanvasView extends SurfaceView implements SurfaceHolder.Callb
|
||||
|
||||
private void init() {
|
||||
mHolder.addCallback(this);
|
||||
setZOrderOnTop(false);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -55,7 +55,7 @@ public interface ScreenCaptureRequester {
|
||||
@RequiresApi(api = Build.VERSION_CODES.LOLLIPOP)
|
||||
class ActivityScreenCaptureRequester extends AbstractScreenCaptureRequester implements ScreenCaptureRequester, OnActivityResultDelegate {
|
||||
|
||||
private static final int REQUEST_CODE_MEDIA_PROJECTION = "Eating...Today is 17.5.20 yet...The 90 days、、、".hashCode() >> 16;
|
||||
private static final int REQUEST_CODE_MEDIA_PROJECTION = 17777;
|
||||
private OnActivityResultDelegate.Mediator mMediator;
|
||||
private Activity mActivity;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user