Made some changes to window caption APIs

As recommended by API council.

Bug: 26509365
Change-Id: I52cbe40334f65868952791150510311ab1cc00e6
1 file changed