Android: make internal Java code for QtAndroidExtras private
This Java code is mainly an internal implementation detail for the Qt for Android plugin, and isn't meant to be public in the first place. Task-number: QTBUG-126371 Change-Id: Ic111439a929fa5ad05aca98dd7fa024791a00883 Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io> (cherry picked from commit eb4e417ef64b832cddfb60fb9e20b0a04ec1ad2a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>bb10
parent
96c7ad3590
commit
5888465f16
|
|
@ -11,12 +11,12 @@ import org.qtproject.qt.android.UsedFromNativeCode;
|
|||
class QtAndroidBinder extends Binder
|
||||
{
|
||||
@UsedFromNativeCode
|
||||
public QtAndroidBinder(long id)
|
||||
QtAndroidBinder(long id)
|
||||
{
|
||||
m_id = id;
|
||||
}
|
||||
|
||||
public void setId(long id)
|
||||
void setId(long id)
|
||||
{
|
||||
synchronized(this)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -12,12 +12,12 @@ import org.qtproject.qt.android.UsedFromNativeCode;
|
|||
class QtAndroidServiceConnection implements ServiceConnection
|
||||
{
|
||||
@UsedFromNativeCode
|
||||
public QtAndroidServiceConnection(long id)
|
||||
QtAndroidServiceConnection(long id)
|
||||
{
|
||||
m_id = id;
|
||||
}
|
||||
|
||||
public void setId(long id)
|
||||
void setId(long id)
|
||||
{
|
||||
synchronized(this)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -8,10 +8,10 @@ import android.os.Parcel;
|
|||
|
||||
class QtNative {
|
||||
// Binder
|
||||
public static native boolean onTransact(long id, int code, Parcel data, Parcel reply, int flags);
|
||||
static native boolean onTransact(long id, int code, Parcel data, Parcel reply, int flags);
|
||||
|
||||
|
||||
// ServiceConnection
|
||||
public static native void onServiceConnected(long id, String name, IBinder service);
|
||||
public static native void onServiceDisconnected(long id, String name);
|
||||
static native void onServiceConnected(long id, String name, IBinder service);
|
||||
static native void onServiceDisconnected(long id, String name);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue