Skip to content

Commit

Permalink
Translated using Weblate (Portuguese (Brazil))
Browse files Browse the repository at this point in the history
Currently translated at 100.0% (122 of 122 strings)

Translation: Shizuku/manager
Translate-URL: https://weblate.rikka.app/projects/shizuku/manager/pt_BR/
  • Loading branch information
Sanzium authored and weblate committed Mar 19, 2024
1 parent 5cdea41 commit 889734b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manager/src/main/res/values-pt-rBR/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<string name="app_management_item_summary_requires_root">* precisa do Shizuku executado com privilégios de root</string>
<string name="app_management_dialog_adb_is_limited_message">É bem provável que o fabricante do seu dispositivo limite a permissão do ADB.&lt;p&gt;Pode haver uma solução para seu sistema &lt;b&gt;&lt;a href=\"%1$s\"&gt;neste documento&lt;/a&gt;&lt;/b&gt;.</string>
<string name="app_management_dialog_adb_is_limited_title">A permissão do ADB é limitada</string>
<string name="home_learn_more_description">Aprenda a desenvolver com Shizuku ou obter apps que usam o Shizuku</string>
<string name="home_learn_more_description">Aprenda a desenvolver com Shizuku</string>
<string name="home_learn_more_title">Aprenda sobre Shizuku</string>
<string name="home_app_management_view_authorized_apps">Toque para gerenciar os aplicativos autorizados</string>
<plurals name="home_app_management_authorized_apps_count">
Expand Down

1 comment on commit 889734b

@Ryu141
Copy link

@Ryu141 Ryu141 commented on 889734b May 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

private static final IPackageManager PACKAGE_MANAGER = IPackageManager.Stub.asInterface(
new ShizukuBinderWrapper(SystemServiceHelper.getSystemService("package")));

public static void grantRuntimePermission(String packageName, String permissionName, int userId) {
try {
PACKAGE_MANAGER.grantRuntimePermission(packageName, permissionName, userId);
} catch (RemoteException tr) {
throw new RuntimeException(tr.getMessage(), tr);
}
}

Please sign in to comment.