{"id":11212,"date":"2022-11-21T15:51:39","date_gmt":"2022-11-21T07:51:39","guid":{"rendered":"https:\/\/www.yimenapp.com\/kb-yimen\/?p=11212"},"modified":"2022-11-21T15:51:45","modified_gmt":"2022-11-21T07:51:45","slug":"android-p%e5%ba%94%e7%94%a8%e9%80%82%e9%85%8d%e6%8c%87%e5%8d%97","status":"publish","type":"post","link":"https:\/\/www.yimenapp.com\/kb-yimen\/11212\/","title":{"rendered":"Android P\u5e94\u7528\u9002\u914d\u6307\u5357"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\"><strong>\u4e00\u3001\u5982\u4f55\u4f53\u9a8c\u5347\u7ea7android P<\/strong><\/h1>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>1.1 x21\u5347\u7ea7android P\u6307\u5bfc<\/strong><\/h2>\n\n\n\n<p>\u8bf7\u5f00\u53d1\u8005\u66f4\u65b0\u5230\u5e02\u573a\u6700\u65b0\u7cfb\u7edf\u7248\u672c\u8fdb\u884c\u5bf9\u5e94\u8c03\u8bd5\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>1.2 vivo\u8fdc\u7a0b\u771f\u673a\u670d\u52a1<\/strong><\/h2>\n\n\n\n<p>vivo\u4e91\u6d4b\u5e73\u53f0\u5df2\u7ecf\u63d0\u4f9b\u5173\u4e8evivo x21 androidP\u7684\u8fdc\u7a0b\u771f\u673a\u670d\u52a1\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u76f4\u63a5\u901a\u8fc7\u4ee5\u4e0b\u94fe\u63a5\u8fdb\u5165\u8fdc\u7a0b\u771f\u673a\u8fdb\u884c\u8bd5\u7528\u4f53\u9a8c\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-embed\"><div class=\"wp-block-embed__wrapper\">\nhttps:\/\/vcl.vivo.com.cn\/#\/home\/index\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>1.3 pixel\u5347\u7ea7android P<\/strong><\/h2>\n\n\n\n<p>\u5f00\u53d1\u8005\u6301\u6709Pixel\u7cfb\u5217\u7684\u673a\u5668\u53ef\u4ee5\u76f4\u63a5ota\u5347\u7ea7\uff0c\u6216\u5219\u4e0b\u8f7d\u955c\u50cf\u5347\u7ea7\uff0c\u5177\u4f53\u89c1\u94fe\u63a5\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-embed\"><div class=\"wp-block-embed__wrapper\">\nhttps:\/\/developers.google.com\/android\/images\n<\/div><\/figure>\n\n\n\n<h1 class=\"wp-block-heading\"><strong><a><\/a>\u4e8c\u3001<span class=\"wpcom_tag_link\"><a href=\"https:\/\/www.yimenapp.com\/kb-yimen\/tag\/androidp\/\" title=\"AndroidP\" target=\"_blank\">AndroidP<\/a><\/span>\u517c\u5bb9\u6027\u53d8\u5316<\/strong><\/h1>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>2.1 \u5bf9\u975e SDK \u63a5\u53e3\u7684\u9650\u5236<\/strong><\/h2>\n\n\n\n<p><strong>2.1.1 \u4ecb\u7ecd<\/strong><\/p>\n\n\n\n<p>\u975esdk\u7684\u63a5\u53e3\u5b58\u5728\u7740\u7a33\u5b9a\u6027\u95ee\u9898\uff0c\u968f\u7740android\u7248\u672c\u7684\u53d8\u5316\u968f\u65f6\u90fd\u6709\u53ef\u80fd\u88ab\u79fb\u9664\uff0cAndroidP\u5f00\u59cb\uff0c\u4e3a\u4e86\u66f4\u597d\u7684\u63d0\u5347<span class=\"wpcom_keyword_link\"><a href=\"https:\/\/www.yimenapp.com\" target=\"_blank\" title=\"\u5f00\u53d1app\u4ece\u4e00\u95e8\u5f00\u59cb\">app<\/a><\/span>\u7684\u517c\u5bb9\u6027\uff0c\u6b63\u5bf9\u9690\u85cf\u7684\u975esdk\u63a5\u53e3\u8fdb\u884c\u9650\u5236\uff0c\u901a\u8fc7\u540d\u5355\u63a7\u5236\u8fdb\u884c\u4f7f\u7528\u9650\u5236\uff0c\u5177\u4f53\u89c4\u5219\u9650\u5236\u5982\u4e0b\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>\u767d\u540d\u5355<\/strong><\/td><td>SDK\u6807\u51c6\u63a5\u53e3\uff0c\u4e0d\u53d7\u9650\u5236<\/td><\/tr><tr><td><strong>\u6d45\u7070\u540d\u5355<\/strong><\/td><td>\u4ecd\u53ef\u4ee5\u8bbf\u95ee\u7684\u975e SDK \u51fd\u6570\/\u5b57\u6bb5<\/td><\/tr><tr><td><strong>\u6df1\u7070\u540d\u5355<\/strong><\/td><td>\u5bf9\u4e8e\u76ee\u6807 SDK \u4f4e\u4e8e API \u7ea7\u522b 28 \u7684\u5e94\u7528\uff0c\u5141\u8bb8\u4f7f\u7528\u6df1\u7070\u540d\u5355\u63a5\u53e3\u3002\u5bf9\u4e8e\u76ee\u6807 SDK \u4e3a API 28 \u6216\u66f4\u9ad8\u7ea7\u522b\u7684\u5e94\u7528\uff1a\u884c\u4e3a\u4e0e\u9ed1\u540d\u5355\u76f8\u540c<\/td><\/tr><tr><td><strong>\u9ed1\u540d\u5355<\/strong><\/td><td>\u53d7\u9650\uff0c\u65e0\u8bba\u76ee\u6807 SDK \u5982\u4f55\u3002 \u5e73\u53f0\u5c06\u8868\u73b0\u4e3a\u4f3c\u4e4e\u63a5\u53e3\u5e76\u4e0d\u5b58\u5728\u3002 \u4f8b\u5982\uff0c\u65e0\u8bba\u5e94\u7528\u4f55\u65f6\u5c1d\u8bd5\u4f7f\u7528\u63a5\u53e3\uff0c\u5e73\u53f0\u90fd\u4f1a\u5f15\u53d1&nbsp;NoSuchMethodError\/NoSuchFieldException\uff0c\u5373\u4f7f\u5e94\u7528\u60f3\u8981\u4e86\u89e3\u67d0\u4e2a\u7279\u6b8a\u7c7b\u522b\u7684\u5b57\u6bb5\/\u51fd\u6570\u540d\u5355\uff0c\u5e73\u53f0\u4e5f\u4e0d\u4f1a\u5305\u542b\u63a5\u53e3<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>2.1.2 \u5f71\u54cd\u8303\u56f4<\/strong><\/p>\n\n\n\n<p>\u6240\u6709\u8fd0\u884c\u5728AndroidP\u7cfb\u7edf\u4e0a\u7684\u5e94\u7528<\/p>\n\n\n\n<p><strong>2.1.3 \u5982\u4f55\u9002\u914d<\/strong><\/p>\n\n\n\n<p>\uff081\uff09\u5bf9\u4e8e\u9ed1\u540d\u5355\u53ca\u6df1\u7070\u540d\u5355\u4e2d\u7684\u63a5\u53e3\uff0c\u5e94\u7528\u53ca\u65f6\u8c03\u6574\u65b0\u7684\u65b9\u6848\u8fdb\u884c\u9002\u914d\uff1b<\/p>\n\n\n\n<p>\uff082\uff09\u9ed1\u540d\u5355\u53ca\u7070\u540d\u5355\u662f\u5728\u6e90\u7801\u6784\u5efa\u7684\u65f6\u5019\u751f\u6210\u7684\uff0c\u5728\u6b64\u63d0\u4f9b\u4e00\u4efd\uff0c\u6587\u4ef6\u4e0b\u8f7d\u94fe\u63a5\uff1a\u3010\u9ed1\u540d\u5355\u3011<a href=\"https:\/\/swsdl.vivo.com.cn\/appstore\/developer\/uploadfile\/20180921\/20180921115121830.txt\" target=\"_blank\" rel=\"noreferrer noopener\">\u70b9\u6b64\u4e0b\u8f7d&nbsp;<\/a>&nbsp;&nbsp;| \u3010\u7070\u540d\u5355\u3011<a href=\"https:\/\/swsdl.vivo.com.cn\/appstore\/developer\/uploadfile\/20180921\/20180921115111219.txt\" target=\"_blank\" rel=\"noreferrer noopener\">\u70b9\u6b64\u4e0b\u8f7d<\/a>\uff1b<\/p>\n\n\n\n<p>\uff083\uff09\u5e94\u7528\u53ef\u4ee5\u76f4\u63a5adb logcat\u547d\u4ee4\u4e2d\u8fc7\u6ee4\u201dAccessing hidden\u201d\u67e5\u770b\u5f53\u524d\u5e94\u7528\u4f7f\u7528\u975esdk\u7684\u60c5\u51b5<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>2.2 \u5218\u6d77\u5c4f\u9002\u914d\u6307\u5bfc\uff08cutout\uff09<\/strong><\/h2>\n\n\n\n<p><strong>2.2.1 \u4ecb\u7ecd<\/strong><\/p>\n\n\n\n<p>\u968f\u7740X21\u540e\u5404\u79cd\u5218\u6d77\u5c4f\u76f8\u7ee7\u51fa\u73b0\uff0c\u4f46\u6ca1\u6709\u4e00\u81f4\u7684\u63a5\u53e3\uff0cAndroidP\u5f00\u59cb\u63d0\u4f9b\u89c4\u8303\u5316\u7684\u63a5\u53e3,\u5e94\u7528\u53ef\u4ee5\u4f7f\u7528\u6807\u51c6\u63a5\u53e3\uff0c\u83b7\u53d6\u5f53\u524d\u662f\u5426\u6709\u5218\u6d77\uff0c\u63a7\u5236\u5e94\u7528\u5728\u5218\u6d77\u5c4f\u4e0a\u7684\u5e03\u5c40\u663e\u793a\u533a\u57df\u3002AndroidP\u7684\u8bbe\u5907\u652f\u6301\u6a21\u62df\u5218\u6d77\u6548\u679c\uff0c\u6301\u6709P\u7684\u8bbe\u5907\u7684\u53ef\u4ee5\u6253\u5f00\u201c\u5f00\u53d1\u8005\u9009\u9879\u201d\uff0c\u627e\u5230\u201c\u6a21\u62df\u5de8\u6709\u51f9\u53e3\u7684\u663e\u793a\u5c4f\u201d\u8fdb\u884c\u6a21\u62df\u8c03\u8bd5\u3002<\/p>\n\n\n\n<p><strong>2.2.2 \u5f71\u54cd\u8303\u56f4<\/strong><\/p>\n\n\n\n<p>\u6240\u6709\u8fd0\u884c\u5728AndroidP\u7cfb\u7edf\u4e0a\u7684\u5e94\u7528\uff0c\u4e0d\u5206targetsdkversion<\/p>\n\n\n\n<p><strong>2.2.3 \u5982\u4f55\u9002\u914d<\/strong><\/p>\n\n\n\n<p>\u25a0&nbsp;\u600e\u4e48\u5224\u65ad\u662f\u5426\u5218\u6d77\u652f\u6301\u4e0e\u5426\uff1f<\/p>\n\n\n\n<p>View.getRootWindowInsets().getDisplayCutout()<\/p>\n\n\n\n<p>\u8fd4\u56deDisplayCutout\u5bf9\u8c61\uff0c\u4e3a\u5218\u6d77\u7684\u63cf\u8ff0\u4fe1\u606f\uff0c\u4e0d\u652f\u6301\u5219\u8fd4\u56de\u7a7a<\/p>\n\n\n\n<p>\u25a0&nbsp;\u600e\u4e48\u83b7\u53d6\u5218\u6d77\u4fe1\u606f\uff1f<\/p>\n\n\n\n<p>DisplayCutout.getSafeInsets() \u8fd4\u56de\u5b89\u5168\u533a\u57dfRect<\/p>\n\n\n\n<p>DisplayCutout.getBounds()&nbsp; \u8fd4\u56de\u5218\u6d77\u7684\u533a\u57df\u7684Region<\/p>\n\n\n\n<p>\u25a0&nbsp;\u5982\u4f55\u63a7\u5236\u5e94\u7528\u7684\u5e03\u5c40\u663e\u793a\uff1f<\/p>\n\n\n\n<p>\u901a\u8fc7\u63a7\u5236\u7a97\u53e3\u5e03\u5c40\u7684layoutInDisplayCutoutMode\u5c5e\u6027\u53ef\u4ee5\u8fbe\u5230\u63a7\u5236\u5e94\u7528\u5728\u5218\u6d77\u5c4f\u4e0b\u5e03\u5c40\u533a\u57df\uff0c\u5177\u4f53\u53ef\u4ee5\u8bbe\u7f6e\u4ee5\u4e0b\u503c<\/p>\n\n\n\n<p><strong>LAYOUT_IN_DISPLAY_CUTOUT_MODE_DEFAULT<\/strong><\/p>\n\n\n\n<p>\u6ca1\u6709\u8bbe\u7f6e\u7684\u60c5\u51b5\u4e0b\u9ed8\u8ba4\u6b64\u6807\u8bb0\uff0c\u53ea\u6709\u72b6\u6001\u680f\u533a\u57df\u53ef\u89c1\u7684\u60c5\u51b5\u4e0b\uff0c\u624d\u610f\u5473\u7740\u52a0\u4e86FLAG_FULLSCREEN or SYSTEM_UI_FLAG_FULLSCREEN\u6807\u8bb0\u7684\u5e94\u7528\u7a97\u53e3\u90fd\u4f1a\u88ab\u5207\u8fb9\u653e\u5728\u5218\u6d77\u4ee5\u4e0b<\/p>\n\n\n\n<p><strong>LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES<\/strong><\/p>\n\n\n\n<p>\u6b64flag\u4e0b\u4e0d\u8fdb\u884c\u5e94\u7528\u7a97\u53e3\u7684\u9650\u5236\uff0c\u7a97\u53e3\u53ef\u4ee5\u663e\u793a\u5230\u5218\u6d77\u533a\u57df<\/p>\n\n\n\n<p><strong>LAYOUT_IN_DISPLAY_CUTOUT_MODE_NEVER<\/strong><\/p>\n\n\n\n<p>\u6b64flag\u4e0b\u5e94\u7528\u7a97\u53e3\u4e00\u76f4\u88ab\u9650\u5236\u5728\u5218\u6d77\u533a\u57df\u4ee5\u4e0b<\/p>\n\n\n\n<p>\u5e94\u7528\u4e5f\u53ef\u4ee5\u901a\u8fc7theme\u6765\u8fbe\u5230\u540c\u6837\u7684\u6548\u679c<\/p>\n\n\n\n<p>&lt;item name=&#8221;android:windowLayoutInDisplayCutoutMode&#8221;&gt;default&lt;\/item&gt;<\/p>\n\n\n\n<p>\u5bf9\u5e94LAYOUT_IN_DISPLAY_CUTOUT_MODE_DEFAULT<\/p>\n\n\n\n<p>&lt;item name=&#8221;android:windowLayoutInDisplayCutoutMode&#8221;&gt;shortEdges&lt;\/item&gt;<\/p>\n\n\n\n<p>\u5bf9\u5e94LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES<\/p>\n\n\n\n<p>&lt;item name=&#8221;android:windowLayoutInDisplayCutoutMode&#8221;&gt;never&lt;\/item&gt;<\/p>\n\n\n\n<p>\u5bf9\u5e94LAYOUT_IN_DISPLAY_CUTOUT_MODE_NEVER<\/p>\n\n\n\n<p>\u5e94\u7528\u9047\u5230\u7a97\u53e3\u663e\u793a\u88ab\u9650\u5236\u5728\u5218\u6d77\u4ee5\u4e0b\u533a\u57df\u7684\u53ef\u4ee5\u8c03\u6574<\/p>\n\n\n\n<p>layoutInDisplayCutoutMode \u8bbe\u7f6e\u4e3a<\/p>\n\n\n\n<p>LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES\uff0c\u518d\u901a\u8fc7\u83b7\u53d6<\/p>\n\n\n\n<p>DisplayCutout \u5173\u4e8e\u5218\u6d77\u533a\u57df\u4fe1\u606f\uff0c\u8c03\u6574UI\u8fbe\u5230\u66f4\u597d\u7684\u6ee1\u5c4f\u4f53\u9a8c\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>2.3 \u5e94\u7528\u5f85\u673a\u5206\u7ec4\u7b56\u7565<\/strong><\/h2>\n\n\n\n<p><strong>2.3.1 \u4ecb\u7ecd<\/strong><\/p>\n\n\n\n<p>\u5e94\u7528\u5f85\u673a\u5206\u7ec4\u4e3aAndroidP\u4e0a\u65b0\u7684\u7535\u6e90\u7ba1\u7406\u529f\u80fd\uff0c\u5b83\u5c06\u5e94\u7528\u5f52\u4e3a\u4e94\u7c7b\uff0c\u6ca1\u6709\u91c7\u7528\u4e0d\u540c\u7684\u9650\u5236\u7b56\u7565\uff0c\u6765\u63a7\u5236\u5e94\u7528\u7684\u8bbf\u95ee\u8d44\u6e90\u7684\u80fd\u529b\u3002<\/p>\n\n\n\n<p><strong>\u5177\u4f53\u5206\u4ee5\u4e0b\u4e94\u7c7b\uff1a<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>\u6d3b\u8dc3<\/strong><\/td><td>\u5982\u679c\u7528\u6237\u5f53\u524d\u6b63\u5728\u4f7f\u7528\u5e94\u7528\uff0c\u5e94\u7528\u5c06\u88ab\u5f52\u5230\u201c\u6d3b\u8dc3\u201d\u7fa4\u7ec4\u4e2d\uff0c\u4f8b\u5982\uff1a<br>\u5e94\u7528\u5df2\u542f\u52a8\u4e00\u4e2a Activity<br>\u5e94\u7528\u6b63\u5728\u8fd0\u884c\u524d\u53f0\u670d\u52a1<br>\u5e94\u7528\u7684\u540c\u6b65\u9002\u914d\u5668\u4e0e\u67d0\u4e2a\u524d\u53f0\u5e94\u7528\u4f7f\u7528\u7684 content provider \u5173\u8054<br>\u7528\u6237\u5728\u5e94\u7528\u4e2d\u70b9\u51fb\u4e86\u67d0\u4e2a\u901a\u77e5<\/td><\/tr><tr><td><strong>\u5de5\u4f5c\u96c6<\/strong><\/td><td>\u5982\u679c\u5e94\u7528\u7ecf\u5e38\u8fd0\u884c\uff0c\u4f46\u5f53\u524d\u672a\u5904\u4e8e\u6d3b\u8dc3\u72b6\u6001\uff0c\u5b83\u5c06\u88ab\u5f52\u5230\u201c\u5de5\u4f5c\u96c6\u201d\u7fa4\u7ec4\u4e2d\u3002 \u4f8b\u5982\uff0c\u7528\u6237\u5728\u5927\u90e8\u5206\u65f6\u95f4\u90fd\u542f\u52a8\u7684\u67d0\u4e2a\u793e\u4ea4\u5a92\u4f53\u5e94\u7528\u53ef\u80fd\u5c31\u5c5e\u4e8e\u201c\u5de5\u4f5c\u96c6\u201d\u7fa4\u7ec4\u3002 \u5982\u679c\u5e94\u7528\u88ab\u95f4\u63a5\u4f7f\u7528\uff0c\u5b83\u4eec\u4e5f\u4f1a\u88ab\u5347\u7ea7\u5230\u201c\u5de5\u4f5c\u96c6\u201d\u7fa4\u7ec4\u4e2d\u3002<\/td><\/tr><tr><td><strong>\u5e38\u7528<\/strong><\/td><td>\u5982\u679c\u5e94\u7528\u4f1a\u5b9a\u671f\u4f7f\u7528\uff0c\u4f46\u4e0d\u662f\u6bcf\u5929\u90fd\u5fc5\u987b\u4f7f\u7528\uff0c\u5b83\u5c06\u88ab\u5f52\u5230\u201c\u5e38\u7528\u201d\u7fa4\u7ec4\u4e2d\u3002 \u4f8b\u5982\uff0c\u7528\u6237\u5728\u5065\u8eab\u623f\u8fd0\u884c\u7684\u67d0\u4e2a\u953b\u70bc\u8ddf\u8e2a\u5e94\u7528\u53ef\u80fd\u5c31\u5c5e\u4e8e\u201c\u5e38\u7528\u201d\u7fa4\u7ec4\u3002<\/td><\/tr><tr><td><strong>\u6781\u5c11\u4f7f\u7528<\/strong><\/td><td>\u5982\u679c\u5e94\u7528\u4e0d\u7ecf\u5e38\u4f7f\u7528\uff0c\u90a3\u4e48\u5b83\u5c5e\u4e8e\u201c\u6781\u5c11\u4f7f\u7528\u201d\u7fa4\u7ec4\u3002 \u4f8b\u5982\uff0c\u7528\u6237\u4ec5\u5728\u5165\u4f4f\u9152\u5e97\u671f\u95f4\u8fd0\u884c\u7684\u9152\u5e97\u5e94\u7528\u5c31\u53ef\u80fd\u5c5e\u4e8e\u201c\u6781\u5c11\u4f7f\u7528\u201d\u7fa4\u7ec4\u3002<\/td><\/tr><tr><td><strong>\u4ece\u672a\u4f7f\u7528<\/strong><\/td><td>\u5b89\u88c5\u4f46\u662f\u4ece\u672a\u8fd0\u884c\u8fc7\u7684\u5e94\u7528\u4f1a\u88ab\u5f52\u5230\u201c\u4ece\u672a\u4f7f\u7528\u201d\u7fa4\u7ec4\u4e2d\uff0c\u6b64\u7c7b\u5e94\u7528\u4e0d\u5177\u5907\u8fd0\u884c\u6761\u4ef6\u3002<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>\u9650\u5236\u7b56\u7565\u5982\u4e0b\uff1a<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>\u5206\u7c7b<\/strong><\/td><td><strong>jobs*<\/strong><\/td><td><strong>Alarns<\/strong><\/td><td><strong>&nbsp;Network<\/strong><\/td><td><strong>Firebase Cloud Messaging<\/strong><\/td><\/tr><tr><td><strong>\u6d3b\u8dc3<\/strong><\/td><td>\u65e0\u9650\u5236<\/td><td>\u65e0\u9650\u5236<\/td><td>\u65e0\u9650\u5236<\/td><td>\u65e0\u9650\u5236<\/td><\/tr><tr><td><strong>\u5de5\u4f5c\u96c6<\/strong><\/td><td>2\u5c0f\u65f6\u6bcf\u6b21<\/td><td>6\u5206\u949f\u6bcf\u6b21<\/td><td>\u65e0\u9650\u5236<\/td><td>\u65e0\u9650\u5236<\/td><\/tr><tr><td><strong>\u5e38\u7528<\/strong><\/td><td>&nbsp;8\u5c0f\u65f6\u6bcf\u6b21<\/td><td>30\u5206\u6bcf\u6b21<\/td><td>\u65e0\u9650\u5236<\/td><td>High priority: 10\/day<\/td><\/tr><tr><td><strong>\u6781\u5c11\u4f7f\u7528<\/strong><\/td><td>24\u5c0f\u65f6\u6bcf\u6b21<\/td><td>2\u5c0f\u65f6\u6bcf\u6b21<\/td><td>24\u5c0f\u65f6\u6bcf\u6b21<\/td><td>High priority: 5\/day<\/td><\/tr><tr><td>1. jobs\u5728\u9650\u5236\u7684\u60c5\u51b5\u4e0b\uff0c\u53ea\u670910\u5206\u949f\u7a97\u53e3\u65f6\u95f4\u6267\u884c\uff0c\u8d85\u51fa\u5341\u5206\u949f\u5c06\u88ab\u505c\u6b62<br>2. alarms\u5728\u9650\u5236\u7684\u60c5\u51b5\u4e0b\uff0c\u53ea\u670910s\u4e2d\u7684\u6267\u884c\u65f6\u95f4<br>3. \u7f51\u7edc\u88ab\u9650\u5236\u7684\u60c5\u51b5\u4e0b\uff0c\u6bcf\u6b2110\u5206\u949f\u7684\u7a97\u53e3\u65f6\u95f4\u8bbf\u95ee\u7f51\u7edc\u8d44\u6e90<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>2.3.2 \u5f71\u54cd\u8303\u56f4<\/strong><\/p>\n\n\n\n<p>\u6240\u6709\u8fd0\u884c\u5728AndroidP\u7cfb\u7edf\u4e0a\u7684\u5e94\u7528\uff0c\u4e0d\u5206targetsdkversion\uff0c\u53d7\u6b64\u5f71\u54cd\u4e3a\u4e3b\u8981\u4e3a\u5e94\u7528\u7684\u540e\u53f0\u884c\u4e3a\u53d7\u9650\u5236\uff0c\u7279\u522b\u5982\u95f9\u949f\uff0c\u5730\u56fe\u5bfc\u822a\uff0c\u540e\u53f0\u4e0b\u8f7d\uff0c\u5065\u5eb7\u7c7b\u5e94\u7528\u3002<\/p>\n\n\n\n<p><strong>2.3.3 \u5982\u4f55\u9002\u914d<\/strong><\/p>\n\n\n\n<p>\u25a0&nbsp;\u5e94\u7528\u6839\u636eAndroid\u7684\u9650\u5236\u7b56\u7565\uff0c\u70b9\u68c0\u5e94\u7528\u7684\u540e\u53f0\u884c\u4e3a\u662f\u5426\u88ab\u9650\u5236\u3002<\/p>\n\n\n\n<p>\u25a0&nbsp;\u5982\u4f55\u786e\u8ba4\u662f\u5426\u56e0\u4e3a\u5e94\u7528\u5f85\u673a\u5206\u7ec4\u5bfc\u81f4\u7684\u540e\u53f0\u884c\u4e3a\u9650\u5236\uff1f<\/p>\n\n\n\n<p>\uff081\uff09\u5148\u786e\u8ba4\u5e94\u7528\u7684\u5f85\u673a\u5206\u7ec4<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;adb shell am get-standby-bucket [packagename]&nbsp; \/\/\u67e5\u4e0b\u5f53\u524d\u5e94\u7528\u7684\u5206\u7ec4\u60c5\u51b5\uff1b<\/p>\n\n\n\n<p>\uff082\uff09\u5982\u679c\u4e0d\u5728\u6d3b\u8dc3\u7ec4\uff08active\uff09<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;adb shell am set-standby-bucket packagename active&nbsp; \/\/\u5f3a\u5236\u5207\u6362\u5e94\u7528\u5230\u6d3b\u8dc3\u5206\u7ec4\uff1b<\/p>\n\n\n\n<p>\u786e\u8ba4\u5728\u6b64\u60c5\u51b5\u4e0b\u7528\u6237\u7684\u884c\u4e3a\u662f\u5426\u4f9d\u7136\u53d7\u9650\u5236\uff0c\u5982\u679c\u662f\u7684\u8bdd\uff0c\u624d\u786e\u8ba4\u4e3a\u5f85\u673a\u5206\u7ec4\u7b56\u7565\u5bfc\u81f4\u7684\u540e\u53f0\u884c\u4e3a\u9650\u5236\u3002<\/p>\n\n\n\n<p>\u25a0&nbsp;\u5e94\u7528\u53ef\u4ee5\u901a\u8fc7<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;adb shell am set-standby-bucket packagename active|working_set|frequent|rare \u5728\u4e0d\u540c\u5206\u7ec4\u89c1\u5f3a\u5236\u8fdb\u884c\u5207\u6362\uff0c\u8c03\u8bd5\u81ea\u8eab\u5e94\u7528\u3002<\/p>\n\n\n\n<p>\u25a0&nbsp;\u5bf9\u4e8e\u7531\u4e8e\u540e\u53f0\u5206\u7ec4\u7b56\u7565\u5bfc\u81f4\u7684\u540e\u53f0\u9650\u5236\uff0c\u5e94\u7528\u9700\u8981\u8fdb\u884c\u76f8\u5173\u7b56\u7565\u4e0a\u7684\u8c03\u6574\u8be6\u7ec6\u89c1\uff1a<a href=\"https:\/\/developer.android.com\/about\/versions\/pie\/power\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/developer.android.com\/about\/versions\/pie\/power<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>2.4 Crypto JCA \u63d0\u4f9b\u7a0b\u5e8f\u5df2\u88ab\u79fb\u9664,\u5f03\u7528 Bouncy Castle \u52a0\u5bc6<\/strong><\/h2>\n\n\n\n<p><strong>2.4.1 \u4ecb\u7ecd<\/strong><\/p>\n\n\n\n<p>Crypto JCA \u63d0\u4f9b\u7a0b\u5e8f\u5df2\u88ab\u79fb\u9664\u3002\u8c03\u7528&nbsp;SecureRandom.getInstance(&#8220;SHA1PRNG&#8221;,&#8221;Crypto&#8221;)&nbsp;\u5c06\u4f1a\u5f15\u53d1&nbsp;NoSuchProviderException\uff0c\u8c03\u7528Bouncy Castle \u63d0\u4f9b\u7a0b\u5e8f\u7684&nbsp;getInstance()\uff0c\u4f1a\u751f\u6210&nbsp;NoSuchAlgorithmException&nbsp;\u9519\u8bef\u3002<\/p>\n\n\n\n<p><strong>2.4.2 \u5f71\u54cd\u8303\u56f4<\/strong><\/p>\n\n\n\n<p>\uff081\uff09Crypto JCA \u63d0\u4f9b\u7a0b\u5e8f\u5df2\u88ab\u79fb\u9664\uff0c\u6b64\u5f71\u54cd\u6240\u6709\u8fd0\u884cAndriodP\u7cfb\u7edf\u7684\u6240\u6709\u5e94\u7528\uff1b<\/p>\n\n\n\n<p>\uff082\uff09Bouncy Castle \u63d0\u4f9b\u7a0b\u5e8f\u5f02\u5e38\u7684\u95ee\u9898\uff0c\u5f71\u54cd\u6240\u6709targetsdkversion&gt;=28\u7684\u5e94\u7528\uff1b<\/p>\n\n\n\n<p><strong>2.4.3 \u5982\u4f55\u9002\u914d<\/strong><\/p>\n\n\n\n<p>\u6a21\u5757\u5e94\u8be5\u5728getInstance()\u7684\u65f6\u5019\u4e0d\u6307\u6d3e\u63d0\u4f9b\u7a0b\u5e8f\uff0c\u91c7\u7528\u9ed8\u8ba4\u5b9e\u73b0\u5373\u53ef<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>2.5 FLAG_ACTIVITY_NEW_TASK\u88ab\u5f3a\u5236\u8981\u6c42<\/strong><\/h2>\n\n\n\n<p>AndroidP\u4e0a\uff0c\u4ece\u975e Activity \u73af\u5883\u4e2d\u542f\u52a8 Activity\uff0c\u9664\u975e\u4f20\u9012 Intent \u6807\u5fd7&nbsp;FLAG_ACTIVITY_NEW_TASK\u3002 \u5982\u679c\u5c1d\u8bd5\u5728\u4e0d\u4f20\u9012\u6b64\u6807\u5fd7\u7684\u60c5\u51b5\u4e0b\u542f\u52a8 Activity\uff0c\u5219\u8be5 Activity \u4e0d\u4f1a\u542f\u52a8\uff0c\u6b64\u9650\u5236\u5bf9\u6240\u6709\u8fd0\u884cAndroidP\u7684\u5e94\u7528\u751f\u6548\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>2.6 \u7981\u6b62\u7a7a\u95f2\u5e94\u7528\u8bbf\u95ee\u76f8\u673a\u3001\u9ea6\u514b\u98ce\u548c\u4f20\u611f\u5668<\/strong><\/h2>\n\n\n\n<p>Android 9 \u9650\u5236\u540e\u53f0\u5e94\u7528\u8bbf\u95ee\u7528\u6237\u8f93\u5165\u548c\u4f20\u611f\u5668\u6570\u636e\u7684\u80fd\u529b\u3002 \u5982\u679c\u60a8\u7684\u5e94\u7528\u5728\u8fd0\u884c Android 9 \u8bbe\u5907\u7684\u540e\u53f0\u8fd0\u884c\uff0c\u7cfb\u7edf\u5c06\u5bf9\u60a8\u7684\u5e94\u7528\u91c7\u53d6\u4ee5\u4e0b\u9650\u5236\uff1a<\/p>\n\n\n\n<p>\uff081\uff09\u5e94\u7528\u4e0d\u80fd\u8bbf\u95ee\u9ea6\u514b\u98ce\u6216\u6444\u50cf\u5934\u3002<\/p>\n\n\n\n<p>\uff082\uff09\u4f7f\u7528\u8fde\u7eed\u62a5\u544a\u6a21\u5f0f\u7684\u4f20\u611f\u5668\uff08\u4f8b\u5982\u52a0\u901f\u5ea6\u8ba1\u548c\u9640\u87ba\u4eea\uff09\u4e0d\u4f1a\u63a5\u6536\u4e8b\u4ef6\u3002<\/p>\n\n\n\n<p>\uff083\uff09\u4f7f\u7528\u53d8\u5316\u6216\u4e00\u6b21\u6027\u62a5\u544a\u6a21\u5f0f\u7684\u4f20\u611f\u5668\u4e0d\u4f1a\u63a5\u6536\u4e8b\u4ef6\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>2.7 \u524d\u53f0\u670d\u52a1\u7684\u5e94\u7528\u5fc5\u987b\u8bf7\u6c42 FOREGROUND_SERVICE \u6743\u9650<\/strong><\/h2>\n\n\n\n<p>targetsdkversion&gt;=28\u7684\u5e94\u7528\u5728\u4f7f\u7528\u524d\u53f0\u670d\u52a1\u7684\u90fd\u9700\u8981\u8fdb\u884c\u5fc5\u987b\u8bf7\u6c42&nbsp;FOREGROUND_SERVICE&nbsp;\u6743\u9650\u3002 \u8fd9\u662f\u666e\u901a\u6743\u9650\uff0c\u56e0\u6b64\uff0c\u7cfb\u7edf\u4f1a\u81ea\u52a8\u4e3a\u8bf7\u6c42\u6743\u9650\u7684\u5e94\u7528\u6388\u4e88\u6b64\u6743\u9650\u3002<\/p>\n\n\n\n<p>&lt;uses-permission ndroid:name=&#8221;android.permission.FOREGROUND_SERVICE&#8221;\/&gt;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>2.8&nbsp;\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u542f\u7528\u7f51\u7edc\u4f20\u8f93\u5c42\u5b89\u5168\u534f\u8bae<\/strong><\/h2>\n\n\n\n<p>AndroidP\u4e0a\uff0c\u5bf9\u5e94targetsdkversion&gt;=28\u7684\u5e94\u7528\u9700\u8981\u4e3a\u7279\u5b9a\u57df\u540d\u542f\u7528\u660e\u6587\uff0c\u5fc5\u987b\u5728\u5e94\u7528\u7684\u7f51\u7edc\u5b89\u5168\u6027\u914d\u7f6e\u4e2d\u9488\u5bf9\u8fd9\u4e9b\u57df\u540d\u5c06&nbsp;<a href=\"https:\/\/developer.android.com\/training\/articles\/security-config.html%EF%BC%8C\" target=\"_blank\" rel=\"noreferrer noopener\">cleartextTrafficPermitted<\/a>&nbsp;\u663e\u5f0f\u8bbe\u7f6e\u4e3a&nbsp;true\uff0c\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u660e\u6587\u4f20\u8f93\u4f1a\u76f4\u63a5\u629b\u51fa\u201cjava.io.IOException: Cleartext HTTP traffic to xxx.com not permitted\u201d\u5f02\u5e38\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>2.9 Apache HTTP \u5ba2\u6237\u7aef\u5f03\u7528,bootclasspath \u4e2d\u5df2\u79fb\u9664<\/strong><\/h2>\n\n\n\n<p>AndroidP\u5f00\u59cborg.apache.http.legacy.jar\u8fd9\u4e2a\u5305\u4e0d\u5728\u6253\u5305\u8fdbbootclasspath\uff0c\u5bf9\u4e8etargetsdkversion&gt;=28\u7684\uff0c\u7ee7\u7eed\u5f15\u7528\u6b64\u5305\u7684\u5e94\u7528\u5c06\u76f4\u63a5\u51fa\u73b0NoClassDefFoundError\uff0c\u5bf9\u4e8etargetsdkversion\u4f4e\u4e8e28\u7684\uff0c\u7cfb\u7edf\u4f1a\u5c06\u6b64\u5305\u52a0\u8f7d\u5230\u5e94\u7528\u7684classloader\u4e2d\uff0c\u5982\u679c\u5e94\u7528\u91c7\u7528\u7cfb\u7edf\u7684classloader\u52a0\u8f7d\u5e94\u7528\uff0c\u5c06\u540c\u6837\u4f1a\u51fa\u73b0NoClassDefFoundError\uff0c\u5efa\u8bae\u6a21\u5757\u4f7f\u7528&nbsp;<a href=\"https:\/\/developer.android.com\/reference\/java\/net\/HttpURLConnection.html\" target=\"_blank\" rel=\"noreferrer noopener\">HttpURLConnection<\/a>&nbsp;\u7c7b\uff0c\u66f4\u52a0\u9ad8\u6548\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>2.10 \u79fb\u9664\u5bf9 Build.serial \u7684\u76f4\u63a5\u8bbf\u95ee<\/strong><\/h2>\n\n\n\n<p>Build.SERIAL\u5b57\u6bb5\u5df2\u7ecf\u88ab\u5e9f\u5f03\uff0cAndroidP\u4e0a\u503c\u4e00\u76f4\u4e3a\u201cUNKNOWN\u201d\uff0c \u5982\u679c\u60a8\u7684\u5e94\u7528\u9700\u8981\u8bbf\u95ee\u8bbe\u5907\u7684\u786c\u4ef6\u5e8f\u5217\u53f7\uff0c\u60a8\u5e94\u8bf7\u6c42 READ_PHONE_STATE \u6743\u9650\uff0c\u7136\u540e\u8c03\u7528 getSerial()\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>2.11 \u4e0d\u5141\u8bb8\u5171\u4eab WebView \u6570\u636e\u76ee\u5f55<\/strong><\/h2>\n\n\n\n<p>targetsdkversion&gt;=28\u7684\u5e94\u7528\u4e0d\u5141\u8bb8\u5728\u4e0d\u540c\u8fdb\u7a0b\u4e4b\u95f4\u5171\u4eab\u4e00\u4e2a WebView \u6570\u636e\u76ee\u5f55\u3002\u5982\u679c\u5e94\u7528\u6709\u591a\u4e2a\u8fdb\u7a0b\u4f7f\u7528 WebView\u3001CookieManager \u6216 android.webkit \u8f6f\u4ef6\u5305\u4e2d\u7684\u4efb\u4f55\u5176\u4ed6 API\uff0c\u5219\u5728\u7b2c\u4e8c\u4e2a\u8fdb\u7a0b\u8c03\u7528 WebView \u51fd\u6570\u65f6\uff0c\u5e94\u7528\u5c06\u4f1a\u5d29\u6e83\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>2.12 \u5e94\u7528\u7981\u6b62\u8bbf\u95eext_qtagui\u76ee\u5f55\u7684\u6587\u4ef6<\/strong><\/h2>\n\n\n\n<p>AndroidP\u540e\uff0c\u4e0d\u518d\u5141\u8bb8\u5e94\u7528\u76f4\u63a5\u8bfb\u53d6&nbsp;\/proc\/net\/xt_qtaguid&nbsp;\u6587\u4ef6\u5939\u4e2d\u7684\u6587\u4ef6\u3002 \u8fd9\u6837\u505a\u662f\u4e3a\u4e86\u786e\u4fdd\u4e0e\u67d0\u4e9b\u6839\u672c\u4e0d\u63d0\u4f9b\u8fd9\u4e9b\u6587\u4ef6\u7684\u8bbe\u5907\u4fdd\u6301\u4e00\u81f4\u3002\u5e94\u7528\u5e94\u8be5\u91c7\u7528\u6807\u51c6 API&nbsp;TrafficStats&nbsp;\u548c&nbsp;NetworkStatsManager&nbsp;\u8fdb\u884c\u8bbf\u95ee\uff0c\u6b64\u9650\u5236\u5bf9\u6240\u6709\u8fd0\u884cAndroidP\u7cfb\u7edf\u4e0a\u7684\u5e94\u7528\u751f\u6548\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>2.13 SELinux \u7981\u6b62\u8bbf\u95ee\u5e94\u7528\u7684\u6570\u636e\u76ee\u5f55<\/strong><\/h2>\n\n\n\n<p>\u5bf9\u4e8etargetsdkversion&gt;=28\u7684\u5e94\u7528\uff0c\u7cfb\u7edf\u5f3a\u5236\u6bcf\u4e2a\u5e94\u7528\u7684 SELinux \u6c99\u76d2\u5bf9\u6bcf\u4e2a\u5e94\u7528\u7684\u79c1\u6709\u6570\u636e\u76ee\u5f55\u5f3a\u5236\u6267\u884c\u9010\u4e2a\u5e94\u7528\u7684 SELinux \u9650\u5236\u3002\u73b0\u5728\uff0c\u4e0d\u5141\u8bb8\u76f4\u63a5\u901a\u8fc7\u8def\u5f84\u8bbf\u95ee\u5176\u4ed6\u5e94\u7528\u7684\u6570\u636e\u76ee\u5f55\u3002\u5e94\u7528\u53ef\u4ee5\u7ee7\u7eed\u4f7f\u7528\u8fdb\u7a0b\u95f4\u901a\u4fe1 (IPC) \u673a\u5236\uff08\u5305\u62ec\u901a\u8fc7\u4f20\u9012 FD\uff09\u5171\u4eab\u6570\u636e\uff0c\u4f8b\u5982\u53ef\u4ee5\u91c7\u7528<a href=\"https:\/\/developer.android.com\/reference\/androidx\/core\/content\/FileProvider\" target=\"_blank\" rel=\"noreferrer noopener\">FileProvider<\/a>\u3002<\/p>\n\n\n\n<h1 class=\"wp-block-heading\"><strong><a><\/a>\u4e09\u3001\u53c2\u8003\u94fe\u63a5<\/strong><\/h1>\n\n\n\n<p>\uff081\uff09AndroidP\u6240\u6709\u5e94\u7528\u884c\u4e3a\u53d8\u66f4\uff1a<a href=\"https:\/\/developer.android.com\/about\/versions\/pie\/android-9.0-changes-all\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/developer.android.com\/about\/versions\/pie\/android-9.0-changes-all<\/a><\/p>\n\n\n\n<p>\uff082\uff09AndroidP targetSDK 28\u5e94\u7528\u884c\u4e3a\u53d8\u66f4\uff1a<a href=\"https:\/\/developer.android.com\/about\/versions\/pie\/android-9.0-changes-28\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/developer.android.com\/about\/versions\/pie\/android-9.0-changes-28<\/a><\/p>\n\n\n\n<p>\uff083\uff09AndroidP \u7535\u6e90\u7ba1\u7406\uff1a<a href=\"https:\/\/developer.android.com\/about\/versions\/pie\/power\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/developer.android.com\/about\/versions\/pie\/power<\/a><\/p>\n\n\n\n<p>\uff084\uff09pixles\u7cfb\u5217\u955c\u50cf\u5347\u7ea7\uff1a<a href=\"https:\/\/developers.google.com\/android\/images\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/developers.google.com\/android\/images<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>AndroidP\u540e\uff0c\u4e0d\u518d\u5141\u8bb8\u5e94\u7528\u76f4\u63a5\u8bfb\u53d6 \/proc\/net\/xt_qtaguid \u6587\u4ef6\u5939\u4e2d\u7684\u6587\u4ef6\u3002 \u8fd9\u6837\u505a\u662f\u4e3a\u4e86\u786e\u4fdd\u4e0e\u67d0\u4e9b\u6839\u672c\u4e0d\u63d0\u4f9b\u8fd9\u4e9b\u6587\u4ef6\u7684\u8bbe\u5907\u4fdd\u6301\u4e00\u81f4\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[46],"tags":[5291,5288,810,5289,5290],"special":[66],"attr":[],"class_list":{"0":"post-11212","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-appsj","7":"tag-android-p","8":"tag-androidp","9":"tag-vivo","10":"tag-p","12":"special-vivokfpt","13":"entry"},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/posts\/11212","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/comments?post=11212"}],"version-history":[{"count":1,"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/posts\/11212\/revisions"}],"predecessor-version":[{"id":11213,"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/posts\/11212\/revisions\/11213"}],"wp:attachment":[{"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/media?parent=11212"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/categories?post=11212"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/tags?post=11212"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/special?post=11212"},{"taxonomy":"attr","embeddable":true,"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/attr?post=11212"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}