Revert useless changes
This commit is contained in:
parent
25a1b86307
commit
2f0dda06ee
@ -5,7 +5,7 @@
|
||||
android:orientation="vertical" >
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/exportBackup"
|
||||
android:id="@+id/browserLicense"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?android:attr/listChoiceBackgroundIndicator"
|
||||
@ -39,7 +39,7 @@
|
||||
android:background="#cdcdcd" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/importBackup"
|
||||
android:id="@+id/licenseAOSP"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?android:attr/listChoiceBackgroundIndicator"
|
||||
|
@ -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 {
|
||||
@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:
|
||||
|
Loading…
Reference in New Issue
Block a user