Compare commits
3 Commits
contacts-v
...
contacts
| Author | SHA1 | Date | |
|---|---|---|---|
| 0ef6141c9d | |||
| fb79b83705 | |||
| de89a326c0 |
@@ -1,8 +1,8 @@
|
|||||||
#Created by .winboll/winboll_app_build.gradle
|
#Created by .winboll/winboll_app_build.gradle
|
||||||
#Sat Apr 18 20:58:20 HKT 2026
|
#Sat Apr 18 21:14:59 HKT 2026
|
||||||
stageCount=12
|
stageCount=13
|
||||||
libraryProject=
|
libraryProject=
|
||||||
baseVersion=15.14
|
baseVersion=15.14
|
||||||
publishVersion=15.14.11
|
publishVersion=15.14.12
|
||||||
buildCount=0
|
buildCount=0
|
||||||
baseBetaVersion=15.14.12
|
baseBetaVersion=15.14.13
|
||||||
|
|||||||
@@ -252,7 +252,7 @@ public class LimitedTimeSpecialChannelView extends LinearLayout {
|
|||||||
LogUtils.i(TAG, "已将EditText设置为剩余秒数: " + remainingSeconds);
|
LogUtils.i(TAG, "已将EditText设置为剩余秒数: " + remainingSeconds);
|
||||||
}
|
}
|
||||||
|
|
||||||
ToastUtils.show("服务已销毁,恢复倒计时剩余状态");
|
//ToastUtils.show("服务已销毁,恢复倒计时剩余状态");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, filter);
|
}, filter);
|
||||||
@@ -270,6 +270,9 @@ public class LimitedTimeSpecialChannelView extends LinearLayout {
|
|||||||
long remainingSeconds = intent.getLongExtra(LimitedTimeSpecialChannelService.EXTRA_REMAINING_SECONDS, 0);
|
long remainingSeconds = intent.getLongExtra(LimitedTimeSpecialChannelService.EXTRA_REMAINING_SECONDS, 0);
|
||||||
if (mEtSeconds != null) {
|
if (mEtSeconds != null) {
|
||||||
mEtSeconds.setText(String.valueOf(remainingSeconds));
|
mEtSeconds.setText(String.valueOf(remainingSeconds));
|
||||||
|
}
|
||||||
|
if (mSwEnable != null) {
|
||||||
|
mSwEnable.setChecked(remainingSeconds>0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -296,7 +299,7 @@ public class LimitedTimeSpecialChannelView extends LinearLayout {
|
|||||||
long delayMillis = seconds * 1000;
|
long delayMillis = seconds * 1000;
|
||||||
|
|
||||||
LogUtils.i(TAG, "启动参数 - 输入秒数: " + seconds + ", 转换毫秒: " + delayMillis);
|
LogUtils.i(TAG, "启动参数 - 输入秒数: " + seconds + ", 转换毫秒: " + delayMillis);
|
||||||
ToastUtils.show("调用 LimitedTimeSpecialChannelService 服务");
|
//ToastUtils.show("调用 LimitedTimeSpecialChannelService 服务");
|
||||||
LimitedTimeSpecialChannelService.startService(mContext, delayMillis);
|
LimitedTimeSpecialChannelService.startService(mContext, delayMillis);
|
||||||
} catch (NumberFormatException e) {
|
} catch (NumberFormatException e) {
|
||||||
LogUtils.e(TAG, "输入的秒数格式错误: " + secondsStr, e);
|
LogUtils.e(TAG, "输入的秒数格式错误: " + secondsStr, e);
|
||||||
|
|||||||
Reference in New Issue
Block a user