You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
add more APIs needed for NewPipe
This commit is contained in:
@@ -1,5 +1,19 @@
|
||||
package android.net.wifi;
|
||||
|
||||
public class WifiManager {
|
||||
|
||||
|
||||
public class WifiLock {
|
||||
|
||||
public void setReferenceCounted(boolean referenceCounted) {}
|
||||
|
||||
public void release() {}
|
||||
|
||||
public void acquire() {}
|
||||
|
||||
public boolean isHeld() { return false; }
|
||||
}
|
||||
|
||||
public WifiLock createWifiLock(int lockType, String tag) {
|
||||
return new WifiLock();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user