You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
make some Handler callback magic synchronous to avoid having to implement it properly
This commit is contained in:
@@ -365,7 +365,8 @@ public final class SharedPreferencesImpl implements SharedPreferences {
|
||||
};
|
||||
|
||||
// QueuedWork.add(awaitCommit);
|
||||
awaitCommit.run();
|
||||
// since we've made this synchronous, we can't exactly start "waiting" for the commit before we made the commit
|
||||
// awaitCommit.run();
|
||||
|
||||
Runnable postWriteRunnable = new Runnable() {
|
||||
public void run() {
|
||||
|
||||
Reference in New Issue
Block a user