frameworks/base: fix lost setting

Change-Id: Ia3e1d011e3f5085979595a171b0ce0c5a5cba129