diff options
author | Bartosz Fabianowski <bartfab@google.com> | 2017-03-06 12:07:57 +0100 |
---|---|---|
committer | Bartosz Fabianowski <bartfab@google.com> | 2017-03-06 14:24:12 +0100 |
commit | 172f7801c7376a33d7cfe07c8cb4525d14db0c8f (patch) | |
tree | 7b2ed515def0958209199639badd6781e0bbf503 /docs/html/sdk/api_diff/24 | |
parent | 4c368d55029e00c9a2ff18a1cc4c1b466639a783 (diff) |
Rename DPM.isDefaultInputMethodSetByOwner()
Settings.Secure.DEFAULT_INPUT_METHOD is a misnomer. It does not really
record a permanent default of any sort - it just indicates the currently
chosen IME. Thus, isDefaultInputMethodSetByOwner() should more
appropriately be called isCurrentInputMethodSetByOwner().
Furthermore, it turns out that setting a different IME for a user and
the user's work profile is unsupported. Thus, it is sufficient for the
intended use case to just retrieve the calling user's default IME.
There is no need for a |user| parameter.
Bug: 32692748
Test: unit tests (see DevicePolicyManagerTest.java for invocation)
Test: cts-tradefed run cts-dev --module CtsDevicePolicyManagerTestCases
Change-Id: Ia0846d38a1361042429dae7430a8b055575ef2e0
Diffstat (limited to 'docs/html/sdk/api_diff/24')
0 files changed, 0 insertions, 0 deletions