Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/security/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android Can´;在受限配置文件中看不到所有者帐户_Android_Security_Accountmanager_Restricted Profiles - Fatal编程技术网

Android Can´;在受限配置文件中看不到所有者帐户

Android Can´;在受限配置文件中看不到所有者帐户,android,security,accountmanager,restricted-profiles,Android,Security,Accountmanager,Restricted Profiles,我有一个很大的问题,Android文档中说如果我添加 android:restrictedAccountType="com.example.account.type" 对于应用程序清单,我将能够找到具有指定AccountType的所有者帐户 在我的代码和google示例中的SyncAdapter代码中,此规则不起作用,但是如果我使用AccountType“com.google”,我可以从受限配置文件中找到所有者google帐户。。。很明显,这个文档中缺少了一些东西,但我似乎找不到这个问题的任何

我有一个很大的问题,Android文档中说如果我添加

android:restrictedAccountType="com.example.account.type"
对于应用程序清单,我将能够找到具有指定AccountType的所有者帐户

在我的代码和google示例中的SyncAdapter代码中,此规则不起作用,但是如果我使用AccountType“com.google”,我可以从受限配置文件中找到所有者google帐户。。。很明显,这个文档中缺少了一些东西,但我似乎找不到这个问题的任何实际工作示例