« first day (1086 days earlier)      last day (350 days later) » 

06:41
hello @NarendraJi
06:58
@nawaabsaab hello buddy
hows you?
 
2 hours later…
08:53
Cursor mCursor = getActivity().getContentResolver().query(
getActivity().getIntent().getData(), PROJECTION,
InterfaceStatsColumns.SHOW_IN_LIST + " = 0", null,
InterfaceStatsColumns.DEFAULT_SORT_ORDER);
mCursor.getCount() returns 0 in oreo but it returns non zero int in devices below oreo
Any idea?
@NarendraJi @IshitaSinha @Rahul ?
09:30
@Shruti sure about this?
have you tested in at least 2 Oreo devices?
@NarendraJi yes I checked on 3 oreo device and even on pie
@NarendraJi its urgent.. can you tell me asap
yes, m googling
in Pie, is it working?
@Shruti
and whats the PROJECTION here in this case?
private static final String[] PROJECTION = new String[]{
InterfaceStatsColumns._ID, // 0
InterfaceStatsColumns.INTERFACE_NAME, // 1
InterfaceStatsColumns.INTERFACE_ALIAS, // 2
InterfaceStatsColumns.BYTES_RECEIVED, // 3
InterfaceStatsColumns.BYTES_SENT, // 4
InterfaceStatsColumns.BYTES_TRANSMISSION_LIMIT, // 5
InterfaceStatsColumns.LAST_UPDATE, // 6
InterfaceStatsColumns.LAST_RESET // 7
};
Okay,
what Pie is saying?
same
as oreo
09:44
Okie
checking

« first day (1086 days earlier)      last day (350 days later) »