Skip authentication if it is unavailable

Disable dependency info (#89)
Remove unused permissions
Use millisecond in security logs
GitHub action: upload artifacts to Telegram only on dev branch
This commit is contained in:
BinTianqi
2025-01-04 21:27:38 +08:00
parent 65bf0f75d8
commit 426311ecfe
8 changed files with 219 additions and 22 deletions

View File

@@ -361,7 +361,7 @@ fun processSecurityLogs(securityEvents: List<SecurityLog.SecurityEvent>, outputS
val buffer = outputStream.bufferedWriter()
securityEvents.forEachIndexed { index, event ->
val item = buildJsonObject {
put("time_nanos", event.timeNanos)
put("time", event.timeNanos / 1000)
put("tag", event.tag)
if(VERSION.SDK_INT >= 28) put("level", event.logLevel)
if(VERSION.SDK_INT >= 28) put("id", event.id)