Adjust for compatibility mode before setSourceBounds().
When invoked from an anyDensity="false" or pre-Donut app, View.getLocationOnScreen() returns values in compatibility mode. This change fixes QuickContact and RemoteViews to always adjust based on CompatibilityInfo.applicationScale. Also deprecates an extra previously being used to pass Rect for QuickContact windows. Fixes http://b/2306495
Loading
Please register or sign in to comment