Merge "Make the debug logging in pip menu more flexible"

This commit is contained in:
TreeHugger Robot
2020-08-24 21:11:29 +00:00
committed by Android (Google) Code Review

View File

@@ -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";