Loading .github/pull_request_template.md +1 −1 Original line number Diff line number Diff line Loading @@ -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. Loading plugins/openpgp-api-lib/openpgp-api/src/main/java/org/openintents/openpgp/util/OpenPgpIntentStarter.kt +24 −13 Original line number Diff line number Diff line Loading @@ -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 /** Loading @@ -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, ) } Loading @@ -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, ) } Loading @@ -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, ) } Loading Loading
.github/pull_request_template.md +1 −1 Original line number Diff line number Diff line Loading @@ -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. Loading
plugins/openpgp-api-lib/openpgp-api/src/main/java/org/openintents/openpgp/util/OpenPgpIntentStarter.kt +24 −13 Original line number Diff line number Diff line Loading @@ -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 /** Loading @@ -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, ) } Loading @@ -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, ) } Loading @@ -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, ) } Loading