获取服务调用者的包名

context.getPackageManager().getNameForUid(Binder.getCallingUid());

posted @ 2018-09-17 13:45  来错人间的幽魂  阅读(958)  评论(0编辑  收藏  举报