mirror of
https://github.com/lizongying/my-tv.git
synced 2026-11-04 02:26:34 +08:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7b7db88422 | ||
|
|
4e3123019d |
Binary file not shown.
Binary file not shown.
@@ -43,6 +43,8 @@ class MainActivity : FragmentActivity() {
|
|||||||
.hide(infoFragment)
|
.hide(infoFragment)
|
||||||
.commit()
|
.commit()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Log.i(TAG, "Signature ${getAppSignature()}")
|
||||||
}
|
}
|
||||||
|
|
||||||
fun switchInfoFragment(tv: TV) {
|
fun switchInfoFragment(tv: TV) {
|
||||||
|
|||||||
@@ -114,7 +114,7 @@ class Request(var context: Context) {
|
|||||||
tvModel.firstSource()
|
tvModel.firstSource()
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
Log.e(TAG, "$title url error")
|
Log.e(TAG, "$title url error $request")
|
||||||
tvModel.firstSource()
|
tvModel.firstSource()
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -99,8 +99,8 @@ class YSP(var context: Context) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun getGuid(): String {
|
private fun getGuid(): String {
|
||||||
var guid = sharedPref?.getString("guid", "").toString()
|
var guid = sharedPref?.getString("guid", "")
|
||||||
if (guid == "") {
|
if (guid == null || guid.length < 18) {
|
||||||
guid = generateGuid()
|
guid = generateGuid()
|
||||||
with(sharedPref!!.edit()) {
|
with(sharedPref!!.edit()) {
|
||||||
putString("guid", guid)
|
putString("guid", guid)
|
||||||
|
|||||||
Reference in New Issue
Block a user