Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
App Manager
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Muntashir Al-Islam
App Manager
Commits
312b648d
Commit
312b648d
authored
1 year ago
by
Muntashir Al-Islam
Browse files
Options
Downloads
Patches
Plain Diff
Pass the tests again
Signed-off-by:
Muntashir Al-Islam
<
muntashirakon@riseup.net
>
parent
a278c0ac
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
app/src/main/res/raw/changelog.xml
+1
-1
1 addition, 1 deletion
app/src/main/res/raw/changelog.xml
app/src/test/java/io/github/muntashirakon/AppManager/rules/struct/RuleEntryTest.java
+2
-2
2 additions, 2 deletions
.../muntashirakon/AppManager/rules/struct/RuleEntryTest.java
with
3 additions
and
3 deletions
app/src/main/res/raw/changelog.xml
+
1
−
1
View file @
312b648d
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
type=
"stable release"
type=
"stable release"
version=
"v3.1.3"
version=
"v3.1.3"
code=
"426"
code=
"426"
date=
"
2
October 2023"
>
date=
"
4
October 2023"
>
<fix>
<fix>
Avoided displaying “Imported” message when no file is selected during importing rules from Watt or Blocker
Avoided displaying “Imported” message when no file is selected during importing rules from Watt or Blocker
</fix>
</fix>
...
...
This diff is collapsed.
Click to expand it.
app/src/test/java/io/github/muntashirakon/AppManager/rules/struct/RuleEntryTest.java
+
2
−
2
View file @
312b648d
...
@@ -30,8 +30,8 @@ public class RuleEntryTest {
...
@@ -30,8 +30,8 @@ public class RuleEntryTest {
public
void
flattenProviderToString
()
{
public
void
flattenProviderToString
()
{
RuleEntry
rule
=
new
ComponentRule
(
PACKAGE_NAME
,
".provider"
,
RuleType
.
PROVIDER
,
RuleEntry
rule
=
new
ComponentRule
(
PACKAGE_NAME
,
".provider"
,
RuleType
.
PROVIDER
,
ComponentRule
.
COMPONENT_TO_BE_BLOCKED_IFW_DISABLE
);
ComponentRule
.
COMPONENT_TO_BE_BLOCKED_IFW_DISABLE
);
assertEquals
(
PACKAGE_NAME
+
"\t.provider\tPROVIDER\tfalse"
,
rule
.
flattenToString
(
true
));
assertEquals
(
PACKAGE_NAME
+
"\t.provider\tPROVIDER\t
dis_
false"
,
rule
.
flattenToString
(
true
));
assertEquals
(
".provider\tPROVIDER\tfalse"
,
rule
.
flattenToString
(
false
));
assertEquals
(
".provider\tPROVIDER\t
dis_
false"
,
rule
.
flattenToString
(
false
));
}
}
@Test
@Test
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment