Skip to content

Syntax Error in PrivacyLocationManager? #10

@mateor

Description

@mateor

I think that there is an error regarding the placement of brackets in the PrivacyLocationManager. Maybe my eyes are playing tricks on me, because I have been fixing up the code for hours.

But it looks like the requestLocationUpdates method has a closing bracket out of place. I am trying to get the long lines gone and there is an overabundance of nesting in this class, I was thinking about refactoring it while I was just getting rid of the tabs.

Look at the top of that method, there are two opening braces at the top, for PendingIntent and synchronized (lock). I think that one of the related closing brackets is in front of the } catch (PrivacyServiceException e) { line. I do not see where that goes anyhow.

I will push some commits tonight. They are only clean up and style commits for right now, since I am adding the merge feature by feature. I am almost done with a commit adding the PrivacyDebugger, which I will push for review afterwards. But I will present what i think is the fix then.

Anyway, if someone could look over either my clean up or the original (maybe in the straight PDroid2.0 branch, which is jb-mr1-release-pdroid2.0 branch.

we have a long standing bug in Cell Tower Location as well, which makes this doubly suspicious. But maybe I am playing tricks with myself and ten hours of managing indents has me unneccessarily paranoid.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions