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

Intent interface for MainService #98

Merged
merged 56 commits into from
Jun 13, 2023
Merged

Intent interface for MainService #98

merged 56 commits into from
Jun 13, 2023

Commits on Jun 13, 2023

  1. Configuration menu
    Copy the full SHA
    78bb1d8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    739ccb8 View commit details
    Browse the repository at this point in the history
  3. MainService: make getStatusEventStream() package-private

    An approach with broadcast intents being sent on create/destroy
    was evaluated, but there is no nice way for 3rd party apps to query
    whether or not the service is running, see
    https://stackoverflow.com/questions/600207/how-to-check-if-a-service-is-running-on-android
    
    So, there is no use making this a public API, thus mark it as
    package-private.
    bk138 committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    4801396 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5bcb720 View commit details
    Browse the repository at this point in the history
  5. native: add vncIsActive()

    bk138 committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    f9dfc24 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ec57ac8 View commit details
    Browse the repository at this point in the history
  7. MainService: stop if no known action was given

    ...and the server is not active.
    bk138 committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    9e64a71 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    b1ff2a6 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    9a9cc1f View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    382b39a View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    a18bf18 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    239b0e9 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    ce6a9f2 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    05a4f38 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    cb46a89 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    4aa4f22 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    c2a7193 View commit details
    Browse the repository at this point in the history
  18. MainService: get password and port from Intent extras

    ...instead of from SharedPrefs.
    
    Also, move VNC server start right to ACTION_START handling. This also prevents
    a caller from stopping a service that's in the process of starting up.
    bk138 committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    ea759ad View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    fbfa68e View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    d925119 View commit details
    Browse the repository at this point in the history
  21. MainActivity: fix password and access key entry

    9043e44 did not quite get it right.
    bk138 committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    89e91a0 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    4b59bc1 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    3602398 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    e424d43 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    655f863 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    fb3c325 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    43a2da7 View commit details
    Browse the repository at this point in the history
  28. MainService: go back to call vncStartServer() from redelivered intents

    eb46e8f was quite right, but was not able to recover
    from crashes.
    bk138 committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    85066d5 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    ce1c9db View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    9783f38 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    d2a1b36 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    d711ddb View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    49ee711 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    46af73f View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    772eff8 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    6218f25 View commit details
    Browse the repository at this point in the history
  37. MainActivity: adapt UI to disable listening

    Closes #118
    bk138 committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    5f5556f View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    77455d7 View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    bf85388 View commit details
    Browse the repository at this point in the history
  40. MainService: fix lints

    bk138 committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    6b4518d View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    1d83a57 View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    bb20999 View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    38de484 View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    2127172 View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    e3b08b1 View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    d6fdc80 View commit details
    Browse the repository at this point in the history
  47. Constants,Defaults: make key private

    This is a Defaults implementation detail and not to be used by other components.
    bk138 committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    9b12a55 View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    bfc4d7e View commit details
    Browse the repository at this point in the history
  49. Constants,MainActivity: make keys private

    They are a MainActivity implementation detail and not to be used by other components.
    bk138 committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    4217c14 View commit details
    Browse the repository at this point in the history
  50. Constants,MainService: make pref keys private

    They are a MainService implementation detail and not to be used by other components.
    bk138 committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    eb8741f View commit details
    Browse the repository at this point in the history
  51. Configuration menu
    Copy the full SHA
    d5f71a8 View commit details
    Browse the repository at this point in the history
  52. Configuration menu
    Copy the full SHA
    5eb73f4 View commit details
    Browse the repository at this point in the history
  53. Configuration menu
    Copy the full SHA
    41f0dca View commit details
    Browse the repository at this point in the history
  54. Configuration menu
    Copy the full SHA
    5cc8133 View commit details
    Browse the repository at this point in the history
  55. Configuration menu
    Copy the full SHA
    0a9c93a View commit details
    Browse the repository at this point in the history
  56. MainService: use user settings for values not provided in EXTRA_START

    ...not only Defaults.
    bk138 committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    e76521a View commit details
    Browse the repository at this point in the history