diff --git a/src/org/linphone/AccountPreferencesFragment.java b/src/org/linphone/AccountPreferencesFragment.java index f1d062df0..28f2f89aa 100644 --- a/src/org/linphone/AccountPreferencesFragment.java +++ b/src/org/linphone/AccountPreferencesFragment.java @@ -45,7 +45,7 @@ public class AccountPreferencesFragment extends PreferencesListFragment { super.onCreate(savedInstanceState); PreferenceScreen screen = getPreferenceScreen(); - int n = getArguments().getInt("Account", 1); + int n = getArguments().getInt("Account", 0); manageAccountPreferencesFields(screen, n); } diff --git a/tests/lib/LinphoneTest$py.class b/tests/lib/LinphoneTest$py.class index 1bd69ba0e..9de4b4671 100644 Binary files a/tests/lib/LinphoneTest$py.class and b/tests/lib/LinphoneTest$py.class differ diff --git a/tests/lib/LinphoneTest.py b/tests/lib/LinphoneTest.py index 1c7175c58..198a395d5 100644 --- a/tests/lib/LinphoneTest.py +++ b/tests/lib/LinphoneTest.py @@ -43,6 +43,9 @@ class LinphoneTest(): def print_result_ko(self): print self.test_name + colors.KO + ' KO' + colors.END + def press_back(self): + self.device.press('KEYCODE_BACK', MonkeyDevice.DOWN_AND_UP) + # Override following methods def precond(self): pass