diff options
author | Ye Wen <ywen@google.com> | 2018-03-14 11:48:24 -0700 |
---|---|---|
committer | Ye Wen <ywen@google.com> | 2018-03-20 08:57:43 -0700 |
commit | 8e8b2d542a4180cfc02e3116e708f1468eb039e9 (patch) | |
tree | b82746f27dbf07c146497330d7f6abda5fa17e8b /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | a501257ea22efd4cba2712eab730632e840de06b (diff) |
Fix default permission granting for system TextClassifier.
The original code calls TCS.getServiceComponentName to get the package
name of the configured system TextClassifier, which does not work before
user logs in. This fixes the problem by using the package name from the
configuration directly.
Test: Manually tested to confirm permissions were granted. Permission
section of the app info are gray.
Bug: 74779259
Change-Id: I6bff7119e174c0e0b17d9736d69075f6df2bc882
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions