insert api app when key is selected in SelectSignKeyIdFragment as well

This commit is contained in:
Vincent Breitmoser
2018-07-18 12:37:40 +02:00
parent 54498ef4c4
commit 22f4eb3e44
6 changed files with 25 additions and 11 deletions

View File

@@ -119,7 +119,7 @@ public class ApiAppDao extends AbstractDao {
public void addAllowedKeyIdForApp(String packageName, long allowedKeyId) {
InsertAllowedKey statement = new InsertAllowedKey(getWritableDb());
statement.bind(packageName, allowedKeyId);
statement.execute();
statement.executeInsert();
getDatabaseNotifyManager().notifyApiAppChange(packageName);
}