OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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.time_zone_monitor; | 5 package org.chromium.device.time_zone_monitor; |
6 | 6 |
7 import android.content.BroadcastReceiver; | 7 import android.content.BroadcastReceiver; |
8 import android.content.Context; | 8 import android.content.Context; |
9 import android.content.Intent; | 9 import android.content.Intent; |
10 import android.content.IntentFilter; | 10 import android.content.IntentFilter; |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 mAppContext.unregisterReceiver(mBroadcastReceiver); | 59 mAppContext.unregisterReceiver(mBroadcastReceiver); |
60 mNativePtr = 0; | 60 mNativePtr = 0; |
61 } | 61 } |
62 | 62 |
63 /** | 63 /** |
64 * Native JNI call to device::TimeZoneMonitorAndroid::TimeZoneChanged. | 64 * Native JNI call to device::TimeZoneMonitorAndroid::TimeZoneChanged. |
65 * See device/time_zone_monitor/time_zone_monitor_android.cc. | 65 * See device/time_zone_monitor/time_zone_monitor_android.cc. |
66 */ | 66 */ |
67 private native void nativeTimeZoneChangedFromJava(long nativeTimeZoneMonitor
Android); | 67 private native void nativeTimeZoneChangedFromJava(long nativeTimeZoneMonitor
Android); |
68 } | 68 } |
OLD | NEW |