Commit 704bc6e1 authored by mengcuiguang's avatar mengcuiguang

代码优化

parent 7c82de37
...@@ -456,12 +456,12 @@ public class HytechVedioActivity extends BaseActivity ...@@ -456,12 +456,12 @@ public class HytechVedioActivity extends BaseActivity
// } else if (TextUtils.equals(btnText, "下载完成")) { // } else if (TextUtils.equals(btnText, "下载完成")) {
// setInstallPermission(); // setInstallPermission();
// } // }
Intent intent = new Intent(); // Intent intent = new Intent();
intent.setAction("android.intent.action.VIEW"); // intent.setAction("android.intent.action.VIEW");
Uri content_url = Uri.parse(hytechVideoBean.getC_url()); // Uri content_url = Uri.parse(hytechVideoBean.getC_url());
intent.setData(content_url); // intent.setData(content_url);
intent.setClassName("com.android.browser", "com.android.browser.BrowserActivity"); // intent.setClassName("com.android.browser", "com.android.browser.BrowserActivity");
startActivity(intent); // startActivity(intent);
} }
} }
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment