Skip to content

Commit 54d181d

Browse files
author
Danielle Millett
committed
Removed makeInvisible() function
This is now being done inside stopUI instead of its own separate call since it needs to be done on the UI thread inside FaceLockService. Change-Id: Iaf3a203f7f201ba4dde4c878f457e765f11e6c0e
1 parent a56395d commit 54d181d

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

core/java/com/android/internal/policy/IFaceLockInterface.aidl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ interface IFaceLockInterface {
2323
void startUi(IBinder containingWindowToken, int x, int y, int width, int height,
2424
boolean useLiveliness);
2525
void stopUi();
26-
void makeInvisible();
2726
void registerCallback(IFaceLockCallback cb);
2827
void unregisterCallback(IFaceLockCallback cb);
2928
}

policy/src/com/android/internal/policy/impl/keyguard/FaceUnlock.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -151,13 +151,6 @@ public boolean stop() {
151151
}
152152

153153
boolean mWasRunning = mIsRunning;
154-
try {
155-
if (mService != null) {
156-
mService.makeInvisible();
157-
}
158-
} catch (RemoteException e) {
159-
Log.e(TAG, "Caught exception making Face Unlock invisible: " + e.toString());
160-
}
161154

162155
stopUi();
163156

0 commit comments

Comments
 (0)