mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-10-21 08:50:07 +00:00
Simplify get manager app info logic
This commit is contained in:
@@ -12,6 +12,9 @@
|
||||
clazz(const clazz &) = delete; \
|
||||
clazz(clazz &&) = delete;
|
||||
|
||||
#define to_app_id(uid) (uid % 100000)
|
||||
#define to_user_id(uid) (uid / 100000)
|
||||
|
||||
class mutex_guard {
|
||||
DISALLOW_COPY_AND_MOVE(mutex_guard)
|
||||
public:
|
||||
|
Reference in New Issue
Block a user