system_properties: Fix FnMut/FnOnce type mismatch

This was technically unsound, and just happened to work until rustc
1.56.1, at which point something got smart enough to realize these
types did not match and optimize based on that.

Test: Launch keystore2 with rustc 1.56.1
Change-Id: I3206a86e699c5caf69c665f46588c49ae1a17d26
1 file changed
tree: aba8b8eeb6b2011b99b417140fe51db3f23b3e54
  1. bindgen/
  2. Android.bp
  3. lib.rs
  4. OWNERS
  5. system_properties.rs
  6. users.rs