summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/24
diff options
context:
space:
mode:
authorMakoto Onuki <omakoto@google.com>2018-10-01 15:17:35 -0700
committerMakoto Onuki <omakoto@google.com>2018-10-01 15:24:20 -0700
commit0e59263c9a98b535f778b3f1162b23ffc351f672 (patch)
tree0ce048247cebf9739343c1f48343a6c3b168d1cc /docs/html/sdk/api_diff/24
parent1d65ea4edd0ca4acbb423f1638f72b12041e6695 (diff)
Fix a race in AMS.getContentProviderImpl().
If the provider process has just been killed by AM but appDiedLocked() hasn't been called yet, this method would wait on the wrong ContentProviderRecord. Bug: 110030490 Test: Manual test with the following test code added after "boolean providerRunning = false". if (cpr != null && cpr.proc != null) { final String prop = "debug.am.provider.fake-kill." + cpr.proc.processName; if (SystemProperties.getBoolean(prop, false)) { cpr.proc.kill("fake-kill", true); SystemProperties.set(prop, "0"); } } Change-Id: I2c4ba1e87c2d47f2013befff10c49b3dc337a9a7
Diffstat (limited to 'docs/html/sdk/api_diff/24')
0 files changed, 0 insertions, 0 deletions