commit | 9e850826fc9acb782c92dfa83a078292b708bb75 | [log] [tgz] |
---|---|---|
author | Tommaso Fonda <fondatommaso2@gmail.com> | Sat Sep 16 18:48:46 2023 +0200 |
committer | Tommaso Fonda <fondatommaso2@gmail.com> | Sat Sep 16 18:54:08 2023 +0200 |
tree | 1a6bb1d2bbc61ae7f8928061eadf7d03982b19f5 | |
parent | d84bdac8e290b507ca2ccb6646757ab79268cad3 [diff] |
trust: Fix variable usage before null check Change-Id: I8258b647b2cc32daa759562a0b5a03901b0edcd4
diff --git a/sdk/src/java/lineageos/trust/TrustInterface.java b/sdk/src/java/lineageos/trust/TrustInterface.java index 3bb147f..ac5c5a1 100644 --- a/sdk/src/java/lineageos/trust/TrustInterface.java +++ b/sdk/src/java/lineageos/trust/TrustInterface.java
@@ -198,7 +198,6 @@ return sService; } IBinder b = ServiceManager.getService(LineageContextConstants.LINEAGE_TRUST_INTERFACE); - sService = ITrustInterface.Stub.asInterface(b); if (b == null) { Log.e(TAG, "null service. SAD!");