Commit Graph

23035 Commits

Author SHA1 Message Date
Svetoslav Ganov
c4321c7e6c Merge "[DO NOT MERGE] Modify system settings: incorrect UI state" 2015-12-03 22:38:54 +00:00
Svetoslav
28daa67fcb [DO NOT MERGE] Modify system settings: incorrect UI state
The privilege for an app to write to the system settings is protected
by an app-op signature permission. App-op permissions are special: if
the app-op is deny/allow we deny/allow write access; if the app-op is
default holding the permission determies write access. The settings
code assumes that CHANGE_NETWORK_STATE is an app op permission
(system|appop) while it is a normal permission which any app gets by
declaring it used in the manifest.

The side effect is that the state of the toggle in the UI for write
system settings will initially be in the wrong state if the app uses
both WRITE_SETTINGS and CHANGE_NETWORK_STATE. However, the code in
the public API an app uses to check write settings access would return
the opposite since it checks the WRITE_SETTINGS permission and its
app op. Hence, if an app requires write settings to start the user
will see in the settings UI it has access but the app will not have
access, so the app would prompt the user to allow write settings.
The non-obvious fix is for the user to toggle the setting off and on
to get the app op in the right state and be able to launch the app.

bug:25843134

Change-Id: I2da4eec1c3574bd6aef9ab968c9deb148536cb0a
2015-12-03 14:36:36 -08:00
Robin Lee
ee4808d37b Merge "VPN settings: grey out policy-restricted menus" 2015-11-13 14:07:05 +00:00
Robin Lee
4198607ee2 VPN settings: grey out policy-restricted menus
setHasOptionsMenu seems unreliable at stopping onCreateOptoinsMenu from
being called.

Change-Id: Ie86da8e35dddb6e3a0e4678defc55bf5776f6c2f
2015-11-13 14:01:43 +00:00
Jason Monk
c2a9cd03f7 Merge "Don't show MIDI USB option if not supported" 2015-11-04 14:43:11 +00:00
Zoran Jovanovic
81ec094554 Don't show MIDI USB option if not supported
If device doesn't support MIDI, don't show MIDI in "Use USB for" menu
when USB cable is connected.
(Selecting MIDI will crash the Settings app.)

Change-Id: I60f4cbb6357f162fecb574cdb6766cf5ed92e78e
2015-11-04 15:21:58 +01:00
Geoff Mendal
33ead118a8 am 55d7bf4f: (-s ours) am 32f4b469: (-s ours) am 47e870ad: (-s ours) Merge "Import translations. DO NOT MERGE" into mnc-dr-dev
* commit '55d7bf4f5cb26c4f26c3ac6cbad0b8ca3c0ad579':
  Import translations. DO NOT MERGE
2015-10-07 15:59:51 +00:00
Geoff Mendal
55d7bf4f5c am 32f4b469: (-s ours) am 47e870ad: (-s ours) Merge "Import translations. DO NOT MERGE" into mnc-dr-dev
* commit '32f4b4690ee39986595ad0803070f112e06203ef':
  Import translations. DO NOT MERGE
2015-10-07 15:55:23 +00:00
Geoff Mendal
32f4b4690e am 47e870ad: (-s ours) Merge "Import translations. DO NOT MERGE" into mnc-dr-dev
* commit '47e870adc8df32c2a6e2c531be115dd0b698850e':
  Import translations. DO NOT MERGE
2015-10-07 15:50:10 +00:00
Geoff Mendal
47e870adc8 Merge "Import translations. DO NOT MERGE" into mnc-dr-dev 2015-10-07 15:45:36 +00:00
Geoff Mendal
7d0343ae39 Import translations. DO NOT MERGE
Change-Id: I3b42883202e9bc41fcd5b4bcc844db53e7ee6efd
Auto-generated-cl: translation import
2015-10-07 07:44:44 -07:00
Geoff Mendal
e3cfc50cb0 am b224ec18: (-s ours) am fd9b7cf0: (-s ours) am e3d8faa5: (-s ours) am 4f7f05a0: (-s ours) am ad36aa0e: (-s ours) am 3963b980: (-s ours) am 793b2a2d: (-s ours) am d4fd061d: (-s ours) Import translations. DO NOT MERGE
* commit 'b224ec187db4f065bc8f4015eadfef10deba0e73':
  Import translations. DO NOT MERGE
2015-10-07 13:22:36 +00:00
Geoff Mendal
b224ec187d am fd9b7cf0: (-s ours) am e3d8faa5: (-s ours) am 4f7f05a0: (-s ours) am ad36aa0e: (-s ours) am 3963b980: (-s ours) am 793b2a2d: (-s ours) am d4fd061d: (-s ours) Import translations. DO NOT MERGE
* commit 'fd9b7cf03c4454df8ddf166eb37fa5370d28125b':
  Import translations. DO NOT MERGE
2015-10-07 13:18:40 +00:00
Geoff Mendal
fd9b7cf03c am e3d8faa5: (-s ours) am 4f7f05a0: (-s ours) am ad36aa0e: (-s ours) am 3963b980: (-s ours) am 793b2a2d: (-s ours) am d4fd061d: (-s ours) Import translations. DO NOT MERGE
* commit 'e3d8faa5ba76f79b112dd8925189455e878e3a66':
  Import translations. DO NOT MERGE
2015-10-07 13:13:34 +00:00
Geoff Mendal
e3d8faa5ba am 4f7f05a0: (-s ours) am ad36aa0e: (-s ours) am 3963b980: (-s ours) am 793b2a2d: (-s ours) am d4fd061d: (-s ours) Import translations. DO NOT MERGE
* commit '4f7f05a00bf1b909140119884b65373b6248c0db':
  Import translations. DO NOT MERGE
2015-10-07 13:07:48 +00:00
Geoff Mendal
4f7f05a00b am ad36aa0e: (-s ours) am 3963b980: (-s ours) am 793b2a2d: (-s ours) am d4fd061d: (-s ours) Import translations. DO NOT MERGE
* commit 'ad36aa0ed1b7ba2541d28bc447473e27f3d04e22':
  Import translations. DO NOT MERGE
2015-10-07 13:01:25 +00:00
Geoff Mendal
8527762af6 am c5f66d7e: (-s ours) am 5e183ac6: (-s ours) am bd64cd59: (-s ours) am 35d2cf1c: (-s ours) am b4a027d0: (-s ours) Import translations. DO NOT MERGE
* commit 'c5f66d7e8488b6c5a46e2600ae399a898cd67945':
  Import translations. DO NOT MERGE
2015-10-07 13:00:53 +00:00
Geoff Mendal
c5f66d7e84 am 5e183ac6: (-s ours) am bd64cd59: (-s ours) am 35d2cf1c: (-s ours) am b4a027d0: (-s ours) Import translations. DO NOT MERGE
* commit '5e183ac6608eb5aca32a2a2835cd321217b451fb':
  Import translations. DO NOT MERGE
2015-10-07 12:56:58 +00:00
Geoff Mendal
ad36aa0ed1 am 3963b980: (-s ours) am 793b2a2d: (-s ours) am d4fd061d: (-s ours) Import translations. DO NOT MERGE
* commit '3963b980bebacb58dd2ed57fd45b042a01f125a0':
  Import translations. DO NOT MERGE
2015-10-07 12:56:45 +00:00
Geoff Mendal
5e183ac660 am bd64cd59: (-s ours) am 35d2cf1c: (-s ours) am b4a027d0: (-s ours) Import translations. DO NOT MERGE
* commit 'bd64cd59d6aace965dec9896a545572e16b456d6':
  Import translations. DO NOT MERGE
2015-10-07 12:51:52 +00:00
Geoff Mendal
3963b980be am 793b2a2d: (-s ours) am d4fd061d: (-s ours) Import translations. DO NOT MERGE
* commit '793b2a2d444192ee587a643c88e535ebf0c98158':
  Import translations. DO NOT MERGE
2015-10-07 12:51:18 +00:00
Geoff Mendal
793b2a2d44 am d4fd061d: (-s ours) Import translations. DO NOT MERGE
* commit 'd4fd061d6e33abb96dd8a6cac2d14cdbca154ce9':
  Import translations. DO NOT MERGE
2015-10-07 12:46:38 +00:00
Geoff Mendal
bd64cd59d6 am 35d2cf1c: (-s ours) am b4a027d0: (-s ours) Import translations. DO NOT MERGE
* commit '35d2cf1c0c75342b307fa90f1508741b10169c9f':
  Import translations. DO NOT MERGE
2015-10-07 12:46:25 +00:00
Geoff Mendal
35d2cf1c0c am b4a027d0: (-s ours) Import translations. DO NOT MERGE
* commit 'b4a027d07bdd6b488a0ca576f7369beb0cad17c6':
  Import translations. DO NOT MERGE
2015-10-07 12:41:35 +00:00
Geoff Mendal
d4fd061d6e Import translations. DO NOT MERGE
Change-Id: I93b053134a71c4db60e58d3bf8fd9c43cd90cc9b
Auto-generated-cl: translation import
2015-10-07 05:36:18 -07:00
Geoff Mendal
b4a027d07b Import translations. DO NOT MERGE
Change-Id: Ifeb18585f7add2909ad50d12839ba920a76cf44c
Auto-generated-cl: translation import
2015-10-07 05:23:13 -07:00
Geoff Mendal
416565a804 am 714bc28b: (-s ours) am 7a3682ad: (-s ours) am 32037913: (-s ours) Merge "Import translations. DO NOT MERGE" into mnc-dr-dev
* commit '714bc28b9200680cc4333c00a803711b28f9537b':
  Import translations. DO NOT MERGE
2015-10-05 15:48:22 +00:00
Geoff Mendal
714bc28b92 am 7a3682ad: (-s ours) am 32037913: (-s ours) Merge "Import translations. DO NOT MERGE" into mnc-dr-dev
* commit '7a3682ad1642ccd7a4fed32c633d8abeef9b8db3':
  Import translations. DO NOT MERGE
2015-10-05 15:41:17 +00:00
Geoff Mendal
7a3682ad16 am 32037913: (-s ours) Merge "Import translations. DO NOT MERGE" into mnc-dr-dev
* commit '3203791351e56e5ad0ead42c967fac0e154cbf7c':
  Import translations. DO NOT MERGE
2015-10-05 15:35:38 +00:00
Geoff Mendal
3203791351 Merge "Import translations. DO NOT MERGE" into mnc-dr-dev 2015-10-05 15:30:33 +00:00
Geoff Mendal
71f3c7791b Import translations. DO NOT MERGE
Change-Id: Iaf5ad5766d6f6fbd163d612ad1314f62cf07cc1d
Auto-generated-cl: translation import
2015-10-05 07:42:17 -07:00
Geoff Mendal
8af3e68309 am 5073cf5d: (-s ours) am 223b9739: (-s ours) am 37166a4c: (-s ours) am a4cd63f6: (-s ours) am 03226257: (-s ours) am 45335b0c: (-s ours) am 0070fbfe: (-s ours) am f0338376: (-s ours) Import translations. DO NOT MERGE
* commit '5073cf5dbf2c754baa2b77ba741e0ea5babfd23e':
  Import translations. DO NOT MERGE
2015-10-05 13:19:24 +00:00
Geoff Mendal
5073cf5dbf am 223b9739: (-s ours) am 37166a4c: (-s ours) am a4cd63f6: (-s ours) am 03226257: (-s ours) am 45335b0c: (-s ours) am 0070fbfe: (-s ours) am f0338376: (-s ours) Import translations. DO NOT MERGE
* commit '223b9739a9debdbdfd2a4d3b42c66c36d04d21cd':
  Import translations. DO NOT MERGE
2015-10-05 13:13:40 +00:00
Geoff Mendal
223b9739a9 am 37166a4c: (-s ours) am a4cd63f6: (-s ours) am 03226257: (-s ours) am 45335b0c: (-s ours) am 0070fbfe: (-s ours) am f0338376: (-s ours) Import translations. DO NOT MERGE
* commit '37166a4cf69254d5993d25c4e2a446bb5555411e':
  Import translations. DO NOT MERGE
2015-10-05 13:06:50 +00:00
Geoff Mendal
37166a4cf6 am a4cd63f6: (-s ours) am 03226257: (-s ours) am 45335b0c: (-s ours) am 0070fbfe: (-s ours) am f0338376: (-s ours) Import translations. DO NOT MERGE
* commit 'a4cd63f6cc3a835ab268a9854f5ea8d7f41342c0':
  Import translations. DO NOT MERGE
2015-10-05 13:01:52 +00:00
Geoff Mendal
a4cd63f6cc am 03226257: (-s ours) am 45335b0c: (-s ours) am 0070fbfe: (-s ours) am f0338376: (-s ours) Import translations. DO NOT MERGE
* commit '032262578565c928b47996d096f3518cf1f09aa7':
  Import translations. DO NOT MERGE
2015-10-05 12:55:55 +00:00
Geoff Mendal
41301f1806 am 404d21fa: (-s ours) am bcc5b07e: (-s ours) am 7521c1a0: (-s ours) am 82c61b2d: (-s ours) am 010d2fcd: (-s ours) Import translations. DO NOT MERGE
* commit '404d21fa17f250f3d1df04726a2e6be71d9a3f35':
  Import translations. DO NOT MERGE
2015-10-05 12:54:44 +00:00
Geoff Mendal
0322625785 am 45335b0c: (-s ours) am 0070fbfe: (-s ours) am f0338376: (-s ours) Import translations. DO NOT MERGE
* commit '45335b0c5eeaeb068af6c35bcaa25b08cf10db9d':
  Import translations. DO NOT MERGE
2015-10-05 12:52:33 +00:00
Geoff Mendal
404d21fa17 am bcc5b07e: (-s ours) am 7521c1a0: (-s ours) am 82c61b2d: (-s ours) am 010d2fcd: (-s ours) Import translations. DO NOT MERGE
* commit 'bcc5b07e99d6947ee4d0c9430899ce5485bcbaea':
  Import translations. DO NOT MERGE
2015-10-05 12:48:14 +00:00
Geoff Mendal
45335b0c5e am 0070fbfe: (-s ours) am f0338376: (-s ours) Import translations. DO NOT MERGE
* commit '0070fbfe01eab83402949298188322f1168b5b3c':
  Import translations. DO NOT MERGE
2015-10-05 12:45:22 +00:00
Geoff Mendal
bcc5b07e99 am 7521c1a0: (-s ours) am 82c61b2d: (-s ours) am 010d2fcd: (-s ours) Import translations. DO NOT MERGE
* commit '7521c1a03e929ab7d26d4492a434a4b33bfe52c3':
  Import translations. DO NOT MERGE
2015-10-05 12:42:21 +00:00
Geoff Mendal
0070fbfe01 am f0338376: (-s ours) Import translations. DO NOT MERGE
* commit 'f0338376779311f2ee0c709e9735dfe5e89cde56':
  Import translations. DO NOT MERGE
2015-10-05 12:41:50 +00:00
Geoff Mendal
7521c1a03e am 82c61b2d: (-s ours) am 010d2fcd: (-s ours) Import translations. DO NOT MERGE
* commit '82c61b2dd878eae9a30bd7953bf3e2390e1e5611':
  Import translations. DO NOT MERGE
2015-10-05 12:34:59 +00:00
Geoff Mendal
f033837677 Import translations. DO NOT MERGE
Change-Id: I2aa93f9635911e98133a6ab0cbba1740c62551cf
Auto-generated-cl: translation import
2015-10-05 05:33:27 -07:00
Geoff Mendal
82c61b2dd8 am 010d2fcd: (-s ours) Import translations. DO NOT MERGE
* commit '010d2fcd2a4b8fda906ff0a0e04554475a45489c':
  Import translations. DO NOT MERGE
2015-10-05 12:32:07 +00:00
Geoff Mendal
010d2fcd2a Import translations. DO NOT MERGE
Change-Id: I56f2a38c8fee8b9cc019538933dfeead37a14d75
Auto-generated-cl: translation import
2015-10-05 05:20:30 -07:00
Zach Kuznia
ff66f8b5f1 am 24cb6374: am a8f3f067: am ae8aea76: Merge "Allow manual to be read from disk" into mnc-dr-dev
* commit '24cb6374df50a6ea5978fb9851e4030ac9924307':
  Allow manual to be read from disk
2015-10-01 00:28:33 +00:00
Zach Kuznia
24cb6374df am a8f3f067: am ae8aea76: Merge "Allow manual to be read from disk" into mnc-dr-dev
* commit 'a8f3f067b672a8e055e76beee300cc2b1a8bea31':
  Allow manual to be read from disk
2015-10-01 00:23:58 +00:00
Zach Kuznia
a8f3f067b6 am ae8aea76: Merge "Allow manual to be read from disk" into mnc-dr-dev
* commit 'ae8aea76e5cbef1eefde401f8622d05275156cf7':
  Allow manual to be read from disk
2015-10-01 00:15:52 +00:00
Zach Kuznia
ae8aea76e5 Merge "Allow manual to be read from disk" into mnc-dr-dev 2015-10-01 00:08:05 +00:00