map Android UnifiedPush to DBus UnifiedPush

This commit is contained in:
Julian Winkler
2025-04-21 07:31:06 +02:00
parent ec45faaf87
commit e652089252
12 changed files with 211 additions and 1 deletions

View File

@@ -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; }
}