Skip to content

Conversation

@iusmac
Copy link
Owner

@iusmac iusmac commented Jan 3, 2026

No description provided.

iusmac added 12 commits January 3, 2026 11:33
…tons

Now we have a trailing buttons view holding the action, primary &
secondary buttons not just the action button, so refactoring is needed.
* ScrollableToolbarItemLayout is a Kotlin class.

---

/home/runner/work/7SIM/7SIM/SettingsLib/fwb/packages/SettingsLib/CollapsingToolbarBaseActivity/src/com/android/settingslib/collapsingtoolbar/CollapsingToolbarBaseActivity.java:34: error: cannot find symbol
import com.android.settingslib.collapsingtoolbar.widget.ScrollableToolbarItemLayout;
                                                       ^
  symbol:   class ScrollableToolbarItemLayout
  location: package com.android.settingslib.collapsingtoolbar.widget
/home/runner/work/7SIM/7SIM/src/com/github/iusmac/sevensim/ui/components/CollapsingToolbarBaseActivity.java:87: error: cannot find symbol
                  .map((v) -> (View) v.getParent());
                                      ^
symbol:   method getParent()
location: variable v of type Object
GitHub Actions runners are very slow sometimes, which timeouts our
tests, probably due to JVM waiting for resources from the OS such as
processor. We already faced a similar issue in
1b353b0 and 6946b97, so increasing timeout a bit should resolve the
issue. To maintain speed when testing locally, we still want to timeout
after 3 seconds.

    org.awaitility.core.ConditionTimeoutException: Condition with Lambda expression in com.github.iusmac.sevensim.telephony.SimPinFeederTest was not fulfilled within 3 seconds.
            at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
            at org.awaitility.core.CallableCondition.await(CallableCondition.java:78)
            at org.awaitility.core.CallableCondition.await(CallableCondition.java:26)
            at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:1160)
            at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:1129)
            at com.github.iusmac.sevensim.telephony.SimPinFeederTest.assertTaskInState(SimPinFeederTest.java:879)
            at com.github.iusmac.sevensim.telephony.SimPinFeederTest.test_ShouldUnlockWhenAttemptsRemainingIsAtLeastThree_SinceS(SimPinFeederTest.java:274)

---

Another symptom that GitHub Actions runners are very slow, is that we
even got a NPE in the SimPinFeeder thread that runs in parallel, because
the main/test thread already terminated (due to a fixed timeout), and
recycled objects that aren't reachable anymore.

    Exception in thread "Thread-71" java.lang.NullPointerException: Cannot invoke "android.telephony.TelephonyManager.getSimState()" because "this.mTelephonyManager" is null
            at com.github.iusmac.sevensim.telephony.SimPinFeeder$SimCard.toString(SimPinFeeder.java:325)
            at java.base/java.util.Formatter$FormatSpecifier.printString(Formatter.java:3158)
            at java.base/java.util.Formatter$FormatSpecifier.print(Formatter.java:3036)
            at java.base/java.util.Formatter.format(Formatter.java:2791)
            at java.base/java.util.Formatter.format(Formatter.java:2728)
            at java.base/java.lang.String.format(String.java:4431)
            at com.github.iusmac.sevensim.Logger.format(Logger.java:112)
            at com.github.iusmac.sevensim.Logger.v(Logger.java:56)
            at com.github.iusmac.sevensim.telephony.SimPinFeeder.run(SimPinFeeder.java:99)
@iusmac iusmac force-pushed the merge-december-2025-qpr2-patches branch from 5aecb69 to 3b44045 Compare January 5, 2026 12:59
iusmac added 3 commits January 5, 2026 14:47
/home/runner/work/7SIM/7SIM/tests/test/java/com/github/iusmac/sevensim/telephony/SimPinFeederTest.java:120: error: element value must be a constant expression
    @test(timeout = TASK_WAIT_TIMEOUT_MILLIS)
…space [Expressive Design] (#79)"

This reverts commit 60c5164.
…xpressive Design]

In the expressive theme introduced in Android 16 (Baklava), the switch
preference used in the SIM list activity contains additional space at
the beginning of the parent layout causing the title (e.g., SIM name)
and summary (e.g., next upcoming schedule) text views that precede it to
wrap earlier.
@iusmac iusmac force-pushed the merge-december-2025-qpr2-patches branch from 24881ea to 00d96a1 Compare January 7, 2026 08:09
@iusmac iusmac force-pushed the merge-december-2025-qpr2-patches branch from 00d96a1 to 6587a24 Compare January 7, 2026 08:40
@iusmac iusmac changed the base branch from 16.0-dev to 16.0-qpr2--dev January 7, 2026 13:19
@iusmac iusmac changed the base branch from 16.0-qpr2--dev to 16.0-qpr2-dev January 7, 2026 13:19
@iusmac iusmac merged commit 6307cce into 16.0-qpr2-dev Jan 7, 2026
1 check passed
@iusmac iusmac deleted the merge-december-2025-qpr2-patches branch January 7, 2026 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants