Fix some warnings
This commit is contained in:
parent
661ef08e58
commit
2dbf4b2a23
|
@ -2,6 +2,8 @@
|
|||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="eu.worn.apps.androvac">
|
||||
|
||||
<uses-permission android:name="android.permission.TRANSMIT_IR" />
|
||||
|
||||
<application
|
||||
android:allowBackup="true"
|
||||
android:icon="@mipmap/ic_launcher"
|
||||
|
@ -18,6 +20,4 @@
|
|||
</activity>
|
||||
</application>
|
||||
|
||||
<uses-permission android:name="android.permission.TRANSMIT_IR" />
|
||||
|
||||
</manifest>
|
|
@ -9,7 +9,7 @@ public class AndroidIRBeamer implements IRBeamer {
|
|||
|
||||
public AndroidIRBeamer(Activity act) {
|
||||
Context ctx = act.getApplicationContext();
|
||||
cim = (ConsumerIrManager) ctx.getSystemService(ctx.CONSUMER_IR_SERVICE);
|
||||
cim = (ConsumerIrManager) ctx.getSystemService(Context.CONSUMER_IR_SERVICE);
|
||||
}
|
||||
|
||||
public boolean isAvailable() { return cim.hasIrEmitter(); }
|
||||
|
|
|
@ -5,7 +5,7 @@ import java.util.Calendar;
|
|||
public class RoboVac11sRemote {
|
||||
public IRModulation modulation = new EufyIRModulation();
|
||||
|
||||
private Calendar schedule = null;
|
||||
private Calendar schedule;
|
||||
|
||||
private byte[] buildMessage(byte command) {
|
||||
byte msg[] = new byte[6];
|
||||
|
|
Loading…
Reference in New Issue