Pulse: Consolidate functions and fix NPE

* Consolidating different functions into updatePulseVisibility().
* Check mStatusbar.getNavigationBarView() to fix NPE on device without navbar

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Anushek Prasal <anushekprasal@gmail.com>
Change-Id: I26900c26fdcb1593dacd5bf3a34f92f4257666e2
1 file changed
tree: 1556dac4704a879cd068cbff29c77f9e8de3c6e3
  1. res/
  2. src/
  3. Android.mk
  4. LICENSE