aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/de/pixart/messenger')
-rw-r--r--src/main/java/de/pixart/messenger/ui/ConversationFragment.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/ConversationFragment.java b/src/main/java/de/pixart/messenger/ui/ConversationFragment.java
index dfc1d4d78..743c96826 100644
--- a/src/main/java/de/pixart/messenger/ui/ConversationFragment.java
+++ b/src/main/java/de/pixart/messenger/ui/ConversationFragment.java
@@ -1658,6 +1658,9 @@ public class ConversationFragment extends XmppFragment implements EditMessage.Ke
res = R.string.no_microphone_permission;
} else if (Manifest.permission.CAMERA.equals(firstDenied)) {
res = R.string.no_camera_permission;
+ } else if (Manifest.permission.ACCESS_COARSE_LOCATION.equals(firstDenied)
+ || Manifest.permission.ACCESS_FINE_LOCATION.equals(firstDenied)) {
+ res = R.string.no_location_permission;
} else {
res = R.string.no_storage_permission;
}