OSDN Git Service

Fix vulnerability in LockSettings service
[android-x86/frameworks-base.git] / core / java / com / android / internal / widget / LockPatternUtils.java
index 60380fb..0aef320 100644 (file)
@@ -291,7 +291,7 @@ public class LockPatternUtils {
                 return false;
             }
         } catch (RemoteException re) {
-            return true;
+            return false;
         }
     }
 
@@ -340,7 +340,7 @@ public class LockPatternUtils {
                 return false;
             }
         } catch (RemoteException re) {
-            return true;
+            return false;
         }
     }