Support for displaying UpstreamNonFree

This commit is contained in:
Ciaran Gultnieks 2013-11-27 11:26:52 +00:00
parent d21788569f
commit 2e21f8abba
2 changed files with 3 additions and 0 deletions

View File

@ -108,6 +108,7 @@
<string name="antinonfreeadlist">This app promotes non-free add-ons</string>
<string name="antinonfreenetlist">This app promotes non-free network services</string>
<string name="antinonfreedeplist">This app depends on other non-free apps</string>
<string name="antiupstreamnonfreelist">The upstream source code is not entirely Free</string>
<string name="display">Display</string>

View File

@ -562,6 +562,8 @@ public class AppDetails extends ListActivity {
return getString(R.string.antinonfreeadlist);
if (af.equals("NonFreeDep"))
return getString(R.string.antinonfreedeplist);
if (af.equals("UpstreamNonFree"))
return getString(R.string.antiupstreamnonfreelist);
return null;
}