Skip to content

Commit

Permalink
hwc2: Remove default mode application at boot.
Browse files Browse the repository at this point in the history
Let surfaceflinger set the default mode at boot and do
not override it when bootanimation completes.

Bug: 30204843
Change-Id: I6b7b0ec8fcb423a240988e73ec5e500fe4c9da60
  • Loading branch information
naseer authored and spfetsch committed Jul 20, 2016
1 parent f9af8a4 commit 783fb5f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions msm8996/sdm/libs/hwc2/hwc_display_primary.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,6 @@ HWC2::Error HWCDisplayPrimary::Validate(uint32_t *out_num_types, uint32_t *out_n
auto status = HWC2::Error::None;
DisplayError error = kErrorNone;

if (!boot_animation_completed_)
ProcessBootAnimCompleted();

if (display_paused_) {
MarkLayersForGPUBypass();
return status;
Expand Down

0 comments on commit 783fb5f

Please sign in to comment.