Commit Graph

4251 Commits

Author SHA1 Message Date
TreeHugger Robot
c4a4c9445a Merge "Apply LightActionBar theme to Settings app." 2017-01-06 00:10:29 +00:00
Daniel Nishi
b2531ebda4 Merge "Add first pass at a new Storage screen." 2017-01-05 22:35:39 +00:00
Daniel Nishi
ec89a3f57f Add first pass at a new Storage screen.
This patch begins setting up the structure for the screen.
The functionality for populating the data in the preferences
is coming in a later patch.

Bug: 33199077
Test: Settings Robo Tests
Change-Id: I9ebad9d3896501e31ac715704ca986eceb36877d
2017-01-05 11:54:56 -08:00
TreeHugger Robot
f5549ebbb0 Merge "Fix robolectric breakage because of internal resources" 2017-01-05 19:44:54 +00:00
Sunny Goyal
9445d36eea Merge "Adding a customizable development mode tile" 2017-01-05 19:41:15 +00:00
jackqdyulei
8a8f47c6f3 Fix robolectric breakage because of internal resources
The robolectirc breakage is mainly because of ag/1726837 and the
current robo tests cannot deal with private resources. Robo engineer
will working on this to make sure robo tests is compatible with private
resources(b/33431346) and be globally used.

This is a temporary fix to stop the breakage by adding the hardcoded
color and will be reverted after b/33431346 is finished.

Test: make -j40 RunSettingsRoboTests
Change-Id: I5f451d94f0162c818b98aaaa49d452d926dd83b1
2017-01-05 10:22:04 -08:00
Ruchi Kandoi
f1efbcfcae Merge "Update Android Beam feature summary string" am: 27a59e1d2c am: abe9a41d19 am: 662975d861
am: e40f036ab3

Change-Id: Ife5792584ec8af1fc8decc83436c567e23ab62b8
2017-01-05 18:17:57 +00:00
Sunny Goyal
bf9f2d2698 Adding a customizable development mode tile
User can configure the active state for development mode
which would allow enabling multiple options at once

Test: make -j40 RunSettingsRoboTests
Change-Id: I545b790f8c7097945f39ca003e5985b23cb53636
2017-01-05 10:16:18 -08:00
Ruchi Kandoi
e40f036ab3 Merge "Update Android Beam feature summary string" am: 27a59e1d2c am: abe9a41d19
am: 662975d861

Change-Id: I6bad7c49519869dd60e130e5a31cf3514b0896c1
2017-01-05 18:14:58 +00:00
Ruchi Kandoi
662975d861 Merge "Update Android Beam feature summary string" am: 27a59e1d2c
am: abe9a41d19

Change-Id: I0a2cf7b82818102adc857cd38007a6e3ba7b4dd9
2017-01-05 18:11:54 +00:00
Ruchi Kandoi
abe9a41d19 Merge "Update Android Beam feature summary string"
am: 27a59e1d2c

Change-Id: I6edef06c6e0c94dc8c5d27003f19b60b2f6c5f4c
2017-01-05 18:08:22 +00:00
Ruchi Kandoi
de2f8e7cc1 Update Android Beam feature summary string
Bug: 32183480
Test: compiles
Change-Id: I750e998ea73b10645666c7d080afe7320b705d47
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
2017-01-04 23:44:40 +00:00
Fan Zhang
e96b5b9faa Apply LightActionBar theme to Settings app.
Bug: 33558692
Test: visual
Test: RunSettingsRoboTests
Change-Id: I9f0fb71eb0cd0c58ac3b0f69544adec963faf2dd
2017-01-04 12:28:03 -08:00
Lei Yu
557d830502 Merge "Set statusBarColor to secondary_device_default_settings" 2017-01-03 19:10:08 +00:00
Maurice Lam
1168a7d794 Merge "Use regular preference theme for setup wizard" 2017-01-03 18:18:22 +00:00
jackqdyulei
c3b0724c61 Set statusBarColor to secondary_device_default_settings
The SettingsDrawer has a translucent scrim on top of status bar,
which makes the color of status bar darker. By resetting the
statusBarColor we can make the real color of status bar to
"#242424" as close as possible.

Bug: 30811708
Test: Manual - Take a screenshot
Change-Id: I639ccac9d32aff9df5854c009da1fae15ba0e71f
2017-01-03 09:40:19 -08:00
Maurice Lam
ce4a5ade9b Use regular preference theme for setup wizard
Use the regular preference theme rather than the settings specific
one, because setup wizard doesn't want the space reserved for icon
done in the settings theme.

Also minor changes to Espresso FirstIdViewMatcher for a more
descriptive message.

Test: runtest --path tests/app/src/com/android/settings/dashboard/PreferenceThemeTest.java
Bug: 33922083
Change-Id: Ic878ccf7b01cfa090ca4587b160e1f9dedfb8d3a
2016-12-29 15:59:29 -08:00
Robin Lee
b04fbc334e Clarify meaning of vpn_lockdown_{active,inactive}
Change-Id: I7ea1c91c800717ba5f8349a064ad94e24b87afdb
Fix: 33837714
2016-12-28 11:47:25 +00:00
TreeHugger Robot
44f2ad1c9a Merge "Align seek bar type preferences to reserve icon space" 2016-12-27 20:06:41 +00:00
Fan Zhang
0f79feaa93 Align seek bar type preferences to reserve icon space
Bug: 33775510
Fixes: 33787883
Test: visual

Change-Id: I886e75551f3510d85b6047cc55c26dd21c5c55df
2016-12-27 10:30:01 -08:00
TreeHugger Robot
5bc617bd67 Merge "Update typo in string" 2016-12-22 18:36:48 +00:00
Fan Zhang
cd23122aab Update typo in string
Change-Id: If3be29b785a05198984b0f990629499befcaed88
Fixes: 33738394
Test: compiles
2016-12-22 09:14:04 -08:00
TreeHugger Robot
3a1fae3ba9 Merge "Change Network & Internet to Network & internet." 2016-12-22 01:01:42 +00:00
TreeHugger Robot
627c811c11 Merge "Expose signals being sent to support in a fragment to the user" 2016-12-22 00:28:22 +00:00
TreeHugger Robot
41fa24b9df Merge "Changed string to notify user of effects" 2016-12-21 22:42:02 +00:00
Doris Ling
e71fa39118 Change Network & Internet to Network & internet.
Make "Internet" lowercase to be consistent with other settings title and
match the UI spec.

Bug: 33677629
Test: make SettingsFunctionalTests
Change-Id: I76d20c15e65db3c43e208ab8a48b7626c2103961
2016-12-21 13:44:46 -08:00
Julia Reynolds
b42ac40b5f Merge "Support showing notifications as badges." 2016-12-21 21:15:47 +00:00
Sean Stout
999a5bed11 Merge "Renamed "Demo mode" to "System UI demo mode"" 2016-12-21 19:36:53 +00:00
Youhan Wang
70b47859fa DO NOT MERGE OMADM Trigger in *#*#INFO#*#* hidden menu.
am: d9b3709fc1

Change-Id: I4f10d79d7dcd29a59c1ac0823f394cbb3e76256d
2016-12-21 00:37:24 +00:00
Salvador Martinez
10aba691ff Changed string to notify user of effects
Currently when a system app is removed we
only warn a user that other apps may stop working.
The two strings used for this have been modified to
inform the user that android itself may misbehave as
well if the app is uninstalled.

Test: Manual (string change)
Bug: 32789204
Change-Id: I2c1515ef078d7a96f20ed7db656d4769b02f4ecf
2016-12-20 16:20:29 -08:00
Salvador Martinez
779bfe2659 Expose signals being sent to support in a fragment to the user
The signals we are sending to support when a user
requests for support can now be accessed by clicking
on "system information" in the disclaimer.

Test: robotests
Bug: 32462840
Change-Id: Ibc941d51af117ec0e31d77972ac60d67fd1cecf1
2016-12-20 16:04:08 -08:00
Youhan Wang
d9b3709fc1 DO NOT MERGE OMADM Trigger in *#*#INFO#*#* hidden menu.
Failed Treehugger automerge to master, will be cherry-picked to master
manually.

Bug:32874442
Change-Id: Ie64eb28671ec4afafd352d1f86b61c4ce1108338
2016-12-20 12:37:12 -08:00
Julia Reynolds
d6835a20fc Support showing notifications as badges.
And remove unneeded app level settings.

Change-Id: I88f506b0704195181d1748a3135f8ee0f39b774f
Test: manual for now. will add tests when have real mocks for the pages
2016-12-20 13:07:04 -05:00
Sean Stout
b9245bf8e5 Renamed "Demo mode" to "System UI demo mode"
Test: Manually verified string in "Developer options"
Bug: 33694332
Change-Id: I9597b35b4a0a4f475a01ae8712123ca49c8f9b8b
2016-12-20 17:39:25 +00:00
TreeHugger Robot
ad5ccad461 Merge "Implement always-on VPN separate lockdown setting" 2016-12-20 16:45:48 +00:00
Robin Lee
e7347dd8c0 Implement always-on VPN separate lockdown setting
Allows Settings to control whether always-on VPN is required for the
connection to complete, or if it is offered on a best-efforts basis.

Change-Id: I5eb273a99e7559adc66b05e647c9130a819f99d4
Test: runtest -x tests/app/src/com/android/settings/vpn2/VpnTests.java
Fix: 32420810
2016-12-20 15:20:43 +00:00
TreeHugger Robot
a4ddf57270 Merge "Left align preferences and graphs to leave space for icon." 2016-12-19 23:11:16 +00:00
Jeremy Joslin
1fed0c6ae7 Merge "New pref toggle for network recommendations." am: a5249906ab am: 2b03ffb264
am: 6061ca1b1a

Change-Id: I05753f7a5d54cd7707531c0a6cd9491c081454b3
2016-12-19 22:09:52 +00:00
Jeremy Joslin
6061ca1b1a Merge "New pref toggle for network recommendations." am: a5249906ab
am: 2b03ffb264

Change-Id: Ie4f4255740559a3018ba84df0084ff94995aa87d
2016-12-19 22:06:22 +00:00
Jeremy Joslin
2b03ffb264 Merge "New pref toggle for network recommendations."
am: a5249906ab

Change-Id: I7f39f341077bcc403c06d08a87d394f0f25f6356
2016-12-19 22:02:23 +00:00
Fan Zhang
ec407ff78c Left align preferences and graphs to leave space for icon.
Bug: 33559277
Test: Visual inspection
Change-Id: Iacf9556826174a03b1cbf8a6f179b63d8686c5f5
2016-12-19 13:41:37 -08:00
Jeremy Joslin
fbcff7a6b2 New pref toggle for network recommendations.
Adding a new toggle to control whether network
recommendations are enabled.

Removed the "Use open networks" pref and its associated strings
and components as it's no longer needed.

Test: Built and ran.
BUG: 33549591
BUG: 33270391
Change-Id: I03069ca30d06089600ca958f8da117564189f839
Merged-In: I7248ac32e0598d82107c150372c1fe4e9e2243a5
Merged-In: I82eed6dc7daef1c622ea4e33ce42c331e0cd786d
2016-12-18 10:33:28 -08:00
Jaewoong Jung
12010156ab Merge "Adds a menu item for additional battery info to battery settings." 2016-12-16 22:05:21 +00:00
Jaewoong Jung
1e0f8ff5e5 Adds a menu item for additional battery info to battery settings.
Bug: 33352540
Test: No additional test failures.

Change-Id: Ibfc1a9463c93d3c087ed712fe45d3d0717472c6a
2016-12-16 12:25:32 -08:00
TreeHugger Robot
a8dee23ee5 Merge "Hide next button when max fingerprints enrolled" 2016-12-15 22:57:27 +00:00
TreeHugger Robot
d4443e7196 Merge "New pref toggle for network recommendations." 2016-12-15 01:43:56 +00:00
Maurice Lam
f8a325c7c6 Remove WifiSetupActivity
That activity was copied into setup wizard and is no longer used.

Also removed setup_illustration_lock_screen because that is also
not used in the current GLIF theme.

Test: Existing Robolectric tests pass
Bug: 33590605
Change-Id: Ib2ea02a5e4bce17a7ea829b854f73caf7d5c5f97
2016-12-14 22:41:58 +00:00
Jeremy Joslin
66e6027da0 New pref toggle for network recommendations.
Adding a new toggle to control whether network
recommendations are enabled.

Removed the "Use open networks" pref and its associated strings
and components as it's no longer needed.

Test: Built and ran.
BUG: 33549591
BUG: 33270391
Change-Id: I7248ac32e0598d82107c150372c1fe4e9e2243a5
2016-12-13 15:33:55 -08:00
Fan Zhang
1c118b5f2a Always reserve space for preference icons.
This aligns text on preferences on the same screen when some of them
don't have icons.

- Use a custom layout for
  preference
  EditPreference
  switch preference
  VolumeSeekPreference
  DialogPreferencei
  Restricted*Preference
  DropdownPreference

- Moved related style defs into a new file styles_preference.xml,
  because current styles file is too large to read.
- Switch <PreferenceScreen ...> to <Preference ...> for a bunch of
  regular preferences.
- Also removed some dead style.

Bug: 33430928
Test: runtest --path packages/apps/Settings/tests/app/src/com/android/settings/dashboard/PreferenceThemeTest.java

Change-Id: Ic9b75d3f133f2a83cd999297b8596253d4b10161
2016-12-12 16:02:45 -08:00
Svetoslav Ganov
c6a074c80d DO NOT MERGE Add Bluetooth toggle prompts - settings
If permission review is enabled toggling bluetoth on or off
results in a user prompt to collect consent. This applies
only to legacy apps, i.e. ones that don't support runtime
permissions as they target SDK 22.

bug:28715749
Change-Id: I0b9065446f9d0cfb819065eaf2dc160eb1c1f7ec
2016-12-12 09:44:39 -08:00