Permission Manager
Add permission manager from Itinerary so that Android permissions can be checked. Note at the moment the request permission functions are not hooked up so on Android the permission will need to be manually set on. I'll hook this up later but I wanted to confirm my suspicion on notifications being the current cause of crashes.
This commit is contained in:
25
src/kandroidextras/android/context.h
Normal file
25
src/kandroidextras/android/context.h
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
SPDX-FileCopyrightText: 2020 Volker Krause <vkrause@kde.org>
|
||||
|
||||
SPDX-License-Identifier: LGPL-2.0-or-later
|
||||
*/
|
||||
|
||||
#ifndef KANDROIDEXTRAS_CONTEXT_H
|
||||
#define KANDROIDEXTRAS_CONTEXT_H
|
||||
|
||||
#include "kandroidextras_export.h"
|
||||
|
||||
class QJniObject;
|
||||
|
||||
namespace KAndroidExtras
|
||||
{
|
||||
|
||||
/** Methods around android.content.Context. */
|
||||
namespace Context
|
||||
{
|
||||
KANDROIDEXTRAS_EXPORT QJniObject getPackageName();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#endif // KANDROIDEXTRAS_CONTEXT_H
|
||||
Reference in New Issue
Block a user