The dialog is a single selection popup and according to the
dialogs design guide the popup should close when the user
has make his/her choice, but in this case it does not.
Change-Id: Iac6bc19146a88236d3253d2d846212ce09b4925b
BatteryHistoryHelper now computes the total power to be the total
including the unaccounted, so we don't go > 100%. However for the
unaccounted/over-counted details, we want to report the actual
computed amount. Use a new API to do this.
Also tweak the signal strength colors so that the "no signal" state
is stronger, by being reddish instead of bright yellow.
Change-Id: I6af9fbcce8c3324883db0184f7ac215cb41b6230
ApplicationsAdapter new a Session member and make it has a reference to
it self. If we don't release it explicitly, the cross reference will
cause memory leak.
Change-Id: Iecce35ae1d56d98cee6347e84d3a3ff57f3b15a5
This is part of work on making key layouts get saved per vendor/product
instead of per device. The corresponding change in fw is
https://googleplex-android-review.git.corp.google.com/#/c/399886/
This changes all uses of InputDevice descriptor to InputDeviceIdentifier.
Change-Id: I3eeebc0223820aeab62c2b8aa822f4d91adaf2d1
Wifi "cancel/forget/connect" pop-up window does not persist after orientation
changes. Specifically, after orientation changes, the connect button disappears.
This is because dialog information is not saved properly. When a saved wifi
config is found in the scan results, this entry is BOTH a wifi config AND a scan
result. Previous implementation has 2 issues:
1. Scan result part isn't saved. That's why the connect button after orientation
changes, as UI didn't see a scan result section and thought it's not in range.
2. When both wifi config and scan result are saved, they are not restored
correctly. Restoring wifi config will reset mRssi field in scan result part,
while restoring scan result will reset netowrkId in wifi config part.
Both issuses are fixed.
bug: 9053186
Change-Id: Ic3ee7b5931c91d4b2f5c723fb8718cf752463109
We should extend DateUtils to provide this kind of elapsed time
formatting via icu4c, but for now let's at least fix our
arithmetic.
Bug: https://code.google.com/p/android/issues/detail?id=61479
Change-Id: I6c087dbb9fdbff0a21d9243d239126fee180454c
Ability to lock device to natural orientation is still available
under Accessibility.
Bug:11062710
Change-Id: I2045e16cfc676ee75d4d42b0cd652433b2f12715
Changing the discoverable timer from 2min to infinity before the 2min timer
has passed will not clear the 2min timer.
This fix handles this case.
Bug: 12220031
Change-Id: I8794eda353c74e46b09e15ee9a7a491658e7b5cd
On devices with physcal, external SD Cards, the "Erase SD card"
option in in Settings/Storage is available even when there is
no SD card present, this dont make much sense since you cannot
erase a card that is absent. With this change the erase option
is bound to the mount toggle which leads to the following
consequences:
Card present and mounted -> Erase enabled
Card present but unmounted -> Erase enabled
No card present -> Erase disabled
Card present and MTP attached -> Erase disabled
Change-Id: I756ae8af3e0565febaf940df5f4991dd89105bd9
This upload fixes a null pointer exception issue.
After this fix the modified methods return
their corresponding default values instead of null.
Change-Id: Idb94f8b808b8dd18be5e3fc92cc5560ce0f81c4f