Skip to content

Commit

Permalink
Avoid TAG being null
Browse files Browse the repository at this point in the history
By using the `class.getName()` instead of `class.getCanonicalName()` the `TAG` should not become `null`.

Signed-off-by: Elv1zz <[email protected]>
  • Loading branch information
Elv1zz committed Oct 27, 2023
1 parent 0a7b160 commit 0ccbe51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public class AdvancedX509KeyManager
extends X509ExtendedKeyManager
implements X509KeyManager
{
private final static String TAG = AdvancedX509KeyManager.class.getCanonicalName();
private final static String TAG = AdvancedX509KeyManager.class.getName();
private static final String NOTIFICATION_CHANNEL_ID = TAG + ".notifications";

private final static String DECISION_INTENT = TAG + ".DECISION";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ of this software and associated documentation files (the "Software"), to deal

public class SelectClientCertificateHelperActivity extends Activity implements KeyChainAliasCallback {

private static final String TAG = SelectClientCertificateHelperActivity.class.getCanonicalName();
private static final String TAG = SelectClientCertificateHelperActivity.class.getName();

private static final int REQ_CODE_INSTALL_CERTS = 1;

Expand Down

0 comments on commit 0ccbe51

Please sign in to comment.