I do see "Added in Android UpsideDownCake" at 
https://developer.android.com/reference/android/Manifest.permission#READ_MEDIA_VISUAL_USER_SELECTED
 

On Thursday, April 6, 2023 at 1:00:51 AM UTC+5:30 cdesai wrote:

> Hello,
>
> I'm trying to build the latest tags released for mainline modules.
>
> I don't see much documentation for those publicly, if there's something 
> that I missed, would anyone mind linking to it?
>
> I chose the tag `aml_per_331512020`, which has the decription 
> "aml_per_331512020 (9532533,com.google.android.permission)", which I 
> assumed to mean to refer to AOSP module "com.android.permission"
>
> I inited a tree with that, then:
> ```
> export TARGET_BUILD_APPS=com.android.mediaprovider
> packages/modules/common/build/build_unbundled_mainline_module.sh --product 
> module_arm64 --dist_dir out/mainline_modules
> ```
>
> This leads to an error:
> ```
> packages/providers/MediaProvider/src/com/android/providers/media/util/PermissionUtils.java:29:
>  
> error: cannot find symbol
> import static android.Manifest.permission.READ_MEDIA_VISUAL_USER_SELECTED;
> ```
>
> Reverting 
> https://android.googlesource.com/platform/packages/providers/MediaProvider/+/88b1f1fbed47cc6db7c795134a2a980067332ce5
>  
> makes it build.
>
> Are these the correct steps? Is the build failure expected?
>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-building+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/70e13e00-409a-4043-bbe2-cc36542f36f3n%40googlegroups.com.

Reply via email to