Board (Android): add support

This commit is contained in:
李通洲
2023-07-27 19:47:26 +08:00
parent 92b1d74d12
commit 7147029c96
2 changed files with 10 additions and 1 deletions
+9
View File
@@ -0,0 +1,9 @@
#include "board.h"
#include "common/settings.h"
const char* ffDetectBoard(FFBoardResult* board)
{
if (!ffSettingsGetAndroidProperty("ro.product.board", &board->name))
ffSettingsGetAndroidProperty("ro.board.platform", &board->name);
return NULL;
}