Commit Graph

429 Commits

Author SHA1 Message Date
hyb1996
f78f569461 移除了主动请求READ_PHONE_STATE权限 2018-07-11 17:30:06 +08:00
hyb1996
d5c38ae537 fix:
java.lang.IllegalStateException: Calling View methods on another thread than the UI thread.
	at com.android.webview.chromium.WebViewChromium.createThreadException(WebViewChromium.java:248)
	at com.android.webview.chromium.WebViewChromium.checkThread(WebViewChromium.java:263)
	at com.android.webview.chromium.WebViewChromium.init(WebViewChromium.java:163)
	at android.webkit.WebView.<init>(WebView.java:548)
	at android.webkit.WebView.<init>(WebView.java:483)
	at android.webkit.WebView.<init>(WebView.java:466)
	at android.webkit.WebView.<init>(WebView.java:453)
	at org.autojs.autojs.ui.widget.CommonMarkdownView.<init>(CommonMarkdownView.java:49)
	at java.lang.reflect.Constructor.newInstance(Native Method)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:288)
	at android.view.LayoutInflater.createView(LayoutInflater.java:611)
	at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:747)
	at android.view.LayoutInflater.rInflate(LayoutInflater.java:810)
	at android.view.LayoutInflater.rInflate(LayoutInflater.java:813)
	at android.view.LayoutInflater.inflate(LayoutInflater.java:508)
	at android.view.LayoutInflater.inflate(LayoutInflater.java:418)
	at android.view.LayoutInflater.inflate(LayoutInflater.java:365)
	at android.view.View.inflate(View.java:18461)
	at org.autojs.autojs.ui.update.UpdateInfoDialogBuilder.updateInfo(UpdateInfoDialogBuilder.java:45)
	at org.autojs.autojs.ui.update.UpdateInfoDialogBuilder.<init>(UpdateInfoDialogBuilder.java:40)
	at org.autojs.autojs.ui.update.VersionGuard.showUpdateInfoIfNeeded(VersionGuard.java:58)
	at org.autojs.autojs.ui.update.VersionGuard.access$200(VersionGuard.java:21)
	at org.autojs.autojs.ui.update.VersionGuard$1.onNext(VersionGuard.java:49)
	at org.autojs.autojs.ui.update.VersionGuard$1.onNext(VersionGuard.java:42)
	at io.reactivex.internal.operators.observable.ObservableSubscribeOn$SubscribeOnObserver.onNext(ObservableSubscribeOn.java:58)
	at com.jakewharton.retrofit2.adapter.rxjava2.BodyObservable$BodyObserver.onNext(BodyObservable.java:51)
	at com.jakewharton.retrofit2.adapter.rxjava2.BodyObservable$BodyObserver.onNext(BodyObservable.java:37)
	at com.jakewharton.retrofit2.adapter.rxjava2.CallObservable.subscribeActual(CallObservable.java:43)
	at io.reactivex.Observable.subscribe(Observable.java:10901)
	at com.jakewharton.retrofit2.adapter.rxjava2.BodyObservable.subscribeActual(BodyObservable.java:34)
	at io.reactivex.Observable.subscribe(Observable.java:10901)
	at io.reactivex.internal.operators.observable.ObservableSubscribeOn$SubscribeTask.run(ObservableSubscribeOn.java:96)
	at io.reactivex.Scheduler$DisposeTask.run(Scheduler.java:452)
	at io.reactivex.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:61)
	at io.reactivex.internal.schedulers.ScheduledRunnable.call(ScheduledRunnable.java:52)
	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:152)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:265)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
	at java.lang.Thread.run(Thread.java:818)
2018-07-11 16:57:41 +08:00
hyb1996
b9c7250cf8 Not show ad on first day 2018-07-09 16:28:50 +08:00
hyb1996
e247943035 修复在Android O上创建快捷方式失败的问题;替换默认快捷方式图标 2018-07-07 22:47:20 +08:00
hyb1996
dc468c7de4 fix bugs 2018-07-01 20:20:06 +08:00
hyb1996
997b652df9 fix(app): change documentation source and refresh cannot apply changes immediately
docs: update to latest
2018-06-03 21:07:11 +08:00
hyb1996
023b8a79d9 feat(app): supports changing default script dir path 2018-06-03 18:05:17 +08:00
hyb1996
7036fa994e fix(autojs): ui.emitter.emit() may make app crash if callback throws exception
add(sample): 界面模板一.js
2018-06-03 11:57:49 +08:00
hyb1996
28a551324a fix(app): orientation changing causes floating window keep to side 2018-06-03 09:54:14 +08:00
hyb1996
debcb1d7b8 api(autojs): supports ui label toolbar, appbar, tabs, viewpager, drawer 2018-05-31 01:38:36 +08:00
hyb1996
22185346e8 save works 2018-05-29 20:26:21 +08:00
hyb1996
0ffb8d1ec5 docs: update to latest 2018-05-28 21:57:40 +08:00
hyb1996
8379764193 fix(app): #328 2018-05-28 21:23:35 +08:00
hyb1996
5e36c12236 remove splash banner ad 2018-05-28 21:09:19 +08:00
hyb1996
2d6fed4c99 api(runtime): runtime.requestPermissions() 2018-05-28 20:51:05 +08:00
hyb1996
faa5ef4c48 add(sample): 护眼模式
fix(floaty): xml.toString() return empty when xml has just one node
2018-05-28 20:02:40 +08:00
hyb1996
9911c9146d fix(sample): 通知监听 2018-05-26 10:59:34 +08:00
hyb1996
d5630876d9 add missing files 2018-05-25 20:09:51 +08:00
hyb1996
9b90f574b8 fix(app): open drawer menu crash when user is offline 2018-05-25 13:30:09 +08:00
hyb1996
7839bc6813 refactor: rename package name to 'org.autojs.autojs' 2018-05-25 13:20:00 +08:00
hyb1996
b81db30f3f add: google admob ads for testing 2018-05-24 21:22:21 +08:00
hyb1996
64c7152736 fix(app): splash forever 2018-05-22 20:59:16 +08:00
hyb1996
5237ac7ea4 remove GDT SDK 2018-05-22 20:30:38 +08:00
hyb1996
55f2e7b20a fix(autojs): screen request activity memory leak
fix(autojs): idStartsWith not working
2018-04-25 15:53:04 +08:00
hyb1996
c488e9ccbb fix(ui): circular menu keep to edge behavior on screen orientation change 2018-04-21 16:53:00 +08:00
hyb1996
ae243719b1 fix(dialogs): dialog.select() shows checkbox 2018-04-21 14:23:42 +08:00
hyb1996
4f9f79f33b sample(dialogs): add 模拟更新下载对话框.js 2018-04-19 11:56:58 +08:00
hyb1996
278cfd2272 api(dialogs): dialogs.build() 2018-04-17 22:27:40 +08:00
hyb1996
f6dec28e49 fix(ui): layout inspect failed when dumping 2018-04-15 17:00:03 +08:00
hyb1996
7e2f09b9aa feat(ui): add pointer location and stop all scripts to circular menu 2018-04-15 16:29:09 +08:00
hyb1996
a00bd293b3 doc: update to lastest 2018-04-13 22:31:02 +08:00
hyb1996
2162bd5b28 feat: checks plugin version 2018-04-13 22:10:40 +08:00
hyb1996
51fa9bde49 fix(images): java.lang.IllegalArgumentException: x must be < bitmap.width() in images.findMultiColors() 2018-04-11 17:11:15 +08:00
hyb1996
c39ba26e1f feat(ui): show forum notification count on drawer menu 2018-04-03 18:17:36 +08:00
hyb1996
aeae51bb74 fix: #268 2018-04-03 16:09:26 +08:00
hyb1996
ebf086af90 docs: update docs and indics to latest 2018-04-02 15:49:35 +08:00
hyb1996
b381f28470 api(app, globals): app.autojs, app.versionCode, app.versionName, requiresApi, requiresAutojsVersion 2018-04-02 14:30:03 +08:00
hyb1996
2a8b0ce3e0 feat(editor): auto restore text after screen orientation changed 2018-04-01 15:03:08 +08:00
hyb1996
b3f000d240 api(engines): engines.all(), ScriptEngine.emit()
api(events): events.broadcast
2018-04-01 14:07:18 +08:00
hyb1996
0e2a49cd6f fix(images): another mat released causes the mat recycled??? 2018-03-31 22:07:31 +08:00
hyb1996
3dffb02bad add: 955 material icons 2018-03-31 14:10:48 +08:00
hyb1996
5226f41d33 remove built-in icons 2018-03-31 13:46:02 +08:00
hyb1996
09a43dd7c0 remove leak canary 2018-03-31 12:41:15 +08:00
hyb1996
32f9fd3359 fix(canvas): emit should call with view as this
fix(sample): 贪吃蛇重力感应版: some typo and bugs
2018-03-31 12:25:38 +08:00
hyb1996
7a4eb33245 opt(dev_plugin): add require path to remote script; optimize saved remote script's name 2018-03-30 17:51:11 +08:00
hyb1996
af5bf8ecf2 feat(ui): supports label grid 2018-03-30 17:37:31 +08:00
hyb1996
a7ed49d8b1 sample(ui): music file browser 2018-03-29 21:17:49 +08:00
hyb1996
bac87f2591 refactor(ui): refactor dynamic layout inflater
feat(ui):  xml one way data binding
feat(ui): label `list`
2018-03-29 16:50:21 +08:00
hyb1996
9a61bbe64d add: 300 built-in icons 2018-03-28 10:52:04 +08:00
hyb1996
9c43b1f41c opt: API of canvas 2018-03-24 13:37:10 +08:00