| Index: content/common/android/device_telephony_info.cc
|
| diff --git a/content/common/android/device_telephony_info.cc b/content/common/android/device_telephony_info.cc
|
| index 1fc10aca3296b34b718d07d495b99035927677f1..f861fe0a633b153ae8266fb6129692689dcbe806 100644
|
| --- a/content/common/android/device_telephony_info.cc
|
| +++ b/content/common/android/device_telephony_info.cc
|
| @@ -31,6 +31,13 @@ std::string DeviceTelephonyInfo::GetNetworkCountryIso() {
|
| return ConvertJavaStringToUTF8(result);
|
| }
|
|
|
| +std::string DeviceTelephonyInfo::GetNetworkOperator() {
|
| + JNIEnv* env = AttachCurrentThread();
|
| + ScopedJavaLocalRef<jstring> result =
|
| + Java_DeviceTelephonyInfo_getNetworkOperator(env, j_device_info_.obj());
|
| + return ConvertJavaStringToUTF8(result);
|
| +}
|
| +
|
| // static
|
| bool DeviceTelephonyInfo::RegisterDeviceTelephonyInfo(JNIEnv* env) {
|
| return RegisterNativesImpl(env);
|
|
|