How is android.Manifest.class created?

39 篇文章 0 订阅

参考自How is android.Manifest.class created?


感谢 stackoverflow 


when compiling AOSP there is a couple of Manifest.java files created automatically.

Manifest.class
Manifest$permission.class
Manifest$permission_group.class

Located at ./out/target/common/R/android/Manifest.java

/* AUTO-GENERATED FILE.  DO NOT MODIFY.
 *
 * This class was automatically generated by the
 * aapt tool from the resource data it found.  It
 * should not be modified by hand.
 */

package android;

public final class Manifest {
public static final class permission {
    /**  Allow an application to read and write the cache partition.
     @hide 
     */
    public static final String ACCESS_CACHE_FILESYSTEM="android.permission.ACCESS_CACHE_FILESYSTEM";
    /**  Allows read/write access to the "properties" table in the checkin
     database, to change values that get uploaded. 
     */
    public static final String ACCESS_CHECKIN_PROPERTIES="android.permission.ACCESS_CHECKIN_PROPERTIES";
    /**  Allows an application to access coarse (e.g., Cell-ID, WiFi) location 
     */
    public static final String ACCESS_COARSE_LOCATION="android.permission.ACCESS_COARSE_LOCATION";
    /**  Allows an application to access fine (e.g., GPS) location 
     */
    public static final String ACCESS_FINE_LOCATION="android.permission.ACCESS_FINE_LOCATION";
    /**  Allows an application to access extra location provider commands 
     */
    public static final String ACCESS_LOCATION_EXTRA_COMMANDS="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS";
    /**  Allows an application to create mock location providers for testing 
     */

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值