Commit Graph

29585 Commits

Author SHA1 Message Date
Bill Yi
4114547feb Import translations. DO NOT MERGE
am: f58be49ba8  -s ours

Change-Id: Ia9c43520ca258a2b85c47c417016f689723935ee
2016-08-22 21:37:45 +00:00
Fan Zhang
93c6887768 Merge "Have a fallback package name when matching targetPackage." into nyc-mr1-dev
am: 5a6fad7607

Change-Id: I227c1571ba527529af038bf805c15f8b0bc803a4
2016-08-22 21:37:44 +00:00
Fan Zhang
2dd0275d66 Have a fallback package name when matching targetPackage.
am: 0c58131c37

Change-Id: I0c57b1a71c6388a3fdfc761b44b142abfdf40bcb
2016-08-22 21:37:43 +00:00
Fan Zhang
562d8276a6 Merge "Align text to view start so they layout correctly in RTL." into nyc-mr1-dev
am: ce8a222a59

Change-Id: I2c8356156df5a938add968561efccdcc3affe72e
2016-08-22 21:37:42 +00:00
Fan Zhang
eebdb575ba Align text to view start so they layout correctly in RTL.
am: be56fc17ed

Change-Id: I079df4d68672d97b4bb30996fb58c5a951e513f1
2016-08-22 21:37:41 +00:00
TreeHugger Robot
45fd5c4d4e Merge "Set oem unlock switch to reflect the actual state of device" into nyc-mr1-dev 2016-08-22 21:32:44 +00:00
TreeHugger Robot
b98e47c79b Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-08-22 21:28:29 +00:00
TreeHugger Robot
5a6fad7607 Merge "Have a fallback package name when matching targetPackage." into nyc-mr1-dev 2016-08-22 21:23:48 +00:00
TreeHugger Robot
ce8a222a59 Merge "Align text to view start so they layout correctly in RTL." into nyc-mr1-dev 2016-08-22 21:17:20 +00:00
Fan Zhang
672b84526f Merge "When click conditional's title, expand/collapse content." into nyc-mr1-dev am: 95c097e835
am: 06b7346a8b

Change-Id: I86b64a4394412567a14e3cdfdc8bc9b723f1146c
2016-08-22 20:18:30 +00:00
Fan Zhang
29e1c59f32 When click conditional's title, expand/collapse content. am: 89d7bca166
am: c8b20343f0

Change-Id: I416b3f87bc3d5bde0396dd5ddf6cb23c43b3d155
2016-08-22 20:18:29 +00:00
Fan Zhang
06b7346a8b Merge "When click conditional's title, expand/collapse content." into nyc-mr1-dev
am: 95c097e835

Change-Id: I0449a66cb1ae894c6fdb8e478325ba222f84ff8d
2016-08-22 20:17:01 +00:00
Fan Zhang
c8b20343f0 When click conditional's title, expand/collapse content.
am: 89d7bca166

Change-Id: I7ee56f661cba9e9d79399b8f01fc05cf5a70b27a
2016-08-22 20:16:59 +00:00
Fan Zhang
7804d47be3 Hide default phone preference when there is no phone app. am: dc1e04035b
am: 0ae351771e

Change-Id: I8751c22c53b66b69f1a8a4d20f4997bb40316764
2016-08-22 20:06:26 +00:00
Fan Zhang
0ae351771e Hide default phone preference when there is no phone app.
am: dc1e04035b

Change-Id: I2b588c9a31f405f66c1603aacbe67798ac637dee
2016-08-22 20:05:30 +00:00
TreeHugger Robot
95c097e835 Merge "When click conditional's title, expand/collapse content." into nyc-mr1-dev 2016-08-22 20:01:17 +00:00
Bill Yi
f58be49ba8 Import translations. DO NOT MERGE
Change-Id: Ic0668c1bf03195d38aabb92176ae6ff6d6f079d2
Auto-generated-cl: translation import
2016-08-22 12:57:11 -07:00
Fan Zhang
1ba24ca792 Set oem unlock switch to reflect the actual state of device
Bug: 30772025
Change-Id: I143ceafb36f2f2091683b29d02ee64c07e44bb15
(cherry picked from commit e98178bd58)
2016-08-22 19:41:42 +00:00
Fan Zhang
be56fc17ed Align text to view start so they layout correctly in RTL.
Bug: 28011099
Change-Id: I65b7ab768c384a558f89e3bce539420454fed8a5
(cherry picked from commit 794de426da)
2016-08-22 19:40:22 +00:00
Fan Zhang
0c58131c37 Have a fallback package name when matching targetPackage.
Bug: 29774397

When figuring out best match package name, we should have a fallback.
Otherwise sometimes we get empty package names, causing problems when
trying to display memory usage for each app.

Change-Id: I9cc4205098bb7c727a3063b2275fb464c8153097
(cherry picked from commit d5ff4c4292)
2016-08-22 19:39:10 +00:00
Fan Zhang
89d7bca166 When click conditional's title, expand/collapse content.
Bug: 30200101

It used to lead user to detailed setting for that conditional. This
leaves some confusion about which click target goes to where.

Change-Id: Ic9525ace65ca488f4e709576fb1ec96a1cb99938
(cherry picked from commit a2db2ca8fa)
2016-08-22 18:30:16 +00:00
Fan Zhang
dc1e04035b Hide default phone preference when there is no phone app.
Bug: 29859821
Change-Id: Ia6de0de04d74f4f947243f38ac2bd190ae586401
(cherry picked from commit bc6fc60683)
2016-08-22 18:17:22 +00:00
Meng Wang
951e558bdf DO NOT MERGE ANYWHERE: WiFiCallingSettings: hide wfc mode preference if not editable am: 5ea4bb2f43 -s ours am: a928b294d9 -s ours
am: 715564af48  -s ours

Change-Id: If0db222e5aff9c40dde2adf008d9ca56d3711dc7
2016-08-22 05:01:27 +00:00
Meng Wang
715564af48 DO NOT MERGE ANYWHERE: WiFiCallingSettings: hide wfc mode preference if not editable am: 5ea4bb2f43 -s ours
am: a928b294d9  -s ours

Change-Id: If964580319c45956d10626b57a6e769665bb75dd
2016-08-22 04:59:13 +00:00
Meng Wang
a928b294d9 DO NOT MERGE ANYWHERE: WiFiCallingSettings: hide wfc mode preference if not editable
am: 5ea4bb2f43  -s ours

Change-Id: Iba62c6b007ad0d68d528047896dfd88961a953cd
2016-08-22 04:46:46 +00:00
Meng Wang
5ea4bb2f43 DO NOT MERGE ANYWHERE: WiFiCallingSettings: hide wfc mode preference if not editable
Bug: 30947921
Change-Id: I80240fbd912afa9a40cee38070c4e77d5e9d6ae9
(cherry picked from commit 4436d6fe16)
2016-08-20 22:47:08 +00:00
Matthew Fritze
1051fe1e14 Stop apps with Storage Managers from launching activity when disabled
An app with a storage manager would be able to launch Manage Storage
from application settings, but when the app was disabled, the
activity would be null.

Test: In order to properly unit test this function, a large redesign is 
needed in this class, and is outside the scope of this bug.

Change-Id: Ia6b78bc6761bac8b701c904a6e438bbd951b63e8
Fixes: 30457616
(cherry picked from commit 8f17fcaa1d)
2016-08-20 00:34:31 +00:00
Felipe Leme
226bb59c27 Merge "Fixed storage calculation when SD card is adopted as internal storage." into nyc-mr1-dev am: 4fd371d344
am: d4fb981f73

Change-Id: I749aa6a5eaf2fdef194a3f626f9f884071186368
2016-08-19 23:25:20 +00:00
Felipe Leme
654312fa6a Fixed storage calculation when SD card is adopted as internal storage. am: 454d7fcca8
am: 15ebe1fcc3

Change-Id: I67c38af3e0759501cf71e431375417388b9a2474
2016-08-19 23:25:19 +00:00
Roozbeh Pournader
c6f4da6974 Merge "Changing the languages drag handle as per the Material Design spec" into nyc-mr1-dev am: a87fa8c50a
am: d6c91cbf16

Change-Id: I0f0197f2da5ad0c8e2e07b2fa0f7b2fee0f13416
2016-08-19 23:25:18 +00:00
Mihai Nita
0a180b239e Changing the languages drag handle as per the Material Design spec am: 30cf5f2615
am: 188ab9120e

Change-Id: Ic0024715605c79935bd175a89c84cd53ad602c7d
2016-08-19 23:25:18 +00:00
Felipe Leme
d4fb981f73 Merge "Fixed storage calculation when SD card is adopted as internal storage." into nyc-mr1-dev
am: 4fd371d344

Change-Id: Id95a997997b97006367c7180ca26cafb15435f42
2016-08-19 23:04:03 +00:00
Felipe Leme
15ebe1fcc3 Fixed storage calculation when SD card is adopted as internal storage.
am: 454d7fcca8

Change-Id: I4fa4a4c489b3f65c6aab2f012d0898442dda4c2a
2016-08-19 23:04:03 +00:00
TreeHugger Robot
4fd371d344 Merge "Fixed storage calculation when SD card is adopted as internal storage." into nyc-mr1-dev 2016-08-19 22:40:08 +00:00
Roozbeh Pournader
d6c91cbf16 Merge "Changing the languages drag handle as per the Material Design spec" into nyc-mr1-dev
am: a87fa8c50a

Change-Id: I21b1f122846b2c89d0df2d0bf0c74ce744ab5931
2016-08-19 22:33:41 +00:00
Mihai Nita
188ab9120e Changing the languages drag handle as per the Material Design spec
am: 30cf5f2615

Change-Id: I2db85b361af48cc206bef0c958561d81369bdd35
2016-08-19 22:33:40 +00:00
Roozbeh Pournader
a87fa8c50a Merge "Changing the languages drag handle as per the Material Design spec" into nyc-mr1-dev 2016-08-19 21:36:33 +00:00
Doris Ling
8d9b89ed5c Update Jump to Camera gesture settings description text.
Change "double-tap" to "press twice" as action is performed on a button.

Fixes: 30766938

Change-Id: Idc2573e1aff3f7a38b1cb6740f68c0c086fa48da
(cherry picked from commit 5590359376)
2016-08-19 21:25:37 +00:00
Doris Ling
0f625ae280 Fix caption text being cut off when text size is set to very large.
In landscape mode, the caption preview height is set to 100dp. When
running in tablet and setting the caption text size to Very large, 100dp
is not enough to render the complete text with all the paddings defined.
Increasing the preview height to make enough room to display the caption
text.

Change-Id: Ia45c01a16eb1829d569d71648de398d48a7e4618
Fixes: 29125201
(cherry picked from commit e797d91c83)
2016-08-19 21:22:39 +00:00
Doris Ling
9e29ac7983 Fix margin in Tap & pay -> Payment default.
Change PaddingLeft to PaddingStart so that it also works in RTL.

Change-Id: I649a89798d95d64e0c5da6eb1decd217ef7e98c7
Fixes: 28762436
(cherry picked from commit c51143a35a)
2016-08-19 21:21:38 +00:00
Doris Ling
7574b64910 Fix crash when selecting AppInfo for uninstalled app from Recents.
When an app is uninstalled, the corresponding app info is not removed
fromi the Recents tasks. If user selects that app info entry from the
recents tasks, it will failed to retrieve the app detail as the package
is already removed.

Add the package removed event listener in InstalledAppDetails such
that when the package has been unintalled, its app info task will also
be removed from Recents.

Change-Id: I771507f8f53017f87eda31ddef77a95e30921cbf
Fixes: 28671923

Fix app info crashes when package is uninstalled from terminal.

Move start listening to the package removed intents to onCreate()
and continue listening throughout the whole lifecycle of the activity so
that if user unintall the package in the background, it will still be
notified.

Change-Id: I889b0ea3e1245be83750d73349ed3a0f85a51783
Fixes: 28671923

Fix crash in Storage app info when the corresponding app is uninstalled
in the background.

1. Move the handling for package removal from InstalledAppDetails to
AppInfoBase so that all app info subclass will now finish
correspondingly if the package is uninstalled.
2. In InstalledAppDetails, when handling package removal, will also
finish the app info fragment that it starts earlier.

Change-Id: Id741e7475414045040dd0797ff3bc63ac214f400
Fixes: 27774473
2016-08-19 14:15:38 -07:00
Fan Zhang
55b93fdfcc Extend conditional button width so it has more click area. am: e90777710c
am: 0b17ff28d9

Change-Id: I6c592e623f22090852b78efa75b3579b57003787
2016-08-19 20:02:23 +00:00
Fan Zhang
0b17ff28d9 Extend conditional button width so it has more click area.
am: e90777710c

Change-Id: I1e8575bc3ffb2ce155877ad91251d1c0239dd216
2016-08-19 19:58:49 +00:00
jackqdyulei
7a78213776 Make number in dialog highlighted
Bug: 28787910

Change-Id: Idf6767156c0a3dafffb62b9a41ee81f6a9712a2f
(cherry picked from commit c54973b8d8)
2016-08-19 18:49:05 +00:00
jackqdyulei
409c4708c1 Fix the nullpointer bug in monkey test.
Bug: 30632031

Change-Id: I295bcc804a5e847f99577353c888caa08dc8c7ef
(cherry picked from commit a2938d2a2f)
2016-08-19 18:46:15 +00:00
Salvador Martinez
12c5208ad0 can open settings with support tab by default
Changes were made to the two files to allow users to provide
an argument in the intent for the settings activity. This
argument allows you to specify if you want the summary tab
or support open on startup.

Fixes: 30233920
Change-Id: I4745a0f75ea6a60a22381f5e58f2fac3836d86b9
(cherry picked from commit 2368e548e6)
2016-08-19 18:15:14 +00:00
Salvador Martinez
5c0063af7e Prevent wifi icon from disappearing
Made changes to WifiSettings that customizes
the preference icon so that the icon is never
null. This greatly reduces jittering.

Bug: 29979747
Change-Id: I3d2767310513389c09a37e34674a304278f4d0de
(cherry picked from commit 47568de003)
2016-08-19 18:07:46 +00:00
Salvador Martinez
41fc4e8cb7 Settings Focus prevented from moving to pref
RecyclerView containing preferences for support
tab and summary tab are no longer focusable
so that focus is not taken by preferences when
loaded.

Bug: 30214948
Change-Id: I23e717c58b1104fd0d2f8d89b77715a7b1fbc922
(cherry picked from commit 0a9e62d399)
2016-08-19 18:04:26 +00:00
Salvador Martinez
cfee94d448 Made dialog material design compliant
modified layout file to get the correct
padding and layout as described in the material
design documents.

Bug: 30709085
Change-Id: I18edf220a62228872793fb5b655b02751f38e1f5
(cherry picked from commit cdb0f56db8)
2016-08-19 18:02:58 +00:00
Salvador Martinez
d4a6768880 Disabled BSM mode switch when plugged in
Battery Saver mode can no longer be toggled
when the device is plugged in. Additionaly,
A content description was added to the switch
so that talkback says something when it is single
tapped.

Bug: 30083279
Change-Id: Id901598dbe13c443cae0b32769a2e3ef50428c08
(cherry picked from commit b9ab480a29)
2016-08-19 17:59:27 +00:00