8000 Add @SystemService support for new services in API 21 and 22 by WonderCsabo · Pull Request #1379 · androidannotations/androidannotations · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Feb 26, 2023. It is now read-only.

Conversation

@WonderCsabo
Copy link
Member
8000

Implements #1378.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hidden API?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually i just noticed that i missed some of the new hidden services. I will add them later today.

@dodgex
Copy link
Member
dodgex commented Apr 24, 2015

ah okay. so these are support for those who do "special" apps ;) then its ok.

@WonderCsabo
Copy link
Member Author

PR updated.

yDelouis added a commit that referenced this pull request Apr 28, 2015
Add @SystemService support for new services in API 21 and 22
@yDelouis yDelouis merged commit f699ebf into androidannotations:develop Apr 28, 2015
@yDelouis yDelouis added this to the 3.3 milestone Apr 28, 2015
@yDelouis
Copy link
Contributor

Thanks.

@WonderCsabo WonderCsabo deleted the 1378_newServices branch April 28, 2015 13:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

0