Commit Graph

30934 Commits

Author SHA1 Message Date
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
e0e58e9dda Extend conditional button width so it has more click area. am: e90777710c am: 0b17ff28d9
am: 55b93fdfcc

Change-Id: I2c3ef28f3740d472572991d1712436871fad0078
2016-08-19 20:06:11 +00: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
André Lago
6ecc414e77 Merge "[Settings] Set different ringtones at work profile" 2016-08-19 17:02:03 +00:00
TreeHugger Robot
94789ffd77 Merge "Move SharedPreferenceLogger to instrumentation package." 2016-08-19 17:00:35 +00:00
Fan Zhang
e90777710c Extend conditional button width so it has more click area.
Bug: 30822058
Change-Id: I88a88c7807309741113e4b5557686c08261eb5d0
(cherry picked from commit 40b56b4c15)
2016-08-19 16:56:04 +00:00
Bill Yi
81df66e003 Import translations. DO NOT MERGE am: 1339fe799d -s ours am: 925c2bbcf6 -s ours
am: 9c6395a4f3  -s ours

Change-Id: Icf6a7fa1d8697f7acc023ea1be38add02f146852
2016-08-19 16:17:31 +00:00
Bill Yi
9c6395a4f3 Import translations. DO NOT MERGE am: 1339fe799d -s ours
am: 925c2bbcf6  -s ours

Change-Id: Id51ff59548ef9acd70ced2ad681f0b42524f53ac
2016-08-19 16:14:34 +00:00
Bill Yi
925c2bbcf6 Import translations. DO NOT MERGE
am: 1339fe799d  -s ours

Change-Id: Ide032ff6bbdfdb0f73e045135f80a3d1f75f338e
2016-08-19 16:11:07 +00:00
Bill Yi
1339fe799d Import translations. DO NOT MERGE
Change-Id: I0efafca736424685e687ac6f08884fdc5e69e88d
Auto-generated-cl: translation import
2016-08-19 07:39:53 -07:00
Bill Yi
b739123c2f Import translations. DO NOT MERGE
Change-Id: Iab90b970b82abbf4bc2adf34d1c9ff75eaff41f4
Auto-generated-cl: translation import
2016-08-19 07:35:24 -07:00
Fan Zhang
5f79ae9677 Move SharedPreferenceLogger to instrumentation package.
Bug: 30914916
Test: SettingsUnitTests and RunSettingsRoboTests

- Added interface to abstract logger
- Added test for SharePrefLogger
- Moved Existing tests for instrumentation to robotests.

Change-Id: I2b431ea4b0fd09d0f11389d8b9181448f08a52c5
2016-08-18 17:38:25 -07:00
TreeHugger Robot
cbb2f5f498 Merge "Add scrollbar to Settings app." 2016-08-19 00:25:47 +00:00
TreeHugger Robot
e0bfd58a22 Merge "Delete some useless classes." 2016-08-19 00:14:55 +00:00
Todd Kennedy
46f16b357f Merge "remove duplicate permissions" 2016-08-18 23:25:04 +00:00
Doris Ling
706071126a Add scrollbar to Settings app.
Overlay PreferenceTheme to add scrollbar to the view, and also add
scrollbar to the dashboard.

Change-Id: I2273b0825b200048bd1914923b551a593aa1e16d
Fixes: 30204662
Test: manual - Launch Settings and different sub-settings, and verify
that scrollbar is shown for screen that can be scrolled.
2016-08-18 15:58:21 -07:00
Fan Zhang
061ebd2924 Delete some useless classes.
Change-Id: I219d8740f8d3c235630fa503f35a00986cba8ce3
Test: manual compile and launch app.
2016-08-18 15:54:03 -07:00
Ajay Panicker
ee19e98c29 Merge "Do not allow apps to cause Bluetooth to be discoverable forever" am: 692ad7c9ec am: 717d9f205a am: 0493302a06
am: 28dc57628b

Change-Id: I7a5904dfc21b9791302d8d5f3f3616061a8577f7
2016-08-18 22:36:22 +00:00
Ajay Panicker
28dc57628b Merge "Do not allow apps to cause Bluetooth to be discoverable forever" am: 692ad7c9ec am: 717d9f205a
am: 0493302a06

Change-Id: Ib82a2ed83b783816ad2305d51f3ec823c6d83926
2016-08-18 22:33:21 +00:00
Ajay Panicker
0493302a06 Merge "Do not allow apps to cause Bluetooth to be discoverable forever" am: 692ad7c9ec
am: 717d9f205a

Change-Id: I1c4f627f6792109db1fec087855962bf4f635b7c
2016-08-18 22:30:51 +00:00
Ajay Panicker
717d9f205a Merge "Do not allow apps to cause Bluetooth to be discoverable forever"
am: 692ad7c9ec

Change-Id: I60f576fee6222d0917ce845dd0bc071817d26009
2016-08-18 22:27:24 +00:00
Treehugger Robot
692ad7c9ec Merge "Do not allow apps to cause Bluetooth to be discoverable forever" 2016-08-18 22:23:05 +00:00
Meng Wang
11ac6602bd Merge "WiFiCallingSettings: hide wfc mode preference if not editable" into nyc-mr1-dev am: f30ef19dc3 am: 7f26e8407c
am: 7ed381b919

Change-Id: I5ce14db0e9566e7640e919b62749a3f507d908e0
2016-08-18 22:15:18 +00:00
Meng Wang
ed28a448fa WiFiCallingSettings: hide wfc mode preference if not editable am: 4436d6fe16 am: f1788b502e
am: d2eed8a642

Change-Id: I3b379e5e588033903e6dee021bb6ec74850ce5cc
2016-08-18 22:15:18 +00:00
Meng Wang
7ed381b919 Merge "WiFiCallingSettings: hide wfc mode preference if not editable" into nyc-mr1-dev am: f30ef19dc3
am: 7f26e8407c

Change-Id: I04e9482f719bd0a0d66fffa918b5e0be7d1029d4
2016-08-18 22:11:37 +00:00
Meng Wang
d2eed8a642 WiFiCallingSettings: hide wfc mode preference if not editable am: 4436d6fe16
am: f1788b502e

Change-Id: I67bb75cf7b453d9ca7e5a6a47dc16fbf074fa747
2016-08-18 22:11:37 +00:00
Ajay Panicker
9661c72700 Do not allow apps to cause Bluetooth to be discoverable forever am: 6dcab67c0c am: 091986f33a
am: c6f63a807f

Change-Id: I541318298961a88cf55d36769ffc4348d41b62fc
2016-08-18 22:09:10 +00:00
Meng Wang
7f26e8407c Merge "WiFiCallingSettings: hide wfc mode preference if not editable" into nyc-mr1-dev
am: f30ef19dc3

Change-Id: Ibe2e2a5a6d5188ae4aa42195884caa5b0ad7853b
2016-08-18 22:08:27 +00:00
Meng Wang
f1788b502e WiFiCallingSettings: hide wfc mode preference if not editable
am: 4436d6fe16

Change-Id: Ica966b8306afd541521b0e7f65c68019f4c692b4
2016-08-18 22:08:27 +00:00
Ajay Panicker
c6f63a807f Do not allow apps to cause Bluetooth to be discoverable forever am: 6dcab67c0c
am: 091986f33a

Change-Id: I2231d4bb2d339bbcf4a248e1702c3efae82c544d
2016-08-18 22:01:26 +00:00