device: input: use reflection for getting the navigation bar

Change-Id: I1e623f4ea09b0f232c6f19f964512a8a21b7cfee