mirror of
https://github.com/lizongying/my-tv.git
synced 2026-10-27 14:46:30 +08:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e6fa9a50db | ||
|
|
7b7db88422 | ||
|
|
4e3123019d |
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)
|
||||
|
||||
Reference in New Issue
Block a user