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.

Change-Id: Ia1434fd0d076b0c36d383ff7390b17c78d7811b5
1 file changed
tree: bf74876166fd7d65d21bfb53fda8a7cf372b010d
  1. keystore/
  2. keystore-engine/
  3. softkeymaster/