Check if not null in the constructor
Change-Id: I5e73660004e5bb8e9e3c5ba6b02d1070ee977c22
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -757,7 +757,7 @@ public class IntentManager | ... | @@ -757,7 +757,7 @@ public class IntentManager |
757 | private int installAttempt; | 757 | private int installAttempt; |
758 | 758 | ||
759 | public IntentInstallMonitor(IntentOperations ops) { | 759 | public IntentInstallMonitor(IntentOperations ops) { |
760 | - this.ops = ops; | 760 | + this.ops = checkNotNull(ops); |
761 | resetTimeoutLimit(); | 761 | resetTimeoutLimit(); |
762 | } | 762 | } |
763 | 763 | ... | ... |
-
Please register or login to post a comment