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

Commit 7201e71d authored by Keith Mok's avatar Keith Mok
Browse files

Remove set as home menu item for secure storage

It just don't support it currently as it requires
the UI to ask for password first.

FEIJ-825

Change-Id: I7ef4199d99110652b3f13fe9fed8336bf07f59f4
parent bbf22661
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -786,6 +786,10 @@ public class ActionsDialog implements OnItemClickListener, OnItemLongClickListen
            menu.removeItem(R.id.mnu_actions_set_as_home);
        } else if (mGlobal && (selection != null && selection.size() > 0)) {
            menu.removeItem(R.id.mnu_actions_global_set_as_home);
        } else if (!mGlobal && (mFso.isSecure() || mFso.isRemote())) {
            menu.removeItem(R.id.mnu_actions_set_as_home);
        } else if (mGlobal && (mFso.isSecure() || mFso.isRemote())) {
            menu.removeItem(R.id.mnu_actions_global_set_as_home);
        }

        // Not allowed in search