Add NeoUI passcode configurator, duress mode profile, and Bluetooth OBEX UI
This commit is contained in:
1 parent
51a1a91d42
commit
62ac46e498
100 files changed
+2736
-240
No files matched your search
@@ -783,6 +783,8 @@ int email_run_main(int argc, char** argv) {
|
||||
|
||||
auto openWindow = [&]() {
|
||||
if (isPhonePasscodeLocked()) return;
|
||||
accounts = loadEmailAccounts();
|
||||
messages = loadCachedMessages();
|
||||
writeIntFile(activePidPath, static_cast<int>(::getpid()));
|
||||
closeOtherPlugins("email");
|
||||
visible = true;
|
||||
@@ -811,6 +813,8 @@ int email_run_main(int argc, char** argv) {
|
||||
if (cmd == "CLOSE") closeWindow();
|
||||
else if (cmd == "RELOAD_THEME") {
|
||||
neo.reloadTheme();
|
||||
accounts = loadEmailAccounts();
|
||||
messages = loadCachedMessages();
|
||||
if (visible) render();
|
||||
} else if (cmd == "OPEN" || cmd.rfind("OPEN ", 0) == 0) {
|
||||
openWindow();
|
||||
|
||||
Reference in new issue
Block a user