Skip to content

Commit 5d37f23

Browse files
committed
Get rid of the '&=' -- It's tenically correct, but just & is cleaner
1 parent e5f55a2 commit 5d37f23

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
@@ -30,7 +30,7 @@ public void onReceive(final Context context, Intent intent) {
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.
3232
// http://android-developers.blogspot.com/2010/09/securing-android-lvl-applications.html
33-
boolean isDebuggable = ( 0 != ( context.getApplicationInfo().flags &= ApplicationInfo.FLAG_DEBUGGABLE ) );
33+
boolean isDebuggable = ( 0 != ( context.getApplicationInfo().flags & ApplicationInfo.FLAG_DEBUGGABLE ) );
3434
if(!isDebuggable){
3535
return;
3636
}

0 commit comments

Comments
 (0)