History log of /frameworks/base/core/java/com/android/internal/app/ResolverListController.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ad4624b1cc5d39879650bf9d860f4e2f44c4164c 24-May-2017 Adam Powell <adamp@google.com> Port Ic9d9d65c66325904c95ab3966bdcc16e7668278b to oc-dev

Port the previous change that was merged DO NOT MERGE for an upstream
branch that filters non-exported activities from ResolverActivity.

Bug: 34147053
Test: by previous CL
Change-Id: I2d0a018afd5e9c876f82fc5f551f1edc4b2305c8
/frameworks/base/core/java/com/android/internal/app/ResolverListController.java
72dc2fa6ad572ac58344f9435f3497a9bb87859a 26-Apr-2017 Todd Kennedy <toddke@google.com> Optionally let the instant app into disambig

When a user clicks "view on web", it's not assumed this is meant to be
forever. In this case, we will adjust the instant app's verification
status so that the instant isn't automatically run.

Change-Id: I246de901dafb23159a064d205fdb614d657a99dc
Fixes: 37686922
Test: Manual
Test: 1) Install instant app
Test: 2) Set to always-ask -- adb shell pm set-app-link package.name always-ask
Test: 3) Notice that we get a disambig w/ the instant app and chrome as options
Test: 4) Set to never -- adb shell pm set-app-link package.name never
Test: 5) Notice that we don't get the instant app
/frameworks/base/core/java/com/android/internal/app/ResolverListController.java
38a6da6473563ce2dcee360cabe1183c2a7c926e 05-Apr-2017 Kang Li <kanlig@google.com> Add a service to rank apps for ResolverActivity.

bug: 36952725,30982298

Test: used PTP before and after this fix.

Change-Id: I5b249af2dd0d9fe32d1e524e8d2675c863e92b5b
/frameworks/base/core/java/com/android/internal/app/ResolverListController.java
c88749fb5a8de40572582e6eceefd46cda3afa2d 05-Apr-2017 Kang Li <kanlig@google.com> Revert "Add a service to rank apps for ResolverActivity."

This reverts commit 90370e0b2497deba9382ab7ff1539b6849df8139.

b: 36952725

Change-Id: Ifa8f182c707cdbbc989b1f61630f7a8fa856d32d
/frameworks/base/core/java/com/android/internal/app/ResolverListController.java
90370e0b2497deba9382ab7ff1539b6849df8139 14-Mar-2017 Kang Li <kanlig@google.com> Add a service to rank apps for ResolverActivity.

bug: 30982298
Test: manual - shared images in Camera, texts in Messenger, and webpages
in Chrome.

Change-Id: If335c269ca54145839ad8fd4b3f9b93a74b550f8
(cherry picked from commit 35b9e3015565850e9de963e4bda1be227825df5d)
/frameworks/base/core/java/com/android/internal/app/ResolverListController.java
96ba588a82bc7af28093ee7d6be33ca731bcc773 25-Jan-2017 Hakan Seyalioglu <hseya@google.com> Mark two test methods public so they can be mocked

Without this, the mocked version looks like it's calling
the default implementation (which immediately fails due to
a bunch of null fields) - with this it just returns null.

I would ultimately like to stop mocking out the controller
and instead use a mocked package manager (which there is
already some set up to do). But in the meanwhile, this at least
gets the test passing.

Test: Checked the test passes.

Change-Id: I92d1f2796cfce21bf55e927bd56690c582f41e91
/frameworks/base/core/java/com/android/internal/app/ResolverListController.java
9149dcaf414ebdac231af93d44abd5951a514a7e 17-Jan-2017 Hakan Seyalioglu <hseya@google.com> Add ResolverActivity testing

Still very basic, but will be adding as we find more issues pop up.

Test: Ran the tests
Change-Id: Ib9863509d140ff425ce446ecc876f53494d4fd0e
/frameworks/base/core/java/com/android/internal/app/ResolverListController.java
9fa2a2cd46e11be0ea50ad7be0d3dd2c9273f55a 06-Jan-2017 Kang Li <kanlig@google.com> Adds annotations to Intent, and enables ChooserActivity to rank apps
according to annotations.

Test: Unit tests and manul tests. More unit tests to be added.
Change-Id: I3cbfd0cc10007290585fa3e7e3c92e1731f1f7b8
/frameworks/base/core/java/com/android/internal/app/ResolverListController.java
0cef910d5e159800bacb69310a69ba04eafcd30c 05-Jan-2017 Kang Li <kanlig@google.com> Fix crash when updating ranking model in ChooserActivity.

Bug: 34095835

Test: manual tests (automated tests will be added later): 1. take a
picture and share it to Photos; 2. take a bug report and share it to
Gmail; 3. launch Chrome app, share a webpage to Drive; and 4. launch Contacts
and share a contact to Messenger.

Change-Id: Ie50c8305f90b6df69aa1e47c01d0b2212da0a37a
/frameworks/base/core/java/com/android/internal/app/ResolverListController.java
e1276bfe086a40a0fba7e81dd5db13f95287714d 08-Dec-2016 Hakan Seyalioglu <hseya@google.com> Do the sorting for the ShareSheet asynchronously.

This lets the screen fade out and share sheet start being displayed
before all results are sorted. Based heavily on ag/1126533. There are
two other follow ups that I'd like to do after this that aren't a part
of this change:

1) Investigating images being loaded multiple times (from original
change)
2) Put placeholder space while the sorted images are coming in - at the
moment there's some jank when the list of applications becomes
visible.

Test: Unit tests for ChooserActivityTest (still would like to add tests
for ResolveInfoController and UsbResolverActivity).

Change-Id: I4c4a65fff1b0f17fc52b9bd01c3d5c59d649d119
/frameworks/base/core/java/com/android/internal/app/ResolverListController.java