1
Take three barf bags from nearby seat pockets, and remove their pliable closure tabs.
2
Bend two tabs into Z shapes. Work one end of each tab into gaps above the tray table lock. The other ends cradle the bottom of your phone.
3
Fashion the third tab into an inverted J, and wedge it between the lock and the upholstered seat to secure the top of the phone.
4
Plug in your headphones, sit back, relax, and (actually) enjoy the flight.