OSDN Git Service

Remove duplicate code
[android-x86/packages-apps-Taskbar.git] / app / src / main / java / com / farmerbb / taskbar / activity / HomeActivityDelegate.java
index c2cbfa1..b21765e 100644 (file)
@@ -200,11 +200,6 @@ public class HomeActivityDelegate extends Activity {
             return false;
         });
 
-        if(U.isChromeOs(this))
-            killHomeActivity();
-        else
-            setContentView(view);
-
         if((this instanceof HomeActivity || U.isLauncherPermanentlyEnabled(this))
                 && !U.isChromeOs(this)) {
             setContentView(view);