607 Commits

Author SHA1 Message Date
Fan Zhang
6acb76621d Catch NPE on network state and fall back to empty summary.
Bug: 32171456
Change-Id: Ia3c1e1f5b7848ec914be9f92401a02b50df1dc57
2016-10-17 12:40:03 -07:00
Bill Yi
23c4362dac Import translations. DO NOT MERGE
Change-Id: I00d5ccf364c1b124e586148a139779a94cfafbf4
Auto-generated-cl: translation import
2016-10-10 11:30:39 -07:00
Lei Yu
3fd73a645a Merge "Add "FILTER_NOT_HIDE" to filter out the apps." into nyc-mr1-dev 2016-10-04 19:51:24 +00:00
jackqdyulei
4bf191ca75 Add "FILTER_NOT_HIDE" to filter out the apps.
The "FILTER_NOT_HIDE" is used to filter out apps that "blacklisted"
by the carrier. So when user insert a specific sim card, these apps
disapper in settings > apps totally unless user enable them.

Bug: 31823872
Test: Manual
Change-Id: I62ec13806d70f68e6cd3cbd014e7513cda36358c
2016-10-03 17:14:28 -07:00
Bill Yi
53edc8f204 Import translations. DO NOT MERGE
Change-Id: I7fdd11e47d67879376ace9d33de1a7add58ae133
Auto-generated-cl: translation import
2016-09-30 17:38:43 -07:00
Bill Yi
e930d5a5f4 Import translations. DO NOT MERGE
Change-Id: I0dcb3da3295eebdc6757f614a44aac04396eade0
Auto-generated-cl: translation import
2016-09-28 22:47:48 -07:00
Bill Yi
8f05e63417 Import translations. DO NOT MERGE
Change-Id: I34fa8bbc66ae81ab88950aa01e31523bb1dce657
Auto-generated-cl: translation import
2016-09-26 09:09:57 -07:00
Salvador Martinez
5d937fc95f Updated summary logic for wifi
Wifi summary claimed it would not
reconnect under conditions where it should.
This has been changed to properly say when an
AP will automatically be reconnected to.

Test: make RunSettingsLibRoboTests
Bug: 29973023
Change-Id: I2ffb4ec3b83e93c3df9ee179fc6a6bf59acec42e
2016-09-23 08:54:20 -07:00
Fan Zhang
20370bb9b1 Fix NPE for WifiConfiguration in AccessPoint. am: 51365c3b4c
am: 05df69d52a

Change-Id: I963115016cae383f47e4dfbb262200b945fd3b0d
2016-09-21 15:57:12 +00:00
Fan Zhang
05df69d52a Fix NPE for WifiConfiguration in AccessPoint.
am: 51365c3b4c

Change-Id: I7d653816e70f38f0cce3a6bc8f0eaade8593866a
2016-09-21 15:38:08 +00:00
Fan Zhang
51365c3b4c Fix NPE for WifiConfiguration in AccessPoint.
In getSummary methods, make a local reference to WifiConfig before
accessing the fields to prevent member variable mConfig being reset in a
different thread.

Bug: 31617798
Test: manually open/close/refresh wifi settings and see no crash.

Change-Id: I254cb3cb59dead425a9ada17d9e84a7e2974f738
2016-09-20 19:31:27 +00:00
Fan Zhang
f311b74b8f Show hamburger menu if the activity is top level setting.
Bug: 27584874
Test: manual inspection (automated test coming later)

This makes it possible to show menu icon when top level setting activity
is open from outside of Settings (eg, quick setting tiles)

Change-Id: Ic8e755f43b3f6a92118657741b37e09dbc2b53d0
2016-09-16 18:26:36 -07:00
Bill Yi
98c2fc559b Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 31516661
Change-Id: I8e9bd0e34a8cdf9263456a370c0b260cab094b27
2016-09-16 17:12:28 -07:00
TreeHugger Robot
510a91a9e6 Merge "Improved logging." into nyc-mr1-dev 2016-09-13 21:44:03 +00:00
Lei Yu
b1f01b752a Merge "Remove the deleted userhanle in cache to stop crashing." into nyc-mr1-dev 2016-09-08 21:14:27 +00:00
TreeHugger Robot
c779cdc560 Merge "Change density for the correct user" into nyc-mr1-dev 2016-09-08 21:07:01 +00:00
jackqdyulei
dfc6ce5d95 Remove the deleted userhanle in cache to stop crashing.
Because the user handles are not up-to-date, we need to update it when
necessary.

Bug: 30919785
Test: This branch doesn't support robo test, testcases will be added in
master branch when merged down(ag/1419729)

Change-Id: Ia095c3946c49db239e0b1b2bcc8588b02158c036
2016-09-08 09:43:22 -07:00
Bill Yi
dd0e168ca5 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 30362824
Change-Id: I089a218f5903bb8c0e9166dd84ea082eecba9470
2016-09-06 15:19:50 -07:00
Alan Viverette
df3a7cab8f Change density for the correct user
Bug: 30839993
Change-Id: I5368accddfc4a03b8025a257b4155fcdc6197f11
2016-09-06 17:13:41 -04:00
Felipe Leme
92caebece2 Improved logging.
- Implemented MeasurementDetails.toString()
- Guarded Log.V statement.

BUG: 30952263
Change-Id: Ib5ad00fe66df46a0ab5d12a33666ffa60875a67b
2016-09-02 11:26:09 -07:00
TreeHugger Robot
d84995e18f Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-09-01 06:38:36 +00:00
Bill Yi
8961beac16 Import translations. DO NOT MERGE
Change-Id: Ied5e250ee2377aefe56c6f2282712c28b60104e5
Auto-generated-cl: translation import
2016-08-31 21:29:36 -07:00
Felipe Leme
952a0d9fdb Revert "Adds a section for unaccounted data."
This reverts commit 54dc9edc528f80eb11bd8160cd2222276467f6d3.

Change-Id: Ie679f486ef703983b24a030172ff0879b4349483
2016-08-31 10:13:00 -07:00
TreeHugger Robot
63ee361d4e Merge "Adds a section for unaccounted data." into nyc-mr1-dev 2016-08-31 03:04:46 +00:00
Felipe Leme
54dc9edc52 Adds a section for unaccounted data.
Often sub-directories of /data are populated with data framework has no
control of (for example, by the device's specific dumpstate_board()
function), and that data is now available through
MeasurementDetails.getUnaccountedSize().

BUG: 30952263

Change-Id: I8d3fda6668f2a57ee025fb135b33a244167d1e4b
2016-08-30 15:10:25 -07:00
Matthew Fritze
a95de6b96d Adding flags to allow package names to be sent to support.
am: e1398ea4d9

Change-Id: I2c459d9467fada537bafd6d780e12f8ba7a082fc
2016-08-25 16:15:04 +00:00
Matthew Fritze
e1398ea4d9 Adding flags to allow package names to be sent to support.
Bug: 30924073
Change-Id: I9ec0a90a178adb72da3d4a426e75a79315832bf6
Tests: Manual.
2016-08-25 02:57:01 +00:00
Salvador Martinez
2cb851e5c9 Added error handling to settings suggestions list
am: 18bf581c77

Change-Id: Id946b2b75b9adc4c70fa4537da4ac509a6ab5c66
2016-08-24 18:27:56 +00:00
Doris Ling
d5f9642488 Merge "Add metrics logging for Settings -> Help & Feedback" into nyc-mr1-dev 2016-08-24 18:01:28 +00:00
Salvador Martinez
18bf581c77 Added error handling to settings suggestions list
The suggestions list in the summary page of the
settings app could sometimes cause a crash due to
an uncaught exception. Tis fixed now.

Bug: 30656840
Change-Id: If79f53e6a8c17a81653228d613797e94c473d410
(cherry picked from commit 60d92b3b8390e33e069f343d6a425ab07c498d3d)
2016-08-24 16:43:22 +00:00
TreeHugger Robot
621dcdf9cd Merge "Added error handling to settings suggestions list" into nyc-mr1-dev 2016-08-23 22:52:33 +00:00
Doris Ling
319c806cc0 Add metrics logging for Settings -> Help & Feedback
Add new metrics event constant for Settings->Help & Feedback, and log it
whenever user selects the help option menu, passing the context extra for
the corresponding settings preference where the help menu is launched.

Change-Id: I971e8e50b959a5451ed085e5da5fd8504111e6c3
Fixes: 30140281
2016-08-23 14:49:15 -07:00
Salvador Martinez
09b64ade22 Merge "Prevent wifi icon from disappearing" into nyc-mr1-dev 2016-08-22 21:55:20 +00:00
Fan Zhang
c10db985f3 Update navup button content description when it's menu.
Bug: 30090247
Change-Id: I2ff9529a3dd5f197f2d142ef2993d5d8e90b5645
(cherry picked from commit df915bbbb9d97bdb10185a5b0280ffa0b9582694)
2016-08-22 18:32:00 +00:00
Salvador Martinez
823cd0e35a Prevent wifi icon from disappearing
Made changes to AccessPointPreference to prevent
it from ever setting a empty icon to reduce the
jittering from elements all changing at once.

Bug: 29979747
Change-Id: If432aed1d55b37cf3d48074275f8b3dc0584f884
(cherry picked from commit 45a1594247eecf02d64f6b95b19a6843f298d0e7)
2016-08-19 18:07:00 +00:00
Salvador Martinez
2197e8d6f5 Added error handling to settings suggestions list
The suggestions list in the summary page of the
settings app could sometimes cause a crash due to
an uncaught exception. Tis fixed now.

Bug: 30656840
Change-Id: If79f53e6a8c17a81653228d613797e94c473d410
(cherry picked from commit 60d92b3b8390e33e069f343d6a425ab07c498d3d)
2016-08-19 17:36:06 +00:00
Bill Yi
9d652db6a4 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 30362824
Change-Id: I319b881d2a02816d932688c70c61f4ad2b315ef8
2016-08-17 15:33:39 -07:00
TreeHugger Robot
f1e87a2003 Merge "Allow configurable data warning for BillingCyclerPreference" into nyc-mr1-dev 2016-08-16 23:51:04 +00:00
Fan Zhang
70196d84a6 Allow configurable data warning for BillingCyclerPreference
Bug: 30898071
Change-Id: Ifb822828c5e7152e4ca217593f7746bfbb29ab2a
2016-08-16 14:16:12 -07:00
Bill Yi
28753c7c4a Import translations. DO NOT MERGE
Change-Id: Iae3ad7fc7b524b82d0e71c65a0d53a76b9ecff68
Auto-generated-cl: translation import
2016-08-16 02:02:06 -07:00
Bill Yi
15b3229561 Import translations. DO NOT MERGE
Change-Id: I6b7b641340466819a50ee8838278b352948891f9
Auto-generated-cl: translation import
2016-08-07 21:46:38 -07:00
Bill Yi
1094f3a3ff Import translations. DO NOT MERGE
Change-Id: I18a73ea8f3b65864c1857fce7a4ff80d6f099256
Auto-generated-cl: translation import
2016-08-03 15:37:11 -07:00
Bill Yi
ddd7680cce Import translations. DO NOT MERGE
Change-Id: I0aeff308769f38a68b6bbfd0bac88d8f74b76f8e
Auto-generated-cl: translation import
2016-08-01 17:12:41 -07:00
Fan Zhang
dd5469e488 Align bottom text with battery graph in RTL layout.
Bug: 30161009

Bottom text (estmitated remaining battery time) should be stay under the
battery graph in RTL. To help alignment, we use a spacer view to the
left or right of text depending on layout direction.

Change-Id: Iaf706c1a963246e7f04764e5f24e6cb4bf3d2bbf
2016-07-29 13:35:41 -07:00
TreeHugger Robot
4f0d7aad58 Merge "Allow system home app to show when filtering app list." into nyc-mr1-dev 2016-07-27 21:07:03 +00:00
Fan Zhang
8089d48968 Allow system home app to show when filtering app list.
Bug: 28796031

Sometimes system app can handle CATEGORY_HOME but it doesn't have a
launcher icon in launcher itself. We should allow it to show in default
app list so user can take action on such app.

Change-Id: Ie85b8f2519be4ccb41b1bb831f4d7cf2531e466f
2016-07-26 14:08:31 -07:00
Bill Yi
148b5baa6d Import translations. DO NOT MERGE
Change-Id: I78d008a1f0fc9e4e2402fb0768223baa97d2ef48
Auto-generated-cl: translation import
2016-07-25 07:24:09 -07:00
Thierry Strudel
1a48150980 Merge changes from topic 'enable_persist_kernel_log' into nyc-mr1-dev
* changes:
  Settings: add logpersist kernel only selection (strings)
  Settings: add logpersist selection (strings)
2016-07-21 04:07:24 +00:00
TreeHugger Robot
c3264b01ed Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-07-21 04:02:07 +00:00
Bill Yi
01e04d9724 Import translations. DO NOT MERGE
Change-Id: If251730b4f9eb5fb6f9e0ce7fd2e675adb73862e
Auto-generated-cl: translation import
2016-07-20 19:38:44 -07:00