summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/DataUsageSummary.java
Commit message (Collapse)AuthorAgeFilesLines
* log visibility of viewsChris Wren2015-03-271-0/+6
| | | | | Depends-On: I5b1dccb5d103ece3112acf38889bae16273b092f Change-Id: I116aed2bb805f723a5bf2ec9eb94257de0b4a7b5
* Clean up usage of theme colors, deprecated Resources.getColor* methodsAlan Viverette2015-03-181-1/+1
| | | | Change-Id: I34e11e0773c9f8e00e3eab422781094e19a16d3d
* Settings: Remove all unused imports.John Spurlock2015-03-181-2/+0
| | | | Change-Id: Iebfa52cb849d69974c94902b0b020893cf5618a3
* Add data item to app info screenJason Monk2015-03-181-3/+51
| | | | | | | | | | Add link from app info to directly viewing data usage for that app. Also do some minor tweaks to get ordering and summaries right on the app info screen. Bug: 19511439 Change-Id: Ic50dc24bf9a5c1fe6a7aa076772915ba61168fac
* am 4a7ca7d5: am bdfdf07c: am 0362e870: am 7e21fa5a: Data Usage tab title ↵Sanket Padawe2015-02-131-5/+12
|\ | | | | | | | | | | | | should say "Cellular" with only 1 sim and wifi tab. * commit '4a7ca7d5a7c83dc77921c9c32abc7b366c18b46c': Data Usage tab title should say "Cellular" with only 1 sim and wifi tab.
| * Data Usage tab title should say "Cellular" with only 1 sim and wifi tab.Sanket Padawe2015-02-121-5/+12
| | | | | | | | | | Bug: 19363726 Change-Id: Id4194deb126323b2f7674c58f9911f892793dff4
* | Merge "Eliminate duplicated code in Settings for category headers"Zoltan Szatmary-Ban2015-02-091-10/+2
|\ \ | |/ |/|
| * Eliminate duplicated code in Settings for category headersZoltan Szatmary-Ban2015-01-161-10/+2
| | | | | | | | Change-Id: I5bdba2ad4f9e1987f9e818af9d5aa96a9d558f6b
| * am 0c3b1371: am f5a4abc2: Merge "Fixed Cellular data toggling issue in ↵Sanket Padawe2015-01-081-8/+10
| |\ | | | | | | | | | | | | | | | | | | | | | | | | settings for multisim" into lmp-mr1-dev automerge: c7e5b42 * commit 'c7e5b42ac493f7f06fd8d90f87a4e7eb23acc54c': Fixed Cellular data toggling issue in settings for multisim
| * | Show removed user's data usage under its correct itemZoltan Szatmary-Ban2014-12-121-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | Users for which UserManager.getUserInfo returned null were shown as unnamed users on Settings > Data Usage. This behavior has now changed to show their data usage under the same item as UID_REMOVED. Bug: 18174376 Change-Id: I8d172647edb51f7a277b4b714e9b7f3a0b5f3154
* | | Fix secondary data usage color regression.Jeff Sharkey2015-01-261-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | Show overall usage with a 50% transparency when looking at a specific app details page. (Otherwise you can't tell them apart.) Bug: 18927935 Change-Id: I0cad1ba0451a9dab3ed90fa5aa53c115dbe3e1d3
* | | Merge "Show removed user's data usage under its correct item" into lmp-mr1-devZoltan Szatmary-Ban2015-01-231-3/+12
|\ \ \
| * | | Show removed user's data usage under its correct itemZoltan Szatmary-Ban2015-01-191-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Users for which UserManager.getUserInfo returned null were shown as unnamed users on Settings > Data Usage. This behavior has now changed to show their data usage under the same item as UID_REMOVED. Bug: 18174376 Change-Id: I8d172647edb51f7a277b4b714e9b7f3a0b5f3154 (cherry picked from commit cd9b1507fbb6d9f443a4fb1bb8d9d58073c7e5d0)
* | | | Fixed data connection toggle crash in Settings.Sanket Padawe2015-01-201-0/+6
|/ / / | | | | | | | | | | | | Bug: 19066882 Change-Id: Ib2c7b55d059ddda0543f11ded039ac82bc036850
* | | Fixed data connection toggle UI issue due to local cache maintained.Sanket Padawe2015-01-141-12/+28
| |/ |/| | | | | | | | | | | + Fixed the scenario wherein more than 1 sim cannot be "On" at the same time. Bug: 18916033 Change-Id: Ia95b54c9ee29d360a1b4542f00a9f698615912bb
* | Fixed Cellular data toggling issue in settings for multisimSanket Padawe2015-01-081-8/+10
|/ | | | | | Bug: 18916033 Bug: 18779784 Change-Id: Ifda57b5ae89268f921ee2b75b5b6d90d75514540
* Change tests against INVALID_SUBSCRIPTION_ID to use isValidSubscriptionId.Wink Saville2014-12-111-1/+1
| | | | | Bug: 18668873 Change-Id: Ie709a62bbb74e0a767daeb9e3fb3aecd4c45df44
* Fixed a Data Usage crashPauloftheWest2014-12-101-3/+11
| | | | | Bug: 18364933 Change-Id: I80657c6541aec0b4706ef4aa229c9f858776aab2
* Merge "Add debug dataEnable." into lmp-mr1-devWink Saville2014-12-091-5/+12
|\
| * Add debug dataEnable.Wink Saville2014-12-051-5/+12
| | | | | | | | Change-Id: I4c2c49d9283652429affc190abacf7775ef3fe43
* | Offer to "merge" subscribers for data usage.Jeff Sharkey2014-12-081-25/+8
|/ | | | | | | | | | | When picking a template to use for querying statistics and setting policies, normalize it so we widen the template to cover any merged subscribers. Also remove some code related to long-dormant split policies. Bug: 18012787 Change-Id: I1e07dc09016df21ecfd7b3fad49759fa57570391
* Change initMobileTabTag to use subInfoListWink Saville2014-12-021-14/+41
| | | | | | | Also add additional debug. Bug: 18364932 Change-Id: I836b751a443635efcfb9987bb3b91f55c4dff9d6
* Added color to Data Usage graphPauloftheWest2014-11-251-16/+40
| | | | | | | | + Fixed some issues with displaying multiple SIMs in Data Usage. Bug: 18466592 Bug: 18291246 Change-Id: I77417be995761ce62e464c7d21a34af1334aac17
* Additional changes to SubscriptionManager API as per API council.Wink Saville2014-11-221-13/+18
| | | | | bug: 17575308 Change-Id: Idd98aa46c15a9219ccf28091c62602ac8bf16c62
* Revert "Additional changes to SubscriptionManager API as per API council."Wink Saville2014-11-201-10/+7
| | | | | | This reverts commit 1285f74fcb6a8bf080c224e5a36db00ab1167d4c. Change-Id: I366556368a9c429d8c356bcdb8e29af9c6c4c71e
* Additional changes to SubscriptionManager API as per API council.Wink Saville2014-11-191-7/+10
| | | | | bug: 17575308 Change-Id: I7773965094510999bfce8fc6b2b31ba6ce496653
* Update SubscriptionManager API as per API council.Wink Saville2014-11-111-12/+12
| | | | | bug: 17575308 Change-Id: Ib39a60e4f75981a466e9d606ec627756efad018d
* Use CharSequence for DisplayNameStuart Scott2014-11-041-2/+2
| | | | Change-Id: I2601eb9dc1edf585ad3b48da9fb97c65cb1face5
* Clean up public API of SubInfoRecord.Stuart Scott2014-11-031-10/+10
| | | | | bug: 17575308 Change-Id: I38afd507b1c004fd566214c0b3812cab226936df
* Added cellular data popup in DataUsagePauloftheWest2014-10-301-2/+52
| | | | | | | | + If the user attempts to enable data usage on a SIM that is not the default, the system will confirm that the user wants data to go through the new SIM. Change-Id: Ia1652a30a3641bb29eadad20b2dc61321227a961
* Added Cellular Data for Multi-Sim Data UsagePauloftheWest2014-10-291-3/+17
| | | | | | + Bug Fix: SimSettings would crash if a SIM was not in the first slot. Change-Id: Iee75ea78dde72dc7d2d588caff1ddd451347a8f5
* Change subId to int from longWink Saville2014-10-241-13/+13
| | | | Change-Id: Idae6335e63e7b1e4e714bc17e71b1a4705e38474
* [DS] DSDS support for SettingsPauloftheWest2014-10-031-15/+128
| | | | | | | | + Rebase and modify as APIs rename. + Fix bugs on set sub's name as title. + Enabled Sim Settings. Change-Id: Ic731c7882be95b86b6b8dcdd3f208a6125681f3e
* Fixed Settings Cellular Networks crash.PauloftheWest2014-09-191-5/+2
| | | | | | | | + Removed the Cellular Networks option from Data Usage when the user is not the phone owner. Bug: 17529931 Change-Id: Ice89b8fb1e6d41fe71235af0beaa1ee3653f8cf8
* Merge "Start activity for the correct user in Settings > Data Usage" into ↵Zoltan Szatmary-Ban2014-09-041-11/+13
|\ | | | | | | lmp-dev
| * Start activity for the correct user in Settings > Data UsageZoltan Szatmary-Ban2014-08-071-11/+13
| | | | | | | | | | | | | | | | | | | | The 'app settings' button on the app details view now starts the app settings activity for the correct user, i.e. the managed profile's app settings if the list item corresponds to the managed profile's app. Formerly it always incorrectly started up the settings screen for the primary user's app. Bug:16727726 Change-Id: Ib31d45f4201fb26b5231e4e57c49858e7e41efc9
* | Avoid NPE when template rapidly switched.Jeff Sharkey2014-08-081-2/+4
| | | | | | | | | | | | | | | | Monkeys can race and end up swapping template before the dialog is shown. Bug: 16660160 Change-Id: I301784d707ee3998c38cf2874f7016a5c5350825
* | Badge texts correctly for accessibility in SettingsZoltan Szatmary-Ban2014-08-071-3/+11
|/ | | | | | | | If an app is a managed profile's app then its label should read correctly by TalkBack. Affected screens: Data Usage, Location, Battery. Bug:16053981 Change-Id: I393c0ebf56917032d619b1e39b4bf141ee236981
* Move global sync settings dialogs to the right screenAlexandra Gherghina2014-07-291-53/+0
| | | | | Bug: 16076571 Change-Id: I4ba01ece6e5054d699342ff2c1270fc2fc51c5a9
* Update Data Usage Settings for EnterpriseZoltan Szatmary-Ban2014-07-291-23/+70
| | | | | | | | | | Applications of the managed profile are shown with badged icon on the "Data Usage" app list. A total of managed profile data usage (if any) is displayed top of the list. Bug: 15466834 Change-Id: I80cdcc062e45e1d2a8077f033562d71217e262bb
* Data Usage, materialized!Jeff Sharkey2014-07-221-206/+235
| | | | | | | | | | | | Asset drop so Data Usage matches new Material spec. Removes time dimension sweeps, so we now summarize the entire visible axis. Fix time axis labels to not draw outside clip bounds. Remove pie chart. No more checkboxes in menus. Telephony items like roaming are moved back to cellular settings. Start wiring up multi-SIM support. Bug: 15760500, 16019700, 16289924, 16303795 Change-Id: Ie8f4821962319bb82ff4bc2f13f1f66ba1bdfe65
* Revert "Revert "Move global sync settings to AccountSettings.""Alexandra Gherghina2014-07-221-0/+1
| | | | | | This reverts commit 4869faf46559c54a34b969b5ae5391a208e723af. Change-Id: I58df9b8161d711a9c0187af1f1a1dc279fb9d9ab
* Revert "Move global sync settings to AccountSettings."Alexandra Gherghina2014-07-221-1/+0
| | | | | | This reverts commit 64fde6f4e9404a363f577a9fda424affcb5138e4. Change-Id: I61940b6e2936c7c7f048af222602226e5588c268
* Move global sync settings to AccountSettings.Alexandra Gherghina2014-07-221-0/+1
| | | | | | | | It also makes AccountSettings respond to the SYNC_SETTINGS intent, which it is currently triggered by Calendar and could be triggered by Gmail. Bug: 16076571 Change-Id: I2c55262a87e46ba88f36a90a2f8f27d08f88e851
* Improve Search results highlightingFabrice Di Meglio2014-06-191-3/+5
| | | | | | | | - remove unnecessary code - use keyed Tag with a well known App key for preventing collisions - fix missing Brightness Level preference key (used for highlight) Change-Id: I070e3b8c3cb43da7addd34be192aade21951f57c
* Update more colors in Data Usage SummaryFabrice Di Meglio2014-06-181-2/+5
| | | | | | | | - use colors from the Settings Theme - code cleaning for use the Theme accent color constant instead of raw color value Change-Id: I04ec913f0b8048b6e50069213e9d92992168fe18
* Move mobile data dis/enable to TelephonyRobert Greenwalt2014-05-211-4/+5
| | | | | | | ConnectivityService doesn't do this anymore. bug:15077247 Change-Id: I3208c91b2c0369b594987f39ca29da7478435513
* Code cleaningFabrice Di Meglio2014-04-181-7/+11
| | | | | | | - use constants where needed for the tag/key - remove wrong tag Change-Id: I32578ce6a3a604dc0ea7168206a5d84391e2cce7
* Improve Preference highlightingFabrice Di Meglio2014-04-181-4/+23
| | | | | | | | | | | | | | | | | - use PreferenceFragment.onBindPreferences() to launch highlighting - improve SettingsPreferenceFragment code for highlighting: now we can find the View to highlight thru its Tag if there is no ListAdapter available - add HighlightingFragment for highlighting a View from its tag/key. This is dealing with cases when the content is custom and not relying on SettingsPreferenceFragment (like DataUsageSummary) Also: - improve DataUsageSummary so that onResume() is not recreating the Tabs all the time - add missing "android:keys" on some Security Settings preference files Change-Id: Ib1dd8238fe2fb57c151d584c0810a0e0a5ad97c4
* Add Indexable.SearchIndexProvider.getNonIndexableKeys(Context)Fabrice Di Meglio2014-04-111-9/+2
| | | | | | | | | | - getNonIndexableKeys(Context) allow a SearchIndexProvider to tell which data he does not want to index by providing a list of the data keys - use this new API for SoundSettings and removing KEY_EMERGENCY_TONE related settings if the device is not CDMA - add a BaseSearchIndexProvider for code simplification Change-Id: I23633ace1d7e390ee05fac0a5458a33e04e72d8d