Skip to content

Instantly share code, notes, and snippets.

buffers: {
size_kb: 63488
fill_policy: DISCARD
}
buffers: {
size_kb: 2048
fill_policy: DISCARD
}
duration_ms: 120000
write_into_file: true
@saulpower
saulpower / ActivityChooserModel.java
Last active June 28, 2017 17:36
ShareActionProvider that allows intent filtering based on package name and the ability to turn off history.
package com.your.package;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.pm.ResolveInfo;
import android.database.DataSetObservable;
import android.os.AsyncTask;
import android.os.Build;
import android.text.TextUtils;
{
"device": {
"records": {
"created": {
"transactions": [
{
"tags": [],
"external_id": "TRN-b43d11ed-82a2-70c0-c23a-a908e7b086fa",
"memo": "",
"has_been_viewed": true,