mirror of
https://github.com/morluto/rea.git
synced 2026-11-29 01:46:39 +00:00
search_android_classes returned every match when limit was omitted, and an empty query lists every class. On VLC's APK that was 15,310 names and 809,004 bytes of MCP content. A page that stopped early reported only coverage "partial", so a caller could not tell where the next page began. Omitted limit now returns at most 256 matches, and the result reports next_offset: the offset of the following page, or null when no match follows. JADX already stops once the page and one more match are found, so a filtered search still needs a single provider call. On the same APK the empty query now returns 256 names in 27,105 bytes of CLI JSON. BREAKING CHANGE: a search_android_classes call that omits limit returns at most 256 matches. Page with next_offset, or pass a larger limit. Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>