device_phh_treble/cmds/mtk-sms-fwk-ready.cpp

13 lines
298 B
C++
Raw Permalink Normal View History

#include <iostream>
#include <unistd.h>
#include <vendor/mediatek/hardware/radio/2.6/IRadio.h>
using ::vendor::mediatek::hardware::radio::V2_6::IRadio;
using ::android::sp;
int main(int argc, char **argv) {
auto svc = IRadio::getService(argv[1]);
2019-03-07 21:28:01 +00:00
if(svc != nullptr)
svc->setSmsFwkReady(1);
}