use of com.android.launcher3.util.ConfigMonitor in project Neo-Launcher by NeoApplications.
the class InvariantDeviceProfile method apply.
private void apply(Context context, int changeFlags) {
// Create a new config monitor
mConfigMonitor.unregister();
mConfigMonitor = new ConfigMonitor(context, this::onConfigChanged);
for (OnIDPChangeListener listener : mChangeListeners) {
listener.onIdpChanged(changeFlags, this);
}
}
use of com.android.launcher3.util.ConfigMonitor in project android_packages_apps_Trebuchet by LineageOS.
the class InvariantDeviceProfile method apply.
private void apply(Context context, int changeFlags) {
// Create a new config monitor
mConfigMonitor.unregister();
mConfigMonitor = new ConfigMonitor(context, this::onConfigChanged);
for (OnIDPChangeListener listener : mChangeListeners) {
listener.onIdpChanged(changeFlags, this);
}
}
Aggregations