The Pixel 2's Active Edge squeeze feature is only supposed to trigger Google Assistant, but, with some work, you can change that.
How to Remap the Pixel 2's Active Edge Squeezing : Read more
How to Remap the Pixel 2's Active Edge Squeezing : Read more