获取服务调用者的包名

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

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