Detect UID from data directories

This commit is contained in:
topjohnwu
2019-06-03 23:32:49 -07:00
parent 80d834fb55
commit 4fcdcd9a8a
3 changed files with 15 additions and 44 deletions

View File

@ -87,3 +87,5 @@ void broadcast_test();
extern int SDK_INT;
extern bool RECOVERY_MODE;
extern bool CONNECT_BROADCAST;
#define APP_DATA_DIR (SDK_INT >= 24 ? "/data/user_de" : "/data/user")