Do not install the MediaProvider module in the clone profile

Bug: 182396009
Test: atest android.multiuser.cts.UserManagerTest#testCloneUser, atest com.android.server.pm.UserManagerTest#testCloneUser and manually ran shell commands on the clone user

Change-Id: If1a9a7fe8b446d333f54096ba900209f06d733ce
(cherry picked from commit 503dd382c5c3367ff13a38ce65db7c28b9cecd23)
diff --git a/preinstalled-packages-com.android.providers.media.module.xml b/preinstalled-packages-com.android.providers.media.module.xml
new file mode 100644
index 0000000..fd31162
--- /dev/null
+++ b/preinstalled-packages-com.android.providers.media.module.xml
@@ -0,0 +1,23 @@
+<!--
+  ~ Copyright (C) 2021 The Android Open Source Project
+  ~
+  ~ Licensed under the Apache License, Version 2.0 (the "License");
+  ~ you may not use this file except in compliance with the License.
+  ~ You may obtain a copy of the License at
+  ~
+  ~      http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+<config>
+    <install-in-user-type package="com.android.providers.media.module">
+        <install-in user-type="SYSTEM"/>
+        <install-in user-type="FULL"/>
+        <install-in user-type="PROFILE"/>
+        <do-not-install-in user-type="android.os.usertype.profile.CLONE"/>
+    </install-in-user-type>
+</config>
\ No newline at end of file