Merge "Use fragment context in AppHeaderController"
This commit is contained in:
committed by
Android (Google) Code Review
commit
cb92917e1e
@@ -90,7 +90,7 @@ public class AppHeaderController {
|
||||
if (appHeader != null) {
|
||||
mAppHeader = appHeader;
|
||||
} else {
|
||||
mAppHeader = LayoutInflater.from(mContext)
|
||||
mAppHeader = LayoutInflater.from(fragment.getContext())
|
||||
.inflate(R.layout.app_details, null /* root */);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user