зеркало из https://github.com/mozilla/pluotsorbet.git
Merge pull request #600 from marco-c/nokia_DeviceControl
Add Nokia-specific DeviceControl class
This commit is contained in:
Коммит
2ad1bb3f8c
|
@ -0,0 +1,32 @@
|
|||
package com.nokia.mid.ui;
|
||||
|
||||
public class DeviceControl {
|
||||
public static final int KEYMAT_ALPHANUMERIC = 2;
|
||||
public static final int KEYMAT_DEFAULT = 0;
|
||||
public static final int KEYMAT_NUMERIC = 1;
|
||||
public static final int KEYMAT_OFF = 3;
|
||||
|
||||
public static void setLights(int num, int level) {
|
||||
throw new RuntimeException("DeviceControl::setLights(int,int) not implemented");
|
||||
}
|
||||
|
||||
public static void flashLights(long duration) {
|
||||
throw new RuntimeException("DeviceControl::flashLights(long) not implemented");
|
||||
}
|
||||
|
||||
public static void startVibra(int freq, long duration) {
|
||||
System.out.println("DeviceControl::startVibra(int,long) not implemented");
|
||||
}
|
||||
|
||||
public static void stopVibra() {
|
||||
System.out.println("DeviceControl::stopVibra() not implemented");
|
||||
}
|
||||
|
||||
public static int getUserInactivityTime() {
|
||||
throw new RuntimeException("DeviceControl::getUserInactivityTime() not implemented");
|
||||
}
|
||||
|
||||
public static void resetUserInactivityTime() {
|
||||
throw new RuntimeException("DeviceControl::resetUserInactivityTime() not implemented");
|
||||
}
|
||||
}
|
Загрузка…
Ссылка в новой задаче