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");
|
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();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user