commit | 351c2c21693c4e7b40b8f6a1ca650d5291731df0 | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Sat Mar 18 16:48:02 2017 -0600 |
committer | Jeff Sharkey <jsharkey@android.com> | Sat Mar 18 16:48:04 2017 -0600 |
tree | 511765ed1da0d47ef22c358d984e085d048698f3 | |
parent | cf2c279a2320de6d81f7fffa4ddfd9780abe1e20 [diff] |
Grumble, apps should check features before using. Turns out several apps are blindly grabbing a FINGERPRINT_SERVICE reference without checking to see if the device actually includes that feature. Hand pre-O apps a stubbed out Manager instance, but keep the new ServiceNotFoundException behavior intact going forward, since it prevents race conditions during boot or Binder service restarts. Test: builds, boots Bug: 32566669 Change-Id: Id1c0873e98e59b255f32e0f9204f4525a345f9ef