Commit Graph

13075 Commits

Author SHA1 Message Date
Phil Weaver
9625d164e4 Merge "Back-port fixes for b/62196835" into mnc-dev am: 093c7a8e56
am: 0ddd7e4714

Change-Id: If39e3e66871aed33dfa0a9949cfd70a7ec45231f
2017-07-18 23:35:25 +00:00
Phil Weaver
0ddd7e4714 Merge "Back-port fixes for b/62196835" into mnc-dev
am: 093c7a8e56

Change-Id: I7f734c7878cf065d15335602f9b0a6e02a786d53
2017-07-18 23:28:55 +00:00
Phil Weaver
d4a5fd1ce3 Back-port fixes for b/62196835
Bug: 62196835
Test: Created an accessibility service that displays a system
and a toast overlay, confirmed that it disappeared when we
reached the accessibility permission screen that uses this
flag.

Change-Id: Ic51ead670fc480e549512ba1d02f49d9c13bc3f0
2017-07-17 16:36:34 -07:00
Hugo Benichi
f88508bd3e DO NOT MERGE ANYWHERE Add CONNECTIVITY_USE_RESTRICTED_NETWORKS permission
This patch creates a new permission used by ConnectivityService to give
access to restricted networks without the NET_CAPABILITY_NOT_RESTRICTED
capability bit on.

Bug: 24497316
Change-Id: I5b6c8a9ef14395b2f1ab26cb17b24d7876ec79f1
2016-11-09 19:08:30 -08:00
Xin Li
ee2903686f Merge "Merge "DO NOT MERGE - Added Emergency affordance feature" into
marshmallow-dev" into mnc-dev.

Change-Id: I7215eebd4a2cc9a4b6ccf2a3e36ed8edc556d208
2016-10-13 13:51:42 -07:00
Selim Cinek
13f51c683e DO NOT MERGE - Added translations for emergency action string
Bug: 30404490
Change-Id: Ic20d93005882bb71cef32a705443e427b0a9bd71
2016-10-12 23:22:58 +00:00
Selim Cinek
cd22634003 DO NOT MERGE - Added Emergency affordance feature
Added a service that listens whether emergency affordances
are necessary.

If the they are needed, it adds an option to the
global actions dialog that directly launches the
emergency call and also adds a long-press listener
to the keyguard emergency button.

Test: adb shell settings put global force_emergency_affordance 1 && adb shell settings put global emergency_affordance_number 111112
Bug: 30404490
Change-Id: Ib96a15da2ef4b568a8d77140ebca6aa6f20f5ddb
2016-10-06 02:15:31 +00:00
Julius D'souza
3275a3a5a5 DO NOT MERGE ANYWHERE: Add dynamic illuminance hysteresis support
Bug: 18572096

Change-Id: Ie0ff1990b8f4a3d435328834871f04a6e2bd5e97
2016-08-22 11:40:03 -07:00
Julius D'souza
13edf0a70b DO NOT MERGE ANYWHERE: Make slow brightness display ramp rate configurable.
Add overlay setting with current default value.

Bug: 30085530
Change-Id: Ib5d2448b88cfb66a97febcdf06e2118c84b16cd0
2016-08-15 12:15:29 -07:00
Prashant Malani
61038ddb61 DO NOT MERGE ANYWHERE: Make display brightness ramp rate fast configurable
Add an overlay setting, and keep the default to its existing value of
200.

Bug: 26552257
Change-Id: Ifd29d80e28e57c5cfc640d519a62144ab5e963fa
2016-08-03 15:28:13 -07:00
Sudheer Shanka
fb87ae59b0 Merge \\"Reduce shell power over user management.\\" into mnc-dev am: 964500fd43
am: 9bfa0ad22f

Change-Id: I952f6a12be0c1edc6027ccce785d47d7f84757ef
2016-06-21 22:19:05 +00:00
Sudheer Shanka
9bfa0ad22f Merge \"Reduce shell power over user management.\" into mnc-dev
am: 964500fd43

Change-Id: I3531a208b4e2bd603bde2afcbee9589bf2f712d9
2016-06-21 22:11:44 +00:00
Sudheer Shanka
cd50529e6f Reduce shell power over user management.
Remove MANAGE_USERS permission from shell and whitelist it for
some specific functionality.

Bug: 29189712
Change-Id: Ifb37448c091af91991964511e3efb1bb4dea1ff3
2016-06-16 10:17:02 -07:00
Gus Prevas
1d3bac82b3 Merge "Defines task to front/back animations in styles_micro." into cw-e-dev 2015-12-29 15:09:26 +00:00
Gus Prevas
fcc57db731 Defines task to front/back animations in styles_micro.
Bug: 26112737
Change-Id: I9f8c1da21580d525c32a76f25e223dc24d012837
2015-12-28 15:02:13 -05:00
Geoff Mendal
22dea4e16f Import translations. DO NOT MERGE
Change-Id: I72a2242dff4a0d0c661bcdbc2ed2cca8dc38a89e
Auto-generated-cl: translation import
2015-12-15 20:18:32 -08:00
Geoff Mendal
b21b778567 Import translations. DO NOT MERGE
Change-Id: Id46055ddba8834518c0faf5e0dd95d883dd79542
Auto-generated-cl: translation import
2015-11-23 14:26:59 +01:00
Geoff Mendal
83d65fea01 Import translations. DO NOT MERGE
Change-Id: Ia050e5148fdf971a3beb18147fd6350fc0984e04
Auto-generated-cl: translation import
2015-11-16 14:18:40 +01:00
Geoff Mendal
ead61cca62 Import translations. DO NOT MERGE
Change-Id: If1583a01724c6eb81c234b7f2b71c7f276d67a13
Auto-generated-cl: translation import
2015-11-11 18:41:18 +01:00
Geoff Mendal
984f7fb960 Import translations. DO NOT MERGE
Change-Id: Ief45ae89cfe3bfd76390f8f70276c2411d0dfc30
Auto-generated-cl: translation import
2015-11-11 18:07:16 +01:00
Geoff Mendal
016d9e7c4d Import translations. DO NOT MERGE
Change-Id: I58434476f0ed8edce61cd6827f25842d2f546340
Auto-generated-cl: translation import
2015-11-09 18:43:57 +01:00
Geoff Mendal
49eeda33dd Import translations. DO NOT MERGE
Change-Id: I664d6f94b74430f003182bc72db6610521883fa9
Auto-generated-cl: translation import
2015-11-09 18:10:12 +01:00
Geoff Mendal
f8f111fc2c Import translations. DO NOT MERGE
Change-Id: Icad182fa5b410d93f43fcba49a0d07cefed7970c
Auto-generated-cl: translation import
2015-11-04 11:40:21 -06:00
Geoff Mendal
3b2a1141cb Import translations. DO NOT MERGE
Change-Id: I7c47fb535cfa65f435efe21fd59118039b6359f5
Auto-generated-cl: translation import
2015-11-04 07:20:46 -06:00
Ching Tzung Lin
7f54aa1e81 Merge "Remove circular_display_mask_offset symbol and default" into cw-e-dev 2015-11-03 18:39:40 +00:00
Ching Tzung Lin
f83d778e10 Remove circular_display_mask_offset symbol and default
Bug:25220421
Change-Id: I05c3bc3c54ee4aaefdfbb4963b8f656663ccee51
2015-11-02 13:39:51 -08:00
Svetoslav Ganov
22d7f4c2ed Merge "Allow verifier to grant permissions" into mnc-dr-dev
am: cfa233eefb

* commit 'cfa233eefb5b77c96a3239a5a51f381a7f0722c9':
  Allow verifier to grant permissions
2015-11-02 19:38:22 +00:00
Svetoslav
7bddf5aa06 Allow verifier to grant permissions
bug:25329324

Change-Id: I2ac01a983ad812df7725a0499a8d9b470a7ea481
2015-10-29 17:02:43 -07:00
Svetoslav Ganov
35151fbc8b Merge "Make SYSTEM_ALERT_WINDOW development permission" into mnc-dr-dev
am: 2658cb002a

* commit '2658cb002abae9341c9a82bfeaed764ba5bf97c8':
  Make SYSTEM_ALERT_WINDOW development permission
2015-10-29 01:16:46 +00:00
Svetoslav Ganov
2658cb002a Merge "Make SYSTEM_ALERT_WINDOW development permission" into mnc-dr-dev 2015-10-29 01:10:46 +00:00
Anthony Hugh
b69cab65d1 Merge "Update permission label strings" into cw-e-dev 2015-10-28 18:22:41 +00:00
Ching Tzung Lin
36da2a208e Merge "Consolidates config_windowOutsetBottom and circular_display_mask_offset" into cw-e-dev 2015-10-28 17:25:24 +00:00
Geoff Mendal
bcefa34c3f Import translations. DO NOT MERGE
Change-Id: Id9e2298a05893e3769f0e62bcda5fe70c058d11a
Auto-generated-cl: translation import
2015-10-28 07:37:31 -07:00
Geoff Mendal
c3b637f8d1 Import translations. DO NOT MERGE
Change-Id: I9c1726898d50ea8971a12ddc9fe575615682f95d
Auto-generated-cl: translation import
2015-10-28 07:21:49 -07:00
Svetoslav
01af6a42a6 Make SYSTEM_ALERT_WINDOW development permission
bug:25329324

Change-Id: I0086464846bab9424764dd0d726692d96a0f1207
2015-10-27 18:12:06 -07:00
Anthony Hugh
0e98ac74f1 Update permission label strings
Updates permission labels to have more consistent
grammar and capitalization.

BUG: 23760467
Change-Id: I61c2f9c72fdf4318e1773f3e0385fb86e0d65f69
2015-10-27 14:13:42 -07:00
Geoff Mendal
82b5276866 Merge "Import translations. DO NOT MERGE" into cw-e-dev 2015-10-26 18:59:13 +00:00
Geoff Mendal
30616cb825 Import translations. DO NOT MERGE
Change-Id: I19a669e57b0264602c1daa8703caa8ac506a6cd7
Auto-generated-cl: translation import
2015-10-26 11:40:53 -07:00
Bryce Lee
521ac43fe5 Merge "Add Telecom config bool to require a phone account to be present for handle" into cw-e-dev 2015-10-26 17:08:49 +00:00
Geoff Mendal
6b129a1e09 Import translations. DO NOT MERGE
Change-Id: I3b8c2defeead0f1a68f261eaa271e7a316130627
Auto-generated-cl: translation import
2015-10-26 11:53:50 -05:00
Geoff Mendal
7afd89dfbb Import translations. DO NOT MERGE
Change-Id: I0383c1869f289a39ca3db684712dbd812e626e9a
Auto-generated-cl: translation import
2015-10-26 11:27:14 -05:00
Bryce Lee
c2f421a869 Add Telecom config bool to require a phone account to be present for handle
Bug: 25202039
Change-Id: I83f6a72ed78fd22bddc7be46d24af33781a65f6e
2015-10-25 22:27:10 -07:00
Ching Tzung Lin
f6e4c9da5f Consolidates config_windowOutsetBottom and circular_display_mask_offset
Three phases involved:
phase 1: change all code references to circurlar_display_mask_offset to
config_windowOutsetBottom, and mark circular_display_mask_offset
deprecated.

phase 2: remove circular_display_mask_offset from device overlays

phase 3: remove circular_display_mask_offset symbol and default setting.

Bug:25220421
Change-Id: Ia3f77610dbbb964eb58c6b28f6206799d56c44c2
2015-10-23 15:49:52 -07:00
Bryce Lee
c17bbe0be2 Add config flag for reloading supported profiles in bluetooth on enable.
Bug: 24977590
Change-Id: I9aa0db5f5488f1ad400f3c0be7d8055ed36725dc
2015-10-23 12:32:07 -07:00
Sungmin Choi
af745653d0 Remove tether_apndata for Sasktel
am: a665ea7207

* commit 'a665ea72075dbaa5a86f866ee6c8df5a80f1ced3':
  Remove tether_apndata for Sasktel
2015-10-23 03:26:18 +00:00
Sungmin Choi
a665ea7207 Remove tether_apndata for Sasktel
Device has second APN (inet.stm.sk.ca) is being used for hot spot/tethered data.
SaskTel has moved to a single APN on devices (pda.stm.sk.ca).

BUG=25064017
Change-Id: I5ba1f9e7c3b54cf8e8681a289693aba0ac584296
2015-10-22 16:59:44 -07:00
Lorenzo Colitti
bdc458048a Merge "Reinstate CHANGE_NETWORK_STATE as a normal permission." into mnc-dr-dev
am: 809dcade99

* commit '809dcade9906001f6aa51a68aa783e20bb1d7c0d':
  Reinstate CHANGE_NETWORK_STATE as a normal permission.
2015-10-22 06:18:43 +00:00
Lorenzo Colitti
809dcade99 Merge "Reinstate CHANGE_NETWORK_STATE as a normal permission." into mnc-dr-dev 2015-10-22 06:15:05 +00:00
Lorenzo Colitti
d542705066 Reinstate CHANGE_NETWORK_STATE as a normal permission.
This is a partial revert of http://ag/738523 , but not a full
revert because M apps that have gone through the WRITE_SETTINGS
route to obtain permission to change network state should
continue to have permission to do so.

Specifically:

1. Change the protection level of CHANGE_NETWORK_STATE back from
   "signature|preinstalled|appop|pre23" to "normal". This allows
   apps that declare CHANGE_NETWORK_STATE in their manifest to
   acquire it, even if they target the M SDK or above.
2. Change the ConnectivityManager permission checks so that they
   first check CHANGE_NETWORK_STATE, and then ask Settings
   if the app has the WRITE_SETTINGS runtime permission.
3. Slightly simplify the code in the Settings provider code that
   deals specifically with the ability to change network state.
4. Make the ConnectivityService permissions checks use the
   ConnectivityManager code to avoid code duplication.
5. Update the ConnectivityManager public Javadoc to list both
   CHANGE_NETWORK_STATE and WRITE_SETTINGS.

Bug: 21588539
Bug: 23597341
Change-Id: Ic06a26517c95f9ad94183f6d126fd0de45de346e
2015-10-22 08:33:45 +09:00
Geoff Mendal
1e7fb19408 Import translations. DO NOT MERGE
Change-Id: Ie94144993d7f959cf30eaeba12ef9a86a92bb48d
Auto-generated-cl: translation import
2015-10-21 11:37:21 -05:00