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
This commit is contained in:
@@ -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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user