summaryrefslogtreecommitdiffstats
path: root/policy/src/com/android
diff options
context:
space:
mode:
authorJorim Jaggi <jjaggi@google.com>2014-03-31 14:08:10 +0200
committerJorim Jaggi <jjaggi@google.com>2014-03-31 12:15:18 +0000
commit8ae65aecc81d5a3ccf2320b88a8324e82b46fda4 (patch)
tree09354d51cc62623d9ea7da6869aba71a1cc254eb /policy/src/com/android
parentbd490ad59ffbc7890adec4e53c72afae4d81087b (diff)
downloadframeworks_base-8ae65aecc81d5a3ccf2320b88a8324e82b46fda4.zip
frameworks_base-8ae65aecc81d5a3ccf2320b88a8324e82b46fda4.tar.gz
frameworks_base-8ae65aecc81d5a3ccf2320b88a8324e82b46fda4.tar.bz2
Address comments for I059d80d8b9b9818a778ab685f4672ea2694def63
Bug: 13635952 Change-Id: I5d2bd44b3588621f26d94baab161e4e2444197a8
Diffstat (limited to 'policy/src/com/android')
-rw-r--r--policy/src/com/android/internal/policy/impl/keyguard/KeyguardServiceWrapper.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/policy/src/com/android/internal/policy/impl/keyguard/KeyguardServiceWrapper.java b/policy/src/com/android/internal/policy/impl/keyguard/KeyguardServiceWrapper.java
index 20a00e3..6d5f2b6 100644
--- a/policy/src/com/android/internal/policy/impl/keyguard/KeyguardServiceWrapper.java
+++ b/policy/src/com/android/internal/policy/impl/keyguard/KeyguardServiceWrapper.java
@@ -22,6 +22,7 @@ import android.os.RemoteException;
import android.util.Slog;
import android.view.MotionEvent;
+import com.android.internal.policy.IKeyguardServiceConstants;
import com.android.internal.policy.IKeyguardShowCallback;
import com.android.internal.policy.IKeyguardExitCallback;
import com.android.internal.policy.IKeyguardService;
@@ -105,7 +106,7 @@ public class KeyguardServiceWrapper implements IKeyguardService {
return mService.setHidden(isHidden);
} catch (RemoteException e) {
Slog.w(TAG , "Remote Exception", e);
- return 0;
+ return IKeyguardServiceConstants.KEYGUARD_SERVICE_HIDE_RESULT_NONE;
}
}