skysign
skysign

Reputation: 1124

Where is implementation of 'hasSystemFeature()' method?

I'd like to see implementation of 'hasSystemFeature()' method. Please inform me where the implementation is.

Upvotes: 2

Views: 763

Answers (1)

Jeremy Roman
Jeremy Roman

Reputation: 16355

The usual implementation calls through to the package manager service. Its implementation of hasSystemFeature() is at services/java/com/android/server/pm/PackageManagerService.java in the Android base platform frameworks repository.

Upvotes: 1

Related Questions