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

Upgrade target api and dependencies #129

Merged
merged 21 commits into from
Jan 2, 2024

Commits on Nov 5, 2023

  1. Upgrade target API, build tools and dependencies

    Java 8 -> 11
    targetSdk 32 -> 33
    compileSdk 32 -> 33
    build tools -> 33.0
    dependencies
    gradle -> 8
    morckx committed Nov 5, 2023
    Configuration menu
    Copy the full SHA
    5692d8e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3be36c4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0abc828 View commit details
    Browse the repository at this point in the history
  4. Update dependencies

    morckx committed Nov 5, 2023
    Configuration menu
    Copy the full SHA
    3be3d97 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    31c70fc View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    fa8f313 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ca753a6 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    4b744e7 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2023

  1. Configuration menu
    Copy the full SHA
    521f02c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3c1fd96 View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2023

  1. Configuration menu
    Copy the full SHA
    ac27191 View commit details
    Browse the repository at this point in the history
  2. Use BODY_SENSORS permission

    According to API 34 logs this seems advisable.
    morckx committed Nov 24, 2023
    Configuration menu
    Copy the full SHA
    e015be8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2b4b4a7 View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2023

  1. Bump gradle from v8.0 to v8.4

    morckx committed Nov 26, 2023
    Configuration menu
    Copy the full SHA
    6a91e90 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5a17e18 View commit details
    Browse the repository at this point in the history
  3. Request permissions early on

    To avoid permission not granted exceptions on API when app is started
    for the first time.
    morckx committed Nov 26, 2023
    Configuration menu
    Copy the full SHA
    05c4463 View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2023

  1. Switch to RequestMultiplePermissions

    This reverts commit d81d465.
    morckx committed Dec 16, 2023
    Configuration menu
    Copy the full SHA
    73b0abc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    78dc3d9 View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2023

  1. Update dependencies: material, androidx.work

    app/src/main/java/org/secuso/privacyfriendlyactivitytracker/activities/MainActivity.java
    morckx committed Dec 17, 2023
    Configuration menu
    Copy the full SHA
    d631186 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    23d4aa6 View commit details
    Browse the repository at this point in the history
  3. Restrict walking mode changed broadcast to package

    Fixes potential privacy leak and lint error:
    
    /home/runner/work/privacy-friendly-pedometer/privacy-friendly-pedometer/app/src/main/java/org/secuso/privacyfriendlyactivitytracker/persistence/WalkingModePersistenceHelper.java:152:
    Error: The intent action
    org.secuso.privacyfriendlystepcounter.WALKING_MODE_CHANGED (used to send
    a broadcast) matches the intent filter of a non-exported component
    org.secuso.privacyfriendlyactivitytracker.receivers.StepCountPersistenceReceiver
    from a manifest. If you are trying to invoke this specific component via
    the action then you should make the intent explicit by calling
    Intent.set{Component,Class,ClassName}. [UnsafeImplicitIntentLaunch]
    Intent localIntent = new
    Intent(BROADCAST_ACTION_WALKING_MODE_CHANGED);
    morckx committed Dec 17, 2023
    Configuration menu
    Copy the full SHA
    cbee29f View commit details
    Browse the repository at this point in the history