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
41 lines
753 B
Java
41 lines
753 B
Java
package android.telephony;
|
|
|
|
import java.util.ArrayList;
|
|
import java.util.List;
|
|
|
|
public class TelephonyManager {
|
|
// FIXME: can we return null instead of ""?
|
|
public String getNetworkOperator() {
|
|
return "";
|
|
}
|
|
|
|
public String getNetworkOperatorName() {
|
|
return "";
|
|
}
|
|
|
|
public String getSimOperator() {
|
|
return "";
|
|
}
|
|
|
|
public int getPhoneType() {
|
|
return 0; // PHONE_TYPE_NONE
|
|
}
|
|
|
|
public String getNetworkCountryIso() {return "";}
|
|
public String getSimCountryIso() {return "";}
|
|
|
|
public List getNeighboringCellInfo() {
|
|
return new ArrayList(0);
|
|
}
|
|
|
|
public CellLocation getCellLocation() {
|
|
return new CellLocation();
|
|
}
|
|
|
|
public boolean isNetworkRoaming() {
|
|
return false;
|
|
}
|
|
|
|
public void listen(PhoneStateListener listener, int events) {}
|
|
}
|