OSDN Git Service

android-x86/packages-apps-Settings.git
8 years agoMerge "Don\'t crash trying to disable lockdown VPN" into nyc-dev
Robin Lee [Wed, 25 May 2016 21:19:23 +0000 (21:19 +0000)]
Merge "Don\'t crash trying to disable lockdown VPN" into nyc-dev
am: a6269236a2

* commit 'a6269236a24e00947efd3471f2901783413d56e5':
  Don't crash trying to disable lockdown VPN

Change-Id: I71ecde2a45a26c775f5738c232b7d0da834af42a

8 years agoMerge "Don't crash trying to disable lockdown VPN" into nyc-dev
Robin Lee [Wed, 25 May 2016 21:05:53 +0000 (21:05 +0000)]
Merge "Don't crash trying to disable lockdown VPN" into nyc-dev

8 years agoMerge "Update the summary strings in the Deletion Helper to match the latest mocks...
Daniel Nishi [Wed, 25 May 2016 20:02:25 +0000 (20:02 +0000)]
Merge "Update the summary strings in the Deletion Helper to match the latest mocks." into nyc-mr1-dev

8 years agoMerge "Hook up the automatic storage manager settings with the flag." into nyc-mr1-dev
Daniel Nishi [Wed, 25 May 2016 19:55:57 +0000 (19:55 +0000)]
Merge "Hook up the automatic storage manager settings with the flag." into nyc-mr1-dev

8 years agoMerge "More theming fixes." into nyc-mr1-dev
Andrew Sapperstein [Wed, 25 May 2016 19:40:50 +0000 (19:40 +0000)]
Merge "More theming fixes." into nyc-mr1-dev

8 years agoMerge "Skip indexing content while user is locked." into nyc-dev
Jeff Sharkey [Wed, 25 May 2016 18:30:30 +0000 (18:30 +0000)]
Merge "Skip indexing content while user is locked." into nyc-dev
am: c416433a9e

* commit 'c416433a9ee55e2ac44fdb8e6c6d6ca4ed4cde62':
  Skip indexing content while user is locked.

Change-Id: I749bebca289615b2a68fb87e463cadee4fb8840e

8 years agoDon\'t update conditions on background threads
Jason Monk [Wed, 25 May 2016 18:28:02 +0000 (18:28 +0000)]
Don\'t update conditions on background threads
am: 6cb280d146

* commit '6cb280d14641327b32378504544d125bbc3bcaf3':
  Don't update conditions on background threads

Change-Id: I446e85dc5462e3c06a75e2e53f1990990bb06f48

8 years agoMerge "Skip indexing content while user is locked." into nyc-dev
TreeHugger Robot [Wed, 25 May 2016 18:27:29 +0000 (18:27 +0000)]
Merge "Skip indexing content while user is locked." into nyc-dev

8 years agoUpdate the summary strings in the Deletion Helper to match the latest mocks.
Daniel Nishi [Tue, 24 May 2016 01:11:49 +0000 (18:11 -0700)]
Update the summary strings in the Deletion Helper to match the latest mocks.

Bug: 28917902
Change-Id: I35af7483f2a97dffc230093a90f0b7d87a4532c1

8 years agoMore theming fixes.
Andrew Sapperstein [Wed, 25 May 2016 01:07:48 +0000 (18:07 -0700)]
More theming fixes.

Updated the importance seekbar to use colorAccent instead of a hardcoded
color.

Refactored the various gear icons to all use ic_settings (a rename of
ic_bt_config). Deleted the png version (ic_sysbar_quicksettings).

Cleaned up the add icon. Now there are two vector drawables (one white,
one tinted with the accent color). Deleted the existing pngs and updated
the usages to use one of the two vector drawables. Deleted the theme
attr for ic_menu_add that had no usages.

BUG: 28760785

Change-Id: Icd5561d5b3f5ddee8aab78a3da7daa2dca0e30e3

8 years agoMerge "Fix confirm lock UI theme." into nyc-mr1-dev
Andrew Sapperstein [Wed, 25 May 2016 17:16:09 +0000 (17:16 +0000)]
Merge "Fix confirm lock UI theme." into nyc-mr1-dev

8 years agoHook up the automatic storage manager settings with the flag.
Daniel Nishi [Mon, 23 May 2016 21:20:36 +0000 (14:20 -0700)]
Hook up the automatic storage manager settings with the flag.

This allows the settings menu to actually toggle the feature on
and off.

Bug: 28905328
Change-Id: I132c0930970b70a0f88b8fc21e85b6829aaef8c8

8 years agoDon't update conditions on background threads
Jason Monk [Wed, 25 May 2016 16:53:34 +0000 (12:53 -0400)]
Don't update conditions on background threads

Instead build a list and set it on the main thread to avoid
concurrent modification crashes.

Change-Id: I936fbeb70359583e55ae8ddcb0ea46b5753cb3b0
Fixes: 28794277

8 years agoSkip indexing content while user is locked.
Jeff Sharkey [Wed, 25 May 2016 16:52:33 +0000 (10:52 -0600)]
Skip indexing content while user is locked.

Otherwise we try touching printing services which throw.

Bug: 28912897
Change-Id: I25638794b35fd383fbe67604ac921d16743628ad

8 years agoHide work profile key in user credentials screen
Ricky Wai [Wed, 25 May 2016 13:18:43 +0000 (13:18 +0000)]
Hide work profile key in user credentials screen
am: 9579274cda

* commit '9579274cda38c552b43febe0980f0ec6bd07277d':
  Hide work profile key in user credentials screen

Change-Id: I1b0b50a5ff0cc8dd0bef132ac63790c677bba188

8 years agoHide work profile key in user credentials screen
Ricky Wai [Tue, 24 May 2016 18:28:53 +0000 (19:28 +0100)]
Hide work profile key in user credentials screen

Bug: 28878708
Change-Id: Ic9733ea973e1cc37028cb5f740969b5e24fb5aef

8 years agoFix confirm lock UI theme.
Andrew Sapperstein [Mon, 23 May 2016 23:38:28 +0000 (16:38 -0700)]
Fix confirm lock UI theme.

Now uses colorPrimary as its background color and sets colorAccent
directly. Some other mild cleanup as well.

BUG: 28760785

Change-Id: Ib8e5140b789449e518b498bc49438cb4a2bc6451

8 years agoUpdate color bar defaults to use theme attr colors
Andrew Sapperstein [Sat, 21 May 2016 01:38:01 +0000 (18:38 -0700)]
Update color bar defaults to use theme attr colors

Previously the values were hardcoded. Now the default value
for left and middle are colorAccent. Also updated SummaryPreference
to not call LinearColorBar.setColors unless its own setColors is called.

BUG: 28760785

Change-Id: Id28e809e6b5f0f6508258c995d5dcfacbc9c8725

8 years agoUpdate Theme.DialogWhenLarge to use theme colors.
Andrew Sapperstein [Fri, 20 May 2016 23:50:35 +0000 (16:50 -0700)]
Update Theme.DialogWhenLarge to use theme colors.

This theme is at least used by the Phone Status activity and probably
others as well.

BUG: 28760785

Change-Id: If3faa84ad9d291f007c7191f1c0dba8d98fe9bf8

8 years agoUpdate alertDialogTheme to use proper colorAccent.
Andrew Sapperstein [Thu, 19 May 2016 20:48:53 +0000 (13:48 -0700)]
Update alertDialogTheme to use proper colorAccent.

The settings dialogs were all using the default colorAccent.
Now it uses the app's version.

BUG: 28760785

Change-Id: Ic9bf90745db7d2ef5b1fd047474bab5c6bbdab23

8 years agoMerge "Remove option to configure emergency app" into nyc-dev
Adrian Roos [Wed, 25 May 2016 00:23:28 +0000 (00:23 +0000)]
Merge "Remove option to configure emergency app" into nyc-dev
am: 06b7d7cdf9

* commit '06b7d7cdf954902dad8fde766fe54ea315a463b3':
  Remove option to configure emergency app

Change-Id: Ia306455b8fe44d6e42493937fce6ad92904737fe

8 years agoMerge "Remove option to configure emergency app" into nyc-dev
TreeHugger Robot [Wed, 25 May 2016 00:17:20 +0000 (00:17 +0000)]
Merge "Remove option to configure emergency app" into nyc-dev

8 years agoMerge "Replace bluetooth pngs with vector drawables." into nyc-mr1-dev
TreeHugger Robot [Tue, 24 May 2016 23:50:29 +0000 (23:50 +0000)]
Merge "Replace bluetooth pngs with vector drawables." into nyc-mr1-dev

8 years agoReplace bluetooth pngs with vector drawables.
Andrew Sapperstein [Thu, 19 May 2016 01:03:25 +0000 (18:03 -0700)]
Replace bluetooth pngs with vector drawables.

The current pngs are hardcoded to the green accent color.
Instead, the new vector drawable replacements have colorAccent
set as a tint.

BUG: 28760785
Change-Id: I01853d4e93bca6651460ad86505d0943dc68bf93

8 years agoChange Downloads to show individual files in the Deletion Helper.
Daniel Nishi [Fri, 20 May 2016 18:07:12 +0000 (11:07 -0700)]
Change Downloads to show individual files in the Deletion Helper.

The first implementation simply had every file in the Downloads folder
be under a single checkbox. This iteration makes Downloads an
expandable dropdown preference listing every single file individually
for selection to be deleted.

Bug: 28621781
Change-Id: I5169caf718cee4c0fa7f0248bc4c443984766005

8 years agoMerge "Update the storage manager settings to match the mocks." into nyc-mr1-dev
Daniel Nishi [Tue, 24 May 2016 21:18:39 +0000 (21:18 +0000)]
Merge "Update the storage manager settings to match the mocks." into nyc-mr1-dev

8 years agoMerge "Refactor Settings theme colors." into nyc-mr1-dev
TreeHugger Robot [Tue, 24 May 2016 21:13:23 +0000 (21:13 +0000)]
Merge "Refactor Settings theme colors." into nyc-mr1-dev

8 years agoRefactor Settings theme colors.
Andrew Sapperstein [Tue, 17 May 2016 00:27:12 +0000 (17:27 -0700)]
Refactor Settings theme colors.

Introduces stock colors (primary_color, primary_dark_color, etc) to allow
overriding the colors via resource overlays.

Creates new colorSecondary attribute and updates switches to use theme
attributes for foreground/background colors rather than hardcoded values.

Some other mild color cleanup to make things more straightforward.

BUG: 28760785
Change-Id: I4deba962357217bdb2e08c08e8f83b9b57a683d4

8 years agoMerge "Fix a crash where the deletion helper crashes when app sizes load." into nyc...
Daniel Nishi [Tue, 24 May 2016 15:36:22 +0000 (15:36 +0000)]
Merge "Fix a crash where the deletion helper crashes when app sizes load." into nyc-mr1-dev

8 years agoMerge "Trust the certificate after unlocking screenlock" into nyc-dev
Victor Chang [Tue, 24 May 2016 14:20:01 +0000 (14:20 +0000)]
Merge "Trust the certificate after unlocking screenlock" into nyc-dev
am: 32e17d0862

* commit '32e17d08629e745cb21ba381f752ec84d2ed591e':
  Trust the certificate after unlocking screenlock

Change-Id: Ib9e51ab5dac5d0f9a7e938a056cd99a0af4c22de

8 years agoMerge "Trust the certificate after unlocking screenlock" into nyc-dev
Victor Chang [Tue, 24 May 2016 14:03:28 +0000 (14:03 +0000)]
Merge "Trust the certificate after unlocking screenlock" into nyc-dev

8 years agoMerge "Disallow OEM unlock when DISALLOW_FACTORY_RESET applies" into nyc-mr1-dev
Mahaver Chopra [Tue, 24 May 2016 12:23:20 +0000 (12:23 +0000)]
Merge "Disallow OEM unlock when DISALLOW_FACTORY_RESET applies" into nyc-mr1-dev

8 years agoDisallow OEM unlock when DISALLOW_FACTORY_RESET applies
Mahaver Chopra [Wed, 11 May 2016 17:18:23 +0000 (18:18 +0100)]
Disallow OEM unlock when DISALLOW_FACTORY_RESET applies

Bug: 28339424
Change-Id: I2ccba997fc6c9ccfab802c0f49a9e2115a314552

8 years agoMerge "Update margins to match specs" into nyc-mr1-dev
Maurice Lam [Tue, 24 May 2016 00:45:14 +0000 (00:45 +0000)]
Merge "Update margins to match specs" into nyc-mr1-dev

8 years agoUpdate margins to match specs
Maurice Lam [Mon, 23 May 2016 21:51:22 +0000 (14:51 -0700)]
Update margins to match specs

- Update settings to use GLIF versions for margins and styles
- Removed learn more link from AOSP Fingerprint intro screen because
  it won't have a link to show.

Bug: 28885476
Change-Id: I5d2fd730a1bca2c5da8626da066da3a3f03b4428

8 years agoUpdate the storage manager settings to match the mocks.
Daniel Nishi [Thu, 19 May 2016 23:35:44 +0000 (16:35 -0700)]
Update the storage manager settings to match the mocks.

Bug: 28560570
Change-Id: I0f218da1d23b687e38c52b5a927f7b84645958c7

8 years agoMerge "Materialize the button bar in the Deletion Helper." into nyc-mr1-dev
Daniel Nishi [Mon, 23 May 2016 20:23:47 +0000 (20:23 +0000)]
Merge "Materialize the button bar in the Deletion Helper." into nyc-mr1-dev

8 years agoTrust the certificate after unlocking screenlock
Victor Chang [Mon, 23 May 2016 18:47:38 +0000 (19:47 +0100)]
Trust the certificate after unlocking screenlock

When trust button is clicked, if ConfirmCredential (CC) is shown,
and user successfully unlock CC, trust the cert immediately

Bug: 28752364
Change-Id: Ied4aeda59a668a9dd2bf079a385b1fecd8eabb9e

8 years agoMerge "Add skip button to fingerprint settings" into nyc-mr1-dev
Maurice Lam [Mon, 23 May 2016 17:56:01 +0000 (17:56 +0000)]
Merge "Add skip button to fingerprint settings" into nyc-mr1-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Bill Yi [Mon, 23 May 2016 15:42:21 +0000 (15:42 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev
am: dad7b893b2  -s ours

* commit 'dad7b893b2d2a526f66ed344738c83f24b56106a':
  Import translations. DO NOT MERGE

Change-Id: Id29af55504af4e8cae67098379244cb9ec2e2db9

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
TreeHugger Robot [Mon, 23 May 2016 15:35:34 +0000 (15:35 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Mon, 23 May 2016 15:34:19 +0000 (15:34 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

8 years agoMerge "Fixed whitelist stats so it\'s only logged on add." into nyc-dev
Felipe Leme [Mon, 23 May 2016 13:54:17 +0000 (13:54 +0000)]
Merge "Fixed whitelist stats so it\'s only logged on add." into nyc-dev
am: b103f4497d

* commit 'b103f4497d0137fb47ebb51d5d26901300071fce':
  Fixed whitelist stats so it's only logged on add.

Change-Id: I46dcd529ac09bcf6f152f034847cd11a8d4b24f1

8 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 23 May 2016 13:48:26 +0000 (06:48 -0700)]
Import translations. DO NOT MERGE

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

8 years agoMerge "Fixed whitelist stats so it's only logged on add." into nyc-dev
TreeHugger Robot [Mon, 23 May 2016 13:45:55 +0000 (13:45 +0000)]
Merge "Fixed whitelist stats so it's only logged on add." into nyc-dev

8 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 23 May 2016 13:35:00 +0000 (06:35 -0700)]
Import translations. DO NOT MERGE

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

8 years agoMerge "Fix Continous loop in unifed screenlock when trying to Trust a CA cert" into...
Victor Chang [Mon, 23 May 2016 11:59:19 +0000 (11:59 +0000)]
Merge "Fix Continous loop in unifed screenlock when trying to Trust a CA cert" into nyc-dev
am: b0054ec4e2

* commit 'b0054ec4e2275d8d0444b94c0560374630e077f6':
  Fix Continous loop in unifed screenlock when trying to Trust a CA cert

Change-Id: I01cd2b287d78484c1653476b75b6d300dec0c34d

8 years agoMerge "Fix Continous loop in unifed screenlock when trying to Trust a CA cert" into...
Victor Chang [Mon, 23 May 2016 11:51:54 +0000 (11:51 +0000)]
Merge "Fix Continous loop in unifed screenlock when trying to Trust a CA cert" into nyc-dev

8 years agoImport translations. DO NOT MERGE
Baligh Uddin [Sun, 22 May 2016 23:20:05 +0000 (23:20 +0000)]
Import translations. DO NOT MERGE
am: ffe930ec76  -s ours

* commit 'ffe930ec76e8bf2ca0ffaffffea60b452e1ad88c':
  Import translations. DO NOT MERGE

Change-Id: Ie71c67e0abd0b08ced8672cae96d4800337c6992

8 years agoImport translations. DO NOT MERGE
Baligh Uddin [Sat, 21 May 2016 20:10:17 +0000 (13:10 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 28857042
Change-Id: I2ef0467d8a959436073642564afcb8fd25d3d09e

8 years agoAdd skip button to fingerprint settings
Maurice Lam [Sat, 21 May 2016 02:03:25 +0000 (19:03 -0700)]
Add skip button to fingerprint settings

The landscape layout was missing the fingerprint button

Bug: 28810925
Change-Id: Ic47242abdac61985f86cc4837f1c25801ee1248c

8 years agoMaterialize the button bar in the Deletion Helper.
Daniel Nishi [Wed, 18 May 2016 22:38:35 +0000 (15:38 -0700)]
Materialize the button bar in the Deletion Helper.

Older Android style buttons were used for the bottom button bar.
By changing them to use the buttonBarBottomStyle, they are updated
to flat buttons. The bottom button bar for settings preference
fragments now more closely tracks the Material Design spec as seen
here in [0].

The other Settings views which use the button bar buttons are the
Redaction settings and WiFi network picker in some contexts. These
should be unaffected as they are based on the SettingsActivity,
rather than the SettingsFragment, and inflate a different view.

[0] https://material-design.storage.googleapis.com/publish/material_v_8/material_ext_publish/0B7WCemMG6e0VaDdZWXpLXzNicjg/components_buttons_usage6.png

Bug: 28845586
Change-Id: I9ea55aa2fe1e76f8f952880675501cbb0f76719d

8 years agoMerge "Defined help page for Data Saver." into nyc-dev
Felipe Leme [Fri, 20 May 2016 22:06:06 +0000 (22:06 +0000)]
Merge "Defined help page for Data Saver." into nyc-dev
am: f8265a8f1e

* commit 'f8265a8f1ed751d93ef15596658b82748d2a8d28':
  Defined help page for Data Saver.

Change-Id: I1430270ab4ac368a6909038ad90816ba67e1d664

8 years agoRemove option to configure emergency app
Adrian Roos [Fri, 20 May 2016 21:36:22 +0000 (14:36 -0700)]
Remove option to configure emergency app

Bug: 28873644
Change-Id: Iddf4e781af8cb3ca3b62d1141c58402933bd8ec8

8 years agoMerge "Defined help page for Data Saver." into nyc-dev
Felipe Leme [Fri, 20 May 2016 21:27:57 +0000 (21:27 +0000)]
Merge "Defined help page for Data Saver." into nyc-dev

8 years agoFixed whitelist stats so it's only logged on add.
Felipe Leme [Fri, 20 May 2016 21:13:22 +0000 (14:13 -0700)]
Fixed whitelist stats so it's only logged on add.

BUG: 28166693
Change-Id: If1f91167c21054e78a966670c20c174c3f73d2a5

8 years agoFix a crash where the deletion helper crashes when app sizes load.
Daniel Nishi [Fri, 20 May 2016 21:11:27 +0000 (14:11 -0700)]
Fix a crash where the deletion helper crashes when app sizes load.

This was caused by a change I made to the extraInfo on the app.
The extra info used to be a long which was the last usage time.
I changed it to a UsageStatsState and missed this usage of it.
The attempted cast to long caused a crash.

Bug: 28885317
Change-Id: Ie0d6bcea5d0afccd2762acd19d628c742c7e3db9

8 years agoMerge "Protect against monkey crash" into nyc-dev
Jason Monk [Fri, 20 May 2016 18:24:35 +0000 (18:24 +0000)]
Merge "Protect against monkey crash" into nyc-dev
am: d3ce331b94

* commit 'd3ce331b94af2c896864f78459c8656629d3455f':
  Protect against monkey crash

Change-Id: Ie079d13887e9159d78ef5485bfa96878cee01d6a

8 years agoMerge "Protect against monkey crash" into nyc-dev
Jason Monk [Fri, 20 May 2016 18:21:08 +0000 (18:21 +0000)]
Merge "Protect against monkey crash" into nyc-dev

8 years agoProtect against monkey crash
Jason Monk [Fri, 20 May 2016 18:15:10 +0000 (14:15 -0400)]
Protect against monkey crash

When rebuild comes in after context is no longer valid

Change-Id: Ib64e93372bff4c6b0e1232ac257f3df0e9d0be0a
Fixes: 28875397

8 years agoFix Continous loop in unifed screenlock when trying to Trust a CA cert
Victor Chang [Fri, 13 May 2016 16:06:59 +0000 (17:06 +0100)]
Fix Continous loop in unifed screenlock when trying to Trust a CA cert

Cause: with unified screenlock, ConfirmDeviceCredentialActivity didn't
forward result with FLAG_ACTIVITY_FORWARD_RESULT

Also, fixed that ConfirmDeviceCredentialActivity didn't allow fingerprint
authenication in unified screenlock after keystore unlocked.

In ChooseLockSettingsHelper, add one new util function to allow
extra option to set returnCredentials to false while external to true.

Set StrongAuth to "not required" when it has been successfully unlocked.

Test:
1. PO Unified Screenlock/Work Challenge x fingerprint -> ok to trust cert
   (Also, no credential is returned in intent)
2. WorkMode off -> Reboot -> turn on Work mode
   -> no fingerprint option, PIN unlock successful to turn work mode on

Bug: 28752364
Change-Id: I6dc8865e8f005545f8577d7731afb4495647062b

8 years agoMerge "Temp fix for NPE when race condition happens in TrustedCredentialsSettings...
Victor Chang [Fri, 20 May 2016 17:30:38 +0000 (17:30 +0000)]
Merge "Temp fix for NPE when race condition happens in TrustedCredentialsSettings" into nyc-dev
am: 99a88eca78

* commit '99a88eca7840af3cee8ab13a82c12e3217ea6120':
  Temp fix for NPE when race condition happens in TrustedCredentialsSettings

Change-Id: I9106b6bee11927b909fcfbc417941d0cead07691

8 years agoMerge "Temp fix for NPE when race condition happens in TrustedCredentialsSettings...
Victor Chang [Fri, 20 May 2016 17:19:42 +0000 (17:19 +0000)]
Merge "Temp fix for NPE when race condition happens in TrustedCredentialsSettings" into nyc-dev

8 years agoTemp fix for NPE when race condition happens in TrustedCredentialsSettings
Victor Chang [Tue, 17 May 2016 15:50:08 +0000 (16:50 +0100)]
Temp fix for NPE when race condition happens in TrustedCredentialsSettings

Bug: 28762124
Change-Id: I21e46c2008e106db1c43573171e0d852cbe0a68a

8 years agoDefined help page for Data Saver.
Felipe Leme [Fri, 20 May 2016 00:07:01 +0000 (17:07 -0700)]
Defined help page for Data Saver.

BUG: 28865521
Change-Id: I07930232312df2775ecee5beacee6921f7245847

8 years agoDon\'t use ApplicationsState for summaries
Jason Monk [Fri, 20 May 2016 15:10:20 +0000 (15:10 +0000)]
Don\'t use ApplicationsState for summaries
am: 290ca6ec5c

* commit '290ca6ec5c1f029bff7a43d1d499359e25a41904':
  Don't use ApplicationsState for summaries

Change-Id: I09f949a2606e30c9e56d7c9026c3fa306cfa506a

8 years agoDon't use ApplicationsState for summaries
Jason Monk [Thu, 19 May 2016 19:36:55 +0000 (15:36 -0400)]
Don't use ApplicationsState for summaries

Since it grabs a lock that can be slow on the main thread, don't use
ApplicationsState in any of the summaries, instead load the information
directly from the PM.

Change-Id: Ibefe867810d2a9926177a8de4e23a7faea4b1c3b
Fixes: 28435146

8 years agoMerge "Add a collapsible checkbox preference for deletion helper." into nyc-mr1-dev
Daniel Nishi [Thu, 19 May 2016 21:19:02 +0000 (21:19 +0000)]
Merge "Add a collapsible checkbox preference for deletion helper." into nyc-mr1-dev

8 years agoMerge "Display disclaimer dialog before starting support." into nyc-mr1-dev
TreeHugger Robot [Thu, 19 May 2016 20:41:17 +0000 (20:41 +0000)]
Merge "Display disclaimer dialog before starting support." into nyc-mr1-dev

8 years agoDisplay disclaimer dialog before starting support.
Fan Zhang [Thu, 12 May 2016 20:25:54 +0000 (13:25 -0700)]
Display disclaimer dialog before starting support.

Bug: 28656426
Bug: 28141203
Change-Id: I4fc0d922170badcf5f215fe906fb616c11cf8270

8 years agoHandle return value when Bluetooth is enabled
Sanket Agarwal [Thu, 19 May 2016 18:32:29 +0000 (18:32 +0000)]
Handle return value when Bluetooth is enabled
am: 77ad3c2531

* commit '77ad3c2531c00c7b654162be826e93abb5e4dc75':
  Handle return value when Bluetooth is enabled

Change-Id: I65d2d0b20ed3474f0c8b40a5cd17d12c00283c15

8 years agoHandle return value when Bluetooth is enabled
Sanket Agarwal [Wed, 27 Apr 2016 20:22:44 +0000 (13:22 -0700)]
Handle return value when Bluetooth is enabled

If the Bluetooth enable(true) returns false currently we are waiting for
a broadcast (which may not happen if enable returns false). We mark the
toggle to have failed (i.e. it is clickable and in OFF state) and the
switch bar text is appropriately shown.

Bug: b/28318203
Change-Id: I09ba46d2e102e7f2c4ef9a72bf38dedc1346364f

8 years agoMerge "Update the deletion helper feature factory for photos and videos." into nyc...
Daniel Nishi [Thu, 19 May 2016 18:26:43 +0000 (18:26 +0000)]
Merge "Update the deletion helper feature factory for photos and videos." into nyc-mr1-dev

8 years agoAdd a collapsible checkbox preference for deletion helper.
Daniel Nishi [Thu, 12 May 2016 20:07:46 +0000 (13:07 -0700)]
Add a collapsible checkbox preference for deletion helper.

This adds a custom preference group which has both a checkbox
and collapse/expand behavior. This is intended to be used in
the deletion helper for apps deletion and downloads folder
deletion.

This patch implements the apps deletion integration.

Bug: 28769691
Change-Id: I9fb28a1baa4067841742b5dbeaf2083728c16144

8 years agoMerge "Don't show app in deletion helper if it was installed recently." into nyc...
Daniel Nishi [Thu, 19 May 2016 17:09:17 +0000 (17:09 +0000)]
Merge "Don't show app in deletion helper if it was installed recently." into nyc-mr1-dev

8 years agoUpdate the deletion helper feature factory for photos and videos.
Daniel Nishi [Tue, 17 May 2016 20:33:29 +0000 (13:33 -0700)]
Update the deletion helper feature factory for photos and videos.

Bug: 28554187

Change-Id: I7fcc34af87ec17e9396f390d851fd31df1dc951a

8 years agoMerge "Add an upsell dialog to activate the storage manager." into nyc-mr1-dev
Daniel Nishi [Thu, 19 May 2016 16:47:50 +0000 (16:47 +0000)]
Merge "Add an upsell dialog to activate the storage manager." into nyc-mr1-dev

8 years agoMerge "Update work challenge background image." into nyc-dev
Kenny Guy [Thu, 19 May 2016 11:07:59 +0000 (11:07 +0000)]
Merge "Update work challenge background image." into nyc-dev
am: 726085c5c7

* commit '726085c5c7016a828850580a21e09d2330a20ce4':
  Update work challenge background image.

Change-Id: Ie16ea20b5c848814d9bd48b1c704f6a3cc73d35c

8 years agoMerge "Update work challenge background image." into nyc-dev
Kenny Guy [Thu, 19 May 2016 11:01:37 +0000 (11:01 +0000)]
Merge "Update work challenge background image." into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Baligh Uddin [Wed, 18 May 2016 19:17:05 +0000 (19:17 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev
am: 7ffeda3633  -s ours

* commit '7ffeda3633ee5296e8403da1042ac4e7321a3023':
  Import translations. DO NOT MERGE

Change-Id: I49ec349b40cbc6715479d3b0968337f05d4f9b12

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Baligh Uddin [Wed, 18 May 2016 19:06:52 +0000 (19:06 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
Baligh Uddin [Wed, 18 May 2016 19:06:48 +0000 (19:06 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

8 years agoDon't show app in deletion helper if it was installed recently.
Daniel Nishi [Tue, 17 May 2016 18:20:53 +0000 (11:20 -0700)]
Don't show app in deletion helper if it was installed recently.

This solves several problems. The first is that if a user installs
a large app which triggers the deletion helper, the deletion helper
may clear out the recently installed large app to free up space.

The second is that it appears that the usage stats may not be
synced from device to device currently using Backup and Restore.
By considering the installation to be a use for deletion helper
filtering, this should avoid the problem for 60 days (and if the
user hasn't used the app at that point, it should be fair game
to clear).

Bug: 28800057
Change-Id: Idb8545aa45a42e45dc673dc5c179c0197204edfd

8 years agoAdd an upsell dialog to activate the storage manager.
Daniel Nishi [Mon, 16 May 2016 19:19:58 +0000 (12:19 -0700)]
Add an upsell dialog to activate the storage manager.

After a manual clear, the user will be prompted to turn
on the storage manager, if it is turned off. The prompt
will only show up after certain defined delay times and
stop showing up entirely if denied enough times.

Currently, the dialog does not actually turn on the storage
manager because the storage manager is not yet landed.

Bug: 28801159

Change-Id: I3c221786d08a7102b3b5357416ab12692d1894cf

8 years agoUpdate work challenge background image.
Kenny Guy [Wed, 18 May 2016 15:14:19 +0000 (16:14 +0100)]
Update work challenge background image.

Updated so the orange briefcase in the image
isn't central so avoiding clashing with text.

Bug: 28557192
Change-Id: Ic8e4ea71f47449e81619b28b979f59c3d9aaf6a0

8 years agoMerge "Null check." into nyc-dev
Julia Reynolds [Wed, 18 May 2016 14:10:12 +0000 (14:10 +0000)]
Merge "Null check." into nyc-dev
am: fc1bb74186

* commit 'fc1bb74186c61712041dfa25e446391f7d8904a1':
  Null check.

Change-Id: Idbcee7bd10b0f530c7d48760e93cd3f8be3448b5

8 years agoMerge "Null check." into nyc-dev
Julia Reynolds [Wed, 18 May 2016 14:02:05 +0000 (14:02 +0000)]
Merge "Null check." into nyc-dev

8 years agoFollow class package change: LocaleList
Yohei Yukawa [Wed, 18 May 2016 02:24:57 +0000 (02:24 +0000)]
Follow class package change: LocaleList
am: 1ef9c4afd5

* commit '1ef9c4afd56b534f836c38437624eabaa6691f0b':
  Follow class package change: LocaleList

Change-Id: I5c36047c90d110aa241b86ea74b23648526833e8

8 years agoFollow class package change: LocaleList
Yohei Yukawa [Tue, 17 May 2016 22:49:04 +0000 (15:49 -0700)]
Follow class package change: LocaleList

In order to avoid layering violation, LocaleList needs to be moved from
android.util package to android.os package [1].  This CL follows up that
package change.

No behavior change is intended.

 [1]: Ia8de2ee9df3dd0a42b1fe84574439519b680fe18

Bug: 28819696
Change-Id: Ibd7934b30062046830d63f33d1c6febef32da976

8 years agoMerge "Choose Bluetooth Device window cant\'t fill screen" into nyc-dev
pkanwar [Tue, 17 May 2016 22:31:17 +0000 (22:31 +0000)]
Merge "Choose Bluetooth Device window cant\'t fill screen" into nyc-dev
am: 4dd2fdf90b

* commit '4dd2fdf90b97b64931cbb1c7ca69b38cef58662e':
  Choose Bluetooth Device window cant't fill screen

Change-Id: I92577a0d913f0b8436df28708dc6d84c5c82c01a

8 years agoMerge "Choose Bluetooth Device window cant't fill screen" into nyc-dev
Pankaj Kanwar [Tue, 17 May 2016 22:16:48 +0000 (22:16 +0000)]
Merge "Choose Bluetooth Device window cant't fill screen" into nyc-dev

8 years agoNull check.
Julia Reynolds [Tue, 17 May 2016 20:14:10 +0000 (16:14 -0400)]
Null check.

Change-Id: I16dfe2cf265b4254aa69bc6165a8f72fc3954d7a
Fixes: 28531037

8 years agoChoose Bluetooth Device window cant't fill screen
pkanwar [Tue, 17 May 2016 19:03:42 +0000 (12:03 -0700)]
Choose Bluetooth Device window cant't fill screen

b/28684861: fixed the layout file to ensure that the separators cover
the entire screen.

Change-Id: I4471a1da901c9a4c0830ff0dfc943cd087ee1702

8 years agoMerge "Implemented onRestrictBackgroundBlacklistChanged()." into nyc-dev
Felipe Leme [Tue, 17 May 2016 18:39:08 +0000 (18:39 +0000)]
Merge "Implemented onRestrictBackgroundBlacklistChanged()." into nyc-dev
am: c769ddd330

* commit 'c769ddd330c7b5734c5c319ef7fc3cabd0c226f8':
  Implemented onRestrictBackgroundBlacklistChanged().

Change-Id: Ifb0c4bdfa825948cb18d382c0c8eb29ce3d187b7

8 years agoMerge "Implemented onRestrictBackgroundBlacklistChanged()." into nyc-dev
TreeHugger Robot [Tue, 17 May 2016 18:28:20 +0000 (18:28 +0000)]
Merge "Implemented onRestrictBackgroundBlacklistChanged()." into nyc-dev

8 years agoMerge "Add the automatic storage manager settings." into nyc-mr1-dev
Daniel Nishi [Tue, 17 May 2016 18:10:51 +0000 (18:10 +0000)]
Merge "Add the automatic storage manager settings." into nyc-mr1-dev

8 years agoMerge "Remove settings overflow menu" into nyc-mr1-dev
Rachel Zhang [Tue, 17 May 2016 16:51:24 +0000 (16:51 +0000)]
Merge "Remove settings overflow menu" into nyc-mr1-dev

8 years agoAdd the automatic storage manager settings.
Daniel Nishi [Wed, 11 May 2016 00:35:57 +0000 (17:35 -0700)]
Add the automatic storage manager settings.

This provides a toggle for changing if the storage manager
is turned on or off and how many days of data to retain.

It is currently not hooked up to anything currently and only acts as
the view, pending b/28600825.

Bug: 28560570
Change-Id: Iaa2d819f26addab4dc02ced80e9ba79e0fcf0980

8 years agoMerge "Add an alert dialog before clearing data in deletion helper." into nyc-mr1-dev
Daniel Nishi [Tue, 17 May 2016 16:21:27 +0000 (16:21 +0000)]
Merge "Add an alert dialog before clearing data in deletion helper." into nyc-mr1-dev

8 years agoMerge "Modify the TTS engine preference UI so that the radio button and the TTS engin...
shwetachahar [Tue, 17 May 2016 14:32:16 +0000 (14:32 +0000)]
Merge "Modify the TTS engine preference UI so that the radio button and the TTS engine name are a single focusable element." into nyc-dev
am: 1cb87b2af5

* commit '1cb87b2af57df71d56951c43aa28b8d01b4fb2a7':
  Modify the TTS engine preference UI so that the radio button and the TTS engine name are a single focusable element.

Change-Id: I72f2a0a95aadb87031ab53c9d2479f45f3e452ef