This was a regression only in master since we switched to SDK 25 This commit also fixes all other warnings with AbstractDeviceSupport.java