Skip to content

Commit 88c6d76

Browse files
committed
see 06/03 log
1 parent 7e375c0 commit 88c6d76

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

gradle/config/config.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ gradle.ext {
3636
subutil_lib : new DepConfig(":subutil:lib"),
3737
subutil_pkg : new DepConfig(":subutil:pkg"),
3838
utilcode_app : new DepConfig(":utilcode:app"),
39-
utilcode_lib : new DepConfig(false, ":utilcode:lib", "com.blankj:utilcode:$versionName"),
39+
utilcode_lib : new DepConfig(true/*是否本地调试*/, ":utilcode:lib", "com.blankj:utilcode:$versionName"),
4040
utilcode_pkg : new DepConfig(":utilcode:pkg"),
4141

4242
support_appcompat_v7 : new DepConfig("com.android.support:appcompat-v7:$support_version"),

lib/base/src/main/java/com/blankj/lib/base/BaseActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ private void initSwipeBack() {
8585
final SwipePanel swipeLayout = new SwipePanel(this);
8686
swipeLayout.setLeftDrawable(R.drawable.base_back);
8787
swipeLayout.setLeftEdgeSize(SizeUtils.dp2px(100));
88-
swipeLayout.wrapView(mContentView);
88+
swipeLayout.wrapView(findViewById(android.R.id.content));
8989
swipeLayout.setOnFullSwipeListener(new SwipePanel.OnFullSwipeListener() {
9090
@Override
9191
public void onFullSwipe(int direction) {

utilcode/pkg/src/main/java/com/blankj/utilcode/pkg/feature/screen/ScreenActivity.kt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,11 @@ class ScreenActivity : BaseTitleActivity() {
8888
R.id.screenScreenshotBtn -> DialogHelper.showScreenshotDialog(ScreenUtils.screenShot(this))
8989
R.id.screenSetSleepDurationBtn -> ScreenUtils.setSleepDuration(100000)
9090
}
91-
updateAboutScreen()
91+
Utils.runOnUiThreadDelayed(object: Runnable {
92+
override fun run() {
93+
updateAboutScreen()
94+
}
95+
}, 36)
9296
}
9397

9498
private fun updateAboutScreen() {

0 commit comments

Comments
 (0)