Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 67feaba4 authored by Nikolas Havrikov's avatar Nikolas Havrikov
Browse files

Make the debug logging in pip menu more flexible

Instead of hardcoding the DEBUG flag as false, this CL makes it
flexibly toggle-able by means of adb setprop.

Test: manually
Change-Id: If81a82eb206865225a5b52bcef2cd0f9fc92c7bd
parent 6a3e6ad7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -36,8 +36,8 @@ import javax.inject.Inject;
 * Activity to show the PIP menu to control PIP.
 */
public class PipMenuActivity extends Activity implements PipManager.Listener {
    private static final boolean DEBUG = false;
    private static final String TAG = "PipMenuActivity";
    private static final boolean DEBUG = Log.isLoggable(TAG, Log.DEBUG);

    static final String EXTRA_CUSTOM_ACTIONS = "custom_actions";