Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9ec9712a authored by Sihua Ma's avatar Sihua Ma
Browse files

Modify meta parameters for remote adapter conversion

Relax the timeout constraint to 5000 ms and reduce the maximum allowed
number of entries to 10.

To be reverted by follow-up changes that dynamically allocate space for
entries.

Test: Manual
Bug: 245950570
Change-Id: I06ebd90aa8777193c7f8b04c70f93eb49004fd7f
parent 8ac78730
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -337,7 +337,7 @@ public class RemoteViews implements Parcelable, Filter {
     *
     * @hide
     */
    private static final int MAX_ADAPTER_CONVERSION_WAITING_TIME_MS = 2000;
    private static final int MAX_ADAPTER_CONVERSION_WAITING_TIME_MS = 5000;

    /**
     * Application that hosts the remote views.
+1 −1
Original line number Diff line number Diff line
@@ -47,7 +47,7 @@ public abstract class RemoteViewsService extends Service {
     *
     * @hide
     */
    private static final int MAX_NUM_ENTRY = 25;
    private static final int MAX_NUM_ENTRY = 10;

    /**
     * An interface for an adapter between a remote collection view (ListView, GridView, etc) and