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

Commit db5e7e1c authored by Zhi Dou's avatar Zhi Dou Committed by Automerger Merge Worker
Browse files

Merge "capture NoClassDefFoundError" into main am: 38b8018b am: ba96b01e

parents 68a0209e ba96b01e
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -531,6 +531,9 @@ mod tests {
                    disabledRwInOtherNamespace = reader.getBooleanFlagValue(3);
                } catch (Exception e) {
                    // pass
                } catch (NoClassDefFoundError e) {
                    // for mainline module running on older devices.
                    // This should be replaces to version check, after the version bump.
                }
                isCached = true;
            }
+3 −0
Original line number Diff line number Diff line
@@ -29,6 +29,9 @@ public final class FeatureFlagsImpl implements FeatureFlags \{
            {{ -endfor }}
        } catch (Exception e) \{
            // pass
        } catch (NoClassDefFoundError e) \{
            // for mainline module running on older devices.
            // This should be replaces to version check, after the version bump.
        }
        isCached = true;
    }