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

13 lines
278 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]);
svc->setSmsFwkReady(1);
}