|
|
|
@ -23,8 +23,8 @@ public class LicenseActivity extends Activity implements View.OnClickListener {
@@ -23,8 +23,8 @@ public class LicenseActivity extends Activity implements View.OnClickListener {
|
|
|
|
|
setContentView(R.layout.license_activity); |
|
|
|
|
getActionBar().setHomeButtonEnabled(true); |
|
|
|
|
getActionBar().setDisplayHomeAsUpEnabled(true); |
|
|
|
|
findViewById(R.id.exportBackup).setOnClickListener(this); |
|
|
|
|
findViewById(R.id.importBackup).setOnClickListener(this); |
|
|
|
|
findViewById(R.id.browserLicense).setOnClickListener(this); |
|
|
|
|
findViewById(R.id.licenseAOSP).setOnClickListener(this); |
|
|
|
|
findViewById(R.id.licenseHosts).setOnClickListener(this); |
|
|
|
|
findViewById(R.id.licenseOrbot).setOnClickListener(this); |
|
|
|
|
} |
|
|
|
@ -32,10 +32,10 @@ public class LicenseActivity extends Activity implements View.OnClickListener {
@@ -32,10 +32,10 @@ public class LicenseActivity extends Activity implements View.OnClickListener {
|
|
|
|
|
@Override |
|
|
|
|
public void onClick(View v) { |
|
|
|
|
switch (v.getId()) { |
|
|
|
|
case R.id.exportBackup: |
|
|
|
|
case R.id.browserLicense: |
|
|
|
|
actionView("http://www.mozilla.org/MPL/2.0/"); |
|
|
|
|
break; |
|
|
|
|
case R.id.importBackup: |
|
|
|
|
case R.id.licenseAOSP: |
|
|
|
|
actionView("http://www.apache.org/licenses/LICENSE-2.0"); |
|
|
|
|
break; |
|
|
|
|
case R.id.licenseHosts: |
|
|
|
|