Remove a few extra spaces that checkstyle missed
There's also a change in a SQL string, but it should be safe.
This commit is contained in:
parent
3af5f55abd
commit
d061dafcd7
@ -1199,7 +1199,7 @@ public class AppDetails extends AppCompatActivity implements ProgressListener, A
|
|||||||
final Spanned desc = Html.fromHtml(app.description, null, new Utils.HtmlTagHandler());
|
final Spanned desc = Html.fromHtml(app.description, null, new Utils.HtmlTagHandler());
|
||||||
description.setMovementMethod(SafeLinkMovementMethod.getInstance(getActivity()));
|
description.setMovementMethod(SafeLinkMovementMethod.getInstance(getActivity()));
|
||||||
description.setText(trimNewlines(desc));
|
description.setText(trimNewlines(desc));
|
||||||
final View viewMoreDescription = view.findViewById(R.id.view_more_description);
|
final View viewMoreDescription = view.findViewById(R.id.view_more_description);
|
||||||
description.post(new Runnable() {
|
description.post(new Runnable() {
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
|
@ -175,7 +175,7 @@ class DBHelper extends SQLiteOpenHelper {
|
|||||||
|
|
||||||
db.execSQL(createTableDdl);
|
db.execSQL(createTableDdl);
|
||||||
|
|
||||||
String nonIdFields = "address, name, description, inuse, priority, " +
|
String nonIdFields = "address, name, description, inuse, priority, " +
|
||||||
"pubkey, fingerprint, maxage, version, lastetag, lastUpdated";
|
"pubkey, fingerprint, maxage, version, lastetag, lastUpdated";
|
||||||
|
|
||||||
String insertSql = "INSERT INTO " + TABLE_REPO +
|
String insertSql = "INSERT INTO " + TABLE_REPO +
|
||||||
|
@ -103,7 +103,7 @@ public class InstallConfirmActivity extends Activity implements OnCancelListener
|
|||||||
}
|
}
|
||||||
adapter.addTab(tabHost.newTabSpec(TAB_ID_NEW).setIndicator(
|
adapter.addTab(tabHost.newTabSpec(TAB_ID_NEW).setIndicator(
|
||||||
getText(R.string.newPerms)), mScrollView);
|
getText(R.string.newPerms)), mScrollView);
|
||||||
} else {
|
} else {
|
||||||
findViewById(R.id.tabscontainer).setVisibility(View.GONE);
|
findViewById(R.id.tabscontainer).setVisibility(View.GONE);
|
||||||
findViewById(R.id.divider).setVisibility(View.VISIBLE);
|
findViewById(R.id.divider).setVisibility(View.VISIBLE);
|
||||||
}
|
}
|
||||||
|
@ -114,7 +114,7 @@ public class InstalledAppProviderTest extends FDroidProviderTest<InstalledAppPro
|
|||||||
assertResultCount(1, InstalledAppProvider.getContentUri());
|
assertResultCount(1, InstalledAppProvider.getContentUri());
|
||||||
assertIsInstalledVersionInDb("com.example.toUpgrade", 1, "v0.1");
|
assertIsInstalledVersionInDb("com.example.toUpgrade", 1, "v0.1");
|
||||||
|
|
||||||
upgradeAndBroadcast("com.example.toUpgrade", 2, "v0.2");
|
upgradeAndBroadcast("com.example.toUpgrade", 2, "v0.2");
|
||||||
|
|
||||||
assertResultCount(1, InstalledAppProvider.getContentUri());
|
assertResultCount(1, InstalledAppProvider.getContentUri());
|
||||||
assertIsInstalledVersionInDb("com.example.toUpgrade", 2, "v0.2");
|
assertIsInstalledVersionInDb("com.example.toUpgrade", 2, "v0.2");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user