Fix issue #3163240: Blank running services screen after returning
from any specific service Also get rid of async Vpn thing since the framework problem is fixed. Change-Id: Ic7aafd666ea11b036e3e42c55332620db1fdf154
This commit is contained in:
@@ -580,6 +580,7 @@ public class ManageApplications extends Fragment implements
|
||||
R.id.running_processes);
|
||||
|
||||
mCreatedRunning = mResumedRunning = false;
|
||||
mCurView = VIEW_NOTHING;
|
||||
|
||||
View tabRoot = mInflater.inflate(com.android.internal.R.layout.tab_content, null);
|
||||
mTabHost = (TabHost)tabRoot.findViewById(com.android.internal.R.id.tabhost);
|
||||
|
@@ -138,8 +138,6 @@ public class VpnSettings extends SettingsPreferenceFragment
|
||||
|
||||
private StatusChecker mStatusChecker = new StatusChecker();
|
||||
|
||||
private Handler mHandler = new Handler();
|
||||
|
||||
@Override
|
||||
public void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
@@ -392,12 +390,7 @@ public class VpnSettings extends SettingsPreferenceFragment
|
||||
|
||||
if (requestCode == REQUEST_SELECT_VPN_TYPE) {
|
||||
final String typeName = data.getStringExtra(KEY_VPN_TYPE);
|
||||
mHandler.post(new Runnable() {
|
||||
|
||||
public void run() {
|
||||
startVpnEditor(createVpnProfile(typeName), true);
|
||||
}
|
||||
});
|
||||
} else if (requestCode == REQUEST_ADD_OR_EDIT_PROFILE) {
|
||||
VpnProfile p = data.getParcelableExtra(KEY_VPN_PROFILE);
|
||||
if (p == null) {
|
||||
|
Reference in New Issue
Block a user