Skip to content

Commit a3aaaf8

Browse files
committed
Small changes to the help pages
1 parent b0eb1c0 commit a3aaaf8

File tree

7 files changed

+17
-18
lines changed

7 files changed

+17
-18
lines changed

app/src/main/assets/html/calendar_rule_edit.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
interval (from - to). It can be always active if all days of the week are
1212
selected and the interval 0.00 to 23.59 is chosen.
1313
A calendar rule must have a name, and the name must be unique: saving is disabled otherwise.</p>
14-
<p>Editing a rule allows certain action to be performed, but depending on the context some action will
14+
<p>Editing a rule allows certain actions to be performed, but depending on the context some actions will
1515
be disallowed (disappear from the action bar) while other will be possible and hence visible. At any
1616
moment in time, some hints are given in the bottom purple text view, so keep an eye on it</p>
1717
<p>These are the icons for the editing actions and their meanings:</p>

app/src/main/assets/html/filter_edit.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
the <b>action</b> to be performed.</p>
1414
<p>Filters can be combined and they are acted sequentially. Typically one or two filters
1515
are necessary and all the filters currently defined by the user will be used. So make sure to remove
16-
undesired filters if they have been created only for testing purposes and are not needed.</p>
16+
undesired filters, if they have been created only for testing purposes and are not needed.</p>
1717
<p>Filters can be created, updated, edited and deleted and these are the icons for the editing actions and their meanings:</p>
1818
<ul>
1919
<li><img src="ic_save_circle.png" width="32" height="32" alt="saving"> for saving or updating a filter</li>

app/src/main/assets/html/filter_rule_edit.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</head>
88
<body>
99
<p>Filter rules are used to define the filters that apply to the incoming phone
10-
numbers to trigger an action.
10+
numbers in order to trigger an action.
1111
The rule is specified by the name, a short description and the filter patterns that
1212
apply to this rule. Editing of the filter patterns is done by a
1313
separate activity which can be accessed by clicking the main button on

app/src/main/assets/html/main.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</head>
88
<body>
99
<p>This app blocks or reacts to unwanted calls on a rule-based logic. The main-home
10-
activity controls the turning on and off of a background service that listens to incoming calls.
10+
activity controls the turning on and off of a service that listens to incoming calls.
1111
This service is <em>sticky</em> and survives crashes and reboots of the system.</p>
1212
<p>When an incoming call is detected, the service loops through the list of active <b>filters</b>,
1313
and for each filter, if there is a match, an action is performed, like dropping the call,
@@ -25,13 +25,13 @@
2525
incoming call is detected.</p>
2626
<p>Here is a list of all menu items available from the drop-down menu:</p>
2727
<ul>
28-
<li><b>Show active filters</b>, to create and edit active filters; This is a main entry point in the use of this app.</li>
29-
<li><b>Show latest service runs</b>, this is a brief summary of recent service runs, where a run is defined as the period
30-
between two consecutive service-start and service-stop events,</li>
31-
<li><b>Show latest calls received</b>, a log of the incoming calls most recently received.</li>
32-
<li><b>Show calendar rules</b>, the activity to create and edit calendar rules.</li>
33-
<li><b>Show filter rules</b>, the activity to create and edit filter rules.</li>
34-
<li><b>Settings</b>, a setting page for further customization.</li>
28+
<li><b>Show active filters</b> to create and edit active filters; This is a main entry point in the use of this app</li>
29+
<li><b>Show latest service runs</b>, a brief summary of recent service runs, where a run is defined as the period
30+
between two consecutive service-start and service-stop events</li>
31+
<li><b>Show latest calls received</b>, a log of the incoming calls most recently received</li>
32+
<li><b>Show calendar rules</b>, the activity to create and edit calendar rules</li>
33+
<li><b>Show filter rules</b>, the activity to create and edit filter rules</li>
34+
<li><b>Settings</b>, a setting page for further customization</li>
3535
</ul>
3636
<p>Once the service is running, the main activity's page also shows a brief statistics of the total
3737
number of calls received and triggered events, <em>i.e.</em> when the filter reacted by performing an action, since service start.

app/src/main/assets/html/patterns_edit.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</head>
88
<body>
99
<p>Patterns are used to match an incoming telephone number to an action to be performed. Patterns can
10-
be either a complete number, or only part of it. A pattern like <strong>12345</strong> would match
10+
be either a complete number, or only a part of it. A pattern like <strong>12345</strong> would match
1111
an incoming number like <strong>12345</strong> or one containing that pattern like 0<strong>12345</strong>67.
1212
Patterns can also contain wild cards (unspecified parts) identified by a <strong>*</strong> character,
1313
which can be placed in-between tokens like <strong>123*456</strong>; this will match any number

app/src/main/assets/html/pick_action.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
<link rel="stylesheet" type="text/css" href="help.css" media="screen" />
77
</head>
88
<body>
9-
<p>The interaction with Android's telephony service has been severly restricted with the last
10-
Android major releases. This has been motivited mostly by security reasons. In order for this
9+
<p>The interaction with Android's telephony service has been severly restricted with the latest
10+
Android major releases. This has been motivited mostly by security reasons. In order for the
1111
app to run on different versions and devices we offer different actions to choose when
1212
an incoming event occurs. Some are guaranteed to work on all devices, like logging or
1313
sending a warning. Other are device/version dependent.</p>
@@ -17,7 +17,7 @@
1717
privilege to be granted.</p>
1818
<p>Our suggestion is to try first with <b>DropCallByEndCall</b>.
1919
If it does not work try <b>DropCallByDownButton</b> followed by <b>DropCallByUpButton</b>.</p>
20-
<p>In future version of this app, more actions will be added to try to keep the app functioning
20+
<p>In future versions of this app, more actions will be added to try to keep the app functioning
2121
properly for a high percentage of devices and versions.</p>
2222
</body>
2323
</html>

app/src/main/java/com/prismaqf/callblocker/SettingFragment.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package com.prismaqf.callblocker;
22

3-
import android.app.Activity;
43
import android.app.AlertDialog;
54
import android.content.Context;
65
import android.content.DialogInterface;
@@ -52,7 +51,7 @@ protected Void doInBackground(Context... ctxs) {
5251
myPath = file.getAbsolutePath();
5352
FileOutputStream fOut = new FileOutputStream(file);
5453
ObjectOutputStream oOut = new ObjectOutputStream(fOut);
55-
oOut.writeObject(CallHelper.GetHelper(myContext).getFilters(myContext));
54+
oOut.writeObject(CallHelper.GetHelper().getFilters(myContext));
5655
oOut.flush();
5756
oOut.close();
5857

@@ -95,7 +94,7 @@ protected Void doInBackground(Context... ctxs) {
9594
db = new DbHelper(myContext).getWritableDatabase();
9695
for (Filter f : filters)
9796
FilterProvider.SaveFilter(db,f);
98-
CallHelper.GetHelper(myContext).loadFilters(myContext);
97+
CallHelper.GetHelper().loadFilters(myContext);
9998
oIn.close();
10099

101100
}

0 commit comments

Comments
 (0)