Add -Wall and -Werror to Android.bp. Remove some dead code caught by the compiler. Bug: 397325642 Test: builds Change-Id: I455731ffb4ca787b9dbbdceff19683022a0fa66b