The uri is as follows:
content://com.google.android.apps.photos.contentprovider/-1/1/file%3A%2F%2F%2Fstorage%2Femulated%2F0%2FDCIM%2Fimg1.jpg/ORIGINAL/NONE/1347105467
Getting path return the below data as follows:
/-1/1/file:///storage/emulated/0/DCIM/img1.jpg/ORIGINAL/NONE/1347105467
I am also getting null while going to read input stream using the below code.
InputStream inputStream = getContentResolver().openInputStream(uri);