-
Notifications
You must be signed in to change notification settings - Fork 80
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
Kotlin and a bunch of other stuff #95
Commits on Nov 1, 2016
-
Configuration menu - View commit details
-
Copy full SHA for b760d84 - Browse repository at this point
Copy the full SHA b760d84View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1cf781b - Browse repository at this point
Copy the full SHA 1cf781bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 73eebc8 - Browse repository at this point
Copy the full SHA 73eebc8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 10a1e6a - Browse repository at this point
Copy the full SHA 10a1e6aView commit details -
change filter mode to automatic toggle and code cleanup.
Add a switch to toggle between sun and custom, not yet functional.
Configuration menu - View commit details
-
Copy full SHA for ed2ec4f - Browse repository at this point
Copy the full SHA ed2ec4fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 31b6877 - Browse repository at this point
Copy the full SHA 31b6877View commit details -
Configuration menu - View commit details
-
Copy full SHA for 52a4c39 - Browse repository at this point
Copy the full SHA 52a4c39View commit details
Commits on Nov 11, 2016
-
Mostly functional location switch. convert to kotlin because studio i…
…s stupid. Automatic conversion also automatically stages the file, making it impossible to for me to separate changes I made before converting (which were going to be in a separate commit) and the conversion itself. Thanks, Obama.
Configuration menu - View commit details
-
Copy full SHA for ed27961 - Browse repository at this point
Copy the full SHA ed27961View commit details -
Configuration menu - View commit details
-
Copy full SHA for de6b684 - Browse repository at this point
Copy the full SHA de6b684View commit details -
Configuration menu - View commit details
-
Copy full SHA for 833b34a - Browse repository at this point
Copy the full SHA 833b34aView commit details
Commits on Nov 12, 2016
-
Configuration menu - View commit details
-
Copy full SHA for a583faa - Browse repository at this point
Copy the full SHA a583faaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a341a9 - Browse repository at this point
Copy the full SHA 3a341a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1789337 - Browse repository at this point
Copy the full SHA 1789337View commit details
Commits on Nov 13, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 9876ef1 - Browse repository at this point
Copy the full SHA 9876ef1View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb3cb14 - Browse repository at this point
Copy the full SHA bb3cb14View commit details
Commits on Nov 14, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 1da9558 - Browse repository at this point
Copy the full SHA 1da9558View commit details -
Configuration menu - View commit details
-
Copy full SHA for 21069ad - Browse repository at this point
Copy the full SHA 21069adView commit details -
re-add location preference (but keep location toggle)
Add location updating, but it always fails.
Configuration menu - View commit details
-
Copy full SHA for 3f8c48a - Browse repository at this point
Copy the full SHA 3f8c48aView commit details
Commits on Nov 16, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 36be1d2 - Browse repository at this point
Copy the full SHA 36be1d2View commit details
Commits on Nov 20, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 9fd5b7a - Browse repository at this point
Copy the full SHA 9fd5b7aView commit details -
Use "usagestats" instead of constant on API 21
Although the UsageStatsManager was added in API 21, the constant to specify this service wasn't added until API 22, so on API 21 we have to use the string "usagestats" to specify the service.
Configuration menu - View commit details
-
Copy full SHA for 4c7ab46 - Browse repository at this point
Copy the full SHA 4c7ab46View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6da0a39 - Browse repository at this point
Copy the full SHA 6da0a39View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f36402 - Browse repository at this point
Copy the full SHA 6f36402View commit details
Commits on Nov 21, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 4ddce66 - Browse repository at this point
Copy the full SHA 4ddce66View commit details -
Configuration menu - View commit details
-
Copy full SHA for e1afbbc - Browse repository at this point
Copy the full SHA e1afbbcView commit details
Commits on Nov 22, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 9ca785f - Browse repository at this point
Copy the full SHA 9ca785fView commit details
Commits on Nov 30, 2016
-
Location updater changed to a service settingsmodel changed to config singleton variable name changes, notably some shades references removed; dim, intensity, and color changed to just that; automatic filter changed to time toggle and automatic suspend to secure suspend. Removed shadespresenter, merged into fragments themselves Fragments have a common superclass, eventpreferencefragment Added Util singleton changed switch to fab removed locationpref and filtertimepref, moved logic into fragment Add (currently not functional) subscriber index for performance and to get rid of compilation warnings about unused methods.
Configuration menu - View commit details
-
Copy full SHA for 3d4c47b - Browse repository at this point
Copy the full SHA 3d4c47bView commit details
Commits on Dec 1, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 9e552bb - Browse repository at this point
Copy the full SHA 9e552bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 99545a9 - Browse repository at this point
Copy the full SHA 99545a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for ff0d2b7 - Browse repository at this point
Copy the full SHA ff0d2b7View commit details
Commits on Jan 28, 2017
-
Another messy commit, sorry. Includes:
Add activities for secure suspend and time toggle prefs Change back to switch from fab Rename SettingsModel to Config and merge helper/Util into it Refactor requesting permissions (and a few other utils) into Config Add static stop(), start() and moveToState() methods on ScreenFilterService to decouple interface from implementation All events subclass an abstract Event class, for better typing Add summary for Timer A lot of cleanup. ex: get settings through Config instead of calling a function of a parent activity Add (currently unused) foundation for a SeekbarPreference class Fix filter incorrect state on start bug Rearrange ScreenFilterPresenter for easier refactoring in the future Whitespace and formatting changes to reduce verbosity Update kotlin extension to 1.0.6 and gradle to 2.2.3
Configuration menu - View commit details
-
Copy full SHA for 3be4703 - Browse repository at this point
Copy the full SHA 3be4703View commit details -
Configuration menu - View commit details
-
Copy full SHA for c0ab902 - Browse repository at this point
Copy the full SHA c0ab902View commit details -
Configuration menu - View commit details
-
Copy full SHA for 36e4293 - Browse repository at this point
Copy the full SHA 36e4293View commit details
Commits on Feb 4, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 30b93df - Browse repository at this point
Copy the full SHA 30b93dfView commit details
Commits on Feb 5, 2017
-
Fix some issues with opening Activities from prefs
It seems that there where a few things going on. First Android couldn't find the Activities, which is solved by this commit by declaring specific actions for these Activities. Furthermore, the call to actionBar.setDisplayHomeAsUpEnabled throws an RunTimeError, it seems that method is abstract for that object. Lastly, Eventbus doesn't allow classes to initialize as an event class without subscribing to any events as was the case in SecureSuspendFragment. To fix this, this commit adds one event subscription to this class and does nothing with it.
Configuration menu - View commit details
-
Copy full SHA for ef60c92 - Browse repository at this point
Copy the full SHA ef60c92View commit details
Commits on Feb 6, 2017
-
Returned to sending filter state changes via intent.
Use an enum for easier pattern matching on commandFlags. A little bit of code cleanup. Add comments in ScreenFilterPresenter about future refactoring.
Configuration menu - View commit details
-
Copy full SHA for 8d97285 - Browse repository at this point
Copy the full SHA 8d97285View commit details -
Configuration menu - View commit details
-
Copy full SHA for a15d38d - Browse repository at this point
Copy the full SHA a15d38dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 87090df - Browse repository at this point
Copy the full SHA 87090dfView commit details
Commits on Feb 7, 2017
-
Configuration menu - View commit details
-
Copy full SHA for f068484 - Browse repository at this point
Copy the full SHA f068484View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a62b37 - Browse repository at this point
Copy the full SHA 2a62b37View commit details -
Configuration menu - View commit details
-
Copy full SHA for b15c876 - Browse repository at this point
Copy the full SHA b15c876View commit details
Commits on Feb 9, 2017
-
Clean up ScreenFilterPresenter by
Moving animation code into ScreenFilterView Moving state-dependent functions into the state subclasses
Configuration menu - View commit details
-
Copy full SHA for 7e0cb66 - Browse repository at this point
Copy the full SHA 7e0cb66View commit details -
Configuration menu - View commit details
-
Copy full SHA for 410620c - Browse repository at this point
Copy the full SHA 410620cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5631b48 - Browse repository at this point
Copy the full SHA 5631b48View commit details
Commits on Feb 10, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 5e6412c - Browse repository at this point
Copy the full SHA 5e6412cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 22c0759 - Browse repository at this point
Copy the full SHA 22c0759View commit details -
Configuration menu - View commit details
-
Copy full SHA for f464f2b - Browse repository at this point
Copy the full SHA f464f2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for c417f32 - Browse repository at this point
Copy the full SHA c417f32View commit details
Commits on Feb 11, 2017
-
Configuration menu - View commit details
-
Copy full SHA for a589d47 - Browse repository at this point
Copy the full SHA a589d47View commit details -
Configuration menu - View commit details
-
Copy full SHA for 340ef70 - Browse repository at this point
Copy the full SHA 340ef70View commit details -
Configuration menu - View commit details
-
Copy full SHA for f7092b3 - Browse repository at this point
Copy the full SHA f7092b3View commit details
Commits on Feb 12, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 3dbf5e5 - Browse repository at this point
Copy the full SHA 3dbf5e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for d11177c - Browse repository at this point
Copy the full SHA d11177cView commit details
Commits on Feb 18, 2017
-
clean up profile selector preference, remove old unecessary bugfix in…
… filter fragment
Configuration menu - View commit details
-
Copy full SHA for 05814ce - Browse repository at this point
Copy the full SHA 05814ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for bf0e2ef - Browse repository at this point
Copy the full SHA bf0e2efView commit details -
Configuration menu - View commit details
-
Copy full SHA for a8117c9 - Browse repository at this point
Copy the full SHA a8117c9View commit details
Commits on Feb 20, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 41dc1c0 - Browse repository at this point
Copy the full SHA 41dc1c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for c2ad7d2 - Browse repository at this point
Copy the full SHA c2ad7d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for dbeec87 - Browse repository at this point
Copy the full SHA dbeec87View commit details
Commits on Feb 22, 2017
-
Don't email when opening project page
The 'Visit project page' menu item also opened a new email, it now only opens the project page.
Configuration menu - View commit details
-
Copy full SHA for 0a7b057 - Browse repository at this point
Copy the full SHA 0a7b057View commit details -
Show correct animation when closing subactivity
When the TimeToggleActivity or SecureSuspendActivity where closed with the arrow in the action bar, the wrong animation would display, making it seem that the main activity was opened over the subactivity. Now the close activity animation is displayed, so it looks like you are returning to the main activity (which you are, the subactivities aren't kept 'under' the main activity). To get android to display this animation correctly I used a sort of a workaround, overriding the functionality of the arrow in the action bar with calling finish() on the activity. I'm not aware of any other way to do this, so I think this should do fine.
Configuration menu - View commit details
-
Copy full SHA for 8c306f7 - Browse repository at this point
Copy the full SHA 8c306f7View commit details -
Ask for location permission when it isn't granted
The app now asks for access to coarse location when the 'Times from location' switch is enabled and it doesn't have the permission, instead of silently failing.
Configuration menu - View commit details
-
Copy full SHA for e15eab9 - Browse repository at this point
Copy the full SHA e15eab9View commit details -
Set top switch correctly in onResume
The maybeInitializedSwitch thing may be an ugly hack, but I don't know enough about Kotlin to find out the correct way. As far as I know it is null save and will only change it if the switch is already set up.
Configuration menu - View commit details
-
Copy full SHA for 9c3ba57 - Browse repository at this point
Copy the full SHA 9c3ba57View commit details