Support live home
This commit is contained in:
parent
d51f61c6ce
commit
dd288d4687
|
|
@ -0,0 +1,21 @@
|
||||||
|
package com.github.catvod.spider;
|
||||||
|
|
||||||
|
import android.app.Activity;
|
||||||
|
import android.content.ComponentName;
|
||||||
|
import android.content.Context;
|
||||||
|
import android.content.Intent;
|
||||||
|
|
||||||
|
import com.github.catvod.crawler.Spider;
|
||||||
|
|
||||||
|
public class Live extends Spider {
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void init(Context context, String extend) {
|
||||||
|
super.init(context, extend);
|
||||||
|
try {
|
||||||
|
Activity activity = Init.getActivity();
|
||||||
|
activity.startActivity(new Intent().setComponent(new ComponentName(activity, "com.fongmi.android.tv.ui.activity.LiveActivity")));
|
||||||
|
} catch (Throwable ignored) {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Binary file not shown.
|
|
@ -1 +1 @@
|
||||||
4afbcea55791f6a2b1c8ac89745eca68
|
a1c200856bade9fe50617a55807e1747
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue