Commit Graph

35701 Commits

Author SHA1 Message Date
Jaekyun Seok
74812873f4 Generate license html file from xml files of partitions
Treble-ization requires each partner to store their license information
into their own partition because each partition can be updated
individually.
So each partition will have its own NOTICE.xml.gz, and Settings should
be able to generate license html from xml files of partitions.

Test: building succeeded and tested on sailfish.
  make ROBOTEST_FILTER=LicenseHtmlGeneratorFromXmlTest RunSettingsRoboTests
  make ROBOTEST_FILTER=LicenseHtmlLoaderTest RunSettingsRoboTests
  make ROBOTEST_FILTER=SettingsLicenseActivityTest RunSettingsRoboTests
Bug: 37099941
Change-Id: If797759d300ee20dd43ad8efd7d17b4f7e0c4537
2017-04-29 09:47:24 +09:00
Fan Zhang
d6fff53610 Merge "Revert "Display and parse numbers properly in all locales"" into oc-dev am: 30e9474dbb
am: 87603385b7

Change-Id: I64197acec6cb6cc055b496198b01c954c4c1907f
2017-04-28 23:43:21 +00:00
TreeHugger Robot
4e2addce97 Merge "Only show "reset app preference" actionbar menu in app info" 2017-04-28 23:28:56 +00:00
Fan Zhang
87603385b7 Merge "Revert "Display and parse numbers properly in all locales"" into oc-dev
am: 30e9474dbb

Change-Id: Ib72ca3ea03b3fb32d018e1fbad9b697ce5dd1391
2017-04-28 23:24:40 +00:00
TreeHugger Robot
30e9474dbb Merge "Revert "Display and parse numbers properly in all locales"" into oc-dev 2017-04-28 23:08:20 +00:00
TreeHugger Robot
67f691ff07 Merge "Tweak spacing for horizontal preferences." 2017-04-28 22:20:08 +00:00
Fan Zhang
d53c6d57f3 Add emergency broadcast to app & notification settings.
Also fixed a bug where progressive disclosure expand button is displayed
incorrectly when # of preference == threshold exactly.

Change-Id: I518687e374853ae8ab1c7e5337822492d6fd99ff
Fix: 36557600
Test: robotests
2017-04-28 14:36:17 -07:00
Fan Zhang
293556d6b8 Revert "Display and parse numbers properly in all locales"
Bug: 37311645

This reverts commit 8648c5ed3d.

Change-Id: If26d07a59dd9e71813a2b48f3bee25516bfb0b75
2017-04-28 21:06:28 +00:00
Philip P. Moltmann
2aff7dbfda Add "add service" pref to the autofill picker
Mimicing the behavior we have for adding a print service.

Fixes: 37735998
Test: - Started auto fill picker with add-service-settings set and unset.
        Only if set, the preference is added
      - RunSettingsRoboTests (unrelated failure in
                              SetupChooseLockPatternTest)
      - Enable + disable auto fill service while settings is open
Change-Id: Ie019a032a1d01373f8fd0ebd7ae2ddf9c4d8871f
2017-04-28 13:57:04 -07:00
Doris Ling
ab5b6e7360 Merge "Add content description to the master switch toggle button." into oc-dev am: 10158feecf
am: 79d8e5db66

Change-Id: Ied594a8096175ad340f246af3d467629df687bc1
2017-04-28 19:41:59 +00:00
Doris Ling
79d8e5db66 Merge "Add content description to the master switch toggle button." into oc-dev
am: 10158feecf

Change-Id: Icc68b53cbbb93755c7ce90db1c4d2f70d5e44cd1
2017-04-28 19:34:34 +00:00
TreeHugger Robot
10158feecf Merge "Add content description to the master switch toggle button." into oc-dev 2017-04-28 19:24:11 +00:00
Fan Zhang
9c93c28b5a Tweak spacing for horizontal preferences.
- Add minHeight to horizontal preference so they are not clustered
together.
- Wrap app_data_usage's into different categories so they don't rely on
SpacePreference to draw space and dividers.

Change-Id: Ieed90a39d48494d1207680483968b5733bdfb344
Fix: 37750568
Test: visual
2017-04-28 12:23:30 -07:00
Fan Zhang
d1c41a3064 Only show "reset app preference" actionbar menu in app info
Because it doesn't make sense to show it in other types of app
list view.

Change-Id: Ia4f84812a6f0acc434f770b026e5ed550714087a
Fix: 36110694
Test: robotests
2017-04-28 11:47:54 -07:00
TreeHugger Robot
1e583e5d03 Merge "Add method to check whether to enable anomaly detection" 2017-04-28 18:37:38 +00:00
TreeHugger Robot
082d1d34b0 Merge "Add flag to control whether or not we should tint icons" 2017-04-28 18:16:25 +00:00
Fan Zhang
cf96674977 Don't hide network reset even if it's disabled by admin.
Change-Id: Ib78a3c9434c8543f3be34932264802f1065cc54b
Fix: 37134598
Test: robotests
2017-04-28 18:06:16 +00:00
TreeHugger Robot
ea63c97690 Merge "Properly index developer options." 2017-04-28 17:24:34 +00:00
Fan Zhang
0a257ee1ba Add flag to control whether or not we should tint icons
Fix: 34365726
Test: robotests
Change-Id: Ic08d8590c9867fb0383da03f05237f74644a77ff
2017-04-28 09:54:33 -07:00
Bartosz Fabianowski
22fa438acc Merge "Fix a11y issues on the DO Disclosures page" into oc-dev am: 1871806fbe
am: 5c5b801371

Change-Id: I8fc5fa625cf5fee0a700ec1fa95e8409e727231d
2017-04-28 15:28:13 +00:00
Bartosz Fabianowski
5c5b801371 Merge "Fix a11y issues on the DO Disclosures page" into oc-dev
am: 1871806fbe

Change-Id: I23a370dca49f5351e5ea4448386840bbc1ef81a3
2017-04-28 15:25:44 +00:00
TreeHugger Robot
1871806fbe Merge "Fix a11y issues on the DO Disclosures page" into oc-dev 2017-04-28 15:20:09 +00:00
TreeHugger Robot
a8fdf95c56 Merge "Update strings" 2017-04-28 04:23:00 +00:00
TreeHugger Robot
54a95056e6 Merge "Use framework support to reserve icon space" 2017-04-28 04:17:53 +00:00
Felipe Leme
d35129ea3d Merge "Check for permission when displaying AutofilLServices." into oc-dev am: 5d27ad49a3
am: bb542f0894

Change-Id: I9421d7daa5184b4dbb06c7bfcd8b2ab46fe41252
2017-04-28 03:13:47 +00:00
Felipe Leme
bb542f0894 Merge "Check for permission when displaying AutofilLServices." into oc-dev
am: 5d27ad49a3

Change-Id: Iaf0b47c41ca879a88438f3a15fc7a6ab345236c1
2017-04-28 03:05:54 +00:00
TreeHugger Robot
5d27ad49a3 Merge "Check for permission when displaying AutofilLServices." into oc-dev 2017-04-28 02:50:04 +00:00
Fan Zhang
b763f04b1e Merge "Merge pointer/tts categories into one without heading" into oc-dev am: 4f4fe03a6e
am: 98ec71355b

Change-Id: I02004dde71686322f76c181da0991bd58161d8ab
2017-04-28 02:29:27 +00:00
Anton Philippov
72b505869f Merge "Add summary for Backup menu in Settings." into oc-dev am: 646d996865
am: d1cc1365fc

Change-Id: I0aecc05a9d2c2d8278460915d338a9b14b104854
2017-04-28 02:29:08 +00:00
Glen Kuhne
b7f7621b37 Merge "Disable submit button when PSK pass is invalid" into oc-dev am: 35cc22fcf2
am: 7038d26861

Change-Id: I56f1454f007c3f295ce0d2dc41ca91dcf4d9e3eb
2017-04-28 02:28:43 +00:00
Doris Ling
32927bceeb Merge "Refresh the App Info option menu after unintalling app updates." into oc-dev am: 64857437a4
am: 42126366f1

Change-Id: I98e675e80fcd1e3152b02395baec3559a2f7bf62
2017-04-28 02:28:23 +00:00
Doris Ling
69ef213f77 Merge "Add summary to special app access." into oc-dev am: 02619a6d9f
am: 1081882be6

Change-Id: Iabe06fbc51e2f581eb6e8b01fee99f13a70864c6
2017-04-28 02:27:52 +00:00
Sudheer Shanka
35b23bcb53 Merge "Update ActivityMonitor.onMatchIntent to ActivityMonitor.onStartActivity." into oc-dev am: f64c5236c7
am: e3961b402a

Change-Id: Iaa78ed7a3883b2d89f736d4c88c1f755906ebb28
2017-04-28 02:27:20 +00:00
Fan Zhang
98ec71355b Merge "Merge pointer/tts categories into one without heading" into oc-dev
am: 4f4fe03a6e

Change-Id: I0b333f0823ebd78f53a6f4be4707c5b77ca16a0e
2017-04-28 00:07:42 +00:00
Anton Philippov
d1cc1365fc Merge "Add summary for Backup menu in Settings." into oc-dev
am: 646d996865

Change-Id: I34cd8a9ab8482f287ea36051242df501e7efb0b0
2017-04-28 00:07:20 +00:00
Glen Kuhne
7038d26861 Merge "Disable submit button when PSK pass is invalid" into oc-dev
am: 35cc22fcf2

Change-Id: I85453268629231b8c3003b207e4edbf70c140ee2
2017-04-28 00:07:00 +00:00
Doris Ling
42126366f1 Merge "Refresh the App Info option menu after unintalling app updates." into oc-dev
am: 64857437a4

Change-Id: Ifa91856e910de3df6f695d1a31462ca8edda0822
2017-04-28 00:06:38 +00:00
Doris Ling
1081882be6 Merge "Add summary to special app access." into oc-dev
am: 02619a6d9f

Change-Id: Iafd970711e33556aeead681128aaeda5046df34b
2017-04-28 00:06:18 +00:00
Sudheer Shanka
e3961b402a Merge "Update ActivityMonitor.onMatchIntent to ActivityMonitor.onStartActivity." into oc-dev
am: f64c5236c7

Change-Id: Id4d543b5ff4a8abbb0356b7cd97ffe99bdc6540a
2017-04-28 00:05:53 +00:00
Maurice Lam
2a1ec7307d Revert "Fix Robolectric test on oc-dev. DO NOT MERGE"
This reverts commit 8352421baa.

Reason for revert: Not intended for master

Change-Id: Id6bb3c65e483b98a9aa4093a58460fe0bd453e05
2017-04-28 00:02:34 +00:00
fanzhang172
be419b7e37 Update strings
Fix: 37621709
Bug: 37640842
Test: manual

Change-Id: Ie2c23341b3104daca5d1d809b11e4d1c1bc090df
2017-04-27 16:41:13 -07:00
Fan Zhang
4f4fe03a6e Merge "Merge pointer/tts categories into one without heading" into oc-dev 2017-04-27 23:34:00 +00:00
TreeHugger Robot
646d996865 Merge "Add summary for Backup menu in Settings." into oc-dev 2017-04-27 23:20:29 +00:00
TreeHugger Robot
35cc22fcf2 Merge "Disable submit button when PSK pass is invalid" into oc-dev 2017-04-27 23:11:47 +00:00
TreeHugger Robot
64857437a4 Merge "Refresh the App Info option menu after unintalling app updates." into oc-dev 2017-04-27 23:08:20 +00:00
Fan Zhang
d57ce3af8f Properly index developer options.
Change-Id: Id9ab629438f52c65fd774341b1200dacb4efd93b
Fix: 37724514
Test: make RunSettingsRoboTests
2017-04-27 16:06:32 -07:00
TreeHugger Robot
02619a6d9f Merge "Add summary to special app access." into oc-dev 2017-04-27 22:31:48 +00:00
Salvador Martinez
9f629d6980 Add ability to switch between support versions
Creates a trampoline activity and adds functionality
to the SupportFeatureProvider interface so that we can
conditionally launch support V1 or V2.

Test: Test in ag/2144016
Bug: 37306241
Change-Id: I6d24e65cad91692e457ea216713e90239845b4f5
2017-04-27 15:13:33 -07:00
Doris Ling
e2ad415fdb Add content description to the master switch toggle button.
Set the preference title as the toggle button's content description, so
that when user focus on the button, it will read the lable as well on
top of just "switch on" or "switch off".

Change-Id: Id1954fd54b7d38cb4e75d8b3e49d05ee694e0e41
Fix: 37618855
Test: make RunSettingsRoboTests
2017-04-27 15:09:21 -07:00
TreeHugger Robot
d0417e42f0 Merge "Allow view/update EAB Provisioning status" 2017-04-27 22:01:36 +00:00