use of com.android.server.location.ComprehensiveCountryDetector in project platform_frameworks_base by android.
the class CountryDetectorService method initialize.
private void initialize() {
mCountryDetector = new ComprehensiveCountryDetector(mContext);
mLocationBasedDetectorListener = new CountryListener() {
public void onCountryDetected(final Country country) {
mHandler.post(new Runnable() {
public void run() {
notifyReceivers(country);
}
});
}
};
}
use of com.android.server.location.ComprehensiveCountryDetector in project android_frameworks_base by AOSPA.
the class CountryDetectorService method initialize.
private void initialize() {
mCountryDetector = new ComprehensiveCountryDetector(mContext);
mLocationBasedDetectorListener = new CountryListener() {
public void onCountryDetected(final Country country) {
mHandler.post(new Runnable() {
public void run() {
notifyReceivers(country);
}
});
}
};
}
use of com.android.server.location.ComprehensiveCountryDetector in project android_frameworks_base by ResurrectionRemix.
the class CountryDetectorService method initialize.
private void initialize() {
mCountryDetector = new ComprehensiveCountryDetector(mContext);
mLocationBasedDetectorListener = new CountryListener() {
public void onCountryDetected(final Country country) {
mHandler.post(new Runnable() {
public void run() {
notifyReceivers(country);
}
});
}
};
}
use of com.android.server.location.ComprehensiveCountryDetector in project android_frameworks_base by ParanoidAndroid.
the class CountryDetectorService method initialize.
private void initialize() {
mCountryDetector = new ComprehensiveCountryDetector(mContext);
mLocationBasedDetectorListener = new CountryListener() {
public void onCountryDetected(final Country country) {
mHandler.post(new Runnable() {
public void run() {
notifyReceivers(country);
}
});
}
};
}
use of com.android.server.location.ComprehensiveCountryDetector in project android_frameworks_base by DirtyUnicorns.
the class CountryDetectorService method initialize.
private void initialize() {
mCountryDetector = new ComprehensiveCountryDetector(mContext);
mLocationBasedDetectorListener = new CountryListener() {
public void onCountryDetected(final Country country) {
mHandler.post(new Runnable() {
public void run() {
notifyReceivers(country);
}
});
}
};
}
Aggregations