Fix bug #15001610 Java crash in settings is observed while adding Google account on wiped device

- update Settings main layout to be able to show the Buttons
- make WifiPickerActivity a SettingsActivity and remove dead code
- fix reference to Buttons for using the Settings IDs instead
of the Framework ones

Change-Id: I23bfd1b8290fc007e6e80aa9a6297e55e7f6004e
This commit is contained in:
Fabrice Di Meglio
2014-05-20 12:55:15 -07:00
parent 38f2b27c0d
commit d2b64f339a
3 changed files with 9 additions and 75 deletions

View File

@@ -24,8 +24,9 @@
<LinearLayout
android:orientation="vertical"
android:layout_height="match_parent"
android:layout_width="match_parent">
android:layout_height="0px"
android:layout_width="match_parent"
android:layout_weight="1">
<com.android.settings.widget.SwitchBar android:id="@+id/switch_bar"
android:layout_height="?android:attr/actionBarSize"
@@ -37,7 +38,6 @@
android:id="@+id/prefs"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
/>
</LinearLayout>