commit | 13715d521f340d24f1de6e06ceaaf2a945910c0d | [log] [tgz] |
---|---|---|
author | Todd Kennedy <toddke@google.com> | Mon Aug 01 13:38:57 2016 -0700 |
committer | Todd Kennedy <toddke@google.com> | Thu Aug 04 10:38:39 2016 -0700 |
tree | 4a03129ffdc5da28d05549aafc697a60db734a89 | |
parent | 347117f556afe91e943d1139867c33d964d94b43 [diff] |
Break out static update method Simply getting package settings could changes stored state. Break out the majority of the method to modify local variables and not change any stored state. The top-level getPackageLPw() method will still mutate stored state. This will be changed in a future CL. Also add a set of tests to verify the behaviour of updatePackageSetting() Bug: 30219944 Change-Id: I3360a36ce238e816246ee8ca7ecabfbbcdf0b89d