You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
map Android UnifiedPush to DBus UnifiedPush
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
package android.os;
|
||||
|
||||
import android.content.Context;
|
||||
|
||||
public class Binder implements IBinder {
|
||||
|
||||
public void attachInterface(IInterface owner, String descriptor) {}
|
||||
@@ -16,7 +18,7 @@ public class Binder implements IBinder {
|
||||
@Override
|
||||
public boolean transact(int code, Parcel data, Parcel reply, int flags) { return false; }
|
||||
|
||||
public static int getCallingUid() { return 0; }
|
||||
public static int getCallingUid() { return Context.this_application.getApplicationInfo().uid; }
|
||||
|
||||
public static int getCallingPid() { return 0; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user