Steps:
1. Add a new APN;
2. Click 'Reset to default';
3. During reset, click the new APN;
4. Crash happened.
Solution:
Disable menu items when reseting default APN.
Bug: 28314239
Change-Id: I8df439d066e58039e9f91a9be642127eb7298159
am: e2ae135d3c
* commit 'e2ae135d3c0612081eb6f23e37011e05136a6693':
Be more aggressive caching Vpn preference attrs
One updateSummary method called by all VPN prefs
Change-Id: I93ffd1d56ca9ff4d8e9c8e16fc897e2368ae1260
Previous CL accidentally cleared the listening bit too early making
it never actually tell the SummaryProviders to stop listening.
Change-Id: I6af1acc861f6987b33641c40637354c75cf4d708
Fixes: 28306872
This view provides an interface which allows users to clear out
apps and other data which they may no longer need to alleviate
storage pressure. This implementation gives the bits to uninstall
apps which have not been used within the last 60 days from the
system.
A future patch will add in the ability to extend the deletion helper
view to have additional clearing types.
Change-Id: I65cba54ca247d52227e67e2fa9b84fe63fb8ab34
(cherry picked from commit a671272bf6)
am: b156761ae8
* commit 'b156761ae88d63e982bdaae413fe102fc4042c3a':
Support IMEs that have no subtype in PhysicalKeyboardFragment.
Change-Id: If0b8c97e6a0cad08c2a94039d3543be8fef3260a
As any change to the preference title will cause it to lose focus,
best not to do this too often.
Change-Id: Ibac27ee1de42fd7ca05f3e3685b84f37dac39517
Fix: 28191965
am: 9b167a6878
* commit '9b167a6878d036ffb253687a4eb94e1e44e5fda4':
Include work app in battery optimization settings
Change-Id: I61f2d84f5f57234a2dbb7a5ef4059b5e63fdfdda
Remove button is still allowed as it has been allowed in MNC
(Trust button is new in NYC)
Bug: 28161447
Change-Id: I8df73e1008c2e805f4d0b2ec68d8a4aa3bf75aba
am: 7bcc48f77d
* commit '7bcc48f77d1110a14e0cf984431da435ad1b47a5':
Fix only one battery stat showing sometimes.
Change-Id: I70aac29590b8b65bd904a07f441f467cb7041930
Take into account the prefs we are currently caching within the
group when counting how many prefs have been added.
Change-Id: I962acd41592c1a9366882711d3f4944bffb54d22
Fixes: 27931457
am: 257355afde
* commit '257355afde546a408e4f47b59fff97df9d09cf9d':
Don't save a rule without a name.
Change-Id: If2c2b8d4d97c14df6c68277fed639197535c8ba9
Having multiple methods means inevitably when new features are added to
the preferences, the right calls aren't made so information on the
screen lags between updates.
Bug: 28257641
Change-Id: I336aeefd5941ccf808dc9070427209a7d2530032
(cherry picked from commit 903843e6f9)
Instead of having a separate textview, we now reuse the detail textview
to show the hint.
Fix: 28204828
Change-Id: I3eff3240bf7ecb1495fbf11a073a273a0de603ae
With a Framework-side change [1],
InputManager#{get, set}KeyboardLayoutForInputDevice() are now able to
deal with null InputMethodSubtype as a valid input. With this CL, we no
longer filter out IMEs that do not support subtypes in
PhysicalKeyboardFragment.
[1]: Ia013784a594ad3beaf30976d047f5ac0fa8185be
Bug: 28182650
Change-Id: I46b9c5b018f08e3eaa4614a0893db0be91652f3c
am: 25c0b7b
* commit '25c0b7bc4e12d6f0774695ca504118abba81ea88':
Fix bug where fingerprint for wrong userId was attempted to be removed.
Change-Id: I62d0d25643df925e45e895ad40e2f3ad289a8812
- cleaned up private API to ensure userId is distinct from groupId.
- fixed bug where we were sending the wrong userId when attempting to
- fix warning about wrong fingerId when receiving final id of 0.
Fixes bug 28268635
Change-Id: Ic8abfbf6fbf173db2d57a76ac2e38b2a71ffd19e