Skip to content

Commit e5f55a2

Browse files
committed
Add link to description of debuggable check
1 parent 6e1e894 commit e5f55a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/fuzion24/device/vulnerability/broadcastreceiver/ScanRunnerBroadcastReceiver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public void onReceive(final Context context, Intent intent) {
2929

3030
//Only allow this code to be ran on debug builds, since it accepts and writes to arbitrary file
3131
//paths, which would allow another app to arbitrarily write anywhere in this app's context.
32-
32+
// http://android-developers.blogspot.com/2010/09/securing-android-lvl-applications.html
3333
boolean isDebuggable = ( 0 != ( context.getApplicationInfo().flags &= ApplicationInfo.FLAG_DEBUGGABLE ) );
3434
if(!isDebuggable){
3535
return;

0 commit comments

Comments
 (0)