Similar to lock, but doesn't beep and display an error message if the attempt to lock the image fails.
()
| 257 | * message if the attempt to lock the image fails. |
| 258 | */ |
| 259 | public synchronized boolean lockSilently() { |
| 260 | return lock(false); |
| 261 | } |
| 262 | |
| 263 | private synchronized boolean lock(boolean loud) { |
| 264 | if (locked) { |
no test coverage detected