-
Notifications
You must be signed in to change notification settings - Fork 249
Pie : patch framework source
Peter Yoon edited this page Jun 15, 2019
·
6 revisions
Until android.hardware.graphics.mapper retain the buffer,
Apply following patch under hardware/interfaces.
graphics/allocator/2.0/utils/hal/include/allocator-hal/2.0/Allocator.h
@@ line 66 @@ class AllocatorImpl : public Interface {
hidl_vec<hidl_handle> hidlBuffers(buffers.cbegin(), buffers.cend());
hidl_cb(Error::NONE, stride, hidlBuffers);
+ usleep(1000);
// free the local handles
mHal->freeBuffers(buffers);
Since rpi3 max texture size is 2048x2048,
Apply following patch under frameworks/base.
services/core/java/com/android/server/wm/DisplayContent.java
@@ line 773 @@ class DisplayContent
mSurfaceSize = Math.max(mBaseDisplayHeight, mBaseDisplayWidth) * 2;
+ if (mSurfaceSize > 2048) mSurfaceSize = 2048;
final SurfaceControl.Builder b = mService.makeSurfaceBuilder(mSession)
To enable Keyboard enter-key,
Apply following patch under packages/apps/TvSettings
Settings/res/layout/setup_password_item.xml
@@ line 35
- <EditText
+ <android.support.v17.leanback.widget.GuidedActionEditText
android:id="@+id/guidedactions_item_title"
style="@style/Setup.Action.TextInput"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:focusable="true"
android:gravity="center_vertical"
android:imeOptions="actionNext|flagNoExtractUi"
android:inputType="text">
- </EditText>
+ </android.support.v17.leanback.widget.GuidedActionEditText>