You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ 0% 9/2002] Checking API: checkpublicapi-current
FAILED: /home/developer/android/omniROM90/out/target/common/obj/PACKAGING/checkpublicapi-current-timestamp
/bin/bash -c "(( /home/developer/android/omniROM90/out/host/linux-x86/bin/apicheck -JXmx1024m -J\"classpath /home/developer/android/omniROM90/out/host/linux-x86/framework/doclava.jar:/home/developer/android/omniROM90/out/host/linux-x86/framework/jsilver.jar:prebuilts/jdk/jdk8/linux-x86/lib/tools.jar:)\" -error 2 -error 3 -error 4 -error 5 -error 6 -error 7 -error 8 -error 9 -error 10 -error 11 -error 12 -error 13 -error 14 -error 15 -error 16 -error 17 -error 18 -error 19 -error 20 -error 21 -error 23 -error 24 -error 25 -error 26 -error 27 frameworks/base/api/current.txt /home/developer/android/omniROM90/out/target/common/obj/PACKAGING/public_api.txt frameworks/base/api/removed.txt /home/developer/android/omniROM90/out/target/common/obj/PACKAGING/removed.txt || ( cat build/make/core/apicheck_msg_current.txt ; exit 38 ) ) ) && (mkdir -p /home/developer/android/omniROM90/out/target/common/obj/PACKAGING/ ) && (touch /home/developer/android/omniROM90/out/target/common/obj/PACKAGING/checkpublicapi-current-timestamp )"
/home/developer/android/omniROM90/out/target/common/obj/PACKAGING/public_api.txt:32074: error 5: Added public field android.os.BatteryManager.BATTERY_PLUGGED_MOD
/home/developer/android/omniROM90/out/target/common/obj/PACKAGING/public_api.txt:32079: error 5: Added public field android.os.BatteryManager.BATTERY_PROPERTY_CHARGE_FULL
/home/developer/android/omniROM90/out/target/common/obj/PACKAGING/public_api.txt:32083: error 5: Added public field android.os.BatteryManager.BATTERY_PROPERTY_MOD_CHARGE_FULL
/home/developer/android/omniROM90/out/target/common/obj/PACKAGING/public_api.txt:32094: error 5: Added public field android.os.BatteryManager.EXTRA_MOD_FLAG
/home/developer/android/omniROM90/out/target/common/obj/PACKAGING/public_api.txt:32095: error 5: Added public field android.os.BatteryManager.EXTRA_MOD_LEVEL
/home/developer/android/omniROM90/out/target/common/obj/PACKAGING/public_api.txt:32096: error 5: Added public field android.os.BatteryManager.EXTRA_MOD_POWER_SOURCE
/home/developer/android/omniROM90/out/target/common/obj/PACKAGING/public_api.txt:32097: error 5: Added public field android.os.BatteryManager.EXTRA_MOD_STATUS
/home/developer/android/omniROM90/out/target/common/obj/PACKAGING/public_api.txt:32098: error 5: Added public field android.os.BatteryManager.EXTRA_MOD_TYPE
/home/developer/android/omniROM90/out/target/common/obj/PACKAGING/public_api.txt:32100: error 5: Added public field android.os.BatteryManager.EXTRA_PLUGGED_RAW
******************************
You have tried to change the API from what has been previously approved.
To make these errors go away, you have two choices:
1) You can add "@hide" javadoc comments to the methods, etc. listed in the
errors above.
2) You can update current.txt by executing the following command:
make update-api
To submit the revised current.txt to the main Android repository,
you will need approval.
******************************
The text was updated successfully, but these errors were encountered:
omnirom/android_frameworks_base@7373ed1
https://gerrit.omnirom.org/#/c/android_frameworks_base/+/34034/
The text was updated successfully, but these errors were encountered: