Commit Graph

12851 Commits

Author SHA1 Message Date
Roozbeh Pournader
5eddc4bde9 Merge "Use existing localizations for formatting data usage [DO NOT MERGE]" into nyc-dev 2016-06-09 23:04:22 +00:00
Svetoslav Ganov
1fb5f435cf Merge \\"Don\\'t send user to permissions screen if none requested\\" into nyc-dev am: 3e5318496e
am: 650cc723d1

Change-Id: I7c2309f8ccc006cf0b37e5dce6bb75bef927b747
2016-06-09 22:58:26 +00:00
Svet Ganov
650cc723d1 Merge \"Don\'t send user to permissions screen if none requested\" into nyc-dev
am: 3e5318496e

Change-Id: I9f04ac2bda5816997e86aa6aee683df3bbfcb74d
2016-06-09 22:53:40 +00:00
Svet Ganov
0984141943 Merge \"Don\'t send user to permissions screen if none requested\" into nyc-dev
am: 3e5318496e

Change-Id: I6060ae5a113025b0cfbbd8ff1f58599cb8f4cf7e
2016-06-09 22:53:07 +00:00
Svetoslav Ganov
3e5318496e Merge "Don't send user to permissions screen if none requested" into nyc-dev 2016-06-09 22:45:49 +00:00
Yohei Yukawa
91c23ca03f Fix sentence capitalization of locale names.
It turns out that out previous CL [1] is not sufficient to address all
the requests regarding capitalization.

With [1], now InputMethodSubtype#getLocaleDisplayName() returns a locale
name whose capitalization is basically optimized to be used as a list
item.  It works well for list UI, but on a UI element that looks like a
sentence text, we still need to capitalize the first character.

This CL takes care of those UI elements in the Settings app.  This CL
also addresses a remaining TODO about locale-unaware text formatting by
using about android.icu.text.ListFormatter.

  [1]: If105082ce703db7a86738455db7e9fb37f3c6fe8
       e489baf96df2837a3a63b626d9023a4a8b322c28

Bug: 29035638
Change-Id: I59f93f0bc067cdd87c6065c972a7da3cde1128f9
2016-06-09 15:01:52 -07:00
Roozbeh Pournader
3697dbeaa3 Use existing localizations for formatting data usage [DO NOT MERGE]
This partially reverts I5be9bb7ce3b11709117da698d6c03610f4e5e40e in
order to use existing localizations and also avoid hard to localize
strings.

Also, we now bidi wrap the usage value, since it may break in the RTL
locales otherwise.

Bug: 28747101
Change-Id: Ibc03632cccfe671164cfbb670a423ada1177db65
2016-06-09 13:25:56 -07:00
Nicolas Prevot
637d24c8b9 Fix rendering of policy transparency activity.
Use the dialog's context instead of the activity
context to inflate the view.

BUG:29172155
Change-Id: I0fb32e3d4bfc522a4c8b6d7a6ed55acd01f97446
2016-06-09 20:59:20 +01:00
Svet Ganov
30ee6ab320 Don't send user to permissions screen if none requested
bug:29105157

Change-Id: I90ef18f41deae9a7cf28192bd47f16c3af262c29
2016-06-09 12:28:10 -07:00
Doris Ling
49f9e9828d Merge \"Merge \\"Moved network settings reset away from Backup & reset.\\" into nyc-mr1-dev am: ab595b8a98\" into nyc-mr1-dev-plus-aosp
am: a8272ec495

Change-Id: I338d909e0fc8c48265b0d0ff60a72e803363ff81
2016-06-08 21:42:37 +00:00
Android Build Merger (Role)
a8272ec495 Merge "Merge \"Moved network settings reset away from Backup & reset.\" into nyc-mr1-dev am: ab595b8a98" into nyc-mr1-dev-plus-aosp 2016-06-08 21:39:55 +00:00
Doris Ling
be2847ec3b Merge \"Moved network settings reset away from Backup & reset.\" into nyc-mr1-dev
am: ab595b8a98

Change-Id: I96a3150e617322e3e39e82d578b20d8d2f558554
2016-06-08 21:39:46 +00:00
Jason Monk
531f23a7c5 Fix build
am: feee247e0c

Change-Id: Id39d7798827dade57e89da9cfa2e387f4b37c29c
2016-06-08 21:39:45 +00:00
Doris Ling
ab595b8a98 Merge "Moved network settings reset away from Backup & reset." into nyc-mr1-dev 2016-06-08 21:35:20 +00:00
Jason Monk
feee247e0c Fix build
Change-Id: I264b0d9507e62ad5a2debad663faedd549414012
(cherry picked from commit e3ce6713d3)
2016-06-08 21:29:48 +00:00
Jason Monk
aaaa236cec resolve merge conflicts of 7f7092c to nyc-mr1-dev
Change-Id: I27b058bd0cbbc2e253337cc56a1a032df96046de
2016-06-08 16:19:35 -04:00
Jason Monk
e3ce6713d3 Fix build
Change-Id: I264b0d9507e62ad5a2debad663faedd549414012
2016-06-08 16:09:03 -04:00
Jason Monk
4a8b16323b resolve merge conflicts of 167f6cc to nyc-mr1-dev-plus-aosp
am: 84f544a2ae

Change-Id: I73d7ff76eae3871659063eb58d4efc849f261ac8
2016-06-08 19:34:31 +00:00
Jason Monk
bc75397385 Merge \\\"Fix data usage format strings\\\" into nyc-dev am: cb1972b908 am: 2c7e1d844f
am: 9667149282

Change-Id: I2dd2cc37911a466fd92811c37e334d6ef106f440
2016-06-08 19:30:49 +00:00
Jason Monk
5ff4935041 Merge \\\"Fix disabling of tiles that are not relevant\\\" into nyc-dev am: 9c5d3164f5 am: 4db5484a9d
am: 743ceecbe8

Change-Id: I0e47826f8d48c67a736e1bf6acfb2ee20f0333d5
2016-06-08 19:29:44 +00:00
Jason Monk
84f544a2ae resolve merge conflicts of 167f6cc to nyc-mr1-dev-plus-aosp
Change-Id: Ida721b92e461811fdca7bc556de0f56cb348fcbc
2016-06-08 15:28:48 -04:00
Jason Monk
9667149282 Merge \\"Fix data usage format strings\\" into nyc-dev am: cb1972b908
am: 2c7e1d844f

Change-Id: I7240bac72b08c251bf90c433d4febe5e8f725f4b
2016-06-08 19:26:48 +00:00
Jason Monk
743ceecbe8 Merge \\"Fix disabling of tiles that are not relevant\\" into nyc-dev am: 9c5d3164f5
am: 4db5484a9d

Change-Id: I1fc083fbb9057a610acc52f5453fd9a3e7c2607f
2016-06-08 19:26:17 +00:00
Jason Monk
167f6cc87c Merge \"Remove PreferenceActivity\" into nyc-dev
am: 7f7092c705

Change-Id: I1d7431bd7bf4654f2fbfe8c43344e22d28b5b2f7
2016-06-08 19:15:42 +00:00
Jason Monk
2c7e1d844f Merge \"Fix data usage format strings\" into nyc-dev
am: cb1972b908

Change-Id: I42ae51bb815f24b026ff0c25759634b23d13355c
2016-06-08 19:15:42 +00:00
Jason Monk
4db5484a9d Merge \"Fix disabling of tiles that are not relevant\" into nyc-dev
am: 9c5d3164f5

Change-Id: I778f8f766ace689b1bd4174000daaafb13253516
2016-06-08 19:15:41 +00:00
Jason Monk
7f7092c705 Merge "Remove PreferenceActivity" into nyc-dev 2016-06-08 19:13:05 +00:00
Jason Monk
cb1972b908 Merge "Fix data usage format strings" into nyc-dev 2016-06-08 19:11:51 +00:00
Jason Monk
9c5d3164f5 Merge "Fix disabling of tiles that are not relevant" into nyc-dev 2016-06-08 19:10:09 +00:00
Doris Ling
e6f635ff82 Moved network settings reset away from Backup & reset.
Moved Settings -> Backup & reset -> Network setting reset to
Settings -> Wireless & networks -> More.

Bug: 28683031
Change-Id: I52385ec862789985ccb8647398950605955569f7
2016-06-08 11:49:47 -07:00
Felipe Leme
05d8b9da4d Merge \"Display total storage for Internal shared storage.\" into nyc-mr1-dev
am: d4e31320c1

Change-Id: I0a4c996177ecc57352af4b6be244af7b9e09b1d2
2016-06-08 16:17:18 +00:00
TreeHugger Robot
d4e31320c1 Merge "Display total storage for Internal shared storage." into nyc-mr1-dev 2016-06-08 16:08:11 +00:00
Ricky Wai
9e5b974259 Merge \\\"Make work challenge settings work even work profile is not enabled yet\\\" into nyc-dev am: 68c263cf2e am: 263b210c16
am: acb66824a6

Change-Id: I46b444b65f725ebe81f9550b48d389f9e6609fde
2016-06-08 15:06:21 +00:00
Ricky Wai
acb66824a6 Merge \\"Make work challenge settings work even work profile is not enabled yet\\" into nyc-dev am: 68c263cf2e
am: 263b210c16

Change-Id: I9e606761dc2c3e88832aeac2e8ddd65f0c7677f7
2016-06-08 14:54:14 +00:00
Felipe Leme
ff162a3c23 Display total storage for Internal shared storage.
Prior to this change, Settings was using
volume.getPath().getTotalBytes() to calculate the total, which includes
the user-accessible storage, but not the internal partitions. As such,
the total displayed was often missing many GBs (for example, in a 32GB
device, it could display "12.09GB of 25.01GB used".

This change fix this problem by using the total size and creating a
"System" section containing the "missing" storage.

BUG: 24128505

Change-Id: Ic35cd7c8406eff16ac1d97c4b4c233ecde64a6e1

** Cherrypicked from master - DO NOT MERGE **
2016-06-08 14:49:32 +00:00
Ricky Wai
5f0e81222a Merge \"Make work challenge settings work even work profile is not enabled yet\" into nyc-dev
am: 68c263cf2e

Change-Id: I091c7a1173b468c9887d247efa517696cbd50da2
2016-06-08 14:49:06 +00:00
Ricky Wai
263b210c16 Merge \"Make work challenge settings work even work profile is not enabled yet\" into nyc-dev
am: 68c263cf2e

Change-Id: I40ee4bef616c6dbff872f5bb106b3195a9e5be07
2016-06-08 14:47:43 +00:00
Ricky Wai
68c263cf2e Merge "Make work challenge settings work even work profile is not enabled yet" into nyc-dev 2016-06-08 14:34:02 +00:00
Jason Monk
b7e4380cd2 Remove PreferenceActivity
Its broken and isn't worth maintaining, instead port the few things
using it over to SettingsPreferenceActivity with wrapping blank
Activities like the rest of Settings.

Change-Id: Ic82f0dcb63ed9b4078f7da6a79c0c52f0130e8d1
Fixes: 28779941
2016-06-08 09:48:58 -04:00
Ricky Wai
7250016447 Make work challenge settings work even work profile is not enabled yet
Bug: 29090660
Change-Id: I21996700f1ee451e8420f3f257c6ed51feea4ecb
2016-06-08 13:33:57 +00:00
Jim Miller
eab4999c45 Merge \\\"Move legacy full disk encryption code to Settings.\\\" into nyc-dev am: f8c64089b1 am: 5b9fab40a0
am: d2effc7c01

Change-Id: I850ad5971e802d876bf38ca9a5d4ab752399cdbb
2016-06-08 00:50:20 +00:00
Jim Miller
d2effc7c01 Merge \\"Move legacy full disk encryption code to Settings.\\" into nyc-dev am: f8c64089b1
am: 5b9fab40a0

Change-Id: I055b5b61daf626c05dbac11c59da3453cc08d43e
2016-06-08 00:43:55 +00:00
Jim Miller
6233c1d0bc Merge \"Move legacy full disk encryption code to Settings.\" into nyc-dev
am: f8c64089b1

Change-Id: Idf719bc91baba5fe18c044183794da4a74251bdd
2016-06-08 00:38:35 +00:00
Jim Miller
5b9fab40a0 Merge \"Move legacy full disk encryption code to Settings.\" into nyc-dev
am: f8c64089b1

Change-Id: Ib227856dd007197a22b8ef2f27881dddd992b3b8
2016-06-08 00:38:29 +00:00
TreeHugger Robot
f8c64089b1 Merge "Move legacy full disk encryption code to Settings." into nyc-dev 2016-06-08 00:31:30 +00:00
Jim Miller
358ff29f38 Move legacy full disk encryption code to Settings.
Fixes bug 27617297

Change-Id: Ib975cf8d4f2e1e7fa8a77550ca4ee8233647e9db
2016-06-07 15:44:46 -07:00
Jason Monk
5862c1ef02 Fix disabling of tiles that are not relevant
- Fix restricted user tiles being disabled
 - Call new better method in SettingsDrawerActivity for disabling

Change-Id: I2fb6ddd3d505189d2b6d96c0a1039291b80a2f70
Fixes: 29080209
2016-06-07 14:02:33 -04:00
Ian Rogers
d7b28f70b0 Merge "Fix sort orders on longs." 2016-06-07 15:49:50 +00:00
Ian Rogers
03936cea60 Fix sort orders on longs.
The int conversion narrows a long possibly inverting its sign. This may
lead to broken comparator sort orders.
Caught by Error Prone.
Bug: 27723540

Change-Id: I53d70c25a22cdcfc496443395b170f586d259fa7
2016-06-07 00:02:42 -07:00
Meng Wang
0dc4311333 Wi-Fi Calling settings UI update
Bug: 28404126
Change-Id: Id9c44c0b97d2ef81502a65e9238e47656068db50
2016-06-06 16:49:02 -07:00