Fix system app detection regex
Summary: Previously system apps have given "... is not an application" messages. But now we can see others: https://android.googlesource.com/platform/system/core/+/master/run-as/run-as.cpp#226 So expanding the regex to catch both. Context: https://fb.workplace.com/groups/flippersupport/permalink/970770066736985/ Reviewed By: passy Differential Revision: D23930268 fbshipit-source-id: 1b85018da3e468563198d64af607d1129273c0d6
This commit is contained in:
committed by
Facebook GitHub Bot
parent
c282184d9f
commit
359f7ad639
@@ -16,7 +16,7 @@ import {UnsupportedError} from './metrics';
|
||||
import adbkit, {Client} from 'adbkit';
|
||||
|
||||
const allowedAppNameRegex = /^[\w._-]+$/;
|
||||
const appNotApplicationRegex = /is not an application/;
|
||||
const appNotApplicationRegex = /not an application/;
|
||||
const appNotDebuggableRegex = /debuggable/;
|
||||
const operationNotPermittedRegex = /not permitted/;
|
||||
const logTag = 'androidContainerUtility';
|
||||
|
||||
Reference in New Issue
Block a user