Fixed the issue that the same album gets duplicated in Gallery3D

If we take a photo in camera and then go directly into Gallery
album view by touching the folder icon twice (located in the upper
left corner of image review screen), the same "Camera" Album is
being displayed twice.

In this case, the addMediaSet() is called twice with the same setid
and datasource, which refers to the same "Camera" album. We avoid
the same album being added into mMediaSets.

Change-Id: I19fe227c6a036de262825ba11bbbf13c25271471

Signed-off-by: madan ankapura <mankapur@sta.samsung.com>
1 file changed