OSDN Git Service

android-x86/packages-apps-Settings.git
8 years agoMerge "Moving HelpUtils to SettingsLib" into nyc-dev
Suprabh Shukla [Fri, 8 Apr 2016 19:31:36 +0000 (19:31 +0000)]
Merge "Moving HelpUtils to SettingsLib" into nyc-dev

8 years agoMerge "Restore the premiume SMS Preference." into nyc-dev
Jason Monk [Fri, 8 Apr 2016 17:04:43 +0000 (17:04 +0000)]
Merge "Restore the premiume SMS Preference." into nyc-dev

8 years agoRestore the premiume SMS Preference.
Jason Monk [Mon, 28 Mar 2016 19:36:03 +0000 (15:36 -0400)]
Restore the premiume SMS Preference.

Fixes: 27657256
Change-Id: I396eb9ba71f51fed517d7f958873369bc0ab011e

8 years agoTrustedCredentialsSettings should be launched in personal user instead of work user
Victor Chang [Thu, 7 Apr 2016 20:20:38 +0000 (21:20 +0100)]
TrustedCredentialsSettings should be launched in personal user instead of work user

Bug: 18224038
Change-Id: I861a0b98b4b7f0792332b980c1c8e080864b4d57

8 years agoMerge "Allow user to hide sensitive notifications with no work challenge" into nyc-dev
Daniel U [Fri, 8 Apr 2016 15:44:44 +0000 (15:44 +0000)]
Merge "Allow user to hide sensitive notifications with no work challenge" into nyc-dev

8 years agoMerge "Input settings: Show keyboard layout collection." into nyc-dev
Abodunrinwa Toki [Fri, 8 Apr 2016 15:43:13 +0000 (15:43 +0000)]
Merge "Input settings: Show keyboard layout collection." into nyc-dev

8 years agoInput settings: Show keyboard layout collection.
Abodunrinwa Toki [Fri, 8 Apr 2016 13:08:56 +0000 (14:08 +0100)]
Input settings: Show keyboard layout collection.

E.g. Android keyboard or Nexus Compat keyboard.

Bug: 27250977
Change-Id: Icd256a760b157418f52046f10ca272561b692838

8 years agoMerge "Credential storage: check lock quality for right user" into nyc-dev
Robin Lee [Fri, 8 Apr 2016 10:53:23 +0000 (10:53 +0000)]
Merge "Credential storage: check lock quality for right user" into nyc-dev

8 years agoMerge "Improved UX when DISALLOW_SET_WALLPAPER is set." into nyc-dev
Oleksandr Peletskyi [Fri, 8 Apr 2016 10:44:05 +0000 (10:44 +0000)]
Merge "Improved UX when DISALLOW_SET_WALLPAPER is set." into nyc-dev

8 years agoImproved UX when DISALLOW_SET_WALLPAPER is set.
Oleksandr Peletskyi [Tue, 5 Apr 2016 13:37:07 +0000 (15:37 +0200)]
Improved UX when DISALLOW_SET_WALLPAPER is set.

Changed type of Settings > Display > Wallpeper menu item
to RestrictedPreference. This allows to show the reason,
why the Wallpaper menu item is blocked.

BUG: 27914814
Change-Id: I6eb23ec9fcaa39bb7e45d020a5aaca0d83cef81f

8 years agoMerge "Fix Settings activity typo." into nyc-dev
Ruben Brunk [Fri, 8 Apr 2016 05:13:18 +0000 (05:13 +0000)]
Merge "Fix Settings activity typo." into nyc-dev

8 years agoFix Settings activity typo.
Ruben Brunk [Fri, 8 Apr 2016 04:45:41 +0000 (21:45 -0700)]
Fix Settings activity typo.

Bug=28078304

Change-Id: I2744314bbd97b1c330baa53a07534c461dab3c0f

8 years agoTeach settings about PASSWORD_QUALITY_MANAGED constant
Toni Barzic [Wed, 30 Mar 2016 18:43:19 +0000 (11:43 -0700)]
Teach settings about PASSWORD_QUALITY_MANAGED constant

Add hooks for adding an option for selecting a managed password as
lock credential. By default this option will not be visible.

BUG=27923581

Change-Id: Id17bd8074bf23cbcffb96d8576cc760df6f2298a

8 years agoFix work profile screen timeout policy
Ricky Wai [Fri, 18 Mar 2016 16:26:35 +0000 (16:26 +0000)]
Fix work profile screen timeout policy

Settings screen should apply both primary and managed maximum
timeout policy, even separate profile challenge is enabled.

Bug: 27493348
Change-Id: I09e815d6c6ae6ecd554316cfac82daf0ad0b0cdf

8 years agoDelete all work fingerprints when unified lock changes to None/Swipe
Ricky Wai [Wed, 6 Apr 2016 14:28:28 +0000 (15:28 +0100)]
Delete all work fingerprints when unified lock changes to None/Swipe

Bug: 27551139
Change-Id: I64105621057e04be0e4d8073626ac3ed0f1e72d2

8 years agoFingerprint should confirm device lock when unified
Ricky Wai [Tue, 5 Apr 2016 15:33:47 +0000 (16:33 +0100)]
Fingerprint should confirm device lock when unified

When unified and adding a fingerprint, the user is prompted to set up
a backup

Bug:27419438
Change-Id: I6cfa8c276ae69a0af51580be390c3da4e9596874

8 years agoKeymaster init for work profile
Ricky Wai [Fri, 1 Apr 2016 15:31:56 +0000 (16:31 +0100)]
Keymaster init for work profile

Changes:
(1) When unified work challenge is enabled and screen lock is secure
  - Store work profile secure key in primary profile
  - When primary user keystore unlocked, unlock work profile keystore
  - When primary user change lock to none, remove work secure key
(2) When unified work challenge is enabled but screen lock is not secure
  - When screen lock changes to secure, store work secure key in primary
(3) When user changes work challenge from unified to separated
  - Remove work secure key in primary
(4) When user changes work challenge from separate to unified
  - Do (1) and (2)

Bug: 27460698

Change-Id: Id7464c178e6ea7b561643477e7cd84f963048c87

8 years agoCredential storage: check lock quality for right user
Robin Lee [Thu, 7 Apr 2016 13:55:06 +0000 (14:55 +0100)]
Credential storage: check lock quality for right user

Checking the wrong user can lead to an infinite loop when trying to
install credentials from a managed profile.

Bug: 28043334
Change-Id: I3e1044069f0d5139a47de461996a6d98e0fe5e2f

8 years agoMerge "Guard double-showing of user credentials dialog" into nyc-dev
Robin Lee [Thu, 7 Apr 2016 13:32:52 +0000 (13:32 +0000)]
Merge "Guard double-showing of user credentials dialog" into nyc-dev

8 years agoGuard double-showing of user credentials dialog
Robin Lee [Thu, 7 Apr 2016 12:17:24 +0000 (13:17 +0100)]
Guard double-showing of user credentials dialog

Only create & show the dialogfragment if it does not already exist.

Bug: 28058930
Change-Id: Ia48cc8a5fd60a12c3beb6c9263036a449cf8d67c

8 years agoAmend icon size for delete work profile dialog
Winston Man [Wed, 6 Apr 2016 20:33:47 +0000 (21:33 +0100)]
Amend icon size for delete work profile dialog

Changes are referenced from
https://cs.corp.google.com/android/packages/apps/ManagedProvisioning/res/layout/device_manager_icon_label.xml

Fixed screenshot:
https://screenshot.googleplex.com/01qOjUp0rp8

Bug:27636781

Change-Id: Ib6cf303caa388a8b0d2b7664fd9828a8d2f67098

8 years agoMerge "Ask the user to unlock the work profile before adding a work account." into...
Nicolas Prévot [Thu, 7 Apr 2016 09:23:18 +0000 (09:23 +0000)]
Merge "Ask the user to unlock the work profile before adding a work account." into nyc-dev

8 years agoMerge "Fix user photo popup layout for RTL" into nyc-dev
Suprabh Shukla [Thu, 7 Apr 2016 00:56:04 +0000 (00:56 +0000)]
Merge "Fix user photo popup layout for RTL" into nyc-dev

8 years agoFix user photo popup layout for RTL
Ryoji Miyazaki [Tue, 1 Mar 2016 06:13:36 +0000 (15:13 +0900)]
Fix user photo popup layout for RTL

When RTL language is set, the edit-photo popup window
on user profile info is not shown fully.
The popup window should be aligned with the anchor.
Cherrypick of https://android-review.googlesource.com/#/c/207762/

Bug: 27955356
Change-Id: Ia928c99fbfff3596b048cc3949aef6d03594fed7

8 years agoMerge "handle devices that don't support FLASH_LOCK_STATE" into nyc-dev
Andres Morales [Thu, 7 Apr 2016 00:00:37 +0000 (00:00 +0000)]
Merge "handle devices that don't support FLASH_LOCK_STATE" into nyc-dev

8 years agohandle devices that don't support FLASH_LOCK_STATE
Andres Morales [Wed, 6 Apr 2016 20:22:08 +0000 (13:22 -0700)]
handle devices that don't support FLASH_LOCK_STATE

only disable OEM unlocking pref for devices that report
FLASH_LOCK_UNLOCKED.

Bug: 27967926
Change-Id: Ia41b0dc9249e11df2fb35263ebde05f3a2e0d29a

8 years agoMerge "Update fingerprint strings during setup" into nyc-dev
Maurice Lam [Wed, 6 Apr 2016 21:34:34 +0000 (21:34 +0000)]
Merge "Update fingerprint strings during setup" into nyc-dev

8 years agoUpdate fingerprint strings during setup
Maurice Lam [Wed, 6 Apr 2016 19:21:54 +0000 (12:21 -0700)]
Update fingerprint strings during setup

Bug: 28004437
Change-Id: I317437ddaf66158e0d30da6d411d9aa7f498688c

8 years agoMerge "Fix animation when expand conditional notices in Settings." into nyc-dev
Fan Zhang [Wed, 6 Apr 2016 19:07:10 +0000 (19:07 +0000)]
Merge "Fix animation when expand conditional notices in Settings." into nyc-dev

8 years agoMerge "Revert "Fix issues with wrong configuration being used to inflate layouts...
Anna Galusza [Wed, 6 Apr 2016 17:47:09 +0000 (17:47 +0000)]
Merge "Revert "Fix issues with wrong configuration being used to inflate layouts. Bug: 27700406" Framework bug was fixed by ag/900274, so this is no longer needed." into nyc-dev

8 years agoMerge "Use normal button style for Clear data / cache buttons" into nyc-dev
Alan Viverette [Wed, 6 Apr 2016 17:36:35 +0000 (17:36 +0000)]
Merge "Use normal button style for Clear data / cache buttons" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Bill Yi [Wed, 6 Apr 2016 17:10:09 +0000 (17:10 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoFix animation when expand conditional notices in Settings.
Fan Zhang [Tue, 5 Apr 2016 20:21:52 +0000 (13:21 -0700)]
Fix animation when expand conditional notices in Settings.

Bug: 28017593
Change-Id: I8275cb2050f79d26e58c02ffd91cb1a3e32a5ff2

8 years agoMerge "Fix problem with message indent. b/25054130" into nyc-dev
Pankaj Kanwar [Wed, 6 Apr 2016 16:58:09 +0000 (16:58 +0000)]
Merge "Fix problem with message indent. b/25054130" into nyc-dev

8 years agoFix problem with message indent.
pkanwar [Wed, 6 Apr 2016 02:05:10 +0000 (19:05 -0700)]
Fix problem with message indent.
b/25054130

Change-Id: I16327683f970c5b9a23316984e1815227d265c57

8 years agoMerge "Add dev options to set swXdp" into nyc-dev
Jason Monk [Wed, 6 Apr 2016 13:20:07 +0000 (13:20 +0000)]
Merge "Add dev options to set swXdp" into nyc-dev

8 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 6 Apr 2016 12:47:27 +0000 (05:47 -0700)]
Import translations. DO NOT MERGE

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

8 years agoMerge "Add button to trust a CA cert" into nyc-dev
Victor Chang [Wed, 6 Apr 2016 10:59:19 +0000 (10:59 +0000)]
Merge "Add button to trust a CA cert" into nyc-dev

8 years agoAsk the user to unlock the work profile before adding a work account.
Nicolas Prevot [Wed, 6 Apr 2016 10:19:08 +0000 (11:19 +0100)]
Ask the user to unlock the work profile before adding a work account.

If the work profile is locked, and the user tries to add a
work account from Settings:
Show the work profile security challenge.

BUG:28005200
Change-Id: I87ff25d9de94026b0d7ac307ea3a541e77989aa6

8 years agoMerge "Block "Screen lock" menu for Work Challenge." into nyc-dev
Oleksandr Peletskyi [Wed, 6 Apr 2016 09:31:22 +0000 (09:31 +0000)]
Merge "Block "Screen lock" menu for Work Challenge." into nyc-dev

8 years agoMerge "PBAP Pairing Permission" into nyc-dev
Sanket Agarwal [Tue, 5 Apr 2016 23:39:55 +0000 (23:39 +0000)]
Merge "PBAP Pairing Permission" into nyc-dev

8 years agoMerge "Do not store bitmap into Bundle in onSaveInstanceState" into nyc-dev
Fyodor Kupolov [Tue, 5 Apr 2016 22:20:16 +0000 (22:20 +0000)]
Merge "Do not store bitmap into Bundle in onSaveInstanceState" into nyc-dev

8 years agoMoving HelpUtils to SettingsLib
Suprabh Shukla [Tue, 5 Apr 2016 21:37:20 +0000 (14:37 -0700)]
Moving HelpUtils to SettingsLib

Moved HelpUtils to SettingsLib in frameworks/base so it can be shared by
packageinstaller as well.

Bug: b/22096093
Change-Id: I8d620abcde8279a3b4d11bbcff8ae9b6f46a1895

8 years agoAdd button to trust a CA cert
Victor Chang [Mon, 4 Apr 2016 18:10:28 +0000 (19:10 +0100)]
Add button to trust a CA cert

- Put Disable button for system cert and Remove button for user cert as action button in cert dialog
- OK (dismiss) button is displayed when trust button is not shown
- Showing chain of cert dialot will be in a later CL

Bug: 18224038
Change-Id: Ieef70e12fd8bdf711be48dc0488f03dbe143d3c5

8 years agoAdd dev options to set swXdp
Jason Monk [Tue, 5 Apr 2016 19:45:27 +0000 (15:45 -0400)]
Add dev options to set swXdp

Change-Id: Ibe88e2b1a2e818838baf452b6da204fc9e004a42
Fixes: 27734698

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Bill Yi [Tue, 5 Apr 2016 18:44:35 +0000 (18:44 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 5 Apr 2016 18:25:39 +0000 (11:25 -0700)]
Import translations. DO NOT MERGE

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

8 years agoDo not store bitmap into Bundle in onSaveInstanceState
Fyodor Kupolov [Tue, 5 Apr 2016 17:46:20 +0000 (10:46 -0700)]
Do not store bitmap into Bundle in onSaveInstanceState

It may cause TransactionTooLargeException because of the parcel size limit

Bug: 27990767
Change-Id: Ie1a702810a5c26e25fc485ebae09dc65e2b48e41

8 years agoMerge "Add Tron Logging to portion of A11y SUW that lives in Settings. Bug: 27777706...
Anna Galusza [Tue, 5 Apr 2016 16:46:29 +0000 (16:46 +0000)]
Merge "Add Tron Logging to portion of A11y SUW that lives in Settings. Bug: 27777706" into nyc-dev

8 years agoMerge "Update data saver icon" into nyc-dev
Jason Monk [Tue, 5 Apr 2016 16:38:38 +0000 (16:38 +0000)]
Merge "Update data saver icon" into nyc-dev

8 years agoUpdate data saver icon
Jason Monk [Tue, 5 Apr 2016 16:36:24 +0000 (12:36 -0400)]
Update data saver icon

Change-Id: I9ffd81224da2601a9c4618da04a058da1c08d38e
Fixes: 28004364

8 years agoMerge "Listen on new broadcasts for profile changes." into nyc-dev
Rubin Xu [Tue, 5 Apr 2016 14:52:00 +0000 (14:52 +0000)]
Merge "Listen on new broadcasts for profile changes." into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Bill Yi [Tue, 5 Apr 2016 03:22:40 +0000 (03:22 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 5 Apr 2016 01:10:36 +0000 (18:10 -0700)]
Import translations. DO NOT MERGE

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

8 years agoMerge "Adds a multi line preference class." into nyc-dev
Udam Saini [Mon, 4 Apr 2016 20:06:29 +0000 (20:06 +0000)]
Merge "Adds a multi line preference class." into nyc-dev

8 years agoMerge "Show fewer filters on notifications page." into nyc-dev
Julia Reynolds [Mon, 4 Apr 2016 19:39:26 +0000 (19:39 +0000)]
Merge "Show fewer filters on notifications page." into nyc-dev

8 years agoMerge "Fix ringtone persistance after device rotation." into nyc-dev
Julia Reynolds [Mon, 4 Apr 2016 19:39:13 +0000 (19:39 +0000)]
Merge "Fix ringtone persistance after device rotation." into nyc-dev

8 years agoMerge "Add moar dividers" into nyc-dev
Jason Monk [Mon, 4 Apr 2016 19:29:55 +0000 (19:29 +0000)]
Merge "Add moar dividers" into nyc-dev

8 years agoShow fewer filters on notifications page.
Julia Reynolds [Fri, 1 Apr 2016 14:58:34 +0000 (10:58 -0400)]
Show fewer filters on notifications page.

Bug: 27834480
Change-Id: Ibdc9924a7ea1b1db7be089507485de5c4fd41b58

8 years agoFix ringtone persistance after device rotation.
Julia Reynolds [Fri, 1 Apr 2016 18:45:58 +0000 (14:45 -0400)]
Fix ringtone persistance after device rotation.

Bug: 26122624
Change-Id: I187fe673dea250e93c6e9603239f01845ed378a3

8 years agoMerge "Set LinkMovementMethod in LinkTextView" into nyc-dev
Maurice Lam [Mon, 4 Apr 2016 17:57:52 +0000 (17:57 +0000)]
Merge "Set LinkMovementMethod in LinkTextView" into nyc-dev

8 years agoMerge "Fix PhysicalKeyboardFragment crash bug." into nyc-dev
Yohei Yukawa [Mon, 4 Apr 2016 17:28:22 +0000 (17:28 +0000)]
Merge "Fix PhysicalKeyboardFragment crash bug." into nyc-dev

8 years agoAdd moar dividers
Jason Monk [Mon, 4 Apr 2016 17:20:59 +0000 (13:20 -0400)]
Add moar dividers

Bug: 27834471
Change-Id: I575040edcdf76124f21a667e64762acb86a65cb2

8 years agoListen on new broadcasts for profile changes.
Rubin Xu [Mon, 4 Apr 2016 16:23:46 +0000 (17:23 +0100)]
Listen on new broadcasts for profile changes.

The change is due to API review comments on the platform side.

Bug: 27532254
Change-Id: Iacb87f97148ceead6bf1f1cc7a0671711698b061

8 years agoAllow user to hide sensitive notifications with no work challenge
Daniel U [Fri, 1 Apr 2016 17:44:13 +0000 (18:44 +0100)]
Allow user to hide sensitive notifications with no work challenge

When a user upgrades to N, her work profile is automatically
unified even though no work challenge setting is shown to the user
if the user has not upgraded her DPC. Allow the user to hide
sensitive notifications based on whethere there's a profile, but not
on whether there is a work challenge.

Bug:27673591
Change-Id: Iec41dda2d9e479597b3e593e7f9b7f1c0fcd2a49

8 years agoMerge "Hide repeat callers instead of disabling." into nyc-dev
Julia Reynolds [Mon, 4 Apr 2016 13:52:35 +0000 (13:52 +0000)]
Merge "Hide repeat callers instead of disabling." into nyc-dev

8 years agoMerge "Lowercase s." into nyc-dev
Julia Reynolds [Mon, 4 Apr 2016 13:52:27 +0000 (13:52 +0000)]
Merge "Lowercase s." into nyc-dev

8 years agoMerge "Remove fullstop at end of phrases" into nyc-dev
Clara Bayarri [Mon, 4 Apr 2016 12:17:00 +0000 (12:17 +0000)]
Merge "Remove fullstop at end of phrases" into nyc-dev

8 years agoMerge "Mark UI components for tests to find." into nyc-dev
Jeff Sharkey [Sun, 3 Apr 2016 03:59:21 +0000 (03:59 +0000)]
Merge "Mark UI components for tests to find." into nyc-dev

8 years agoMark UI components for tests to find.
Jeff Sharkey [Sat, 2 Apr 2016 05:12:45 +0000 (23:12 -0600)]
Mark UI components for tests to find.

Bug: 26498834
Change-Id: Id8ade0b9230a946c7facf8ebaf9700c196b31ee3

8 years agoMerge "Revert "Fix no keyboard on N builds"" into nyc-dev
Yohei Yukawa [Sat, 2 Apr 2016 02:35:14 +0000 (02:35 +0000)]
Merge "Revert "Fix no keyboard on N builds"" into nyc-dev

8 years agoRevert "Fix no keyboard on N builds"
Yohei Yukawa [Sat, 2 Apr 2016 00:20:37 +0000 (17:20 -0700)]
Revert "Fix no keyboard on N builds"

This reverts the previous commit [1] since the keyboard shows up without
such a workaround.  Presumably someone might have fixed something in
somewhere.

 [1]: Ifd588bf7db76f9ea5d6a90854f8e92f86f4c2910
      250faf9243a3e7981695be5274f3352ac1fd41bd.

Bug: 25942488
Bug: 26190615
Change-Id: Ie0e0ead960473a3504fc88a4f7d4d18108ef0e18

8 years agoSet LinkMovementMethod in LinkTextView
Maurice Lam [Sat, 2 Apr 2016 00:09:56 +0000 (17:09 -0700)]
Set LinkMovementMethod in LinkTextView

With ag/899084 TextView no longer automatically sets the
LinkMovementMethod when setText is called with a ClickableSpan.
So in LinkTextView we do that manually instead.

Bug: 27973982
Change-Id: I86626bd71bf2ca41cb7e73d479ba764e809b0190

8 years agoMerge "Fix crash in ConfirmDeviceCredentials" into nyc-dev
Jim Miller [Fri, 1 Apr 2016 22:14:44 +0000 (22:14 +0000)]
Merge "Fix crash in ConfirmDeviceCredentials" into nyc-dev

8 years agoAdd Tron Logging to portion of A11y SUW that lives in Settings.
Anna Galusza [Tue, 22 Mar 2016 20:07:44 +0000 (13:07 -0700)]
Add Tron Logging to portion of A11y SUW that lives in Settings.
Bug: 27777706

Change-Id: I0c0f0f1c30ba5b1d40bc4e74faadacbdb93dbc51

8 years agoMerge "MVNO value is not grayed out when MVNO type is none" into nyc-dev
Amit Mahajan [Fri, 1 Apr 2016 18:58:25 +0000 (18:58 +0000)]
Merge "MVNO value is not grayed out when MVNO type is none" into nyc-dev

8 years agoMVNO value is not grayed out when MVNO type is none
Wei Huang [Thu, 17 Apr 2014 05:10:50 +0000 (14:10 +0900)]
MVNO value is not grayed out when MVNO type is none

MVNO type is judged as none by comparing key string to "None",
but this logic does not work when language setting is non English
because key is not "None" due to translation.

Bug: 27267663
Change-Id: Ic39a084cd77f661f833b13106dc28444926487d8

8 years agoUse normal button style for Clear data / cache buttons
Alan Viverette [Fri, 1 Apr 2016 15:12:24 +0000 (11:12 -0400)]
Use normal button style for Clear data / cache buttons

Bug: 27967106
Change-Id: I251edc122a74c69e8174b8467c36c28ca47aa853

8 years agoMerge "Adding "wifi only" option for wifi calling." into nyc-dev
Tyler Gunn [Fri, 1 Apr 2016 15:43:08 +0000 (15:43 +0000)]
Merge "Adding "wifi only" option for wifi calling." into nyc-dev

8 years agoAdding "wifi only" option for wifi calling.
Tyler Gunn [Fri, 1 Apr 2016 15:41:18 +0000 (08:41 -0700)]
Adding "wifi only" option for wifi calling.

- Added "wifi-only" option to the list of wifi calling modes.
- Added code in settings initialization to check whether the carrier
supports including the wifi-only option.  If it does not, changes the
entries/values to a ser which does not include the wifi-only option.

Bug: 27858149
Change-Id: Ib02a97afcf6f2722c28b7a4d9c241774944c52d0

8 years agoHide repeat callers instead of disabling.
Julia Reynolds [Fri, 1 Apr 2016 14:54:34 +0000 (10:54 -0400)]
Hide repeat callers instead of disabling.

Bug: 27724390
Change-Id: I4f538138d010f306ce6467122c8aef89eaa81ed5

8 years agoLowercase s.
Julia Reynolds [Fri, 1 Apr 2016 14:53:10 +0000 (10:53 -0400)]
Lowercase s.

Bug: 27853578
Change-Id: I1c0b3a7fc00ba4f5e8330885213d641aec9518f7

8 years agoAdd null checks on filters.
Julia Reynolds [Fri, 1 Apr 2016 13:47:32 +0000 (09:47 -0400)]
Add null checks on filters.

Bug: 27496323
Change-Id: If8883279af11218042f420509c3a8e7b168c815f

8 years agoRemove fullstop at end of phrases
Clara Bayarri [Wed, 30 Mar 2016 13:58:27 +0000 (14:58 +0100)]
Remove fullstop at end of phrases

Requested by UX

Bug: 27913794
Change-Id: Ieb6ace1236787128825e39c310331603f574a32b

8 years agoFix PhysicalKeyboardFragment crash bug.
Yohei Yukawa [Fri, 1 Apr 2016 10:53:34 +0000 (03:53 -0700)]
Fix PhysicalKeyboardFragment crash bug.

The root cause of crash bug #27749932 is that the state mismatch between
when a Loader is created and when the Loader object finishes background
task.  We can easily reproduce this crash by:
  1. Pair two hardware keyboard A and B.
  2. Open Physical Keyboard settings.
  3. Press the power button to turn off the display.
  4. Move keyboard A far away so that it is unpaired.
  5. Press the power button to turn on the display.
  6. Unlock the device.

One of the reasons PhysicalKeyboardFragment was unstable is that loader
ID reuse.  PhysicalKeyboardFragment starts background data loading
because of many events such as #onResume() and #onInputDeviceAdded() but
there are chances that loader ID was reused because we specified
hardware keyboard device index as the loader ID.  This was dangerous
also because device index can change when a device is added and removed.
With his CL each loader object has an unique ID and
PhysicalKeyboardFragment keeps tracking the list of active Loader IDs
only from which PhysicalKeyboardFragment should accept data.

Also, this CL removes dependencies on PhysicalKeyboardFragment from each
loader object so that we can have a clear boundary of responsibility
between data loader and data consumer.

Bug: 27749932
Change-Id: I53fcb2426d028a492c775bb2b4ec6a5419e33bb4

8 years agoMerge "Change Work Challenge background image" into nyc-dev
Clara Bayarri [Fri, 1 Apr 2016 11:18:24 +0000 (11:18 +0000)]
Merge "Change Work Challenge background image" into nyc-dev

8 years agoFix jank when dismissing InputMethodAndSubtypeEnabler.
Yohei Yukawa [Fri, 1 Apr 2016 05:58:33 +0000 (22:58 -0700)]
Fix jank when dismissing InputMethodAndSubtypeEnabler.

InputMethodAndSubtypeUtil#saveInputMethodSubtypeList() has a bug that
it saves implicitly enabled subtypes when "Use system languages" is
checked.  Implicitly enabled subtypes are transient data and the system
should have only a null data (0) in the persistent strage.  The root
cause of this bug is that the method in question has not checked whether
the preference item is in enabled (not grayed-out).   If it is
grayed-out, its checked state does not mean that the user manually
checked that subtype but it is just an indicator for the user.

The strange UI jank when dismissing InputMethodAndSubtypeEnabler is one
of the victim of the above bug because we have worked around it by
actually changing checked state before calling the method in question.

With this CL we no longer need to update preference items in
InputMethodAndSubtypeEnabler#onPause().

Bug: 27867966
Change-Id: Ifc291d77ea41a988438765b9ba16bc5d18a15e1b

8 years agoMerge "Fixes graybar as status bar and unshifts header view." into nyc-dev
Udam Saini [Thu, 31 Mar 2016 20:30:28 +0000 (20:30 +0000)]
Merge "Fixes graybar as status bar and unshifts header view." into nyc-dev

8 years agoMerge "Prevents users from being added if device is not provisioned" into nyc-dev
Udam Saini [Thu, 31 Mar 2016 20:13:39 +0000 (20:13 +0000)]
Merge "Prevents users from being added if device is not provisioned" into nyc-dev

8 years agoMerge "Track in-progress wallpaper API changes" into nyc-dev
Chris Tate [Thu, 31 Mar 2016 19:24:41 +0000 (19:24 +0000)]
Merge "Track in-progress wallpaper API changes" into nyc-dev

8 years agoMerge "DISALLOW_CONFIG_CREDENTIALS blocks user credentials" into nyc-dev
Robin Lee [Thu, 31 Mar 2016 18:44:21 +0000 (18:44 +0000)]
Merge "DISALLOW_CONFIG_CREDENTIALS blocks user credentials" into nyc-dev

8 years agoMerge "Fix missing summaries" into nyc-dev
Jason Monk [Thu, 31 Mar 2016 18:00:54 +0000 (18:00 +0000)]
Merge "Fix missing summaries" into nyc-dev

8 years agoFix missing summaries
Jason Monk [Thu, 31 Mar 2016 17:59:46 +0000 (13:59 -0400)]
Fix missing summaries

Handle non-cached tiles by doing lookup from component name.

Change-Id: I979e2df2eed4a065f290c5c0e66276d08b4fb0af
Fixes: 27942733

8 years agoDISALLOW_CONFIG_CREDENTIALS blocks user credentials
Robin Lee [Fri, 11 Mar 2016 16:22:23 +0000 (16:22 +0000)]
DISALLOW_CONFIG_CREDENTIALS blocks user credentials

All settings preferences related to credentials of any kind should be
stopped by this user restriction.

Bug: 26879958
Change-Id: I983c6e58081bd4022bb006942499cba4b74954e7

8 years agoMerge "Use same task for Settings>Users and EmergencyInfo" into nyc-dev
Maria Garcia Puyol [Thu, 31 Mar 2016 17:38:55 +0000 (17:38 +0000)]
Merge "Use same task for Settings>Users and EmergencyInfo" into nyc-dev

8 years agoMerge "Show notification when failing to turn on always-on vpn" into nyc-dev
Victor Chang [Thu, 31 Mar 2016 17:04:53 +0000 (17:04 +0000)]
Merge "Show notification when failing to turn on always-on vpn" into nyc-dev

8 years agoTrack in-progress wallpaper API changes
Christopher Tate [Thu, 31 Mar 2016 16:56:37 +0000 (09:56 -0700)]
Track in-progress wallpaper API changes

FLAG_*, not FLAG_SET_*

Bug 27365822

Change-Id: I5cb4dbfd251519a80997a86d3010f19240b9ff23

8 years agoShow notification when failing to turn on always-on vpn
Victor Chang [Mon, 21 Mar 2016 22:57:59 +0000 (22:57 +0000)]
Show notification when failing to turn on always-on vpn

- Notification icon is Settings icon
- VpnName is obtained as the same way as AppPreference
- Post notification as the current user with PendingIntent to VpnSettings to parent user
- Auto-cancel when user taps on the notification
- This implementation posts notification only when the failure happens sychronously
  (Assume ConnectivityService only unset always-on package immediately after calling setAlwaysOnVpnPackageForUser)

Bug:27374485
Change-Id: I0aee38498c8cc300dd8eb9687adcae5f9dc4f8af

8 years agoMerge "Fix categeries being read out on settings dashboard" into nyc-dev
Jason Monk [Thu, 31 Mar 2016 14:36:44 +0000 (14:36 +0000)]
Merge "Fix categeries being read out on settings dashboard" into nyc-dev

8 years agoFix categeries being read out on settings dashboard
Jason Monk [Thu, 31 Mar 2016 14:35:03 +0000 (10:35 -0400)]
Fix categeries being read out on settings dashboard

Change-Id: Ica0eec62a532fa40b57553e8e3d9fba1cba3bd4e
Fixes: 26125682