Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 039a9255 authored by Wolf-Martell Montwé's avatar Wolf-Martell Montwé
Browse files

Fix code style

parent ae7f9a55
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@ Please ensure that your pull request meets the following requirements - thanks!
- Does not contain merge commits. Rebase instead.
- Contains commits with descriptive titles.
- New code is written in Kotlin whenever possible.
- Follows our existing codestyle (`gradlew spotlessCheck` to check and `gradlew spotlessFormat` to format your source code; will be checked by CI).
- Follows our existing codestyle (`gradlew spotlessCheck` to check and `gradlew spotlessApply` to format your source code; will be checked by CI).
- Does not break any unit tests (`gradlew testDebugUnitTest`; will be checked by CI).
- Uses a descriptive title; don't put issue numbers in there.
- Contains a reference to the issue that it fixes (e.g. _Closes #XXX_ or _Fixes #XXX_) in the body text.
+24 −13
Original line number Diff line number Diff line
@@ -6,7 +6,6 @@ import android.app.ActivityOptions.MODE_BACKGROUND_ACTIVITY_START_ALLOWED
import android.content.IntentSender
import android.os.Build
import android.os.Bundle
import androidx.annotation.RequiresApi
import androidx.fragment.app.Fragment

/**
@@ -21,10 +20,14 @@ object OpenPgpIntentStarter {

        activity.startIntentSender(
            intentSender,
            /* fillInIntent = */ null,
            /* flagsMask = */ 0,
            /* flagsValues = */ 0,
            /* extraFlags = */ 0,
            /* fillInIntent = */
            null,
            /* flagsMask = */
            0,
            /* flagsValues = */
            0,
            /* extraFlags = */
            0,
            options,
        )
    }
@@ -37,10 +40,14 @@ object OpenPgpIntentStarter {
        activity.startIntentSenderForResult(
            intentSender,
            requestCode,
            /* fillInIntent = */ null,
            /* flagsMask = */ 0,
            /* flagsValues = */ 0,
            /* extraFlags = */ 0,
            /* fillInIntent = */
            null,
            /* flagsMask = */
            0,
            /* flagsValues = */
            0,
            /* extraFlags = */
            0,
            options,
        )
    }
@@ -54,10 +61,14 @@ object OpenPgpIntentStarter {
        fragment.startIntentSenderForResult(
            intentSender,
            requestCode,
            /* fillInIntent = */ null,
            /* flagsMask = */ 0,
            /* flagsValues = */ 0,
            /* extraFlags = */ 0,
            /* fillInIntent = */
            null,
            /* flagsMask = */
            0,
            /* flagsValues = */
            0,
            /* extraFlags = */
            0,
            options,
        )
    }