am 2368d045
: Merge change 6440 into donut
Merge commit '2368d0455ccae5e373fe79c66c1f6ce1ce0a3c72' * commit '2368d0455ccae5e373fe79c66c1f6ce1ce0a3c72': Trigger backup of locale change.
This commit is contained in:
committed by
The Android Open Source Project
commit
931d63672b
@@ -19,6 +19,7 @@ package com.android.settings;
|
||||
import android.app.ActivityManagerNative;
|
||||
import android.app.IActivityManager;
|
||||
import android.app.ListActivity;
|
||||
import android.backup.BackupManager;
|
||||
import android.content.res.Configuration;
|
||||
import android.os.Bundle;
|
||||
import android.os.RemoteException;
|
||||
@@ -158,6 +159,8 @@ public class LocalePicker extends ListActivity {
|
||||
config.userSetLocale = true;
|
||||
|
||||
am.updateConfiguration(config);
|
||||
// Trigger the dirty bit for the Settings Provider.
|
||||
BackupManager.dataChanged("com.android.providers.settings");
|
||||
} catch (RemoteException e) {
|
||||
// Intentionally left blank
|
||||
}
|
||||
|
Reference in New Issue
Block a user