Doris Ling dd5693c6f4 Fix crash in TetherSettings.
In onCreate(), it checkes whether ui is restricted, and try to show an
empty screen by creating a new preference screen. However, when the
preference is not attached, it failed to get the next preference id.
Instead of replacing the current screen with a new one, remove all the
preferences on the screen.

Change-Id: I085bee025cfeabaf4aefacb717d145e668bd85e1
Fix: 36589767
Test: manual
2017-03-24 13:10:09 -07:00
2017-03-24 16:53:00 +00:00
2015-04-13 09:21:39 -07:00
Description
No description provided
3.1 GiB
Languages
Java 89.8%
Kotlin 10.2%