System paths are okay now; no more special-casing.

Bug: 26895798
Change-Id: I41df87f1fe77c2c523272cf43b5db6a0a7395bed
This commit is contained in:
Jeff Sharkey
2016-02-01 10:40:05 -07:00
parent 3e219fcca3
commit 9061164b23

View File

@@ -66,14 +66,11 @@ public class SettingsLicenseActivity extends Activity {
intent.setPackage("com.android.htmlviewer"); intent.setPackage("com.android.htmlviewer");
try { try {
StrictMode.disableDeathOnFileUriExposure();
startActivity(intent); startActivity(intent);
finish(); finish();
} catch (ActivityNotFoundException e) { } catch (ActivityNotFoundException e) {
Log.e(TAG, "Failed to find viewer", e); Log.e(TAG, "Failed to find viewer", e);
showErrorAndFinish(); showErrorAndFinish();
} finally {
StrictMode.enableDeathOnFileUriExposure();
} }
} }