commit | b224f0ae07dd86cd7493bd497e1174db52b3782d | [log] [tgz] |
---|---|---|
author | Robin Lee <rgl@google.com> | Tue Aug 12 17:31:40 2014 +0100 |
committer | Kenny Root <kroot@google.com> | Wed Aug 13 09:51:18 2014 -0700 |
tree | bf74876166fd7d65d21bfb53fda8a7cf372b010d | |
parent | cf5a7fc9fbaa8a084fb874ad2d6780c6914cd278 [diff] |
Correct double-convert from uid to userid This was making readMasterKey and writeMasterKey always operate on user 0, because of a double-division - getUserState(*) already takes into account that the argument is a uid. Fixes a number of issues related to multi-user and keystore; works toward fixing bug 16233206. (cherry picked from commit 50122db50bcb6c1aab50ef235c8f9d264b50e97a) Change-Id: Ia1434fd0d076b0c36d383ff7390b17c78d7811b5