Use a BroadcastReceiver to get the battery info instead of polling
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
package org.meumeu.wivrn;
|
||||
|
||||
public class BroadcastReceiver extends android.content.BroadcastReceiver
|
||||
{
|
||||
@Override
|
||||
public native void onReceive(android.content.Context ctxt, android.content.Intent intent);
|
||||
}
|
||||
Reference in New Issue
Block a user