CameraApp: Updating the view for new list item preference

User has launched the popup menu view in portait mode and can see
all the list items in a single view.
When user turns the device to landscape mode, the popup view will
be shown partially, thus user has to scroll the popup menu to see
remaining list items.
When user scroll's over the view, if the view is not updated/
initialized with the new list item, it will render the old indexed
item(s), thus user will see the repeatation of old items.
This fix will update the view by initializing the item preference
from the adapter and returns the updated view based on new position.

CRs-fixed: 524897

(cherrypicked from: I9ae25f0a711bc641fa405e85292db2c1af95e8a1)

Change-Id: I7cc63c9e01a69b6c439102a93f964013f1e15374
(cherry picked from commit d69c568eb8bf9a9a5cce6c9402617f9e6f3072a8)
(cherry picked from commit 3851a9b18310580ef9f6ccecdfb1c3ca08a6c719)
1 file changed