OSDN Git Service

android-x86/packages-apps-Settings.git
10 years agoSettings preference for choosing long-term conditions.
John Spurlock [Thu, 1 May 2014 13:09:05 +0000 (09:09 -0400)]
Settings preference for choosing long-term conditions.

Requires change Icba2b8b2 in frameworks/base

Change-Id: I9d7a4f668e3b0e721646e42fa080f201c53a7fe9

10 years agoSwitch to using the new enabled flag in UserInfo
Alexandra Gherghina [Mon, 28 Apr 2014 12:59:39 +0000 (13:59 +0100)]
Switch to using the new enabled flag in UserInfo

Bug: 14377459
Change-Id: Ief309477d964f1158087240ce24030335652d6a7

10 years agoMerge "Disable profile enabled check (API is changing)"
Alexandra Gherghina [Thu, 1 May 2014 10:37:22 +0000 (10:37 +0000)]
Merge "Disable profile enabled check (API is changing)"

10 years agoam 3cfb6885: am d6b0b172: am 7dd84651: Merge "Display BTH connected status correctly"
Zhihai Xu [Wed, 30 Apr 2014 18:44:13 +0000 (18:44 +0000)]
am 3cfb6885: am d6b0b172: am 7dd84651: Merge "Display BTH connected status correctly"

* commit '3cfb6885b4075a3887cb0acb437704394fc9e90e':
  Display BTH connected status correctly

10 years agoam d6b0b172: am 7dd84651: Merge "Display BTH connected status correctly"
Zhihai Xu [Wed, 30 Apr 2014 18:28:49 +0000 (18:28 +0000)]
am d6b0b172: am 7dd84651: Merge "Display BTH connected status correctly"

* commit 'd6b0b1721a684be1805025908c4733a6b02794a4':
  Display BTH connected status correctly

10 years agoam 7dd84651: Merge "Display BTH connected status correctly"
Zhihai Xu [Wed, 30 Apr 2014 18:25:22 +0000 (18:25 +0000)]
am 7dd84651: Merge "Display BTH connected status correctly"

* commit '7dd84651a25566c5a2152d935f19a11cebfc58ae':
  Display BTH connected status correctly

10 years agoMerge "Display BTH connected status correctly"
Zhihai Xu [Wed, 30 Apr 2014 18:22:48 +0000 (18:22 +0000)]
Merge "Display BTH connected status correctly"

10 years agoDisplay BTH connected status correctly
Tsuyoshi Kamata [Wed, 18 Dec 2013 10:05:17 +0000 (19:05 +0900)]
Display BTH connected status correctly

This patch removes incorrect condition.
(to not use LocalBluetoothProfile#isPreferred())
This condition uses the priority that already disconnected profile,
so this codition always returns false.

To verify this issue:
1. Turn on Bluetooth.
2. Pair and connect to BTH(A2DP/HFP)
3. The display now says "Connected"
3. Disconnect HFP profile
4. The display still says "Connected" but it should say "Connected (no phone)"

Change-Id: I9e2bfa6d23bf1be7587c9556b4b05459d02c4817

10 years agoMerge "Fix crash on settings launch in secondary user."
Amith Yamasani [Wed, 30 Apr 2014 18:03:03 +0000 (18:03 +0000)]
Merge "Fix crash on settings launch in secondary user."

10 years agoFix crash on settings launch in secondary user.
Amith Yamasani [Wed, 30 Apr 2014 17:58:09 +0000 (10:58 -0700)]
Fix crash on settings launch in secondary user.

Bug: 14403545

Make sure the tile wasn't already removed for other reasons.

Change-Id: Ia2b5528c01dbfba4919afaf8352e45db9ef345c3

10 years agoMerge "Fix crash when adding account"
Amith Yamasani [Wed, 30 Apr 2014 17:48:29 +0000 (17:48 +0000)]
Merge "Fix crash when adding account"

10 years agoFix crash when adding account
Amith Yamasani [Wed, 30 Apr 2014 17:38:56 +0000 (10:38 -0700)]
Fix crash when adding account

Remove the listener in onStop(), to be symmetrical with onStart().

Bug: 14393261
Change-Id: I5d4f0ca38d5ef52b97715b8f3791ff2a400c68e2

10 years agoam c8883585: am a3860afc: Merge commit \'36a1bbe89025341987df0e380982cfbb4d09fe30...
Bill Yi [Wed, 30 Apr 2014 12:50:28 +0000 (12:50 +0000)]
am c8883585: am a3860afc: Merge commit \'36a1bbe89025341987df0e380982cfbb4d09fe30\' into HEAD

* commit 'c88835851d57fda27608822ed2cd4ffdb87292fb':

10 years agoMerge "Add condition provider access to settings."
John Spurlock [Wed, 30 Apr 2014 02:12:21 +0000 (02:12 +0000)]
Merge "Add condition provider access to settings."

10 years agoam a3860afc: Merge commit \'36a1bbe89025341987df0e380982cfbb4d09fe30\' into HEAD
Bill Yi [Wed, 30 Apr 2014 00:59:39 +0000 (00:59 +0000)]
am a3860afc: Merge commit \'36a1bbe89025341987df0e380982cfbb4d09fe30\' into HEAD

* commit 'a3860afcb5a28971a223f201a17f2583c1109704':

10 years agoAdd condition provider access to settings.
John Spurlock [Tue, 29 Apr 2014 22:07:23 +0000 (18:07 -0400)]
Add condition provider access to settings.

Pull NotificationAccessSettings out into a reusable base class
and reuse all of it for a new condition providers settings page.

As with notification listeners, the entire section is hidden if
no apps provide conditions.

Change-Id: Ib5273f3362e392d99647347c23a514e4590f7ac9

10 years agoMerge "Import translations. DO NOT MERGE"
Baligh Uddin [Tue, 29 Apr 2014 21:05:53 +0000 (21:05 +0000)]
Merge "Import translations. DO NOT MERGE"

10 years agoMerge "Update battery charge/drain label."
Dianne Hackborn [Tue, 29 Apr 2014 20:42:50 +0000 (20:42 +0000)]
Merge "Update battery charge/drain label."

10 years agoMerge commit '36a1bbe89025341987df0e380982cfbb4d09fe30' into HEAD
Bill Yi [Tue, 29 Apr 2014 18:34:27 +0000 (11:34 -0700)]
Merge commit '36a1bbe89025341987df0e380982cfbb4d09fe30' into HEAD

10 years agoUpdate battery charge/drain label.
Dianne Hackborn [Tue, 29 Apr 2014 18:24:06 +0000 (11:24 -0700)]
Update battery charge/drain label.

Match UX spec.

Change-Id: If1408458d488ac2ae3a63449e44ff18fc56e08d5

10 years agoMerge "Add zen-mode exit condition dialog to settings."
John Spurlock [Tue, 29 Apr 2014 00:09:52 +0000 (00:09 +0000)]
Merge "Add zen-mode exit condition dialog to settings."

10 years agoAdd zen-mode exit condition dialog to settings.
John Spurlock [Mon, 28 Apr 2014 18:29:33 +0000 (14:29 -0400)]
Add zen-mode exit condition dialog to settings.

Change-Id: I7e0f06e681d5c198ae23eaafaa4498939e6453d8

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 28 Apr 2014 19:39:38 +0000 (12:39 -0700)]
Import translations. DO NOT MERGE

Change-Id: I95f6438b5e025b17ec95beb5ff5595d428be22b8
Auto-generated-cl: translation import

10 years agoMerge "Fix settings crash during pathological rotate."
John Spurlock [Mon, 28 Apr 2014 19:31:01 +0000 (19:31 +0000)]
Merge "Fix settings crash during pathological rotate."

10 years agoFix settings crash during pathological rotate.
John Spurlock [Mon, 28 Apr 2014 19:28:37 +0000 (15:28 -0400)]
Fix settings crash during pathological rotate.

Bug:14281882
Change-Id: If30a3e8eea35564853fc12c03f8ab63c258310c9

10 years agoMerge "Fix wording of debug log statement."
Jeff Davidson [Mon, 28 Apr 2014 19:13:26 +0000 (19:13 +0000)]
Merge "Fix wording of debug log statement."

10 years agoMerge "New preference for selecting new voice interaction service."
Dianne Hackborn [Mon, 28 Apr 2014 18:28:17 +0000 (18:28 +0000)]
Merge "New preference for selecting new voice interaction service."

10 years agoNew preference for selecting new voice interaction service.
Dianne Hackborn [Fri, 18 Apr 2014 01:35:29 +0000 (18:35 -0700)]
New preference for selecting new voice interaction service.

This is currently in addition to the existing Voice Search
preference in this UI.  Eventually it will replace that one,
as a superset of its functionality.

Change-Id: I26f1220fa129870cad3ec4152a569a9c494971fb

10 years agoFix wording of debug log statement.
Jeff Davidson [Mon, 28 Apr 2014 18:23:13 +0000 (11:23 -0700)]
Fix wording of debug log statement.

Change-Id: I59f47dcb9d92b32ab38a7f473b020de9d399d932

10 years agoMerge "Disable regulatory info directly, not priority."
Jeff Sharkey [Mon, 28 Apr 2014 16:39:01 +0000 (16:39 +0000)]
Merge "Disable regulatory info directly, not priority."

10 years agoMerge "Settings app usually provides regulatory info."
Jeff Sharkey [Mon, 28 Apr 2014 16:38:37 +0000 (16:38 +0000)]
Merge "Settings app usually provides regulatory info."

10 years agoDisable regulatory info directly, not priority.
Jeff Sharkey [Fri, 18 Apr 2014 22:30:15 +0000 (15:30 -0700)]
Disable regulatory info directly, not priority.

Instead of using priority, offer to launch anyone handling the
action, and use the boolean to control if Settings offers the UI.

Bug: 13340779
Change-Id: Idb3f85c434414911f8911b7511b3a7a8029a8e06

10 years agoSettings app usually provides regulatory info.
Jeff Sharkey [Fri, 18 Apr 2014 00:28:31 +0000 (17:28 -0700)]
Settings app usually provides regulatory info.

It takes a higher priority to ensure that it launches over any
third-party apps, but an OEM-provided app may take a higher priority
if they need to provide details.

Bug: 13340779
Change-Id: I8e5dad1a2d0b93be74fa507c0307c87b62e634b8

10 years agoUpdate zen mode settings strings.
John Spurlock [Mon, 28 Apr 2014 15:41:20 +0000 (11:41 -0400)]
Update zen mode settings strings.

Change-Id: I0caeed5825cedb6be16384df4988aab0ea5cdbc6

10 years agoDisable profile enabled check (API is changing)
Alexandra Gherghina [Mon, 28 Apr 2014 13:11:08 +0000 (14:11 +0100)]
Disable profile enabled check (API is changing)

Bug: 14377459
Change-Id: Ie79db95bcc5c7e3a95b479832dceaf628ae36728

10 years agoMerge "Fix NPE in AppListPreference when there is no default."
Jeff Davidson [Sat, 26 Apr 2014 18:44:35 +0000 (18:44 +0000)]
Merge "Fix NPE in AppListPreference when there is no default."

10 years agoFix NPE in AppListPreference when there is no default.
Jeff Davidson [Sat, 26 Apr 2014 15:49:59 +0000 (08:49 -0700)]
Fix NPE in AppListPreference when there is no default.

Bug: 14327074
Change-Id: I3b0dcfbefcfb91278582457beef5823072efc46a

10 years agoMerge "Fix the crash of BandMode app."
Derek Tan [Sat, 26 Apr 2014 00:27:01 +0000 (00:27 +0000)]
Merge "Fix the crash of BandMode app."

10 years agoSettings new dashboard - part 2
Fabrice Di Meglio [Thu, 24 Apr 2014 21:48:48 +0000 (14:48 -0700)]
Settings new dashboard - part 2

Introduce the new Dashboard (a grid like presentation of
Settings top categories) per UX specification.

- the Dashboard is composed of "categories" and in each of them
you have "tiles"
- implement a new layout for showing top categories
(DashboardContainerView). This layout basically acts like a
grid
- depending on the device configuration make the grid with 1
column in portrait / 2 colums in landscape (phones) OR 2 columns
in portrait and 3 in landscape (tablets)
- take care of Accounts adding and removing (as it changes the
number of tiles to show)

Also remove all the old code related to Headers

Change-Id: Ie29944132c1b4c3f7b073d5a7d4453b8f5ec19a7

10 years agoFix the crash of BandMode app.
Derek Tan [Fri, 25 Apr 2014 23:47:54 +0000 (16:47 -0700)]
Fix the crash of BandMode app.

It crashes because of out of array boundary exception. This app
predefined a list of constant strings of band mode. Unfortunately
the actual supported band modes keep adding and the hardcoded
list can meet.

Change-Id: Ife9683924706a1606d4f72b01a5904e9aa0f782c

10 years agoMerge "Show time remaining / to charge."
Dianne Hackborn [Fri, 25 Apr 2014 17:06:50 +0000 (17:06 +0000)]
Merge "Show time remaining / to charge."

10 years agoresolved conflicts for merge of f90b5141 to master
Elliott Hughes [Fri, 25 Apr 2014 00:24:35 +0000 (17:24 -0700)]
resolved conflicts for merge of f90b5141 to master

Change-Id: I666b2fcde034f6dc9f7b69409facf88a4feb5309

10 years agoam 4c941850: Merge "Track MutableBoolean\'s new package."
Elliott Hughes [Thu, 24 Apr 2014 23:59:10 +0000 (23:59 +0000)]
am 4c941850: Merge "Track MutableBoolean\'s new package."

* commit '4c941850288011ca29466a1a80314155c0100fe3':
  Track MutableBoolean's new package.

10 years agoMerge "Track MutableBoolean's new package."
Elliott Hughes [Thu, 24 Apr 2014 23:52:13 +0000 (23:52 +0000)]
Merge "Track MutableBoolean's new package."

10 years agoShow time remaining / to charge.
Dianne Hackborn [Thu, 24 Apr 2014 00:14:15 +0000 (17:14 -0700)]
Show time remaining / to charge.

Rework the battery graph to include the time remaining or
time to charge.

Change-Id: Ib26b761cb10e01f5f3aa4189db10d44b8ce62f89

10 years agoMerge "Support ACTION_CHANGE_ACTIVE for network scorers."
Jeff Davidson [Thu, 24 Apr 2014 18:59:52 +0000 (18:59 +0000)]
Merge "Support ACTION_CHANGE_ACTIVE for network scorers."

10 years agoSupport ACTION_CHANGE_ACTIVE for network scorers.
Jeff Davidson [Thu, 17 Apr 2014 18:44:10 +0000 (11:44 -0700)]
Support ACTION_CHANGE_ACTIVE for network scorers.

Bug: 13785473
Change-Id: Ida54d4620f95c773c4c4239e9f29c1b987fd6ba2

10 years agoMerge "Fix bug #14288652 Settings crash on hitting back key from Tap and Pay screen"
Fabrice Di Meglio [Thu, 24 Apr 2014 17:36:53 +0000 (17:36 +0000)]
Merge "Fix bug #14288652 Settings crash on hitting back key from Tap and Pay screen"

10 years agoFix bug #14288652 Settings crash on hitting back key from Tap and Pay screen
Fabrice Di Meglio [Thu, 24 Apr 2014 17:13:59 +0000 (10:13 -0700)]
Fix bug #14288652 Settings crash on hitting back key from Tap and Pay screen

Gasp ... the Observer registering/unregistering code was not totally correct as
we were unregistering on a different RootAdapter.

- refactor the code for registering / unregistering the Observer
- unregister when the Fragment is stopped thru onStop().

Change-Id: I036eacd87c80fd2c9dedca705fb94a57a0c9a21d

10 years agoMerge "Revert "Revert "Wiring for displaying managed profiles"""
Alexandra Gherghina [Thu, 24 Apr 2014 17:12:56 +0000 (17:12 +0000)]
Merge "Revert "Revert "Wiring for displaying managed profiles"""

10 years agoMerge "Settings new dashboard - part 1"
Fabrice Di Meglio [Thu, 24 Apr 2014 17:08:21 +0000 (17:08 +0000)]
Merge "Settings new dashboard - part 1"

10 years agoRevert "Revert "Wiring for displaying managed profiles""
Alexandra Gherghina [Wed, 23 Apr 2014 10:56:37 +0000 (10:56 +0000)]
Revert "Revert "Wiring for displaying managed profiles""

This reverts commit 91e3f7256935f1c805878c3a5241b9e5b9a67e44.

Will wait until related commit is in to submit this.

Bug: 13756871
Change-Id: I34642998adb71f44de1e529cc214ac4f921932ed

10 years agoSettings new dashboard - part 1
Fabrice Di Meglio [Wed, 23 Apr 2014 23:44:30 +0000 (16:44 -0700)]
Settings new dashboard - part 1

- make the Settings dashboard definition be hierarchical (non flat) and use
categories and tiles
- code cleaning: remove mHeaderIndexMap

Change-Id: I16581a736ac5c8388a182d83159161fe3bb04f4b

10 years agoMerge "Refactor SmsListPreference into AppListPreference."
Jeff Davidson [Thu, 24 Apr 2014 16:49:19 +0000 (16:49 +0000)]
Merge "Refactor SmsListPreference into AppListPreference."

10 years agoMerge "Import translations. DO NOT MERGE"
Baligh Uddin [Thu, 24 Apr 2014 14:30:47 +0000 (14:30 +0000)]
Merge "Import translations. DO NOT MERGE"

10 years agoTrack MutableBoolean's new package.
Elliott Hughes [Thu, 24 Apr 2014 01:04:40 +0000 (18:04 -0700)]
Track MutableBoolean's new package.

Change-Id: I96df3fcbc3b94186a36617dfc1df5b195880be13

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 23 Apr 2014 21:28:42 +0000 (14:28 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ief4b4cbe513c64abe5b431c36f2aa79ced9c3bc1
Auto-generated-cl: translation import

10 years agoMerge "Add saved Search queries feature"
Fabrice Di Meglio [Wed, 23 Apr 2014 17:35:51 +0000 (17:35 +0000)]
Merge "Add saved Search queries feature"

10 years agoAdd saved Search queries feature
Fabrice Di Meglio [Wed, 23 Apr 2014 00:23:23 +0000 (17:23 -0700)]
Add saved Search queries feature

- update SearchResultsSummary fragment to have two lists:
one for Search suggestions (saved queries) and one for
Search results
- a tap on a saved query will launch that Search query
- show the list of saved queries when tapping on the SearchView
- do some fancy hidding / unhidding of the saved queries list
and results list

Change-Id: If15055ab78b0ec5eef4e543173dc7b866bd08e27

10 years agoNotification settings: update lockscreen option language.
John Spurlock [Wed, 23 Apr 2014 15:37:27 +0000 (11:37 -0400)]
Notification settings: update lockscreen option language.

When device is locked:
 - Show all notification content
 - Hide sensitive notification content

Change-Id: I641bca5f1b5f0ab1b2dc381fc0af7f32a9f2bc6d

10 years agoMerge "Revert "Wiring for displaying managed profiles""
Alexandra Gherghina [Wed, 23 Apr 2014 10:55:51 +0000 (10:55 +0000)]
Merge "Revert "Wiring for displaying managed profiles""

10 years agoRevert "Wiring for displaying managed profiles"
Alexandra Gherghina [Wed, 23 Apr 2014 10:51:53 +0000 (10:51 +0000)]
Revert "Wiring for displaying managed profiles"

This reverts commit a044235272d5319ed3b1dd1aebc051b88ec69c1a.

This depended on CL: https://googleplex-android-review.googlesource.com/#/q/I2907b182e19b3562592da688b3f68ef5f4088557 which was not commited yet.

Bug: 13756871
Change-Id: Ib05c58002a06c7882c4b6dfd750c9681ff4b1646

10 years agoMerge "Wiring for displaying managed profiles"
Alexandra Gherghina [Wed, 23 Apr 2014 07:04:32 +0000 (07:04 +0000)]
Merge "Wiring for displaying managed profiles"

10 years agoam 293b1fc0: (-s ours) am 06172af6: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Wed, 23 Apr 2014 02:20:43 +0000 (02:20 +0000)]
am 293b1fc0: (-s ours) am 06172af6: (-s ours) Import translations. DO NOT MERGE

* commit '293b1fc04dbcdecab4c2a9b4a718b01264612fbb':
  Import translations. DO NOT MERGE

10 years agoam 06172af6: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Wed, 23 Apr 2014 02:13:34 +0000 (02:13 +0000)]
am 06172af6: (-s ours) Import translations. DO NOT MERGE

* commit '06172af69451678f5d1dd388a372ab00b58d682f':
  Import translations. DO NOT MERGE

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 23 Apr 2014 00:59:15 +0000 (17:59 -0700)]
Import translations. DO NOT MERGE

Change-Id: I9185da8de4b0c0818b926377543992356f265dd9
Auto-generated-cl: translation import

10 years agoSetting: Developer Option: Adds a low power mode checkbox
Ruchi Kandoi [Fri, 18 Apr 2014 00:54:35 +0000 (17:54 -0700)]
Setting: Developer Option: Adds a low power mode checkbox

Change-Id: I489f74bd3822f64acb8becd6e5eda716d8bd722c
Signed-off-by: Ruchi Kandoi<kandoiruchi@google.com>
10 years agoMerge "Temporary color change to make lock pattern screen visible"
Amith Yamasani [Tue, 22 Apr 2014 19:20:15 +0000 (19:20 +0000)]
Merge "Temporary color change to make lock pattern screen visible"

10 years agoam a8351581: am 442f01c6: am 95228074: am c44d7c6b: Prohibit uninstall of the default...
Christopher Tate [Tue, 22 Apr 2014 18:31:33 +0000 (18:31 +0000)]
am a8351581: am 442f01c6: am 95228074: am c44d7c6b: Prohibit uninstall of the default (or only) home app

* commit 'a83515813cb5664fd68f583caa6d0bc6b6bc0042':
  Prohibit uninstall of the default (or only) home app

10 years agoam 442f01c6: am 95228074: am c44d7c6b: Prohibit uninstall of the default (or only...
Christopher Tate [Tue, 22 Apr 2014 18:09:27 +0000 (18:09 +0000)]
am 442f01c6: am 95228074: am c44d7c6b: Prohibit uninstall of the default (or only) home app

* commit '442f01c6018f2fddb413a730b54d2eae542b1078':
  Prohibit uninstall of the default (or only) home app

10 years agoam 95228074: am c44d7c6b: Prohibit uninstall of the default (or only) home app
Christopher Tate [Tue, 22 Apr 2014 18:05:39 +0000 (18:05 +0000)]
am 95228074: am c44d7c6b: Prohibit uninstall of the default (or only) home app

* commit '95228074d2e01575799a526a29ec53a61c36aa23':
  Prohibit uninstall of the default (or only) home app

10 years agoam c44d7c6b: Prohibit uninstall of the default (or only) home app
Christopher Tate [Tue, 22 Apr 2014 17:58:59 +0000 (17:58 +0000)]
am c44d7c6b: Prohibit uninstall of the default (or only) home app

* commit 'c44d7c6be64be790878ddf1f21c0d9e91d238245':
  Prohibit uninstall of the default (or only) home app

10 years agoProhibit uninstall of the default (or only) home app
Christopher Tate [Tue, 22 Apr 2014 17:17:21 +0000 (10:17 -0700)]
Prohibit uninstall of the default (or only) home app

We suppress the ability to uninstall (including uninstall of updates to
system-bundled apps) when the package in question is either the only
installed home app, or has been explicitly tagged by the user as the
"every time" home app among all those installed.

Bug 14162565

Change-Id: I582bb0d2abf0911ac68813f4c7e6fd7d17bfc2ca

10 years agoTemporary color change to make lock pattern screen visible
Amith Yamasani [Tue, 22 Apr 2014 16:22:40 +0000 (09:22 -0700)]
Temporary color change to make lock pattern screen visible

Fixes the white on white in Settings when creating or confirming
a lock pattern.

Change-Id: Ie4770edbabb76b984e17b84f8f1e7c991bb2316b

10 years agoMerge "Do not disturb settings page."
John Spurlock [Tue, 22 Apr 2014 15:04:06 +0000 (15:04 +0000)]
Merge "Do not disturb settings page."

10 years agoMerge "Import translations. DO NOT MERGE"
Baligh Uddin [Tue, 22 Apr 2014 14:51:46 +0000 (14:51 +0000)]
Merge "Import translations. DO NOT MERGE"

10 years agoDo not disturb settings page.
John Spurlock [Sun, 20 Apr 2014 20:19:53 +0000 (16:19 -0400)]
Do not disturb settings page.

General section:
Create switches for Phone calls & Messages.  Contact
filtering disabled for now.

Automatic section:
Add mode switching based on a simple overnight schedule.

Bug:14211946
Change-Id: Ibb4e916cd5c9970f483858db91d6165507ceeb1a

10 years agoMerge "Save Search queries"
Fabrice Di Meglio [Tue, 22 Apr 2014 01:38:47 +0000 (01:38 +0000)]
Merge "Save Search queries"

10 years agoSave Search queries
Fabrice Di Meglio [Tue, 22 Apr 2014 00:07:28 +0000 (17:07 -0700)]
Save Search queries

- update database model for adding a table for saving a query
and its timestamp
- update database version
- save the query when the User tap on a Search result
- remove old queries (no more than 5 are saved)

Change-Id: I4ddff0ad660944c7fd53be64ac95397850dc60d0

10 years agoMerge "Fix missing summary for CheckBoxPreference"
Fabrice Di Meglio [Mon, 21 Apr 2014 23:41:13 +0000 (23:41 +0000)]
Merge "Fix missing summary for CheckBoxPreference"

10 years agoFix missing summary for CheckBoxPreference
Fabrice Di Meglio [Mon, 21 Apr 2014 23:37:39 +0000 (16:37 -0700)]
Fix missing summary for CheckBoxPreference

- "summaryOn" and "summaryOff" were parsed but we were missing
also "summary"

Repro case: search for "adt" (from Developer options)

Change-Id: Ifa829ec6c6f86cb426432f716c2d28df8550f9ea

10 years agoMerge "Rename SettingsUtils to PrintSettingsUtils"
Fabrice Di Meglio [Mon, 21 Apr 2014 23:00:22 +0000 (23:00 +0000)]
Merge "Rename SettingsUtils to PrintSettingsUtils"

10 years agoRename SettingsUtils to PrintSettingsUtils
Fabrice Di Meglio [Mon, 21 Apr 2014 22:58:41 +0000 (15:58 -0700)]
Rename SettingsUtils to PrintSettingsUtils

Change-Id: I67e9222265f6326b399de3779f2210e202777ecd

10 years agoMerge "Fix bug #14228591 NPE in settings app when it is launched by UiAutomator"
Fabrice Di Meglio [Mon, 21 Apr 2014 22:35:05 +0000 (22:35 +0000)]
Merge "Fix bug #14228591 NPE in settings app when it is launched by UiAutomator"

10 years agoFix bug #14228591 NPE in settings app when it is launched by UiAutomator
Fabrice Di Meglio [Mon, 21 Apr 2014 22:32:28 +0000 (15:32 -0700)]
Fix bug #14228591 NPE in settings app when it is launched by UiAutomator

- test for null references

Change-Id: Iff6efc92cc16ada9f6e8f057ba9c23a241e62000

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 21 Apr 2014 20:50:52 +0000 (13:50 -0700)]
Import translations. DO NOT MERGE

Change-Id: I04673ea4fce055c657b8b36ba765b74747495748
Auto-generated-cl: translation import

10 years agoMerge "Code cleaning"
Fabrice Di Meglio [Mon, 21 Apr 2014 20:48:47 +0000 (20:48 +0000)]
Merge "Code cleaning"

10 years agoCode cleaning
Fabrice Di Meglio [Mon, 21 Apr 2014 20:46:39 +0000 (13:46 -0700)]
Code cleaning

- remove duplicate semicolon

Change-Id: I807ce89dfa6b46c415a95a9c6cdc71fd3e9a2502

10 years agoMerge "Enable Search result highlight for Accessibility and IME settings"
Fabrice Di Meglio [Mon, 21 Apr 2014 20:29:12 +0000 (20:29 +0000)]
Merge "Enable Search result highlight for Accessibility and IME settings"

10 years agoEnable Search result highlight for Accessibility and IME settings
Fabrice Di Meglio [Mon, 21 Apr 2014 20:27:23 +0000 (13:27 -0700)]
Enable Search result highlight for Accessibility and IME settings

- add missing keys
- update Database version to force re-indexing (because the keys
were missing)

Change-Id: I7533d86b0f9d79d838e5c16d4bc51b7b09dffae5

10 years agoMerge "Fix bug #14158603 Stability: NPE in Settings: Attempt to invoke... ...interfac...
Fabrice Di Meglio [Mon, 21 Apr 2014 19:46:39 +0000 (19:46 +0000)]
Merge "Fix bug #14158603 Stability: NPE in Settings: Attempt to invoke... ...interface method 'boolean android.view.MenuItem.collapseActionView()' ...on a null object reference"

10 years agoFix bug #14158603 Stability: NPE in Settings: Attempt to invoke...
Fabrice Di Meglio [Mon, 21 Apr 2014 19:43:20 +0000 (12:43 -0700)]
Fix bug #14158603 Stability: NPE in Settings: Attempt to invoke...
...interface method 'boolean android.view.MenuItem.collapseActionView()'
...on a null object reference

- fix cases where mSearchMenuItem or mSearchView could be null

Change-Id: I2b0256fe2c8c1b426d4e0799881dd2f13480a00a

10 years agoMerge "Fix NPE java.lang.IllegalStateException: Observer com.android.settings.Setting...
Fabrice Di Meglio [Mon, 21 Apr 2014 18:49:43 +0000 (18:49 +0000)]
Merge "Fix NPE java.lang.IllegalStateException: Observer com.android.settings.SettingsPreferenceFragment$1@373ee1aa is already registered."

10 years agoFix NPE java.lang.IllegalStateException: Observer com.android.settings.SettingsPrefer...
Fabrice Di Meglio [Mon, 21 Apr 2014 18:40:21 +0000 (11:40 -0700)]
Fix NPE java.lang.IllegalStateException: Observer com.android.settings.SettingsPreferenceFragment$1@373ee1aa is already registered.

- propertly register / unregister the DataSetObserver

Change-Id: I04de3c7ec14e71591edc174ebafabe9a1fb165c2

10 years agoMerge "Better decoupling of Index updates in Bluetooth Settings"
Fabrice Di Meglio [Mon, 21 Apr 2014 18:33:42 +0000 (18:33 +0000)]
Merge "Better decoupling of Index updates in Bluetooth Settings"

10 years agoBetter decoupling of Index updates in Bluetooth Settings
Fabrice Di Meglio [Mon, 21 Apr 2014 18:32:39 +0000 (11:32 -0700)]
Better decoupling of Index updates in Bluetooth Settings

- use a Handler
- force rebuilding

Change-Id: I474fa98ea0e0758abcc46d4812f744dff24fd455

10 years agoMerge "Force Search Index rebuilding for Wifi remembered networks"
Fabrice Di Meglio [Mon, 21 Apr 2014 18:24:42 +0000 (18:24 +0000)]
Merge "Force Search Index rebuilding for Wifi remembered networks"

10 years agoForce Search Index rebuilding for Wifi remembered networks
Fabrice Di Meglio [Mon, 21 Apr 2014 18:24:33 +0000 (11:24 -0700)]
Force Search Index rebuilding for Wifi remembered networks

... when the WiFi swich will be toggled on/off

Change-Id: Iea93819e4c473aafc6aaedf6abb723969dbc9e52

10 years agoMerge "Better decoupling of Index updates in WiFi Settings"
Fabrice Di Meglio [Mon, 21 Apr 2014 18:12:41 +0000 (18:12 +0000)]
Merge "Better decoupling of Index updates in WiFi Settings"

10 years agoBetter decoupling of Index updates in WiFi Settings
Fabrice Di Meglio [Mon, 21 Apr 2014 17:57:07 +0000 (10:57 -0700)]
Better decoupling of Index updates in WiFi Settings

- use a Handler

Change-Id: I1e35f2e437021001900468d0df2b75e53b8c62f6