Use DB_REPLICA constant instead of DB_SLAVE
Bug: T190395 Change-Id: Ib0d6194072fc6fca1cfe0ce425f6c0033e852cfc