[Android General] d_willia:
Bug Report: Data Usage control not available in Settings.

Tablet model: SPH-P100 (Sprint CDMA)

Radio (baseband): S:P100.08 S.EF17

CM version: 10-20130331-NIGHTLY-pic

CM Download url: http://get.cm/?device=p1c

Gapps version: 20121011 for 4.1.x

Did you--

wipe: yes

restore with titanium backup: no

reboot after having the issue: yes

Are you using--

a task killer: no

a non-stock kernel: no

CMSettings/Performance settings (other than stock): no

other modifications: no

I want to be able to set limits on data usage over 3G, but this control is not in settings.

Wiped tablet and started from clean CM install with gapps.

Completed initial scripted steps to (login to google account, etc).

Go into System Settings.

Under Wireless & Networks, no Data Usage entry listed.

Aslo noticed that you can't add a 2G/3G toggle to the Notification Bar. Long-press of this toggle will also go to Data Usage, but my guess is that it's related and has to do with it being a Sprint tablet and not a Verizon one.

For the logcat, I added a shortcut to Data Usage from the lock screen. Using it produces a message saying that Dada Usage has stopped.

I have a couple Sprint tabs to play with to test different scenarios if anyone has suggestions.

Here's the logcat for this event:

[ 04-04 11:17:17.699 361: 411 I/ActivityManager ]

START {act=android.intent.action.MAIN cat=[com.android.settings.SHORTCUT] flg=0x34000000 cmp=com.android.settings/.Settings$DataUsageSummaryActivity (has extras) u=0} from pid 361

[ 04-04 11:17:17.859 602: 602 D/PhoneStatusBar ]

disable: < expand icons alerts ticker system_info BACK HOME recent* CLOCK >

[ 04-04 11:17:17.925 1963: 1963 D/AndroidRuntime ]

Shutting down VM

[ 04-04 11:17:17.925 1963: 1963 W/dalvikvm ]

threadid=1: thread exiting with uncaught exception (group=0x40a9a300)

[ 04-04 11:17:17.925 1963: 1963 E/AndroidRuntime ]

FATAL EXCEPTION: main

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.settings/com.android.settings.Settings$DataUsageSummaryActivity}: java.lang.IllegalStateException: Bandwidth module disabled

at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2185)

at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2210)

at android.app.ActivityThread.access$600(ActivityThread.java:142)

at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1208)

at android.os.Handler.dispatchMessage(Handler.java:99)

at android.os.Looper.loop(Looper.java:137)

at android.app.ActivityThread.main(ActivityThread.java:4931)

at java.lang.reflect.Method.invokeNative(Native Method)

at java.lang.reflect.Method.invoke(Method.java:511)

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:558)

at dalvik.system.NativeStart.main(Native Method)

Caused by: java.lang.IllegalStateException: Bandwidth module disabled

at android.os.Parcel.readException(Parcel.java:1433)

at android.os.Parcel.readException(Parcel.java:1379)

at android.net.INetworkStatsService$Stub$Proxy.openSession(INetworkStatsService.java:164)

at com.android.settings.DataUsageSummary.onCreateView(DataUsageSummary.java:301)

at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:829)

at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1035)

at android.app.BackStackRecord.run(BackStackRecord.java:635)

at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1397)

at android.app.Activity.performStart(Activity.java:5017)

at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2148)

... 11 more

[ 04-04 11:17:17.949 361: 373 W/ActivityManager ]

Force finishing activity com.android.settings/.Settings$DataUsageSummaryActivity

[ 04-04 11:17:18.078 361: 363 D/dalvikvm ]

GC_CONCURRENT freed 1150K, 49% free 8997K/17607K, paused 12ms+9ms, total 118ms

[ 04-04 11:17:18.078 361: 377 D/dalvikvm ]

WAIT_FOR_CONCURRENT_GC blocked 109ms

[ 04-04 11:17:18.140 602: 602 D/PhoneStatusBar ]

disable: < expand icons alerts ticker system_info back* home* recent clock* >

[ 04-04 11:17:18.246 361: 376 W/ActivityManager ]

Activity pause timeout for ActivityRecord{40e187c0 com.android.settings/.Settings$DataUsageSummaryActivity}