commit | 4db614dbed10e74285eaa6d0e56c3e79a4afecc0 | [log] [tgz] |
---|---|---|
author | John Spurlock <jspurlock@google.com> | Thu Jun 27 10:15:19 2013 -0400 |
committer | John Spurlock <jspurlock@google.com> | Thu Jun 27 10:21:39 2013 -0400 |
tree | 6c8476d4235e96991dcc4588f97cffd6713ef886 | |
parent | 86bebb4c78ffb1c2968f90841a65c07f81ba664b [diff] |
Add sanity check inside ServiceMonitor's setting observer. When registering for a specific setting key uri, the observer can also be called back for "parent uri" updates. e.g. adb shell content update --uri content://settings/secure will trigger onChange with uri=content://settings/secure. Add a quick setting value recheck, and avoid restarting if the setting value change will have no impact. Bug: 9595731 Change-Id: I4c71f6a4be3b655b31d2535e809bb42edd931cd6