Merge "Warn makeDefault ignored for system settings only if true"
This commit is contained in:
committed by
Android (Google) Code Review
commit
2b8dfa1127
@@ -355,9 +355,11 @@ final public class SettingsService extends Binder {
|
||||
final String callPutCommand;
|
||||
if ("system".equals(table)) {
|
||||
callPutCommand = Settings.CALL_METHOD_PUT_SYSTEM;
|
||||
makeDefault = false;
|
||||
getOutPrintWriter().println("Ignored makeDefault - "
|
||||
+ "doesn't apply to system settings");
|
||||
if (makeDefault) {
|
||||
getOutPrintWriter().print("Ignored makeDefault - "
|
||||
+ "doesn't apply to system settings");
|
||||
makeDefault = false;
|
||||
}
|
||||
} else if ("secure".equals(table)) callPutCommand = Settings.CALL_METHOD_PUT_SECURE;
|
||||
else if ("global".equals(table)) callPutCommand = Settings.CALL_METHOD_PUT_GLOBAL;
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user