Fix RemoteViews.java style.
The checkstyle pre-upload hook used to crash every time someone tried to
make changes in RemoteViews.java (because of the newish syntax with
instanceof casts - b/278858555), so everyone has just been skipping it.
That bug has now been fixed, and the checkstyle script has a lot to say
about this file.
There's still a lot of code that can be improved here, but I tried to be
conservative with the changes here - I focused on the things the
checkstyle presubmit complained about, and moved some parameters to the
beginning of the classes for consistency.
Bug: 278858555
Test: presubmit, no behavior change
Change-Id: Ic0819ec6aec87926b48735786ad6f434119545c0
1 file changed