Commit Graph

638 Commits

Author SHA1 Message Date
Daniel Nishi
652276ca3f Merge "Add methods to query the private storage." into nyc-mr2-dev 2016-12-08 00:42:25 +00:00
Daniel Nishi
845740e6e3 Add methods to query the private storage.
This is used by Settings and the Storage Manager to calculate the
amount of space left on a device.

Bug: 30895163
Test: m RunStorageManagerRoboTests <-- These tests exercise this code.
Change-Id: I0978020645dff455c7d60067c7d6fae338b5f89a
2016-11-28 11:02:57 -08:00
Jakub Pawlowski
2d0ebcf3a0 Fix Bluetooth OOB pairing not working for unseen devices
When Out Of Band info is provided, first time we learn about
device is when it's state is changed to "Bonding". This currently cause
this event to be discarded and pairing fails. Instead, we should add
CachedDevice object for newly added device.

Bug: 30188629
Change-Id: I4046bfe30e8bf32b888f608ac06d5041e2999dc9
(cherry picked from commit 3eb490f903)
2016-11-11 12:18:36 -08:00
Bill Yi
0c1f10dd0c Import translations. DO NOT MERGE
Change-Id: I368b83de3f1f69d4e5a0d1aa8924105f4090a2bc
Auto-generated-cl: translation import
2016-11-04 21:52:09 -07:00
Bill Yi
9a74480636 Import translations. DO NOT MERGE
Change-Id: I40881014752e3a1f1d95542a543f49925c4dff16
Auto-generated-cl: translation import
2016-10-31 23:03:43 -07:00
Bill Yi
aad661f874 Import translations. DO NOT MERGE
Change-Id: I01dfed1e6db0d4fe5cff72df3cec234400085fde
Auto-generated-cl: translation import
2016-10-26 20:18:34 -07:00
Bill Yi
bf3ad32115 Import translations. DO NOT MERGE
Change-Id: I20ef306c1cfdee6edcc89e206e8333269b755fab
Auto-generated-cl: translation import
2016-10-24 11:53:48 -07:00
Matthew Fritze
4d9085f1d2 Default for sending package name to support should be false
am: b68a83a8eb

Change-Id: Ic30a1508a9f7a8b1592778fc7eaa44692e99e579
2016-10-20 21:16:20 +00:00
Matthew Fritze
b68a83a8eb Default for sending package name to support should be false
Change-Id: I2cc90cac2c2c72f9febb015487f8854ebf006aac
Fixes: 32303343
Test: manual
2016-10-20 11:24:54 -07:00
Fan Zhang
d856752ee7 Catch NPE on network state and fall back to empty summary.
am: 6acb76621d

Change-Id: I208a614e1a29c0d0e523d712ea184ee87fc04254
2016-10-18 21:37:30 +00:00
TreeHugger Robot
964874e444 Merge "Catch NPE on network state and fall back to empty summary." into nyc-mr1-dev 2016-10-18 21:27:47 +00:00
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
c11e301ca4 Import translations. DO NOT MERGE
Change-Id: I8ed7b626ec4169f9154a18daffe36160b8f3dacb
Auto-generated-cl: translation import
2016-10-17 11:08:03 -07:00
Bill Yi
ade9e011a8 Import translations. DO NOT MERGE
Change-Id: I825794cb543e17e2a5d2444c15a1dfdbdb048e23
Auto-generated-cl: translation import
2016-10-13 14:58:39 -07:00
Nick Kralevich
f0c0188a8a Delete "Show CPU usage"
am: fc4a5c2d85

Change-Id: I4da784d136601fb3458b8697a0a27a232cd89111
2016-10-11 18:09:10 +00:00
Nick Kralevich
ab7a44b41a Merge "Delete "Show CPU usage"" into nyc-mr1-dev 2016-10-11 18:03:29 +00:00
Nick Kralevich
fc4a5c2d85 Delete "Show CPU usage"
This functionality hasn't worked since Lollipop.

Bug: 21388590
Change-Id: Ie4388d88f6e06f3e2d2e84e9c4515b3ebc6a0ea5
2016-10-11 09:01:38 -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
jackqdyulei
6b88c550af Add "FILTER_NOT_HIDE" to filter out the apps.
am: 4bf191ca75

Change-Id: I96ad716830dc857091b8f66c9631d217a95b70b4
2016-10-06 20:26:45 +00: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
06db363355 Updated summary logic for wifi
am: 5d937fc95f

Change-Id: I20c55b4af7ecd658b7690e1597389bc9a679c573
2016-09-23 20:30:49 +00: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
32edfcd626 Fix NPE for WifiConfiguration in AccessPoint. am: 51365c3b4c am: 05df69d52a
am: 20370bb9b1

Change-Id: I179d99b1025f41387f561745991683ad99034630
2016-09-21 16:26:53 +00: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
b785de5c57 Show hamburger menu if the activity is top level setting.
am: f311b74b8f

Change-Id: I26d4f87f8ed3a01831fc44446a09198fee45ebb9
2016-09-17 15:46:52 +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
Felipe Leme
c267419906 Improved logging.
am: 92caebece2

Change-Id: I7049ba92258bbdce7acbe0978f613331e02653a2
2016-09-13 21:49:56 +00:00
TreeHugger Robot
510a91a9e6 Merge "Improved logging." into nyc-mr1-dev 2016-09-13 21:44:03 +00:00
jackqdyulei
272bc866a1 Remove the deleted userhanle in cache to stop crashing.
am: dfc6ce5d95

Change-Id: I7e5fbc5721ba72942d5c1e12ed54149b7612355e
2016-09-08 21:18:16 +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
Alan Viverette
55768028fd Change density for the correct user
am: df3a7cab8f

Change-Id: I4f4dfaa8f9035cdd4939d1d40e66ebac51811f73
2016-09-08 21:13:39 +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
ad35387fa8 Revert "Adds a section for unaccounted data."
am: 952a0d9fdb

Change-Id: Icc190c2d7216205bcf37ff7a4b873db14dddecc6
2016-08-31 21:24:15 +00:00
Felipe Leme
952a0d9fdb Revert "Adds a section for unaccounted data."
This reverts commit 54dc9edc52.

Change-Id: Ie679f486ef703983b24a030172ff0879b4349483
2016-08-31 10:13:00 -07:00
Felipe Leme
e2e58543a0 Adds a section for unaccounted data.
am: 54dc9edc52

Change-Id: Ib4b8dca251618e239634716e633693474d922e96
2016-08-31 03:10:50 +00: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