Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update of TalkingDialer Deprecated Code in ShakeDetector #28

Closed
GoogleCodeExporter opened this issue Apr 5, 2016 · 1 comment
Closed

Comments

@GoogleCodeExporter
Copy link

I've updated the ShakeDetector.java code to remove deprecated method usage, 
and replace it with up to date methods.

I'm building against Android 1.6. As far as I know, this is the minimum 
required API to correctly use Talking Dialer, if I am in error, please let 
me know.

I've attached a diff file & the source, which has a list of all purposed 
changes, but in general the SensorListener class has been deprecated in 
favor of SensorEventListener. I've updated the ShakeDetector class to use 
the new class, along with properly updated methods.

Lastly, the registerListener methdor has been updated to the non-deprecated 
version.

I tested this build on my G1 and everything seems to be working fine. If 
there is anything I need to change, please let me know.

If there is anything wrong with my submission, please inform me and I will 
fix it.

Thank you.

Original issue reported on code.google.com by justinbb...@gmail.com on 6 Apr 2010 at 3:02

Attachments:

@GoogleCodeExporter
Copy link
Author

Patch accepted. Committed as part of
http://code.google.com/p/eyes-free/source/detail?r=595

Original comment by clc...@google.com on 16 Apr 2010 at 11:01

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant