fix(camera,sms,dwm): fix CAMSS AXI frame-boundary stop, SMS draft button label, and post-reboot softkey responsiveness
This commit is contained in:
@@ -94,9 +94,7 @@ int runSmsApp(int argc, char** argv) {
|
||||
std::string daemonPidPath = getPluginDaemonPidPath("sms");
|
||||
std::string activePidPath = getRuntimeFile("xsms.pid");
|
||||
|
||||
int existingDaemon = readIntFile(daemonPidPath, -1);
|
||||
if (existingDaemon > 0 && existingDaemon != static_cast<int>(::getpid()) &&
|
||||
::kill(existingDaemon, 0) == 0) {
|
||||
if (isPluginDaemonAlive("sms")) {
|
||||
if (!isPreload) {
|
||||
sendPluginCommand("sms", initArg.empty() ? "OPEN" : ("OPEN " + initArg));
|
||||
}
|
||||
@@ -767,11 +765,16 @@ int runSmsApp(int argc, char** argv) {
|
||||
drawPango(layoutMain, &colYellow, 146, 234, 30, "Draft", 84);
|
||||
|
||||
if (composeField == 0) {
|
||||
drawSoftkeyBar("Contacts", "Next",
|
||||
drawSoftkeyBar("Contacts",
|
||||
composeRecipient.empty() ? "Contacts" : "Next",
|
||||
composeRecipient.empty() ? "Cancel" : "Clear");
|
||||
} else {
|
||||
} else if (composeField == 1) {
|
||||
drawSoftkeyBar("Send", "Send",
|
||||
composeText.empty() ? "Cancel" : "Del");
|
||||
} else if (composeField == 2) {
|
||||
drawSoftkeyBar("Send", "Send", "Cancel");
|
||||
} else {
|
||||
drawSoftkeyBar("Send", "Draft", "Cancel");
|
||||
}
|
||||
|
||||
} else if (mode == ViewMode::PickContact) {
|
||||
|
||||
Reference in New Issue
Block a user