Not show ad on first day

This commit is contained in:
hyb1996
2018-07-09 16:28:50 +08:00
parent e247943035
commit b9c7250cf8
13 changed files with 48 additions and 38 deletions

View File

@@ -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;

View File

@@ -50,6 +50,7 @@ public class ScriptCanvasView extends SurfaceView implements SurfaceHolder.Callb
private void init() {
mHolder.addCallback(this);
setZOrderOnTop(false);
}
@Override

View File

@@ -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;