This is not a normal use case as we can't enter Wi-Fi Direct setting when p2p
is disabled. However we can make this happen by entering Wi-Fi Direct setting
screen then disabling wifi via quick settings.
Previous UI implementation didn't handle p2p enable->disable change completely,
leaving the screen out-of-date until we change the screen orientation.
Now we always attach mThisDevicePref/mPeersGroup/mPersistentGroup to the screen,
but just disable them when p2p is disabled. Another advantage of doing this is
to avoid b/11050625, which occurs when a PreferenceGroup is not attached to the
PreferenceScreen.
Bug: 11133069
Change-Id: I9be7b6e396d7677b5a33df8e6294b4a0aa6bd389
We used to show a single notificaiton for every print job but
this is against th UX guidelines. Since we have to lead by
example, this change adds coalescing of multiple notifications.
bug:11155212
Change-Id: I865450495e7e85bd6620c1f42aeef07d2f83a01a
Use round instead of ceil. Also, when showing services from multiple packages,
sort the package categories by the duration of the longest running service in
each, so that the more important ones come first.
Change-Id: I42b47b0522cd786a1c4ee5b59a549ec7c0c6ffe1
* commit '92bbd95423a03b1c021eb047b484bf12432fac4d':
Import translations. DO NOT MERGE
Print settings polish
Use MOBILE_PROVISIONING_ACTION for manage mobile plan.
Import translations. DO NOT MERGE
Import translations. DO NOT MERGE
I have no idea if this is an appropriate change, but it's the
smallest patch I could come up with that lets the code compile.
Change-Id: I363386a23cd70f7a1207c5711d2e4b92e8e23937
* commit 'e1346bc75ae62bb9ceb31d42b5293df23150f7d2':
Import translations. DO NOT MERGE
Print settings polish
Use MOBILE_PROVISIONING_ACTION for manage mobile plan.
Import translations. DO NOT MERGE
Import translations. DO NOT MERGE
* commit 'cfa55e164b78c8b150cab82345c1c5be01f69c90':
Import translations. DO NOT MERGE
Print settings polish
Use MOBILE_PROVISIONING_ACTION for manage mobile plan.
Import translations. DO NOT MERGE
Import translations. DO NOT MERGE
Fix bug when sharing to bluetooth.
Fix for TTS settings crash.
Restriction pin changes.
Remove Restrictions UI
Add some missing fragments to the whitelist
Potential fix for Settings instability on x-large.
Fix accidental creation of restriction entry for required apps
Fix broken strings in Settings
Always allow formatting of physical storage.
Guard against missing terminal app.
When the search view is attached and detached we announce that
for accessibility. The trouble is that if the activity is being
torn down we are trying to access resources from a fragment that
is detached and the qcrash occurs. This change does not try to
access resources if the activity is finishing and also we do not
load resource strings if accessibility is not enabled.
bug:11127814
Change-Id: If3e97b6e94687775386a43c8fa54fd45140306eb
After a PreferenceGroup is created, attach it to a PreferenceScreen right away.
Otherwise, if PreferenceGroup.addPreference is accidentally called before being
attached, it will result in an NPE and a UI crash.
Bug: 11050625
Change-Id: I68fa8b67ab807c0729c43c1b5cdabdbcd4f2c230