I'm currently trying to implement native battery percentage into my source built ROM, but keep running into errors. Mainly, this one:
I look at other developers' code and they all have that period there so I am not sure why it is an error for me. Must do more research.
Code:
packages/apps/Settings/src/com/android/settings/rascarlo/StatusBarSettings.java:103: cannot find symbol
symbol : method isPhone(android.app.Activity)
location: class com.android.settings.Utils
if (!Utils.isPhone(getActivity())) {
^
I look at other developers' code and they all have that period there so I am not sure why it is an error for me. Must do more research.