boolean handleStaticBroadcast(int appId, ActivityInfo info, Intent intent, PendingResultData result) { Intent realIntent = intent.getParcelableExtra("_VA_|_intent_"); ComponentName component = intent.getParcelableExtra("_VA_|_component_"); int userId = intent.getIntExtra("_VA_|_user_id_", VUserHandle.USER_NULL); if (realIntent == null) { return false; } if (userId < 0) { VLog.w(TAG, "Sent a broadcast without userId " + realIntent); return false; } int vuid = VUserHandle.getUid(userId, appId); return handleUserBroadcast(vuid, info, component, realIntent, result); }
boolean handleStaticBroadcast(int appId, ActivityInfo info, Intent intent, PendingResultData result) { Intent realIntent = intent.getParcelableExtra("_VA_|_intent_"); ComponentName component = intent.getParcelableExtra("_VA_|_component_"); int userId = intent.getIntExtra("_VA_|_user_id_", VUserHandle.USER_NULL); if (realIntent == null) { return false; } if (userId < 0) { VLog.w(TAG, "Sent a broadcast without userId " + realIntent); return false; } int vuid = VUserHandle.getUid(userId, appId); return handleUserBroadcast(vuid, info, component, realIntent, result); }
boolean handleStaticBroadcast(int appId, ActivityInfo info, Intent intent, PendingResultData result) { Intent realIntent = intent.getParcelableExtra("_VA_|_intent_"); ComponentName component = intent.getParcelableExtra("_VA_|_component_"); int userId = intent.getIntExtra("_VA_|_user_id_", VUserHandle.USER_NULL); if (realIntent == null) { return false; } if (userId < 0) { VLog.w(TAG, "Sent a broadcast without userId " + realIntent); return false; } int vuid = VUserHandle.getUid(userId, appId); return handleUserBroadcast(vuid, info, component, realIntent, result); }