Revert "Receiving a broadcast message when home screen is ready."
Revert submission 16169565-b/199120420 Reason for revert: Breaking Build (b/207471332) Reverted Changes: Ibc101a249:Receiving a broadcast message when home screen is ... I18628552a:Sending broadcast message when home screen is read... Change-Id: Ie985295c7a643c6243f8025eaf007a882b651546
This commit is contained in:
@@ -41,7 +41,6 @@ import android.view.animation.AnimationUtils;
|
|||||||
import java.util.Objects;
|
import java.util.Objects;
|
||||||
|
|
||||||
public class FallbackHome extends Activity {
|
public class FallbackHome extends Activity {
|
||||||
public static final String HOME_IS_READY = "com.android.launcher3.HOME_IS_READY";
|
|
||||||
private static final String TAG = "FallbackHome";
|
private static final String TAG = "FallbackHome";
|
||||||
private static final int PROGRESS_TIMEOUT = 2000;
|
private static final int PROGRESS_TIMEOUT = 2000;
|
||||||
|
|
||||||
@@ -100,9 +99,7 @@ public class FallbackHome extends Activity {
|
|||||||
}
|
}
|
||||||
getWindow().getDecorView().setSystemUiVisibility(flags);
|
getWindow().getDecorView().setSystemUiVisibility(flags);
|
||||||
|
|
||||||
IntentFilter iFilter = new IntentFilter();
|
registerReceiver(mReceiver, new IntentFilter(Intent.ACTION_USER_UNLOCKED));
|
||||||
iFilter.addAction(HOME_IS_READY);
|
|
||||||
registerReceiver(mReceiver, iFilter);
|
|
||||||
maybeFinish();
|
maybeFinish();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user