Allow top-level drawable container in progressDrawable
Bug: 19269656 Change-Id: I82a49d1565f5c49320872f1489ce0f630ac85bd0
This commit is contained in:
@@ -1241,7 +1241,7 @@ public class ProgressBar extends View {
|
||||
private synchronized void doRefreshProgress(int id, int progress, boolean fromUser,
|
||||
boolean callBackToApp) {
|
||||
float scale = mMax > 0 ? (float) progress / (float) mMax : 0;
|
||||
final Drawable d = mCurrentDrawable;
|
||||
final Drawable d = mCurrentDrawable.getCurrent();
|
||||
if (d != null) {
|
||||
Drawable progressDrawable = null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user