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

Commit 93abe0a1 authored by Fabrice Di Meglio's avatar Fabrice Di Meglio Committed by Android (Google) Code Review
Browse files

Merge "Remove Print Settings if the device if not supporting Printing"

parents 6c341ca0 488cae39
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1069,6 +1069,12 @@ public class SettingsActivity extends Activity
                            category.removeTile(n);
                        }
                    }
                } else if (id == R.id.print_settings) {
                    boolean hasPrintingSupport = getPackageManager().hasSystemFeature(
                            PackageManager.FEATURE_PRINTING);
                    if (!hasPrintingSupport) {
                        category.removeTile(n);
                    }
                } else if (id == R.id.development_settings) {
                    if (!showDev || um.hasUserRestriction(
                            UserManager.DISALLOW_DEBUGGING_FEATURES)) {