Skip to content

Commit 993f8a8

Browse files
committed
bootanimation: Remove a property_set that is causing a warning in dmesg. DO NOT MERGE
Remove a property_set() call that causes the kernel error log: <3>[ 36.437164] init: sys_prop: permission denied uid:1003 name:service.bootanim.exit This set fails because the property is read only for non-root processes. It was added by Kevin as part of the clean exit of the boot animation change, but it's only needed when testing the boot animation from cmdline. When called from init, init will clear the property itself before it reruns the boot animation. Change-Id: I07563009f57d576da8063708cbe66ff08f6757c8 Signed-off-by: Mike J. Chen <mjchen@google.com>
1 parent b088ed7 commit 993f8a8

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

cmds/bootanimation/BootAnimation.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -294,9 +294,6 @@ bool BootAnimation::threadLoop()
294294
r = movie();
295295
}
296296

297-
// No need to force exit anymore
298-
property_set(EXIT_PROP_NAME, "0");
299-
300297
eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);
301298
eglDestroyContext(mDisplay, mContext);
302299
eglDestroySurface(mDisplay, mSurface);

0 commit comments

Comments
 (0)