commit | 0c8d8e4cb15c45ba73e523eac829a40829904b94 | [log] [tgz] |
---|---|---|
author | Aaron Whyte <awhyte@google.com> | Fri Jun 12 11:34:20 2015 -0700 |
committer | Aaron Whyte <awhyte@google.com> | Fri Jun 12 11:34:20 2015 -0700 |
tree | 3b7ac9bffb05a636ea773bac93c517f59fcfe13e | |
parent | ca1ac6218036f4c2cbacf7b256edb49a5339a8fb [diff] |
Moves sample watchface bitmap scaling to onSurfaceChanged(). It used to happen in onDraw(), but onSurfaceChanged() is more appropriate for initialization, and reacting to surface changes. Bug: 21739572 Change-Id: Ib9467e492bad1cbe16c7d578022229bcab9cd4f9