mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-12 10:22:12 +02:00
Board (Android): add support
This commit is contained in:
+1
-1
@@ -396,7 +396,7 @@ elseif(ANDROID)
|
||||
src/detection/battery/battery_android.c
|
||||
src/detection/bios/bios_nosupport.c
|
||||
src/detection/bluetooth/bluetooth_nosupport.c
|
||||
src/detection/board/board_nosupport.c
|
||||
src/detection/board/board_android.c
|
||||
src/detection/brightness/brightness_nosupport.c
|
||||
src/detection/chassis/chassis_nosupport.c
|
||||
src/detection/cpu/cpu_linux.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;
|
||||
}
|
||||
Reference in New Issue
Block a user