Compare commits

...
3 Commits
Author SHA1 Message Date
Li ZongYing e6fa9a50db change sign 2023-12-18 13:37:27 +08:00
Li ZongYing 7b7db88422 test sign 2023-12-18 13:23:55 +08:00
Li ZongYing 4e3123019d remove guid store 2023-12-18 12:47:21 +08:00
5 changed files with 5 additions and 3 deletions
Binary file not shown.
Binary file not shown.
@@ -43,6 +43,8 @@ class MainActivity : FragmentActivity() {
.hide(infoFragment)
.commit()
}
Log.i(TAG, "Signature ${getAppSignature()}")
}
fun switchInfoFragment(tv: TV) {
@@ -114,7 +114,7 @@ class Request(var context: Context) {
tvModel.firstSource()
}
} else {
Log.e(TAG, "$title url error")
Log.e(TAG, "$title url error $request")
tvModel.firstSource()
}
} else {
@@ -99,8 +99,8 @@ class YSP(var context: Context) {
}
private fun getGuid(): String {
var guid = sharedPref?.getString("guid", "").toString()
if (guid == "") {
var guid = sharedPref?.getString("guid", "")
if (guid == null || guid.length < 18) {
guid = generateGuid()
with(sharedPref!!.edit()) {
putString("guid", guid)