diff options
author | Euisang Lim <eui-sang.lim@samsung.com> | 2015-10-26 21:19:12 +0900 |
---|---|---|
committer | Euisang Lim <eui-sang.lim@samsung.com> | 2015-11-03 11:54:14 +0900 |
commit | 8eaef57f27db50d54be7e7955486dc22dde6c9f2 (patch) | |
tree | 043a2a171d3f97aff4e30ed44f691c4496a3c41f /res | |
parent | 4e9bcb71eb88de0e4d91b126e31925725f7c483a (diff) | |
download | HTMLViewer-8eaef57f27db50d54be7e7955486dc22dde6c9f2.tar.gz |
Reload data after the permission is granted
HTMLViewer tries to load data even if the permission is denied.
It just shows up 'Webpage not available', so users can't notice
that this is the permission problem. It would be better to check
if the data has file scheme and show dialog to check permission.
HTMLViewer gets closed and shows toast message if permission is denied.
On the other hand, it reloads data if permission is granted by a user.
Change-Id: I26ad05136194cb36d4a17d3a8ab1a3fd2b5dfeb5
Signed-off-by: Euisang Lim <eui-sang.lim@samsung.com>
Diffstat (limited to 'res')
-rw-r--r-- | res/values/strings.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml index 5f3a124..28b5a6f 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -18,5 +18,6 @@ <!-- Title of the HTML Viewer activity. --> <string name="app_label">HTML Viewer</string> <string name="cannot_open_link">No application can open this link.</string> + <string name="turn_on_storage_permission">Please turn on Storage permission in app permissions.</string> </resources> |