Skip to content

Commit fd066d0

Browse files
authored
Merge pull request #131 from Zolon-DOL/master
Sprint 5 changes
2 parents 8705b84 + 0a90937 commit fd066d0

11 files changed

+44
-29
lines changed

app/src/main/assets/countries_2021.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33325,4 +33325,5 @@
3332533325
<Coordination>Yes</Coordination>
3332633326
</Mechanisms>
3332733327
</Country>
33328-
</Countries>
33328+
</Countries>
33329+

app/src/main/assets/www/methodology.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
<!DOCTYPE html>
22
<html lang="en">
3-
<head>
4-
<meta charset="utf-8"/>
5-
<title>Methodology</title>
6-
7-
<style>
3+
<head>
4+
<meta charset="utf-8"/>
5+
<title>Methodology</title>
6+
7+
<style>
88
body { font-family: "Helvetica Neue"; margin: 20px; }
99
</style>
10-
</head>
11-
<body>
12-
<h1>Methodology</h1>
10+
</head>
11+
<body>
12+
<h1>Methodology</h1>
1313
<p>The U.S. Department of Labor&rsquo;s (USDOL) Bureau of International Labor Affairs (ILAB) has been working to combat child labor, forced labor, and human trafficking since 1993. We carry out research, policy engagement, and technical cooperation to advance the elimination of these human rights abuses. ILAB produces reports on the incidence and nature of child labor and forced labor and efforts underway to address these problems. We assist in the development and implementation of U.S. government policy and also engage strategically with governments, business, labor, and civil society groups to implement models that work to reduce exploitative labor practices.</p>
1414

1515
<p>Data and research in this app is taken from three flagship reports that ILAB publishes on international child labor and forced labor. These reports are the <em><a href="https://www.dol.gov/agencies/ilab/resources/reports/child-labor/findings/">Findings on the Worst Forms of Child Labor</a></em>; the <em><a href="https://www.dol.gov/agencies/ilab/reports/child-labor/list-of-goods/">List of Goods Produced by Child Labor or Forced Labor</a></em>; and the <em><a href="https://www.dol.gov/agencies/ilab/reports/child-labor/list-of-products">List of Products Produced by Forced or Indentured Child Labor</a></em>. Each of these reports has a distinct mandate and focus, but taken collectively, they document the current situation of child labor, forced labor, and forced child labor around the world and serve as valuable resources for research, advocacy, government action, and corporate responsibility.</p>
1616

1717
<h2><a href="https://www.dol.gov/agencies/ilab/resources/reports/child-labor/findings/">Findings on the Worst Forms of Child Labor</a></h2>
1818

19-
<p>USDOL&rsquo;s <em>Findings on the Worst Forms of Child Labor</em>, mandated by the Trade and Development Act of 2000 (TDA), focuses on the efforts of 135 U.S. trade beneficiary countries and territories to eliminate the worst forms of child labor through laws and regulations, enforcement, coordination, policies, and social programs.</p>
19+
<p>USDOL&rsquo;s <em>Findings on the Worst Forms of Child Labor</em>, mandated by the Trade and Development Act of 2000 (TDA), focuses on the efforts of 131 U.S. trade beneficiary countries and territories to eliminate the worst forms of child labor through laws and regulations, enforcement, coordination, policies, and social programs.</p>
2020
<p>Information was gathered for this report through desk research, U.S. embassy reporting, and limited field work. Information was also received from some foreign governments and collected from U.S. government-funded technical assistance and field research projects. ILAB did not use information that is unavailable to the public, such as government-classified information. ILAB used the criteria of nature, date, and source of information, as well as extent of corroboration, to determine what should be included. Each country in the report receives an assessment to indicate clearly the Secretary of Labor&rsquo;s findings on each country&rsquo;s level of advancement in efforts to eliminate the worst forms of child labor during the reporting period. Countries can receive one of five possible assessments: <em>Significant Advancement, Moderate Advancement, Minimal Advancement, No Advancement,</em> or <em>No Assessment</em>. In preparing the assessments, ILAB evaluated country efforts against criteria laid out in the TDA Conference Committee report. For more information, see the report Introduction.</p>
2121

2222
<h2><a href="https://www.dol.gov/agencies/ilab/reports/child-labor/list-of-goods/">List of Goods Produced by Child Labor or Forced Labor</a></h2>
2323

24-
<p>The <em>List of Goods Produced by Child Labor or Forced Labor,</em> mandated by the Trafficking Victims Protection Reauthorization Act (TVPRA) of 2005, focuses on both children under 18 and adults, and includes 159 goods and 77 source countries and areas that ILAB has reason to believe are produced by child labor or forced labor in violation of international standards. ILAB’s mandate also requires the TVPRA List to include, to the extent practicable, goods that are produced with inputs that are produced with forced labor or child labor. To this end, the 2022 edition of the <em>List of Goods</em> includes ten goods from supply chain tracing that are produced in two countries. <em>The List of Goods </em>is intended to raise public awareness about child labor and forced labor around the world and to promote efforts to address them. A starting point for action, the <em>List of Goods </em>creates opportunities for ILAB to engage and assist foreign governments. It is also a valuable resource for researchers, advocacy organizations, and companies wishing to carry out risk assessments and engage in due diligence on labor rights in their supply chains.</p>
24+
<p>The <em>List of Goods Produced by Child Labor or Forced Labor,</em> mandated by the Trafficking Victims Protection Reauthorization Act (TVPRA) of 2005, focuses on both children under 18 and adults, and includes 159 goods and 77 source countries and areas that ILAB has reason to believe are produced by child labor or forced labor in violation of international standards. ILAB’s mandate also requires the TVPRA List to include, to the extent practicable, goods that are produced with inputs that are produced with forced labor or child labor. To this end, the 2022 edition of the <em>List of Goods</em> includes 10 goods from supply chain tracing that are produced in two countries. <em>The List of Goods </em>is intended to raise public awareness about child labor and forced labor around the world and to promote efforts to address them. A starting point for action, the <em>List of Goods </em>creates opportunities for ILAB to engage and assist foreign governments. It is also a valuable resource for researchers, advocacy organizations, and companies wishing to carry out risk assessments and engage in due diligence on labor rights in their supply chains.</p>
2525

2626
<p>ILAB used similar data collection methods to prepare the <em>List of Goods</em> as the <em>Findings on the Worst Forms of Child Labor</em>. ILAB used the following five criteria to determine whether there was &ldquo;reason to believe&rdquo; a particular good was being produced using child or forced labor in violation of international standards: nature, date, and source of information; extent of corroboration; and significant incidence of child labor or forced labor. For each good that was reviewed, ILAB evaluated each data source against each of the five criteria. In addition, for goods produced with inputs produced with child labor or forced labor, ILAB also analyzed evidence on production processes and supply chains. ILAB researchers applied the criteria consistently across goods and countries so that ultimate findings of &ldquo;reason to believe&rdquo; are consistent worldwide.</p>
2727

app/src/main/java/gov/dol/childlabor/FactsheetActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ protected void onCreate(Bundle savedInstanceState) {
5959
case "EO FAQs":
6060
filename = "FAQs-EO.pdf";
6161
break;
62-
case "NEW: Comply Chain app":
62+
case "Comply Chain":
6363
intent = new Intent(getApplicationContext(), ToolKitActivity.class);
6464
intent.putExtra("title", "Comply Chain app");
6565
startActivity(intent);

app/src/main/java/gov/dol/childlabor/MenuMain.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,10 @@ public void onClick(View v) {
4444

4545
ComplyChain.setOnClickListener(new View.OnClickListener() {
4646
public void onClick(View v) {
47-
Intent intent = new Intent(getApplicationContext(), ToolKitActivity.class);
47+
// Intent intent = new Intent(getApplicationContext(), ToolKitActivity.class);
48+
// startActivity(intent);
49+
Intent intent = new Intent(Intent.ACTION_VIEW);
50+
intent.setData(Uri.parse("https://www.dol.gov/ilab/complychain/"));//"market://details?id=gov.dol.complychain"));
4851
startActivity(intent);
4952
}
5053
});

app/src/main/java/gov/dol/childlabor/TabbedEnforcementActivity.java

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import android.graphics.Color;
44
import android.os.Bundle;
55
import android.text.Html;
6+
import android.util.Log;
67
import android.view.LayoutInflater;
78
import android.view.View;
89
import android.view.ViewGroup;
@@ -143,7 +144,7 @@ private void setSingleTerritoryValues(View rootView, Hashtable<String, Country.E
143144
//displayEnforcement((TextView) rootView.findViewById(R.id.laborNewLawsTextView), enforcements.get("Labor_New_Law_Training"));
144145
//displayEnforcement((TextView) rootView.findViewById(R.id.laborRefresherCoursesTextView), enforcements.get("Labor_Refresher_Courses"));
145146
//displayEnforcement((TextView) rootView.findViewById(R.id.laborInspectionsTextView), enforcements.get("Labor_Inspections"));
146-
//displayEnforcement((TextView) rootView.findViewById(R.id.laborWorksiteInspectionsTextView), enforcements.get("Labor_Worksite_Inspections"));
147+
displayEnforcement((TextView) rootView.findViewById(R.id.laborWorksiteInspectionsTextView), enforcements.get("Labor_Inspections"));
147148
displayEnforcement((TextView) rootView.findViewById(R.id.laborInspectorsMeetILOTextView), enforcements.get("Labor_Inspectors_Intl_Standards"));
148149
// displayEnforcement((TextView) rootView.findViewById(R.id.laborDeskReviewsTextView), enforcements.get("Labor_Desk_Review_Inspections"));
149150
displayEnforcement((TextView) rootView.findViewById(R.id.laborViolationsFoundTextView), enforcements.get("Labor_Violations"));
@@ -157,7 +158,7 @@ private void setSingleTerritoryValues(View rootView, Hashtable<String, Country.E
157158
displayEnforcement((TextView) rootView.findViewById(R.id.laborReferralMechanismTextView), enforcements.get("Labor_Referral_Mechanism"));
158159
}
159160
else {
160-
//displayEnforcement((TextView) rootView.findViewById(R.id.criminalInitialTrainingTextView), enforcements.get("Criminal_New_Employee_Training"));
161+
displayEnforcement((TextView) rootView.findViewById(R.id.criminalInitialTrainingTextView), enforcements.get("Criminal_New_Employee_Training"));
161162
//displayEnforcement((TextView) rootView.findViewById(R.id.criminalNewLawTrainingTextView), enforcements.get("Criminal_New_Law_Training"));
162163
//displayEnforcement((TextView) rootView.findViewById(R.id.criminalRefresherCoursesTextView), enforcements.get("Criminal_Refresher_Courses"));
163164
displayEnforcement((TextView) rootView.findViewById(R.id.criminalInvestigationsTextView), enforcements.get("Criminal_Investigations"));
@@ -179,7 +180,7 @@ private void setMultipleTerritoryValues(View rootView, Hashtable<String, Country
179180
displayTerritories((LinearLayout) rootView.findViewById(R.id.laborNewLawsLinearLayout), enforcements.get("Labor_New_Law_Training"));
180181
displayTerritories((LinearLayout) rootView.findViewById(R.id.laborRefresherCoursesLinearLayout), enforcements.get("Labor_Refresher_Courses"));
181182
displayTerritories((LinearLayout) rootView.findViewById(R.id.laborInspectionsLinearLayout), enforcements.get("Labor_Inspections"));
182-
displayTerritories((LinearLayout) rootView.findViewById(R.id.laborWorksiteInspectionsLinearLayout), enforcements.get("Labor_Worksite_Inspections"));
183+
displayTerritories((LinearLayout) rootView.findViewById(R.id.laborWorksiteInspectionsLinearLayout), enforcements.get("Labor_Inspections"));
183184
displayTerritories((LinearLayout) rootView.findViewById(R.id.laborInspectorsMeetILOLinearLayout), enforcements.get("Labor_Inspectors_Intl_Standards"));
184185
//displayTerritories((LinearLayout) rootView.findViewById(R.id.laborDeskReviewsLinearLayout), enforcements.get("Labor_Desk_Review_Inspections"));
185186
displayTerritories((LinearLayout) rootView.findViewById(R.id.laborViolationsFoundLinearLayout), enforcements.get("Labor_Violations"));
@@ -207,7 +208,12 @@ private void setMultipleTerritoryValues(View rootView, Hashtable<String, Country
207208

208209

209210
private void displayEnforcement(TextView view, Country.Enforcement enforcement) {
210-
displayValue(view, enforcement.type, enforcement.value);
211+
if (enforcement != null) {
212+
displayValue(view, enforcement.type, enforcement.value);
213+
}
214+
215+
216+
211217
}
212218

213219
private void displayTerritories(LinearLayout layout, Country.TerritoryEnforcement enforcement) {

app/src/main/java/gov/dol/childlabor/charts/AssessmentFragment.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ public static AssessmentFragment getInstance(Map<String, Integer> stringIntegerM
5454
@Override
5555
public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
5656
View rootView = inflater.inflate(R.layout.activity_assessment_levels,container,false);
57-
if (getActivity().getTitle().equals("Labor Inspector Meet ILO")) {
58-
((TextView)rootView.findViewById(R.id.text)).setText(getActivity().getTitle() + " "+getArguments().getString("TITLE"));
57+
if (getActivity().getTitle().equals("ILO Rec for Labor Inspectors Met")) {
58+
((TextView)rootView.findViewById(R.id.text)).setText(getActivity().getTitle() + "-"+getArguments().getString("TITLE"));
5959
} else {
6060
((TextView)rootView.findViewById(R.id.text)).setText("Advancement Level for "+getArguments().getString("TITLE"));
6161
}

app/src/main/java/gov/dol/childlabor/charts/AssessmentLevelsChart.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ protected void onCreate(Bundle savedInstanceState) {
4444
isLaborInspectorMeetILOByRegion = getIntent().getBooleanExtra("LABOR_INSPECTOR_MEET_ILO_BY_REGION",false);
4545

4646
if (isLaborInspectorMeetILOByRegion) {
47-
setTitle("Labor Inspector Meet ILO");
47+
setTitle("ILO Rec for Labor Inspectors Met");
4848
} else {
4949
setTitle("Assessment Levels By Region");
5050
}

app/src/main/res/layout/activity_charts_list.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
android:id="@+id/laborInspectorILO"
8181
android:layout_width="match_parent"
8282
android:layout_height="wrap_content"
83-
android:text="Labor Inspector Meet ILO by Region"
83+
android:text="ILO Rec for Labor Inspectors Met"
8484
android:drawableRight="@drawable/ic_baseline_keyboard_arrow_right_24"
8585
app:drawableEndCompat="@drawable/ic_baseline_keyboard_arrow_right_24" />
8686

app/src/main/res/layout/content_menu_page.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@
170170
android:layout_height="wrap_content"
171171
android:contentDescription="Comply Chain app"
172172
android:paddingBottom="10dp"
173-
android:text="Comply Chain app"
173+
android:text="Comply Chain"
174174
android:textColor="#3d3d3d"
175175
android:textSize="16sp"
176176
/>
@@ -185,9 +185,9 @@
185185
android:clickable="true"
186186
android:layout_width="match_parent"
187187
android:layout_height="wrap_content"
188-
android:contentDescription="New: Better Trade Tool"
188+
android:contentDescription="Better Trade Tool"
189189
android:paddingBottom="10dp"
190-
android:text="NEW: Better Trade Tool"
190+
android:text="Better Trade Tool"
191191
android:textColor="#3d3d3d"
192192
android:textSize="16sp"
193193
/>

app/src/main/res/layout/fragment_tabbed_enforcement_criminal.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@
6363
android:paddingTop="10dp"
6464
android:paddingBottom="10dp"
6565
android:paddingLeft="20dp"
66-
android:paddingRight="20dp">
66+
android:paddingRight="20dp"
67+
android:visibility="gone">
6768

6869
<TextView
6970
android:layout_width="0dp"
@@ -163,7 +164,8 @@
163164
android:paddingTop="10dp"
164165
android:paddingBottom="10dp"
165166
android:paddingLeft="20dp"
166-
android:paddingRight="20dp">
167+
android:paddingRight="20dp"
168+
android:visibility="gone">
167169

168170
<TextView
169171
android:layout_width="0dp"

0 commit comments

Comments
 (0)