OSDN Git Service

Allow changing search bar hint in the cling on-the-fly
authorSandeep Siddhartha <sansid@google.com>
Thu, 26 Dec 2013 23:42:52 +0000 (15:42 -0800)
committerSandeep Siddhartha <sansid@google.com>
Thu, 26 Dec 2013 23:42:52 +0000 (15:42 -0800)
commitd4d3d08741b2c183dbcba1fa25ca100783bfe1ee
treec95c52a78441a55312491f31352fa1bbc837c2cf
parent5f85bb4977d95a1a8148ce28d534586fb1dff45d
Allow changing search bar hint in the cling on-the-fly

- This allows GEL to initially supply an empty string if hotword isn't
  active, and later on update the cling if and when the hotword becomes
  active.
- This isn't expensive as it'll only be called if Launcher first calls
  getFirstRunClingSearchBarHint, i.e. once every fresh install/clear
  data

Bug: 11116105
Change-Id: Ia963bb62d7b331afd0c34adfa6c4b6bdbac48349
src/com/android/launcher3/Launcher.java