Merge "Update the flag check for back gesture to include tablet filtering to reduce the scope of desktop windowing logic." into main