System paths are okay now; no more special-casing.
Bug: 26895798 Change-Id: I41df87f1fe77c2c523272cf43b5db6a0a7395bed
This commit is contained in:
@@ -66,14 +66,11 @@ public class SettingsLicenseActivity extends Activity {
|
||||
intent.setPackage("com.android.htmlviewer");
|
||||
|
||||
try {
|
||||
StrictMode.disableDeathOnFileUriExposure();
|
||||
startActivity(intent);
|
||||
finish();
|
||||
} catch (ActivityNotFoundException e) {
|
||||
Log.e(TAG, "Failed to find viewer", e);
|
||||
showErrorAndFinish();
|
||||
} finally {
|
||||
StrictMode.enableDeathOnFileUriExposure();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user