Skip to content

Commit

Permalink
Remove PrivacyFragment.java and references to it
Browse files Browse the repository at this point in the history
  • Loading branch information
zafodB committed Aug 27, 2021
1 parent 5e370e0 commit 555cdf5
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 212 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@
import dk.aau.netsec.hostage.ui.adapter.DrawerListAdapter;
import dk.aau.netsec.hostage.ui.fragment.AboutFragment;
import dk.aau.netsec.hostage.ui.fragment.HomeFragment;
import dk.aau.netsec.hostage.ui.fragment.PrivacyFragment;
import dk.aau.netsec.hostage.ui.fragment.ProfileManagerFragment;
import dk.aau.netsec.hostage.ui.fragment.RecordOverviewFragment;
import dk.aau.netsec.hostage.ui.fragment.ServicesFragment;
Expand Down Expand Up @@ -419,7 +418,6 @@ private void loadDrawer() {
mDrawerItems.add(new DrawerListItem(R.string.drawer_profile_manager, R.drawable.ic_menu_allfriends));
mDrawerItems.add(new DrawerListItem(R.string.drawer_settings, R.drawable.ic_menu_preferences));
mDrawerItems.add(new DrawerListItem(R.string.drawer_app_info, R.drawable.ic_menu_info_details));
mDrawerItems.add(new DrawerListItem(R.string.privacy_policy, R.drawable.ic_menu_privacy));

DrawerListAdapter listAdapter = new DrawerListAdapter(this, mDrawerItems);

Expand Down Expand Up @@ -817,8 +815,7 @@ public enum MainMenuItem {
SERVICES(4, ServicesFragment.class),
PROFILE_MANAGER(5, ProfileManagerFragment.class),
SETTINGS(6, SettingsFragment.class),
APPLICATION_INFO(7, AboutFragment.class),
PRIVACY(8, PrivacyFragment.class);
APPLICATION_INFO(7, AboutFragment.class);


private int value;
Expand Down
208 changes: 0 additions & 208 deletions src/main/java/dk/aau/netsec/hostage/ui/fragment/PrivacyFragment.java

This file was deleted.

Binary file removed src/main/res/drawable-hdpi/ic_menu_privacy.png
Binary file not shown.
Binary file removed src/main/res/drawable-hdpi/ic_menu_privacy_old.png
Binary file not shown.

1 comment on commit 555cdf5

@zafodB
Copy link
Collaborator Author

@zafodB zafodB commented on 555cdf5 Aug 27, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From the first-launch popup and from the About fragment we now link to two locations (T&C and Privacy Policy), therefore I have experimentaly removed the Privacy Policy section of the app (PrivacyFragment).

Google is very strict about linking to an online location of Privacy Policy, but does not mention specifically about having the policy text directly in the app, so I believe removing it is acceptable (and would simplify maintaining a single correct version of Privacy Policy).

Please sign in to comment.