add getInstance() for back-compat
This commit is contained in:
parent
15663ef35c
commit
fadcfdcbf5
|
@ -27,6 +27,13 @@ public class EventLogThread implements Runnable {
|
||||||
private String logName = EventLog.APPLICATION;
|
private String logName = EventLog.APPLICATION;
|
||||||
private long interval = DEFAULT_INTERVAL;
|
private long interval = DEFAULT_INTERVAL;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated
|
||||||
|
*/
|
||||||
|
public static EventLogThread getInstance() {
|
||||||
|
return getInstance(EventLog.APPLICATION);
|
||||||
|
}
|
||||||
|
|
||||||
public static EventLogThread getInstance(String name) {
|
public static EventLogThread getInstance(String name) {
|
||||||
EventLogThread instance;
|
EventLogThread instance;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue