mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-20 00:29:11 +01:00
Add check for internal users around group lock ordering.
This commit is contained in:
committed by
Nicholas
parent
9d979217fa
commit
b042945fef
@@ -18,4 +18,8 @@ public enum ReentrantSessionLock implements SignalSessionLock {
|
||||
LOCK.lock();
|
||||
return LOCK::unlock;
|
||||
}
|
||||
|
||||
public boolean isHeldByCurrentThread() {
|
||||
return LOCK.isHeldByCurrentThread();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user