History log of /packages/apps/Settings/src/com/android/settings/overlay/FeatureFactory.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3de32ae4dc0adc29282ce8ecacd5c1d83d23343d 12-Apr-2017 Denis Kuznetsov <antrim@google.com> DO Disclosures: detailed application lists

Add UI that lists enterprise set default apps for handling important intents
(opening browser, using camera, phone, etc).

Bug: 32692748
Test: m RunSettingsRoboTests
Merged-In: I75bb97d1b3728b1dcb90981b24d12edf510c4b04
Change-Id: I7d0041e4fada48bc56f6a6637614ac4471dba65a
(cherry picked from commit f0a61dd1126f4b21fb15f1c3d9611ef86fc291a7)
/packages/apps/Settings/src/com/android/settings/overlay/FeatureFactory.java
5f375a2776950b7e511d668102e7079efc57171c 23-Feb-2017 Soroosh Mariooryad <soroosh@google.com> Move suggestions package to dashboard.suggestions

Test: RunSettingsRoboTests

Change-Id: I4f9af27767c8e55d3b1a16e77c099da52d40aab5
/packages/apps/Settings/src/com/android/settings/overlay/FeatureFactory.java
e457e35ec020fa5cc0cd31a640db8055fb130a66 15-Feb-2017 Soroosh Mariooryad <soroosh@google.com> Add ranking to SuggestionFeatureProvider interface.

Test: RunSettingsRoboTests
Fixes: b/35363662

Change-Id: Ib786e6b2733e2b151f73fb68e174a21aedb2b20a
/packages/apps/Settings/src/com/android/settings/overlay/FeatureFactory.java
a9831d40d081cc8c7ca32891e64c09b5e1d19abb 14-Feb-2017 Philip Quinn <pquinn@google.com> Add settings for the assist gesture.

Availability of the gesture is gated by a new FeatureProvider.

Test: make -j RunSettingsRoboTests; manual test on
supported/unsupported configurations.

Change-Id: I3529367a73e33370d5112b91d5144293ffa7fa22
/packages/apps/Settings/src/com/android/settings/overlay/FeatureFactory.java
6f7164c5a9ecbf15795873ccfaeb533dfc4babb8 13-Jan-2017 Fan Zhang <zhfan@google.com> Add SuggestionFeatureProvider interface.

The feature provider will contain all logic for suggestions.

Test: RunSettingsRoboTests
Change-Id: I45a0dcdc101d97acb07babd531db50b80bb3b308
/packages/apps/Settings/src/com/android/settings/overlay/FeatureFactory.java
4774b58b4c0d53f6a436397cb099b95ac08d6923 28-Dec-2016 Shahriyar Amini <samini@google.com> Dynamically update injected security preferences.

Bug: 31002801
Test: make RunSettingsRoboTests

onResume will dynamically update injected security preferences with data
from the associated tiles.

Change-Id: Ibf46abdfcff27bd1b00729fe815c3cf3ace64e26
/packages/apps/Settings/src/com/android/settings/overlay/FeatureFactory.java
9955db636016e7f18358f7b5d24a14b55df4dabf 20-Dec-2016 Matthew Fritze <mfritze@google.com> SearchFeatureProvider's context field is removed

SearchFeatureProvider was holding on to a context and
outlived the SettingsActivity, thus leaking the activity.
The context was passed into most methods, and thus it
makes more sense to pass it in to every method.

Bug: 33677967
Test: Run MakeSettingsRoboTests
Change-Id: Ia82f30e7e0b83587b4baeef28e81da6b8e4303fe
/packages/apps/Settings/src/com/android/settings/overlay/FeatureFactory.java
1e0f8ff5e549636e98b7fa0f12761be934f8f36b 13-Dec-2016 Jaewoong Jung <jungjw@google.com> Adds a menu item for additional battery info to battery settings.

Bug: 33352540
Test: No additional test failures.

Change-Id: Ibfc1a9463c93d3c087ed712fe45d3d0717472c6a
/packages/apps/Settings/src/com/android/settings/overlay/FeatureFactory.java
980f575955686ed5aae1e29089a59f3fe9e5678e 19-Oct-2016 Salvador Martinez <dehboxturtle@google.com> Added feature for surveys provider to Settings

It is now possible to create and show surveys to a user
asking them for feedback within the Settings app.

Test: JUnitTests
Bug: 27823357
Change-Id: I824899045f6ce30e5b6f46d20888da673114f658
/packages/apps/Settings/src/com/android/settings/overlay/FeatureFactory.java
0ed37c351333429f58e1561fcb8e6af9c2041507 24-Oct-2016 Matthew Fritze <mfritze@google.com> Fork Search code to independantly develop and test search.

This is the start of the new search in Settings. It is a nearly complete
replacement of the old search code in a more modular and flexible
architecture. It is expanding the datasources that it queries, including
the same Settings database, which will now include more first party apps
and be extended to support inline results where the user can change
settings directly from the search view. Search will also fan out to
query new sources (local or remote), and is built in a way
such that adding additional sources is roughly the same amount of work
had they been added in the initial writing of this code.

Query interpretation will now be source-dependant, allowing for future
upgrades to fuzzy search where it is applicable.

Change-Id: Ib0bac1fe92bf8a662d33abf9a99bb6ee2090ec8f
Fixes: 32115225, 32378927
Test: make RunSettingsRoboTests
/packages/apps/Settings/src/com/android/settings/overlay/FeatureFactory.java
05061fced346b6f60e84c34f08b1957d1003ccdf 14-Nov-2016 Bartosz Fabianowski <bartfab@google.com> Add Enterprise Privacy page to Settings

This adds a new page to Settings which tells the user about his/her
privacy in light of enterprise management. The new page is only shown
on devices that have a Device Owner app set.

This CL adds a mostly blank page. Follow-up CLs will populate the page
with information about specific admin actions/policies.

The page's title ("Privacy"), icon and location in the Settings app are
tentative. The page will move to its final location once the new IA
redesign is finished.

Test: make RunSettingsRoboTests
BUG: 32692748

Change-Id: I5b5c08c0025207516b0779f54cf68234a4ba3fe4
/packages/apps/Settings/src/com/android/settings/overlay/FeatureFactory.java
c9536b8e4124e616f4cf9b2396b000a5355bf333 27-Oct-2016 Fan Zhang <zhfan@google.com> UI Refresh: a new app info header for app/notification.

- moved force stop and uninstall button to bottom of page (as footer)
- Forked appheader layout file, and created AppHeaderController to
contain all binding logic for header.

Bug: 32442716
Test: RunSettingsRoboTests
Change-Id: Id4eb365ca25e035c043c068867f5cbc3a202b201
/packages/apps/Settings/src/com/android/settings/overlay/FeatureFactory.java
e0c253fccbb9eff3c46e40fbd557ce8afa27ddaf 14-Oct-2016 Fan Zhang <zhfan@google.com> Add summary provider for system tile.

Refactored getLocaleNames() into a FeatureProvider interface so it's
reusable and testable.

Bug: 31801428
Test: RunSettingsRoboTests
Change-Id: I2d31a66a4b32cfa7a364a4cfef1f6eea87084577
/packages/apps/Settings/src/com/android/settings/overlay/FeatureFactory.java
e6c60c24a89d856ce75bb87458a33085078e793f 05-Oct-2016 Fan Zhang <zhfan@google.com> Add test for new DashboardFragment and PreferenceController

Also added a FakeFeatureFactory to make it easier to mock different
FeatureProviders.

Bug: 31781480
Test: make RunSettingsRoboTests
Change-Id: Ie45db601e0bec951d7ef983ec2e3ca747ec1c3af
/packages/apps/Settings/src/com/android/settings/overlay/FeatureFactory.java
a96a2d8d60b56525875ce710a085c9360b93bcde 28-Sep-2016 Fan Zhang <zhfan@google.com> Use DashboardFeatureProvider to load homepage tiles.

Adding support to homepage category.

Test: SettingsRoboTests for regression. Will write tests for new feature
soon once we are set on the data structure.
Bug: 31781480

Change-Id: I25fa367fecb643f17e23f0182df7585bf1fcdd02
/packages/apps/Settings/src/com/android/settings/overlay/FeatureFactory.java
488033e54d952d8d44d83e51ecf5575e5fb6fee0 27-Sep-2016 Fan Zhang <zhfan@google.com> Add feature provider for dashboard.

The feature provider contains API that controls whether a new
information architecture should be used. By default it's false.

Bug: 31768091
Test: make RunSettingsRoboTests
Change-Id: I5b177be418def50d877f53dc799e42d06eba95ec
/packages/apps/Settings/src/com/android/settings/overlay/FeatureFactory.java
66a9852a7b79465e2572ffe74591c98a5c79826f 15-Sep-2016 Fan Zhang <zhfan@google.com> Extend MetricsFactory so it can log to different LogWriters

- Renamed MetricsFractory to MetricsFeatureProvider, and access it using
FeatureFactory.
- Instead of containing exactly 1 logWriter, MetricsFeatureProvider now
contain a list.
- Added OnAttach event in Lifecycle. This is needed when a mixin
requires Context to initialize itself.
- Updated tests.

Bug: 29575437
Test: make RunSettingsRoboTests
Change-Id: I7cc1528b9a744cd40088701e2bd115f41a8bf744
/packages/apps/Settings/src/com/android/settings/overlay/FeatureFactory.java
348bcc1e81ab264a4eb3805fda894bdc349b5573 18-Aug-2016 jackqdyulei <jackqdyulei@google.com> Add the interface to check the status of location setting.

Bug: 30790766
Test: ag/1346969

Change-Id: Id6de284ba90f75015372dbe28805bdc0d94a0723
/packages/apps/Settings/src/com/android/settings/overlay/FeatureFactory.java
aad643caf24f6bfe7a04a0422d10102246877925 09-Jun-2016 Daniel Nishi <dhnishi@google.com> Remove the Deletion Helper and Automatic Storage Management jobs.

The automatic storage management settings have been left in place
and updated to use the intent to get into the deletion helper.

Bug: 28965462
Change-Id: I736c8e741b519eceb89075b74d42b38c3aa5d0f4
/packages/apps/Settings/src/com/android/settings/overlay/FeatureFactory.java
80c204420bcc7973ec385ed1d62deb4781238f7d 04-May-2016 Daniel Nishi <dhnishi@google.com> Add an automatic storage management job service.

This service runs once a day when plugged in when the device has
under 15% free space remaining. If the FeatureFactory has a
storage management job, it runs the job to begin to free up space
on the device.

This is a temporary landing place and will be refactored very
quickly out of Settings.

Bug: 28600825

Change-Id: Id2ebb42a333b3b4e3daef4e50cf985fe055b85c7
/packages/apps/Settings/src/com/android/settings/overlay/FeatureFactory.java
38889de6993e4ffadd22a97fa69749c7156db28d 03-May-2016 Daniel Nishi <dhnishi@google.com> Create an overlay to add a photo and video deletion helper service.

This overlay defines a checkbox preference in the deletion helper for
facilitating the deletion of photos and videos. The service which
provides deletion clearing can be overridden and used to create a
custom photo and video deletion helper.

Bug: 28554187
Bug: 28560856

Change-Id: Id5d9671a307aaac0d1331f055b8f2ab7aa67977c
/packages/apps/Settings/src/com/android/settings/overlay/FeatureFactory.java
a9fa0059b268f7090f375b481990b89fc84bbb5e 21-Apr-2016 Fan Zhang <zhfan@google.com> Add c2c and chat support when there is eligible account.

Bug: 28141203
Bug: 28316618
Bug: 28316343

- Replaced hardcoded fragment layout with a RecyclerView. The old layout
was essentially building a list manually.
- Tweaked layout to look better.
- Hide escalation cards when there is no account. Show cards when
there is at least 1 account.
- Request an intent to start specified support type when card is
clicked.
- Monitor account changes so we can hide/show escalation cards when
add/remove account.

Change-Id: Ie48158b85ade1363a41817cc88b1193e0aef87ae
/packages/apps/Settings/src/com/android/settings/overlay/FeatureFactory.java
2869157ba9b071f56691a285394500fa4c8a0a79 23-Mar-2016 Fan Zhang <zhfan@google.com> Display setting and support in a tab layout - DO NOT MERGE

Bug: 28269035
Bug: 28139604
/packages/apps/Settings/src/com/android/settings/overlay/FeatureFactory.java
1d1a2694e93f5b9d8c6fe01a3be8737ae0034736 15-Apr-2016 Andrew Sapperstein <asapperstein@google.com> Remove ToastController.

Wasn't meant to be submitted.

Change-Id: Icc94daaf47ed85cefb59f20928241ef38d5ee2ca
(cherry picked from commit 17047d19396b9c01dd7d3daf92ef327f1eafc650)
/packages/apps/Settings/src/com/android/settings/overlay/FeatureFactory.java
13792886a71b53d3f424618f411e3d3ddc2c59b3 11-Apr-2016 Andrew Sapperstein <asapperstein@google.com> Create feature factory interface & initial impl.

Creates the abstract class FeatureFactory and an AOSP implementation
called Factory.

Also creates a static library for generating logtags since we need to use the code generated
by the logtags in multiple packages now.

BUG: 27751878
Change-Id: I88d826333642d3efc252134c4facb7b1ca014f32
(cherry picked from commit 867bb9c07ab332fd9be67d1eeee3db796d9e0ffa)
/packages/apps/Settings/src/com/android/settings/overlay/FeatureFactory.java