commit | 898c13df7b9b12ff10062f3542593e12fbe0c119 | [log] [tgz] |
---|---|---|
author | Adam Lesinski <adamlesinski@google.com> | Tue Jan 28 15:34:50 2014 -0800 |
committer | Adam Lesinski <adamlesinski@google.com> | Wed Feb 05 19:26:40 2014 +0000 |
tree | 323bc4d7da06b48af2079f44c5f8d346d265e956 | |
parent | df88d73092c62a1a3cd2b2056ca63ae2e70cc238 [diff] |
Check feature bits before loading optional services At startup, we check with PackageManager whether a system service is available before attempting to load it. A system service is available if its associated feature (similar to hardware features) is present. This does not remove unavailable services from the compiled jar. Change-Id: I13571805083aa4e65519a74acb52efd17b9fb3d7