10000 Fix BLUETOOTH_SERVICE injection by WonderCsabo · Pull Request #1224 · 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

Fixes #1221.

Due to a documentation error we now want to inject BluetoothAdapter
for this constant, but the right class is BluetoothManager.

https://code.google.com/p/android/issues/detail?id=62866
@WonderCsabo
Copy link
Member Author

@itavero can you test this PR?

@itavero
Copy link
itavero commented Nov 9, 2014

Seems to work just fine with the code I was talking about in #1221
Thanks! 👍

@WonderCsabo
Copy link
Member Author

You mean this?:

@SystemService
BluetoothManager bluetoothManager;

@itavero
Copy link
itavero commented Nov 9, 2014

Yeah, sorry about that. I meant that the application I was working on, now works with @SystemService to get a BluetoothManager (like the example code you have provided).

@WonderCsabo
Copy link
Member Author

Great, thanks for testing. I'll merge this PR later today, so you can use it from the snapshot release.

WonderCsabo added a commit that referenced this pull request Nov 14, 2014
@WonderCsabo WonderCsabo merged commit bc91f76 into androidannotations:develop Nov 14, 2014
@WonderCsabo WonderCsabo deleted the 1221_fixBluetoothSystemService branch November 14, 2014 15:14
@WonderCsabo WonderCsabo added this to the 3.3 milestone Nov 14, 2014
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.

SystemService annotation does not recognize BluetoothAdapter

2 participants

0