232 Commits

Author SHA1 Message Date
Geoff Mendal
4da11f31c3 Import translations. DO NOT MERGE
Change-Id: If349d6b1bd99c61e78a7076d4c7b506abb7c9ac0
Auto-generated-cl: translation import
2016-01-13 05:55:54 -08:00
Sudheer Shanka
9ec29e3d6d Merge "Move restricted padlock support to SettingsLib" 2016-01-12 18:25:00 +00:00
Gustav Sennton
32895546c6 Merge "More string resources for WebView implementation setting." 2016-01-12 18:14:45 +00:00
Sudheer Shanka
7ff866d286 Move restricted padlock support to SettingsLib
Change-Id: Ib0b1c58d1f45e017b6b17ce0a55ca839b900cba4
2016-01-12 18:14:24 +00:00
Tony Mantler
231c9fd727 Merge "Move a bunch of app restrictions logic to SettingsLib" 2016-01-12 17:17:00 +00:00
Tony Mantler
e662ca6b5e Move a bunch of app restrictions logic to SettingsLib
Change-Id: I68cd6304164744fd0676d13ef6badffac79adab5
2016-01-12 09:16:21 -08:00
Jason Monk
c06fbb1298 Move battery saver notification to QS
Remove the battery saver notification and instead create a detail
panel within QS that allows it to be turned on and off.

Change-Id: I54654d26183586fa171fda04877a840701f8ef33
2016-01-11 14:29:23 -05:00
Geoff Mendal
73ffe1a9d6 Import translations. DO NOT MERGE
Change-Id: I582f2e3659c92e18880ec1970a42dcb4d9e44cfe
Auto-generated-cl: translation import
2016-01-11 05:59:44 -08:00
Jason Monk
f509d7e65a Add suggestions parsing to SettingsLib
Add a parser that will parse an XML of the suggestion categories
and ordering and query those categories into Tiles.

Change-Id: I3154c94e176108358163bbe36feb48e889fe00d1
2016-01-08 09:47:35 -05:00
Gustav Sennton
77cd9021d5 More string resources for WebView implementation setting.
It is not valid for the user to choose a disabled WebView implementation
so if the user does that we prompt them to enable the chosen package. In
this patch we add a string resource for the message prompting the user
to do this.

Bug: 26400585

Change-Id: I112783135c453c324f9178dcdac6bacdd73d33b1
2016-01-07 18:34:51 +00:00
Jeff Sharkey
e06b4d1d9f Consistent naming for PackageManager methods.
When hidden PackageManager methods take a userId argument, they
should be named explicitly with the "AsUser" suffix.  This fixes
several lagging examples so that we can pave the way to safely
start passing flags to new methods without scary overloading.

Also fix spacing issues in various logging statements.

Change-Id: I1e42f7f66427410275df713bea04f6e0445fba28
2016-01-06 15:21:06 -07:00
Geoff Mendal
53453502ca Import translations. DO NOT MERGE
Change-Id: Idd3021ee355626bc12361a252aab329d1d116b24
Auto-generated-cl: translation import
2016-01-06 05:57:10 -08:00
Tony Mantler
4c66048659 Merge "Increase charlimit for select_logd_size_summaries" 2016-01-05 21:08:47 +00:00
Tony Mantler
ea2295c446 Increase charlimit for select_logd_size_summaries
b/26328941
b/26335699

Change-Id: I40d5b745a5794bc63e3cb4c8bfb357164b36265d
2016-01-05 12:53:51 -08:00
Jorim Jaggi
6f2efd3d8c Add developer option for freeform window support (1/2)
Also disable default force-resizable on non-user builds.

Bug: 25276672
Bug: 24815256
Bug: 26294625
Bug: 26294534
Change-Id: I5b31e494c993d2d9dad175b94b4f30637e8f3718
2016-01-05 13:49:59 +01:00
Geoff Mendal
4a5b54fb3b Import translations. DO NOT MERGE
Change-Id: I86141e2b59f4b3fd5adf1beb3a848d2dae49e871
Auto-generated-cl: translation import
2016-01-04 05:53:33 -08:00
Geoff Mendal
4e31a9e688 Import translations. DO NOT MERGE
Change-Id: I8272ade26943091694be6ce0b8d7e8bbbc1e4ac6
Auto-generated-cl: translation import
2015-12-30 06:06:22 -08:00
Mark Salyzyn
6eb1a3e8c6 resolve merge conflicts of 94ab88228e to master.
Bug: 26178938
Change-Id: I1ec3421f4bb501942a0c06032d56cdaf06f56b45
2015-12-28 11:20:24 -08:00
Geoff Mendal
bc97f81d7a Import translations. DO NOT MERGE
Change-Id: I3f6a2f37d640e10ad8ed5d0db0e7a81d4a5e8ef3
Auto-generated-cl: translation import
2015-12-23 05:53:57 -08:00
Geoff Mendal
3f760fc7a1 Import translations. DO NOT MERGE
Change-Id: I172a76921ba1c4825f3f1c550c713800e8ea2fc6
Auto-generated-cl: translation import
2015-12-21 06:00:28 -08:00
Adam Lesinski
906fd73e11 Merge "Fix positional arguments in strings" 2015-12-16 23:02:16 +00:00
Adam Lesinski
cf982aa2e3 Fix positional arguments in strings
Change-Id: Id5768adba6b0422b5bb81e800a32be19db2a8626
2015-12-16 14:35:37 -08:00
Geoff Mendal
caf200f88c Import translations. DO NOT MERGE
Change-Id: Idf26135155e3dc2873aa5f4de0f67fb56b8a971f
Auto-generated-cl: translation import
2015-12-16 06:02:07 -08:00
Gustav Sennton
88b3b57341 Merge "Add functionality for changing WebView provider." 2015-12-14 14:33:56 +00:00
Geoff Mendal
7c359fb2ca Import translations. DO NOT MERGE
Change-Id: I5dca6baedea38294b9e84939627ac50d4cb8e6a5
Auto-generated-cl: translation import
2015-12-14 05:54:39 -08:00
Geoff Mendal
a3e259faa0 Import translations. DO NOT MERGE
Change-Id: I2360d1f96925f30797c1b33a2f06729690189dac
Auto-generated-cl: translation import
2015-12-11 19:02:54 -08:00
Gustav Sennton
6258dcd7ea Add functionality for changing WebView provider.
Make it possible to change WebView provider (through a Developer
setting) and kill all apps using the old provider.
This includes checking the signatures of the WebView providers to make
sure they are valid.

Now that we can change WebView provider through a setting it is possible
to change provider while some provider is being updated. Because of this
we now keep track of which provider should be in use in
WebViewUpdateService to make sure we use the correct provider at all
times.

We now also read WebView package meta data (name, package name, and
signature) from a separate xml file.

Main bug: crbug.com/546185

Bug: 25338573

Change-Id: I660fd1a40a5388f6569a06a7f0d029e8ff65945a
2015-12-11 14:29:44 +00:00
Geoff Mendal
84945e5e51 Import translations. DO NOT MERGE
Change-Id: I1b5951f177c1c02c9aa11dea03365253138b8a30
Auto-generated-cl: translation import
2015-12-09 05:50:28 -08:00
Geoff Mendal
87661e2098 Import translations. DO NOT MERGE
Change-Id: I6dfc3a1250262aaf29428f1a907a271650892be0
Auto-generated-cl: translation import
2015-12-07 05:49:49 -08:00
Tony Mantler
5881ebc882 Move strings to SettingsLib
Change-Id: I8dc93cfc206e41b14f894b03ecd8a18225d47fe7
2015-12-04 11:24:34 -08:00
Jason Monk
2a5d79aa6f Fix crashes in Settings + SUW
Bug: 25981625
Bug: 25989520
Bug: 25987331
Change-Id: Ib53c99edf45bb4550bfb9761ed09ca3677068591
2015-12-03 10:51:58 -05:00
Jason Monk
e79790b268 Speed up setting launch
Try to avoid too many calls to the PM and cache the info we get
from it to avoid too much stuff during settings launch.

Change-Id: I64132cbe47cf8eac6080c8c82583b0b5eeb75a28
2015-12-02 15:54:29 -05:00
Lorenzo Colitti
10373488f0 Merge "Don't show "Connected, no Internet" any longer than necessary." 2015-12-01 03:24:08 +00:00
Jason Monk
3175a6e395 Guard against monkey crash
Bug: 25795998
Change-Id: I351faae1e29d09b7577435207ec466a1ff5ed237
2015-11-30 15:07:40 -05:00
Lorenzo Colitti
ab313f8443 Don't show "Connected, no Internet" any longer than necessary.
Currently, both the wifi detail view in Quick Settings and the
wifi settings screen show "connected, no internet" for a few
seconds after a network connects. This makes it seem that
network validation is slow, even though usually it only takes
tens or hundreds of milliseconds.

Fix this by updating the access point list when we receive an
onCapabilitiesChanged NetworkCallback for the current wifi
connection.

This also allows us to stop listening to the RSSI_CHANGED_ACTION
broadcast, because:

1. WifiStateMachine only ever sends out that broadcast just after
   calling updateCapabilities, which causes an
   onCapabilitiesChanged callback to be received.
2. We don't use any of the extras in the RSSI_CHANGED_ACTION
   broadcast, only call updateNetworkInfo, which we do on
   every onCapabilitiesChanged callback anyway.

While I'm at it, move a variable assignment around to improve
clarity.

Change-Id: I57d3a13754ba4d8c6d58c566713d3f07d0ed2476
2015-12-01 01:37:29 +09:00
Geoff Mendal
4da1c1e6a5 Import translations. DO NOT MERGE
Change-Id: Ida232117d56cfc78ecf7daadb2f6642a6341b3bc
Auto-generated-cl: translation import
2015-11-30 05:51:51 -08:00
Tony Mantler
de8d933257 Merge "Move AnimatedImageView and AuthenticatorHelper to SettingsLib" 2015-11-18 16:47:41 +00:00
Jason Monk
4cf95aef83 Move some stuff to SettingsLib to use for Settings Home
Change-Id: Id903747069fe83a896132714e580b1a1d7ee895c
2015-11-18 10:06:54 -05:00
Tony Mantler
d1e3272044 Move AnimatedImageView and AuthenticatorHelper to SettingsLib
Change-Id: If3fef35b88b041326c510064679e92a90f31c6b2
2015-11-17 15:14:00 -08:00
Tony Mantler
80ac37d033 Merge "Move some methods to DeviceInfoUtils in SettingsLib" 2015-11-16 18:12:51 +00:00
Tony Mantler
e92cf6d739 Move some methods to DeviceInfoUtils in SettingsLib
Change-Id: I646c89c2803e4386a4b24f10ec186871768e7239
2015-11-16 09:44:52 -08:00
Sanket Padawe
0d23df82af Merge "Don\'t allow contact sharing by default for device not recognized as carkit." into mnc-dr-dev am: 5b6ad87630 am: 4f822bbf2a am: 761af3d27d
am: c9d033a71a

* commit 'c9d033a71afc263c0e493d33e555c3134f665bfb':
  Don't allow contact sharing by default for device not recognized as carkit.
2015-11-13 00:26:54 +00:00
Sanket Padawe
761af3d27d Merge "Don\'t allow contact sharing by default for device not recognized as carkit." into mnc-dr-dev am: 5b6ad87630
am: 4f822bbf2a

* commit '4f822bbf2a1c44c9dc5668857aa8cf7f0e5969cc':
  Don't allow contact sharing by default for device not recognized as carkit.
2015-11-13 00:07:47 +00:00
Sanket Padawe
4f822bbf2a Merge "Don\'t allow contact sharing by default for device not recognized as carkit." into mnc-dr-dev
am: 5b6ad87630

* commit '5b6ad87630756751471f7224672328d955c8f2fb':
  Don't allow contact sharing by default for device not recognized as carkit.
2015-11-12 23:58:48 +00:00
Jason Monk
f18a55da5a SettingsLib Drawer: Listen to theme about actionbar
Show it or not based on windowNoTitle.

Bug: 25567755
Change-Id: Ie1a6b79eb87dcc101bd76785df7c5330acc54603
2015-11-12 18:51:48 +00:00
Sanket Padawe
07533dbfff Don't allow contact sharing by default for device not recognized as carkit.
+ Don't allow contact sharing by default for devices not recognized
as carkit at pair time.

Bug: 23607427
Change-Id: If6babb10117ba7ee5008a4a29450a7cb981bea4a
2015-11-11 15:01:35 -08:00
Tony Mantler
6038349b4e Merge "Move RecentLocationApps to SettingsLib" 2015-11-10 17:48:47 +00:00
Tony Mantler
65eb4ada18 Move RecentLocationApps to SettingsLib
Change-Id: I73c7c7a2436a6af9f5353a20ea7afc4f6e57b485
2015-11-10 17:47:56 +00:00
Geoff Mendal
ac61db5ebc Import translations. DO NOT MERGE
Change-Id: I75bc3c96b606f19818b4da31b15db9be6ba05760
Auto-generated-cl: translation import
2015-11-09 05:52:07 -08:00
Jason Monk
51a942380b Updates to Drawer
Support doing nothing on tvs and watches.  Also better not doing
anything with no categories existing.

Change-Id: I4a12d4d907a08e75ed3cdcd3f7c68a3a100c687d
2015-11-05 08:52:41 -05:00