Skip to content
Snippets Groups Projects
Commit 5c5255eb authored by Michael Vines's avatar Michael Vines
Browse files

Enable default boot animation

Change-Id: I59746b442f8827c02295ee45d6baed557a7601f8
parent 48274fed
No related branches found
No related tags found
No related merge requests found
......@@ -25,6 +25,7 @@
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
ENABLE_DEFAULT_BOOTANIMATION:=true
include gonk-misc/b2g.mk
TARGET_PROVIDES_INIT_RC :=
PRODUCT_PACKAGES := $(filter-out fakeperm rilproxy,$(PRODUCT_PACKAGES))
......
git_rm cmds/bootanimation/Android.mk
Preserve framebuffer contents on initialization.
This avoids a black flash while transitioning from the static boot image and
boot animation.
---
libgralloc/framebuffer.cpp | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/libgralloc/framebuffer.cpp b/libgralloc/framebuffer.cpp
index 64e3c23..bf640bb 100644
--- a/libgralloc/framebuffer.cpp
+++ b/libgralloc/framebuffer.cpp
@@ -788,7 +788,6 @@ int mapFrameBufferLocked(struct private_module_t* module)
return -errno;
}
module->framebuffer->base = intptr_t(vaddr);
- memset(vaddr, 0, fbSize);
#if defined(HDMI_DUAL_DISPLAY)
/* Overlay for HDMI*/
--
1.7.0.4
Preserve framebuffer contents on initialization.
This avoids a black flash while transitioning from the static boot image and
boot animation.
---
libgralloc/a-family/framebuffer.cpp | 1 -
libgralloc/badger/framebuffer.cpp | 1 -
2 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/libgralloc/a-family/framebuffer.cpp b/libgralloc/a-family/framebuffer.cpp
index e107312..b7c4379 100755
--- a/libgralloc/a-family/framebuffer.cpp
+++ b/libgralloc/a-family/framebuffer.cpp
@@ -956,7 +956,6 @@ int mapFrameBufferLocked(struct private_module_t* module)
return -errno;
}
module->framebuffer->base = intptr_t(vaddr);
- memset(vaddr, 0, fbSize);
#if defined(HDMI_DUAL_DISPLAY)
/* Overlay for HDMI*/
diff --git a/libgralloc/badger/framebuffer.cpp b/libgralloc/badger/framebuffer.cpp
index 63587c6..6554ac2 100644
--- a/libgralloc/badger/framebuffer.cpp
+++ b/libgralloc/badger/framebuffer.cpp
@@ -988,7 +988,6 @@ int mapFrameBufferLocked(struct private_module_t* module)
return -errno;
}
module->framebuffer->base = intptr_t(vaddr);
- memset(vaddr, 0, fbSize);
#if defined(HDMI_DUAL_DISPLAY)
/* Overlay for HDMI*/
--
1.7.0.4
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment