Skip to content

Instantly share code, notes, and snippets.

View arnaudruffin's full-sized avatar

Arnaud Ruffin arnaudruffin

View GitHub Profile
@arnaudruffin
arnaudruffin / AndroidManifest.xml
Created August 8, 2017 09:31 — forked from riggaroo/AndroidManifest.xml
Custom Android Espresso Test Runner - Unlocking a Device, Granting Permission to turn animations off, turning the Screen on.
<?xml version="1.0" encoding="utf-8"?>
<!-- Put this file in the "debug" folder so it only gets merged into debug builds -->
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="org.bookdash.android">
<uses-permission android:name="android.permission.DISABLE_KEYGUARD"/>
<uses-permission android:name="android.permission.WAKE_LOCK"/>
<!-- Disable animations on debug builds so that the animations do not interfere with Espresso