Compare commits
5 Commits
timestamp-
...
timestamp-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5ee9da1982 | ||
|
|
f59f7676b7 | ||
|
|
19b8251182 | ||
|
|
4dadb15c0c | ||
|
|
21b5487513 |
@@ -1,8 +1,8 @@
|
|||||||
#Created by .winboll/winboll_app_build.gradle
|
#Created by .winboll/winboll_app_build.gradle
|
||||||
#Wed May 07 13:48:06 HKT 2025
|
#Wed May 07 14:05:50 HKT 2025
|
||||||
stageCount=13
|
stageCount=16
|
||||||
libraryProject=
|
libraryProject=
|
||||||
baseVersion=15.0
|
baseVersion=15.0
|
||||||
publishVersion=15.0.12
|
publishVersion=15.0.15
|
||||||
buildCount=0
|
buildCount=0
|
||||||
baseBetaVersion=15.0.13
|
baseBetaVersion=15.0.16
|
||||||
|
|||||||
@@ -209,7 +209,7 @@ public class MainService extends Service {
|
|||||||
case MSG_UPDATE_TIMESTAMP:
|
case MSG_UPDATE_TIMESTAMP:
|
||||||
{
|
{
|
||||||
String szTimeStampShowString = TimeStampUtil.getInstance(MainService.this).getTimeStampShowString();
|
String szTimeStampShowString = TimeStampUtil.getInstance(MainService.this).getTimeStampShowString();
|
||||||
mNotificationHelper.sendForegroundNotification(MainService.this, "时间戳:\n" + szTimeStampShowString + "\n已拷贝到剪贴板。");
|
mNotificationHelper.sendForegroundNotification(MainService.this, "时间戳:\n" + szTimeStampShowString + "\n已截取。");
|
||||||
|
|
||||||
LogUtils.d(TAG, "Hello, World! " + szTimeStampShowString);
|
LogUtils.d(TAG, "Hello, World! " + szTimeStampShowString);
|
||||||
break;
|
break;
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ public class TimeStampUtil {
|
|||||||
|
|
||||||
TimeStampUtil(Context context) {
|
TimeStampUtil(Context context) {
|
||||||
mContext = context;
|
mContext = context;
|
||||||
|
mTimeStamp = System.currentTimeMillis();
|
||||||
}
|
}
|
||||||
|
|
||||||
public synchronized static TimeStampUtil getInstance(Context context) {
|
public synchronized static TimeStampUtil getInstance(Context context) {
|
||||||
|
|||||||
Reference in New Issue
Block a user