| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 package org.chromium.device.nfc; | 5 package org.chromium.device.nfc; |
| 6 | 6 |
| 7 import android.Manifest; | 7 import android.Manifest; |
| 8 import android.annotation.TargetApi; | 8 import android.annotation.TargetApi; |
| 9 import android.app.Activity; | 9 import android.app.Activity; |
| 10 import android.content.Context; | 10 import android.content.Context; |
| (...skipping 648 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 659 /** | 659 /** |
| 660 * Cancels push timeout task. | 660 * Cancels push timeout task. |
| 661 */ | 661 */ |
| 662 void cancelPushTimeoutTask() { | 662 void cancelPushTimeoutTask() { |
| 663 if (mPushTimeoutRunnable == null) return; | 663 if (mPushTimeoutRunnable == null) return; |
| 664 | 664 |
| 665 mPushTimeoutHandler.removeCallbacks(mPushTimeoutRunnable); | 665 mPushTimeoutHandler.removeCallbacks(mPushTimeoutRunnable); |
| 666 mPushTimeoutRunnable = null; | 666 mPushTimeoutRunnable = null; |
| 667 } | 667 } |
| 668 } | 668 } |
| OLD | NEW |