-
Notifications
You must be signed in to change notification settings - Fork 527
Revise dangerous restrictions #1704
Comments
Remaining logic for system applications:
Remaining logic for dangerous methods:
|
There is a problem reported in the test version: if you had enabled 'restrict dangerous' before, all functions were restricted by default. If you never have change the dangerous function restrictions, all dangerous functions will be not restricted in the test version. |
Existing dangerous restriction will be migrated, so please check if everything is alright after the update service has done its work. |
I had the same issue we discussed yesterday. But it didn't look like it affected every app this time. Would a log of the update process be of any help? |
You can easily check the logcat yourself. Basically dangerous function restrictions which are unset (and formerly defaulted to restricted when 'restrict dangerous' was enabled) and have the category restricted are set to restricted by the upgrade process. Each change is written to the logcat, so you can easily check with the uid of the application if the migration was done. Before the upgrade process the old 'restrict dangerous' setting is used to provide the old default. After the upgrade process the 'restrict dangerous' setting is erased. |
Found a bug in the template when a new app is installed. For non dangerous the template applies [ ] [?] for dangerous [ ] [ ] regardless of what the template has. If I then manually apply the template everything works |
Actually the template wasn't applied at all, which should be fixed in the just released 2.0.29 test version (I have no time to test, since I have to go). |
It is properly applied now |
However, now there is a problem when importing, only 'dangerous methods' are applied from the xml, even if I define them as not dangerous in the template. Also when I manually uncheck then check a category none of the methods are restricted (this may have already been present) |
The UI has the same problem. Unfortunately I cannot fix this right away. |
There is too much confusion about dangerous restrictions.
For this reason I will remove the associated setting and simplify most of the logic.
Basically only restricting categories will not restrict dangerous functions.
(this needs to be done manually case by case).
The template will restrict dangerous functions in the new situation, when selected in the template.
The text was updated successfully, but these errors were encountered: