Fixed
Status Update
Comments
fu...@google.com <fu...@google.com>
ap...@google.com <ap...@google.com> #2
Perhaps make a defensive copy of ApplicationInfo
or read the process name early in the process lifecycle as ApplicationInfo
is a mutable singleton.
le...@google.com <le...@google.com> #3
Project: platform/frameworks/support
Branch: androidx-master-dev
commit 0c92b8c8dd935872c4b425cae16f45ea0981226f
Author: Rahul Ravikumar <tikurahul@gmail.com>
Date: Thu Sep 17 10:38:46 2020
[GH] Use `ApplicationInfo` to determine the default app process name.
* Previously `context.getPackageName()` was used to determine the default app process name.
This is not always correct, because the app may have overriden the process name.
Fixes: b/168716641
Test: Ran integration tests.
This is an imported pull request fromhttps://github.com/androidx/androidx/pull/78 .
Resolves #78
Github-Pr-Head-Sha: 4ee23d5b6fdaf7aa18a95a4289f15332d0209c93
GitOrigin-RevId: 9e113c7cdb36b37d4038f021ee691762c0feb132
Change-Id: I2add7f9b051e59ffb880b2fc5ffac220cf4b858e
M work/workmanager/src/main/java/androidx/work/impl/utils/ProcessUtils.java
https://android-review.googlesource.com/1429950
Branch: androidx-master-dev
commit 0c92b8c8dd935872c4b425cae16f45ea0981226f
Author: Rahul Ravikumar <tikurahul@gmail.com>
Date: Thu Sep 17 10:38:46 2020
[GH] Use `ApplicationInfo` to determine the default app process name.
* Previously `context.getPackageName()` was used to determine the default app process name.
This is not always correct, because the app may have overriden the process name.
Fixes:
Test: Ran integration tests.
This is an imported pull request from
Resolves #78
Github-Pr-Head-Sha: 4ee23d5b6fdaf7aa18a95a4289f15332d0209c93
GitOrigin-RevId: 9e113c7cdb36b37d4038f021ee691762c0feb132
Change-Id: I2add7f9b051e59ffb880b2fc5ffac220cf4b858e
M work/workmanager/src/main/java/androidx/work/impl/utils/ProcessUtils.java
Description
CAMERAX VERSION: 1.0.0-beta07
ANDROID OS BUILD NUMBER: PRP1.180610.011.C960USQS7CSK3 and PKQ1.180729.001
DEVICE NAME: Samsung S9 and Xiaomi Mi 8
DESCRIPTION: Camera Flash becomes to Flashlight mode if FlashMode is set to FLASH_MODE_OFF while the flash is working.
STEPS TO REPRODUCE:
OBSERVED RESULTS: Flash is working in Flashlight mode
EXPECTED RESULTS: Flash should be turned off
REPRODUCIBILITY: 10 of 10
ADDITIONAL INFORMATION: The problem was noticed on Samsung S9 and Xiaomi Mi 8. Other devices work properly.
CODE FRAGMENTS: