Add @SystemService support for new services in API 21 and 22#1379
Add @SystemService support for new services in API 21 and 22#1379yDelouis merged 2 commits intoandroidannotations:developfrom
Conversation
There was a problem hiding this comment.
There was a problem hiding this comment.
no issue. just saw that and wonderd what it means. i'm ok with it if it works. have you tested to use that to inject a field? i once played with an hidden api and had to use reflection to use it as the android.jar that is used for compilation did not contain the method.
There was a problem hiding this comment.
No, these services are intended for custom Android builds. See the release notes:
and even hidden system services (useful for custom Android builds)
Actually these Services classes are not available in the normal android.jar at compile time, so this only works if you are building against the AOSP tree or you create a custom internal jar.
There was a problem hiding this comment.
Actually i just noticed that i missed some of the new hidden services. I will add them later today.
|
ah okay. so these are support for those who do "special" apps ;) then its ok. |
f03584a to
5f82cee
Compare
|
PR updated. |
Add @SystemService support for new services in API 21 and 22
|
Thanks. |
Implements #1378.