2/ Use TAPL for going home and recents in app close tests

Previously we used UIAutomator directly which could cause instability

Also, fix ktlint formatting issues

Bug: 236131465
Test: atest FlickerTests
Change-Id: I685c6c50774135ea07b7a3be399cb397d96f3744
3 files changed