From 76424950e373d3b04ac3dd13019151bfba3e8423 Mon Sep 17 00:00:00 2001 From: sumuel Date: Mon, 17 Aug 2026 20:44:55 +0000 Subject: Add the files --- src/detection/board/board_android.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/detection/board/board_android.c (limited to 'src/detection/board/board_android.c') diff --git a/src/detection/board/board_android.c b/src/detection/board/board_android.c new file mode 100644 index 0000000..b5978d1 --- /dev/null +++ b/src/detection/board/board_android.c @@ -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; +} -- cgit v1.2.3