"No application can perform this action" when trying to view a text message image I’m using an LG Tribute phone (Virgin Mobile) with Android.  I’ve noticed recently when someone sends me a text message with an image in it, and I click the image, I get a warning that reads

Note
No application can perform this action.  Enable disabled built-in application?
No / Yes


When I click the “Yes” button, nothing happens.  Previously, I could click on the image and it would open up in some kind of application (I forget which) where I could enlarge the image.  What is the built-in application the message is referring to?  How do I view a larger version of the image that is in a text message?
The application needed to do this is Google Photos.  Installing that solved the problem.