In directory mode the file chooser would display the parent directory.

So for directory /temp/foo we would get /temp/ instead of /temp/foo/

Change-Id: Ia3d56dfa5f10a377b353c604eb90d1121d24cb20
Merge topic 'filechooser_directory_bug' into next

4381528 In directory mode the file chooser would display the parent directory.