[automerger skipped] DO NOT MERGE: Enable ENABLE_DYNAMIC_PERMISSIONS depending on MediaProvider. am: 08b56aa19b am: 3c6360453f -s ours

am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12977056

Change-Id: I8763b7451d6d81c397fc37528954b4fd6b504d8a