uninstall app silently with system privileges

前端 未结 4 1178
借酒劲吻你
借酒劲吻你 2020-12-01 00:22

My app have system privileges. It will be inside firmware, now it\'s located at /system/app

I was able to install apps silently with this post

install / uni

4条回答
  •  悲&欢浪女
    2020-12-01 01:13

    If you are having your app built into the system image, and you are using internal APIs, you might as well stop pretending like you are a third party app and linking against the SDK. Build against the full platform .jar and use those APIs directly. You want to do that anyway, because these are private APIs, and so they can and do change. You want to build against what is actually declaring them, so if they do change, you will catch this during your builds.

提交回复
热议问题