Add error dialog to prevent the user adding cloud only photos when
offline

Preventing the user selecting non cached  unavailable
cloud only media.If user is offline and  tries adding any media which is not available or cached ,
an error dialog box will be shown.

Bug: b/291925524
Test: Try adding cloud-only unavailable photo while offline, an error
dialog will be shown.
(cherry picked from commit 9a77de82969f9ae5944524416210ec31f4e944ad)

Change-Id: I5930cb40c55b97f328c5fa84b6733a8f2399de68
Merged-In: I5930cb40c55b97f328c5fa84b6733a8f2399de68
10 files changed