1

我正在对以下行进行代码清理并使用 Android Studio 的检查/分析功能:

getWindow().getDecorView().setImportantForAutofill(android.view.View.IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS);

它大喊“Android Lint:安全错误常量”,可笑的是:

必须是以下之一:android.view.View.IMPORTANT_FOR_AUTOFILL_AUTO、android.view.View.IMPORTANT_FOR_AUTOFILL_YES、android.view.View.IMPORTANT_FOR_AUTOFILL_NO、android.view.View.IMPORTANT_FOR_AUTOFILL_YES_EXCLUDE_DESCENDANTS、android.view.View.IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS

这是Android的某种已知错误吗,您以前有什么想法或见过吗?

4

0 回答 0