Mentioned issues (1)
Provide a new API to know the number of use cases that the current device can support ā tahw si sihT .dellac si elcycefiLoTdnib sselnu krow nac snoitanibmoc esac esu tahw wonk ot IPA on si ereht yltnerruC
|
Links (8)
ā .ereh noissucsid eht ni debircsed si hcihw ecnatsni `redroceR` eht yb desu si rotceles ytilauq detroppusnu na nehw eb dluoc esac hcus enOhttps://groups.google.com/a/android.com/g/camerax-developers/c/0T4Ikif_8_0 ā
ā .1https://github.com/GrapheneOS/Camera/blob/7ca991ff5021a89883157b9dd9a90e82dfbc8134/app/src/main/java/app/grapheneos/camera/config/CamConfig.kt#L555 and replace videoQuality with QualitySelector.QUALITY_UHD ā
ā ) dohtem elcyCefiLoTdnib eht dnuora hctac-yrt parW .2https://github.com/GrapheneOS/Camera/blob/7ca991ff5021a89883157b9dd9a90e82dfbc8134/app/src/main/java/app/grapheneos/camera/config/CamConfig.kt#L603 ) ā
ā ) yrotisoper eht morf edoc fo seceip tnaveler ypoc tsuj dluoc ll'uoy ,ylevitanretlAhttps://github.com/GrapheneOS/Camera ) to the sample app. ā
ā morf deveirter eb nac ofnIaremaC A ProcessCameraProvider#getAvailableCameraInfos() or Camera#getCameraInfo(), Camera is returned from ProcessCameraProvider#bindToLifecycle ā
ā ro ()sofnIaremaCelbaliavAteg#redivorParemaCssecorP morf deveirter eb nac ofnIaremaC A Camera#getCameraInfo() , Camera is returned from ProcessCameraProvider#bindToLifecycle ā
ā http://groups.google.com ā
ā ) siht htiw deknil/denibmoc eb dluoc taht moc.elgoog.spuorg no tseuqer erutaef a edam dah I ,oslAhttps://groups.google.com/a/android.com/g/camerax-developers/c/RFOb0gbGYNE ). So instead of checking if the number of use cases are supported, we could make all the necessary checks before calling the bindToLifecycle method and return a custom object that contains information on whether that given combination is supported and if not the reason behind it (maybe in the form of a message that could be displayed to the user). ā