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

Commit 5198fb74 authored by Elv1zz's avatar Elv1zz Committed by Tobias Kaminsky (Rebase PR Action)
Browse files

Codacy: Declare fields at the top of the class



Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes.

Signed-off-by: default avatarElv1zz <elv1zz.git@gmail.com>
parent f6d87a0c
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -114,6 +114,9 @@ public class AdvancedX509KeyManager implements X509KeyManager, Application.Activ
   private static int decisionId = 0;
   final private static SparseArray<AKMDecision> openDecisions = new SparseArray<>();

   // counter of currently resumed Activities
   private int resumes = 0;

   /**
    * Initialize AdvancedX509KeyManager
    * @param context application context (instance of Activity, Application, or Service)
@@ -661,8 +664,6 @@ public class AdvancedX509KeyManager implements X509KeyManager, Application.Activ
   @Override
   public void onActivityStarted(Activity activity) {}

   private int resumes = 0;

   /**
    * Remember the current foreground Activity.
    *