mirror of
https://github.com/ethauvin/android-about-box.git
synced 2025-04-25 18:47:12 -07:00
Access internal file appropriately to avoid FileUriExposedException
This commit is contained in:
parent
2686828222
commit
7f4336b5ec
1 changed files with 5 additions and 1 deletions
|
@ -68,7 +68,11 @@ public class AboutActivity extends MaterialAboutActivity {
|
||||||
new MaterialAboutItemOnClickListener() {
|
new MaterialAboutItemOnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onClick(boolean b) {
|
public void onClick(boolean b) {
|
||||||
|
if (config.dialog == null) {
|
||||||
openHTMLPage(config.guideHtmlPath);
|
openHTMLPage(config.guideHtmlPath);
|
||||||
|
} else {
|
||||||
|
config.dialog.open(AboutActivity.this, config.guideHtmlPath, getString(R.string.egab_guide));
|
||||||
|
}
|
||||||
logUIEventName(config.analytics, config.logUiEventName, getString(R.string.egab_guide));
|
logUIEventName(config.analytics, config.logUiEventName, getString(R.string.egab_guide));
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue