Hacker News new | comments | show | ask | jobs | submit login

Actually, to me it sounds like a bug with Swype when location access is blocked. The users in the thread with the large amount of requests all have the location permission blocked.

Other users with Privacy Guard installed as well (so they can see the amount of location requests) who have not blocked location access report that it only made the request once.

So it just sounds like if it fails the initial request it continues to retry every few minutes. In my opinion it seems like a bug rather then anything malicious.

However the posters in the thread do have a good point that there is really no reason for Swype to even need this permission.




possibly. but its every 20 seconds, not every few minutes…

4000 / 24 * 60 = 4000 / 1440 = 2.777 => 60 / 2.7 = 21 seconds


If Swype tried to get your location every 20 seconds on purpose, it would drain you battery within a few hours.


If it was successful it would drain your battery, failed attempts should cost almost nothing so this fits with the bug theory.


That's exactly the point I'm trying to make.

Accessing GPS every 20 secs just can't be what they had in mind when they implemented it. (not even in case it fails, because it would prevent the CPU from going into deep sleep, which saves battery)

What I believe is happening:

The developers of Swype didn't test for that error, because Google Play filters the app for all devices that don't have GPS, so the device is expected to have the hardware and to return some specific error in case it doesn't work (GPS turned off and so on)

And the CyanogenMod privacy feature interferes in a way, that causes an unexpected error that they didn't account for.

Combine that with the lack of an exponential backoff and you'll get this result.


This is a problem with a lot of the enhancements that custom ROMs provide on Android. They break the API contract a developer has with the SDK and unexpected things happen. It's the reason all these ROMs aren't allowed to ship with Google Apps installed -- they fail the compatibility test. Most developer don't bother to investigate these issues and work around it because they're rarely documented and hard to discover.


Someone didn't use exponential backoff perhaps?


And then they wonder why there is no official support for permission blocking... Everything breaks when you play with this.




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: