Merge branch 'SimpleMobileTools:master' into duplication_fixes
This commit is contained in:
commit
f48b63b97a
140 changed files with 116 additions and 109 deletions
|
|
@ -158,6 +158,12 @@ class MainActivity : SimpleActivity() {
|
|||
handlePermission(PERMISSION_SEND_SMS) {
|
||||
if (it) {
|
||||
handlePermission(PERMISSION_READ_CONTACTS) {
|
||||
handleNotificationPermission { granted ->
|
||||
if (!granted) {
|
||||
toast(R.string.no_post_notifications_permissions)
|
||||
}
|
||||
}
|
||||
|
||||
initMessenger()
|
||||
bus = EventBus.getDefault()
|
||||
try {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue