Fix: remove hardware feature requirements
Fix: remove hardware feature requirements

Forcefully remove unnecessary hardware requirements. Previously, the log
file, app/build/outputs/logs/manifest-merger-dev-debug-report.txt, would
show*:

  ADDED from /home/stephen/Desktop/wikipedia/app/src/main/AndroidManifest.xml:35:5-87
  MERGED from [com.mapzen.android:lost:2.1.2] /home/stephen/.android/build-cache/9ceaebdefe79b93c3000b583d40901838bcdedd4/output/AndroidManifest.xml:12:5-62
	  android:required
		  ADDED from /home/stephen/Desktop/wikipedia/app/src/main/AndroidManifest.xml:35:60-84
  		MERGED from /home/stephen/Desktop/wikipedia/app/src/custom/AndroidManifest.xml
	  android:name
		  ADDED from /home/stephen/Desktop/wikipedia/app/src/main/

Then with tools:node="remove":

  uses-feature#android.hardware.location
  ADDED from /home/stephen/dev/wmf/wikipedia-android/app/src/main/AndroidManifest.xml:35:5-107
  REJECTED from [com.mapzen.android:lost:2.1.2] /home/stephen/.android/build-cache/9ceaebdefe79b93c3000b583d40901838bcdedd4/output/AndroidManifest.xml:12:5-62
    tools:node
      ADDED from /home/stephen/dev/wmf/wikipedia-android/app/src/main/AndroidManifest.xml:35:60-79
    android:required
      ADDED from /home/stephen/dev/wmf/wikipedia-android/app/src/main/AndroidManifest.xml:35:80-104
    android:name
      ADDED from /home/stephen/dev/wmf/wikipedia-android/app/src/main/AndroidManifest.xml:35:19-59

But that didn't seem to actually work even though the report appeared
correct. After this patch (with tools:node="replace"):

  uses-feature#android.hardware.location
  ADDED from /home/stephen/dev/wmf/wikipedia-android/app/src/main/AndroidManifest.xml:36:5-108
  REJECTED from [com.mapzen.android:lost:2.1.2] /home/stephen/.android/build-cache/9ceaebdefe79b93c3000b583d40901838bcdedd4/output/AndroidManifest.xml:12:5-62
    tools:node
      ADDED from /home/stephen/dev/wmf/wikipedia-android/app/src/main/AndroidManifest.xml:36:60-80
    android:required
      ADDED from /home/stephen/dev/wmf/wikipedia-android/app/src/main/AndroidManifest.xml:36:81-105
    android:name
      ADDED from /home/stephen/dev/wmf/wikipedia-android/app/src/main/AndroidManifest.xml:36:19-59

*Paths differ some due to different build locations.

This patch also enables strict mode to require manual resolution of
conflicts in the future.

More on manifest merger: https://developer.android.com/studio/build/manifest-merge.html
Upstream change: https://github.com/mapzen/lost/commit/b59880df7bd91d193206c268253e704d313aae63

Change-Id: I186d9ed9dbee3c38008e7ecd5b0763a19719b4b2

dbrant/apps-android-wikipedia,wikimedia/apps-android-wikipedia,dbrant/apps-android-wikipedia,dbrant/apps-android-wikipedia,wikimedia/apps-android-wikipedia,dbrant/apps-android-wikipedia,dbrant/apps-android-wikipedia,wikimedia/apps-android-wikipedia,wikimedia/apps-android-wikipedia