Merge "Protect the Settings application from potential null pointer exceptions." into main
This commit is contained in:
@@ -1034,6 +1034,9 @@ public class ManageApplications extends InstrumentedFragment
|
||||
}
|
||||
|
||||
private void autoSetCollapsingToolbarLayoutScrolling() {
|
||||
if (mAppBarLayout == null) {
|
||||
return;
|
||||
}
|
||||
final CoordinatorLayout.LayoutParams params =
|
||||
(CoordinatorLayout.LayoutParams) mAppBarLayout.getLayoutParams();
|
||||
final AppBarLayout.Behavior behavior = new AppBarLayout.Behavior();
|
||||
|
Reference in New Issue
Block a user