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

Commit 38b8018b authored by Zhi Dou's avatar Zhi Dou Committed by Gerrit Code Review
Browse files

Merge "capture NoClassDefFoundError" into main

parents dc9587a9 fc3d31bc
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;
    }