frameworks中Intent中添加了
@SdkConstant(SdkConstantType.INTENT_CATEGORY)
public static final String CATEGORY_HOME_UNIQUE = "android.intent.category.HOME_UNIQUE";
make clean;make update-api后为什么还是提示
frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/AppCompatibility.java:126: cannot find symbol
symbol : variable CATEGORY_HOME_UNIQUE
location: class android.content.Intent
homeIntent.addCategory(Intent.CATEGORY_HOME_UNIQUE);
^
1 error
frameworks/base/api/current.txt文件中已经添加进去了
field public static final java.lang.String CATEGORY_HOME_UNIQUE = "android.intent.category.HOME_UNIQUE";
该如何解决呢?