Jim Miller | bbf1a74 | 2012-07-17 18:30:30 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2012 The Android Open Source Project |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
Jim Miller | 5ecd811 | 2013-01-09 18:50:26 -0800 | [diff] [blame] | 16 | package com.android.keyguard; |
Jim Miller | bbf1a74 | 2012-07-17 18:30:30 -0700 | [diff] [blame] | 17 | |
| 18 | import android.app.admin.DevicePolicyManager; |
Adam Powell | 43a372f | 2013-09-27 17:43:53 -0700 | [diff] [blame] | 19 | import android.graphics.Bitmap; |
Lucas Dupin | ef88654 | 2018-01-03 16:03:07 -0800 | [diff] [blame] | 20 | import android.hardware.fingerprint.FingerprintManager; |
Jim Miller | bbf1a74 | 2012-07-17 18:30:30 -0700 | [diff] [blame] | 21 | import android.media.AudioManager; |
John Spurlock | 385a63d | 2013-10-30 19:40:48 -0400 | [diff] [blame] | 22 | import android.os.SystemClock; |
Jorim Jaggi | 5cf1787 | 2014-03-26 18:31:48 +0100 | [diff] [blame] | 23 | import android.telephony.TelephonyManager; |
Adrian Roos | e99bc05 | 2017-11-20 17:55:31 +0100 | [diff] [blame] | 24 | import android.view.WindowManagerPolicyConstants; |
Jim Miller | bbf1a74 | 2012-07-17 18:30:30 -0700 | [diff] [blame] | 25 | |
Jim Miller | bbf1a74 | 2012-07-17 18:30:30 -0700 | [diff] [blame] | 26 | import com.android.internal.telephony.IccCardConstants; |
Lucas Dupin | ef88654 | 2018-01-03 16:03:07 -0800 | [diff] [blame] | 27 | import com.android.systemui.statusbar.KeyguardIndicationController; |
Jim Miller | bbf1a74 | 2012-07-17 18:30:30 -0700 | [diff] [blame] | 28 | |
| 29 | /** |
| 30 | * Callback for general information relevant to lock screen. |
| 31 | */ |
Jorim Jaggi | 5cf1787 | 2014-03-26 18:31:48 +0100 | [diff] [blame] | 32 | public class KeyguardUpdateMonitorCallback { |
John Spurlock | 385a63d | 2013-10-30 19:40:48 -0400 | [diff] [blame] | 33 | |
| 34 | private static final long VISIBILITY_CHANGED_COLLAPSE_MS = 1000; |
| 35 | private long mVisibilityChangedCalled; |
| 36 | private boolean mShowing; |
| 37 | |
Jim Miller | bbf1a74 | 2012-07-17 18:30:30 -0700 | [diff] [blame] | 38 | /** |
| 39 | * Called when the battery status changes, e.g. when plugged in or unplugged, charge |
| 40 | * level, etc. changes. |
| 41 | * |
| 42 | * @param status current battery status |
| 43 | */ |
Jorim Jaggi | 5cf1787 | 2014-03-26 18:31:48 +0100 | [diff] [blame] | 44 | public void onRefreshBatteryInfo(KeyguardUpdateMonitor.BatteryStatus status) { } |
Jim Miller | bbf1a74 | 2012-07-17 18:30:30 -0700 | [diff] [blame] | 45 | |
| 46 | /** |
| 47 | * Called once per minute or when the time changes. |
| 48 | */ |
Jorim Jaggi | 5cf1787 | 2014-03-26 18:31:48 +0100 | [diff] [blame] | 49 | public void onTimeChanged() { } |
Jim Miller | bbf1a74 | 2012-07-17 18:30:30 -0700 | [diff] [blame] | 50 | |
| 51 | /** |
| 52 | * Called when the carrier PLMN or SPN changes. |
Jim Miller | bbf1a74 | 2012-07-17 18:30:30 -0700 | [diff] [blame] | 53 | */ |
Jason Monk | 9ff69bd | 2014-12-02 16:43:17 -0500 | [diff] [blame] | 54 | public void onRefreshCarrierInfo() { } |
Jim Miller | bbf1a74 | 2012-07-17 18:30:30 -0700 | [diff] [blame] | 55 | |
| 56 | /** |
| 57 | * Called when the ringer mode changes. |
| 58 | * @param state the current ringer state, as defined in |
| 59 | * {@link AudioManager#RINGER_MODE_CHANGED_ACTION} |
| 60 | */ |
Jorim Jaggi | 5cf1787 | 2014-03-26 18:31:48 +0100 | [diff] [blame] | 61 | public void onRingerModeChanged(int state) { } |
Jim Miller | bbf1a74 | 2012-07-17 18:30:30 -0700 | [diff] [blame] | 62 | |
| 63 | /** |
| 64 | * Called when the phone state changes. String will be one of: |
| 65 | * {@link TelephonyManager#EXTRA_STATE_IDLE} |
| 66 | * {@link TelephonyManager@EXTRA_STATE_RINGING} |
| 67 | * {@link TelephonyManager#EXTRA_STATE_OFFHOOK |
| 68 | */ |
Jorim Jaggi | 5cf1787 | 2014-03-26 18:31:48 +0100 | [diff] [blame] | 69 | public void onPhoneStateChanged(int phoneState) { } |
Jim Miller | bbf1a74 | 2012-07-17 18:30:30 -0700 | [diff] [blame] | 70 | |
| 71 | /** |
Danielle Millett | f6d0fc1 | 2012-10-23 16:16:52 -0400 | [diff] [blame] | 72 | * Called when the visibility of the keyguard changes. |
| 73 | * @param showing Indicates if the keyguard is now visible. |
| 74 | */ |
Jorim Jaggi | 5cf1787 | 2014-03-26 18:31:48 +0100 | [diff] [blame] | 75 | public void onKeyguardVisibilityChanged(boolean showing) { } |
Danielle Millett | f6d0fc1 | 2012-10-23 16:16:52 -0400 | [diff] [blame] | 76 | |
Jorim Jaggi | 5cf1787 | 2014-03-26 18:31:48 +0100 | [diff] [blame] | 77 | public void onKeyguardVisibilityChangedRaw(boolean showing) { |
John Spurlock | 385a63d | 2013-10-30 19:40:48 -0400 | [diff] [blame] | 78 | final long now = SystemClock.elapsedRealtime(); |
| 79 | if (showing == mShowing |
| 80 | && (now - mVisibilityChangedCalled) < VISIBILITY_CHANGED_COLLAPSE_MS) return; |
| 81 | onKeyguardVisibilityChanged(showing); |
| 82 | mVisibilityChangedCalled = now; |
| 83 | mShowing = showing; |
| 84 | } |
| 85 | |
Danielle Millett | f6d0fc1 | 2012-10-23 16:16:52 -0400 | [diff] [blame] | 86 | /** |
Adrian Roos | b601162 | 2014-05-14 15:52:53 +0200 | [diff] [blame] | 87 | * Called when the keyguard enters or leaves bouncer mode. |
| 88 | * @param bouncer if true, keyguard is now in bouncer mode. |
| 89 | */ |
| 90 | public void onKeyguardBouncerChanged(boolean bouncer) { } |
| 91 | |
| 92 | /** |
Jim Miller | bbf1a74 | 2012-07-17 18:30:30 -0700 | [diff] [blame] | 93 | * Called when visibility of lockscreen clock changes, such as when |
| 94 | * obscured by a widget. |
| 95 | */ |
Jorim Jaggi | 5cf1787 | 2014-03-26 18:31:48 +0100 | [diff] [blame] | 96 | public void onClockVisibilityChanged() { } |
Jim Miller | bbf1a74 | 2012-07-17 18:30:30 -0700 | [diff] [blame] | 97 | |
| 98 | /** |
| 99 | * Called when the device becomes provisioned |
| 100 | */ |
Jorim Jaggi | 5cf1787 | 2014-03-26 18:31:48 +0100 | [diff] [blame] | 101 | public void onDeviceProvisioned() { } |
Jim Miller | bbf1a74 | 2012-07-17 18:30:30 -0700 | [diff] [blame] | 102 | |
| 103 | /** |
| 104 | * Called when the device policy changes. |
| 105 | * See {@link DevicePolicyManager#ACTION_DEVICE_POLICY_MANAGER_STATE_CHANGED} |
| 106 | */ |
Jorim Jaggi | 5cf1787 | 2014-03-26 18:31:48 +0100 | [diff] [blame] | 107 | public void onDevicePolicyManagerStateChanged() { } |
Jim Miller | bbf1a74 | 2012-07-17 18:30:30 -0700 | [diff] [blame] | 108 | |
| 109 | /** |
Chris Wren | f41c61b | 2012-11-29 15:19:54 -0500 | [diff] [blame] | 110 | * Called when the user change begins. |
Jim Miller | bbf1a74 | 2012-07-17 18:30:30 -0700 | [diff] [blame] | 111 | */ |
Jorim Jaggi | 5cf1787 | 2014-03-26 18:31:48 +0100 | [diff] [blame] | 112 | public void onUserSwitching(int userId) { } |
Chris Wren | f41c61b | 2012-11-29 15:19:54 -0500 | [diff] [blame] | 113 | |
| 114 | /** |
| 115 | * Called when the user change is complete. |
| 116 | */ |
Jorim Jaggi | 5cf1787 | 2014-03-26 18:31:48 +0100 | [diff] [blame] | 117 | public void onUserSwitchComplete(int userId) { } |
Jim Miller | bbf1a74 | 2012-07-17 18:30:30 -0700 | [diff] [blame] | 118 | |
| 119 | /** |
Bill Lin | 6c7ccab | 2018-07-05 17:48:49 +0800 | [diff] [blame] | 120 | * Called when the Telephony capable |
| 121 | * @param capable |
| 122 | */ |
| 123 | public void onTelephonyCapable(boolean capable) { } |
| 124 | |
| 125 | /** |
Jim Miller | bbf1a74 | 2012-07-17 18:30:30 -0700 | [diff] [blame] | 126 | * Called when the SIM state changes. |
Jim Miller | 52a6133 | 2014-11-12 19:29:51 -0800 | [diff] [blame] | 127 | * @param slotId |
Jim Miller | bbf1a74 | 2012-07-17 18:30:30 -0700 | [diff] [blame] | 128 | * @param simState |
| 129 | */ |
Jim Miller | 52a6133 | 2014-11-12 19:29:51 -0800 | [diff] [blame] | 130 | public void onSimStateChanged(int subId, int slotId, IccCardConstants.State simState) { } |
Jim Miller | bbf1a74 | 2012-07-17 18:30:30 -0700 | [diff] [blame] | 131 | |
| 132 | /** |
Amith Yamasani | 6fc1d4e | 2013-05-08 16:43:58 -0700 | [diff] [blame] | 133 | * Called when the user's info changed. |
| 134 | */ |
Jorim Jaggi | 5cf1787 | 2014-03-26 18:31:48 +0100 | [diff] [blame] | 135 | public void onUserInfoChanged(int userId) { } |
Amith Yamasani | 6fc1d4e | 2013-05-08 16:43:58 -0700 | [diff] [blame] | 136 | |
| 137 | /** |
Jorim Jaggi | dadafd4 | 2016-09-30 07:20:25 -0700 | [diff] [blame] | 138 | * Called when a user got unlocked. |
| 139 | */ |
| 140 | public void onUserUnlocked() { } |
| 141 | |
| 142 | /** |
Adam Cohen | efb3ffb | 2012-11-06 16:55:32 -0800 | [diff] [blame] | 143 | * Called when boot completed. |
| 144 | * |
| 145 | * Note, this callback will only be received if boot complete occurs after registering with |
| 146 | * KeyguardUpdateMonitor. |
| 147 | */ |
Jorim Jaggi | 5cf1787 | 2014-03-26 18:31:48 +0100 | [diff] [blame] | 148 | public void onBootCompleted() { } |
Jim Miller | 8f09fd2 | 2013-03-14 19:04:28 -0700 | [diff] [blame] | 149 | |
| 150 | /** |
Brian Colonna | 7fce380 | 2013-09-17 15:51:32 -0400 | [diff] [blame] | 151 | * Called when the emergency call button is pressed. |
| 152 | */ |
John Spurlock | 813552c | 2014-09-19 08:30:21 -0400 | [diff] [blame] | 153 | public void onEmergencyCallAction() { } |
Adam Powell | 43a372f | 2013-09-27 17:43:53 -0700 | [diff] [blame] | 154 | |
Jim Miller | 20daffd | 2013-10-07 14:59:53 -0700 | [diff] [blame] | 155 | /** |
| 156 | * Called when the transport background changes. |
| 157 | * @param bitmap |
| 158 | */ |
Adam Powell | 43a372f | 2013-09-27 17:43:53 -0700 | [diff] [blame] | 159 | public void onSetBackground(Bitmap bitmap) { |
Adam Powell | 43a372f | 2013-09-27 17:43:53 -0700 | [diff] [blame] | 160 | } |
Jim Miller | 20daffd | 2013-10-07 14:59:53 -0700 | [diff] [blame] | 161 | |
| 162 | /** |
Jorim Jaggi | 0d210f6 | 2015-07-10 14:24:44 -0700 | [diff] [blame] | 163 | * Called when the device has started waking up. |
Adrian Roos | 369907f | 2017-07-14 14:53:39 +0200 | [diff] [blame] | 164 | * |
| 165 | * @deprecated use {@link com.android.systemui.keyguard.WakefulnessLifecycle}. |
Jim Miller | 20daffd | 2013-10-07 14:59:53 -0700 | [diff] [blame] | 166 | */ |
Adrian Roos | 369907f | 2017-07-14 14:53:39 +0200 | [diff] [blame] | 167 | @Deprecated |
Jorim Jaggi | 0d210f6 | 2015-07-10 14:24:44 -0700 | [diff] [blame] | 168 | public void onStartedWakingUp() { } |
Jim Miller | 20daffd | 2013-10-07 14:59:53 -0700 | [diff] [blame] | 169 | |
| 170 | /** |
Jorim Jaggi | 95e4038 | 2015-09-16 15:53:42 -0700 | [diff] [blame] | 171 | * Called when the device has started going to sleep. |
| 172 | * @param why see {@link #onFinishedGoingToSleep(int)} |
Adrian Roos | 369907f | 2017-07-14 14:53:39 +0200 | [diff] [blame] | 173 | * |
| 174 | * @deprecated use {@link com.android.systemui.keyguard.WakefulnessLifecycle}. |
Jorim Jaggi | 95e4038 | 2015-09-16 15:53:42 -0700 | [diff] [blame] | 175 | */ |
Adrian Roos | 369907f | 2017-07-14 14:53:39 +0200 | [diff] [blame] | 176 | @Deprecated |
Jorim Jaggi | 95e4038 | 2015-09-16 15:53:42 -0700 | [diff] [blame] | 177 | public void onStartedGoingToSleep(int why) { } |
| 178 | |
| 179 | /** |
Jorim Jaggi | 0d210f6 | 2015-07-10 14:24:44 -0700 | [diff] [blame] | 180 | * Called when the device has finished going to sleep. |
Adrian Roos | e99bc05 | 2017-11-20 17:55:31 +0100 | [diff] [blame] | 181 | * @param why either {@link WindowManagerPolicyConstants#OFF_BECAUSE_OF_ADMIN}, |
| 182 | * {@link WindowManagerPolicyConstants#OFF_BECAUSE_OF_USER}, or |
| 183 | * {@link WindowManagerPolicyConstants#OFF_BECAUSE_OF_TIMEOUT}. |
Adrian Roos | 369907f | 2017-07-14 14:53:39 +0200 | [diff] [blame] | 184 | * |
| 185 | * @deprecated use {@link com.android.systemui.keyguard.WakefulnessLifecycle}. |
Jim Miller | 20daffd | 2013-10-07 14:59:53 -0700 | [diff] [blame] | 186 | */ |
Adrian Roos | 369907f | 2017-07-14 14:53:39 +0200 | [diff] [blame] | 187 | @Deprecated |
Jorim Jaggi | 0d210f6 | 2015-07-10 14:24:44 -0700 | [diff] [blame] | 188 | public void onFinishedGoingToSleep(int why) { } |
Adrian Roos | 2fe592d | 2014-05-17 03:11:59 +0200 | [diff] [blame] | 189 | |
| 190 | /** |
Jorim Jaggi | f1518da | 2015-07-30 11:56:36 -0700 | [diff] [blame] | 191 | * Called when the screen has been turned on. |
Adrian Roos | 369907f | 2017-07-14 14:53:39 +0200 | [diff] [blame] | 192 | * |
| 193 | * @deprecated use {@link com.android.systemui.keyguard.ScreenLifecycle}. |
Jorim Jaggi | f1518da | 2015-07-30 11:56:36 -0700 | [diff] [blame] | 194 | */ |
Adrian Roos | 369907f | 2017-07-14 14:53:39 +0200 | [diff] [blame] | 195 | @Deprecated |
Jorim Jaggi | f1518da | 2015-07-30 11:56:36 -0700 | [diff] [blame] | 196 | public void onScreenTurnedOn() { } |
| 197 | |
| 198 | /** |
| 199 | * Called when the screen has been turned off. |
Adrian Roos | 369907f | 2017-07-14 14:53:39 +0200 | [diff] [blame] | 200 | * |
| 201 | * @deprecated use {@link com.android.systemui.keyguard.ScreenLifecycle}. |
Jorim Jaggi | f1518da | 2015-07-30 11:56:36 -0700 | [diff] [blame] | 202 | */ |
Adrian Roos | 369907f | 2017-07-14 14:53:39 +0200 | [diff] [blame] | 203 | @Deprecated |
Jorim Jaggi | f1518da | 2015-07-30 11:56:36 -0700 | [diff] [blame] | 204 | public void onScreenTurnedOff() { } |
| 205 | |
| 206 | /** |
Adrian Roos | 2fe592d | 2014-05-17 03:11:59 +0200 | [diff] [blame] | 207 | * Called when trust changes for a user. |
| 208 | */ |
| 209 | public void onTrustChanged(int userId) { } |
Jim Miller | f41fc96 | 2014-06-18 16:33:51 -0700 | [diff] [blame] | 210 | |
| 211 | /** |
Adrian Roos | 7861c66 | 2014-07-25 15:37:28 +0200 | [diff] [blame] | 212 | * Called when trust being managed changes for a user. |
| 213 | */ |
| 214 | public void onTrustManagedChanged(int userId) { } |
| 215 | |
| 216 | /** |
Adrian Roos | 94e15a5 | 2015-04-16 12:23:18 -0700 | [diff] [blame] | 217 | * Called after trust was granted with non-zero flags. |
Adrian Roos | 3c9a350 | 2014-08-06 19:09:45 +0200 | [diff] [blame] | 218 | */ |
Adrian Roos | 94e15a5 | 2015-04-16 12:23:18 -0700 | [diff] [blame] | 219 | public void onTrustGrantedWithFlags(int flags, int userId) { } |
Adrian Roos | 3c9a350 | 2014-08-06 19:09:45 +0200 | [diff] [blame] | 220 | |
| 221 | /** |
Jorim Jaggi | 83eb6bb | 2015-08-17 17:38:58 -0700 | [diff] [blame] | 222 | * Called when a finger has been acquired. |
| 223 | * <p> |
| 224 | * It is guaranteed that either {@link #onFingerprintAuthenticated} or |
| 225 | * {@link #onFingerprintAuthFailed()} is called after this method eventually. |
| 226 | */ |
| 227 | public void onFingerprintAcquired() { } |
| 228 | |
| 229 | /** |
| 230 | * Called when a fingerprint couldn't be authenticated. |
| 231 | */ |
| 232 | public void onFingerprintAuthFailed() { } |
| 233 | |
| 234 | /** |
Jim Miller | f41fc96 | 2014-06-18 16:33:51 -0700 | [diff] [blame] | 235 | * Called when a fingerprint is recognized. |
Jim Miller | 9f0753f | 2015-03-23 23:59:22 -0700 | [diff] [blame] | 236 | * @param userId the user id for which the fingerprint was authenticated |
Jim Miller | f41fc96 | 2014-06-18 16:33:51 -0700 | [diff] [blame] | 237 | */ |
Jorim Jaggi | 83eb6bb | 2015-08-17 17:38:58 -0700 | [diff] [blame] | 238 | public void onFingerprintAuthenticated(int userId) { } |
Jorim Jaggi | 007f0e8 | 2015-08-14 13:56:01 -0700 | [diff] [blame] | 239 | |
| 240 | /** |
Jim Miller | 9f0753f | 2015-03-23 23:59:22 -0700 | [diff] [blame] | 241 | * Called when fingerprint provides help string (e.g. "Try again") |
| 242 | * @param msgId |
| 243 | * @param helpString |
Jim Miller | f41fc96 | 2014-06-18 16:33:51 -0700 | [diff] [blame] | 244 | */ |
Jim Miller | 9f0753f | 2015-03-23 23:59:22 -0700 | [diff] [blame] | 245 | public void onFingerprintHelp(int msgId, String helpString) { } |
| 246 | |
| 247 | /** |
| 248 | * Called when fingerprint provides an semi-permanent error message |
| 249 | * (e.g. "Hardware not available"). |
| 250 | * @param msgId one of the error messages listed in {@link FingerprintManager} |
| 251 | * @param errString |
| 252 | */ |
| 253 | public void onFingerprintError(int msgId, String errString) { } |
Jorim Jaggi | e7b1252 | 2014-08-06 16:41:21 +0200 | [diff] [blame] | 254 | |
| 255 | /** |
| 256 | * Called when the state of face unlock changed. |
| 257 | */ |
Adrian Roos | 4a41017 | 2014-08-20 17:41:44 +0200 | [diff] [blame] | 258 | public void onFaceUnlockStateChanged(boolean running, int userId) { } |
Jorim Jaggi | 27c9b74 | 2015-04-09 10:34:49 -0700 | [diff] [blame] | 259 | |
| 260 | /** |
| 261 | * Called when the fingerprint running state changed. |
| 262 | */ |
| 263 | public void onFingerprintRunningStateChanged(boolean running) { } |
Jorim Jaggi | 25b4d4b | 2015-08-11 15:54:06 -0700 | [diff] [blame] | 264 | |
| 265 | /** |
| 266 | * Called when the state that the user hasn't used strong authentication since quite some time |
| 267 | * has changed. |
| 268 | */ |
Adrian Roos | 1de8bcb | 2015-08-19 16:52:52 -0700 | [diff] [blame] | 269 | public void onStrongAuthStateChanged(int userId) { } |
Jorim Jaggi | d11d1a9 | 2016-08-16 16:02:32 -0700 | [diff] [blame] | 270 | |
| 271 | /** |
| 272 | * Called when the state whether we have a lockscreen wallpaper has changed. |
| 273 | */ |
| 274 | public void onHasLockscreenWallpaperChanged(boolean hasLockscreenWallpaper) { } |
Selim Cinek | 9941539 | 2016-09-09 14:58:41 -0700 | [diff] [blame] | 275 | |
| 276 | /** |
| 277 | * Called when the dream's window state is changed. |
| 278 | * @param dreaming true if the dream's window has been created and is visible |
| 279 | */ |
| 280 | public void onDreamingStateChanged(boolean dreaming) { } |
Lucas Dupin | ef88654 | 2018-01-03 16:03:07 -0800 | [diff] [blame] | 281 | |
| 282 | /** |
| 283 | * Called when an error message needs to be presented on the keyguard. |
| 284 | * Message will be visible briefly, and might be overridden by other keyguard events, |
| 285 | * like fingerprint authentication errors. |
| 286 | * |
| 287 | * @param message Message that indicates an error. |
| 288 | * @see KeyguardIndicationController.BaseKeyguardCallback#HIDE_DELAY_MS |
| 289 | * @see KeyguardIndicationController#showTransientIndication(CharSequence) |
| 290 | */ |
| 291 | public void onTrustAgentErrorMessage(CharSequence message) { } |
Alex Chau | ff7653d | 2018-02-01 17:18:08 +0000 | [diff] [blame] | 292 | |
| 293 | |
| 294 | /** |
| 295 | * Called when a value of logout enabled is change. |
| 296 | */ |
| 297 | public void onLogoutEnabledChanged() { } |
| 298 | |
Jim Miller | bbf1a74 | 2012-07-17 18:30:30 -0700 | [diff] [blame] | 299 | } |