Commit Graph

10 Commits

Author SHA1 Message Date
Christopher Tate
df6a7e55cc Add backup configuration action to Privacy settings
Settings now queries the backup manager for a configuration Intent and
text descriptive of the state of the currently-active transport.  These
are used by a new Intent PreferenceScreen within the backup section of
the Privacy settings UI.

When touched, the Configure item launches the Intent supplied by the
transport; when no such Intent is available, the item is disabled.  The
summary text describing the current backup state is also supplied by
the transport.

Bug: 2753632
Change-Id: I3d8fb3d4b08a2b6fa8d3ad8f9e02a66430948423
2010-12-09 12:58:34 -08:00
Amith Yamasani
b14e1e0493 Fragmentize "Factory reset" setting screen.
Split the screen into 2 fragments.

Bug: 3148480
2010-11-03 12:04:16 -07:00
Amith Yamasani
d79934731c Refactor settings top level activities to use fragments.
Added a base class SettingsPreferenceFragment from which the settings activities should
be derived so that they can behave like fragments. It contains some commonly called
utility methods and dialog conversion to DialogFragment.

Some of the top-level activities can be launched directly without the left pane.
Settings.java acts as a proxy activity that contains just that settings fragment without
the left pane.

There are still a lot of second and third level activities that need to be fragmentized.
This is just the first pass to test the 2-pane layout.
2010-08-18 22:59:33 -07:00
Kenny Root
aa1f8aeeea Clarify backup setting
Change-Id: Ifb4497e4ea1453b1afbdd08ed08fddb9055b7251
2010-06-03 13:42:12 -07:00
Christopher Tate
616c3ee12a Refactor android.backup -> android.app.backup
Change-Id: I8e8f34d243506ded5ebf71817de5a2caac92969d
2010-03-05 15:54:24 -08:00
Christopher Tate
c99cffbffc Default the auto-restore setting to "enabled."
Change-Id: I6aeb0b4ace3c0ed1ad226b00a9ec9e4de12b7183
2010-02-25 18:00:29 -08:00
Bjorn Bringert
30e4d96512 Remove USE_LOCATION_FOR_SERVICES from Settings
This has been moved to GoogleSettingsProvider
as part of unbundling.

Part of http://b/issue?id=2383870

Change-Id: Ia8e5725b1749fa95436fade0ea23061eb2ca4822
2010-02-08 21:26:49 +00:00
Christopher Tate
a5a67306a4 Add 'restore on app install?" to Privacy settings UI
Change-Id: I6fe4b05596881ae26ebf536d9774fb3033aa15f3
2010-02-03 15:09:20 -08:00
Bjorn Bringert
ecfeaffdfa Fix GoogleSettings check in PrivacySettings
GoogleSettingsProvider has moved to a new package as part of unbundling.
This broke the check used to decide whether to show the "Backup my
settings" preference. To make this more robust to package name changes,
I changed the code to look up the settings provider by authority
instead of looking for the package that contains it.

Fixes http://b/issue?id=2390945

Change-Id: Iaec3152faddbd938fc02f9f2dde748819c1d5cdf
2010-01-25 20:39:55 +00:00
Amith Yamasani
e65c943f97 New Privacy settings screen and Backup settings toggle. See #2132044 & #2133178
Also fixes 2138367: Share with Google setting doesn't get updated on checking the setting
And 2098232: "Set unlock pattern" should be at the top of the section
2009-09-23 15:01:11 -07:00