Commit d3ea3528 authored by Matthew Finkel's avatar Matthew Finkel Committed by Georg Koppen
Browse files

fixup! Bug 28329 - Part 4. Add new Tor Bootstrapping and configuration screens

Bug 29906 Add API-level guard
parent 8b16afa5
Loading
Loading
Loading
Loading
+10 −5
Original line number Diff line number Diff line
@@ -106,11 +106,16 @@ public class TorBootstrapPanel extends FirstrunPanel implements TorBootstrapLogg
            }
        });

        if (Build.VERSION.SDK_INT > 20) {
            // Round the button's edges, but only on API 21+. Earlier versions
            // do not support this.
            //
            // This should be declared in the xml layout, however there is a bug
            // preventing this (the XML attribute isn't actually defined in the
            // SDK).
            // https://issuetracker.google.com/issues/37036728
            connectButton.setClipToOutline(true);
        }

        configureGearCogClickHandler();