Fix various broken tests in CTS.
Broken on account of the changed behavior of AndroidJUnitRunner.java
no longer calling Looper.prepare.
android.content.cts.AsyncQueryHandlerTest#testConstructor
android.content.cts.AsyncQueryHandlerTest#testCreateHandler
android.text.cts.ClipboardManagerTest#testAccessText
android.text.cts.ClipboardManagerTest#testAndroidTestCaseSetupProperly
android.text.cts.ClipboardManagerTest#testHasText
android.text.cts.EmojiTest#testEmojiEditable
android.text.method.cts.CharacterPickerDialogTest#testConstructor
android.text.method.cts.CharacterPickerDialogTest#testOnItemClick
android.view.cts.GestureDetectorTest#testConstructor
android.view.cts.SurfaceViewTest#testConstructor
android.permission.cts.NoLocationPermissionTest#testRequestLocationUpdatesGps
android.permission.cts.NoLocationPermissionTest#testRequestLocationUpdatesNetwork
android.content.cts.ContentQueryMapTest#testConstructor
android.content.cts.ContentQueryMapTest#testGetRows
android.content.cts.MutableContextWrapperTest#testSetBaseContext
android.view.cts.WindowTest#testSetLocalFocus
android.location.cts.LocationManagerTest#testGpsStatusListener
See ag/547306
bug:17609234
Change-Id: I5f0731b7dddc44007fd8276a86d63b30a6011449
11 files changed