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
This commit is contained in:
Sihua Ma
2023-08-08 17:44:29 +00:00
parent 8ac787308c
commit 9ec9712a97
2 changed files with 2 additions and 2 deletions

View File

@@ -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.

View File

@@ -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