mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
remove meanwhile superfluous data2IsString() (#2418)
This commit is contained in:
@@ -1961,12 +1961,3 @@ JNIEXPORT jstring Java_com_b44t_messenger_DcProvider_getOverviewPage(JNIEnv *env
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
* Tools
|
||||
******************************************************************************/
|
||||
|
||||
JNIEXPORT jboolean Java_com_b44t_messenger_DcContext_data2IsString(JNIEnv *env, jclass cls, jint event)
|
||||
{
|
||||
return DC_EVENT_DATA2_IS_STRING(event);
|
||||
}
|
||||
|
||||
@@ -237,9 +237,6 @@ public class DcContext {
|
||||
*/
|
||||
public native boolean setLocation (float latitude, float longitude, float accuracy);
|
||||
|
||||
// helper to get/return strings from/to handleEvent()
|
||||
public native static boolean data2IsString(int event);
|
||||
|
||||
// working with raw c-data
|
||||
private long contextCPtr; // CAVE: the name is referenced in the JNI
|
||||
private native long createContextCPtr(String osName, String dbfile);
|
||||
|
||||
Reference in New Issue
Block a user