Fix crashes when entering battery saver mode.
A number of the Permissions Controller screens crash when enabling battery saver mode while they are open. This fixes them by properly checking for a null Activity. Change-Id: I147028bd3cfaaf28cd3a68c8c9c51a05756fc199 Fixes: 117661500 Test: Enable Battery Saver mode in many screens and see no crash.
Loading
Please register or sign in to comment