Commit Graph

236076 Commits

Author SHA1 Message Date
Jeff Sharkey
33758d8513 Only enable asserts on userdebug/eng builds.
Bug: 27699194
Change-Id: Id20f808448ae94371da62d38387f90ad97e7cbd3
2016-03-21 17:04:07 -06:00
Jeff Sharkey
3a6e0ec223 Store trace files in app-specific dirs.
The previous default location of "/sdcard" became painful to use
starting in M, because it required a runtime permission.  So now we
default to storing trace files in app-specific directories on shared
storage, which apps always have write access to with no additional
permissions.

Update docs to be consistent between all overloads.

Bug: 22807654
Change-Id: If4feca7c8778dfdf4ccce8cfb68418dc416260b5
2016-03-21 16:54:11 -06:00
Jeff Sharkey
7474fe7b42 Ignore wildcard network policies.
They never should have been persisted to disk in the first place.

Bug: 24972775
Change-Id: If9254f74455823f9fda9545fdf543fc7250a4016
2016-03-21 13:13:28 -06:00
Jeff Sharkey
1af4a7b5bf Skip app widget config changes when user locked.
Bug: 27377050
Change-Id: Ic63b06159cf59106b4e7bc62ec5f3e89d47321c5
2016-03-21 13:07:35 -06:00
Jeff Sharkey
5a78516897 Check "Secure start-up" before toggling emulation.
To fully emulate FBE we need to avoid the Cryptkeeper bounce, so
check to make sure user has disabled "Secure start-up" so vold can
unlock early during boot.

Bug: 27595501
Change-Id: Ic0d03f94982534381671e1039f14d1fd06bc0e4e
2016-03-21 13:02:09 -06:00
Jeff Sharkey
f0ec2e0050 Mark even more Bundles as defusable.
Bug: 27766193
Change-Id: Ib027ac7b40c7a575a76f289faabde9655338865e
2016-03-21 12:37:57 -06:00
Tony Mak
8c536f91f1 Show work challenge directly when there is no device lock
The trick is to switch to home stack first and then start the activity
of the targeted task again to trigger the intercepting code.
And back button in the lock screen page brings user to launcher
instead of the work app.

Change-Id: Ic0305dbcb63fec2a8287b12f3e76e70d4268d423
2016-03-21 14:29:17 +00:00
Geoff Mendal
47fcbd823c Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-03-21 14:28:16 +00:00
Geoff Mendal
012b400095 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-03-21 14:28:02 +00:00
Geoff Mendal
27a1dc1e22 Import translations. DO NOT MERGE
Change-Id: Iccb009c4e690d42ec7d4b01cc749dae3f691cdc5
Auto-generated-cl: translation import
2016-03-21 07:24:16 -07:00
Geoff Mendal
1e0bf42a57 Import translations. DO NOT MERGE
Change-Id: I38935299a6318c3ad0af0feebb937d1bd17cffd7
Auto-generated-cl: translation import
2016-03-21 07:24:01 -07:00
Tony Mak
03bdd9fa0e Merge "Show launcher when profile is locked immediately" into nyc-dev 2016-03-21 14:20:45 +00:00
Geoff Mendal
696e331383 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-03-21 14:12:17 +00:00
Geoff Mendal
f2189e945e Import translations. DO NOT MERGE
Change-Id: I032236836b7ce9f766a9f8819a683b9066254737
Auto-generated-cl: translation import
2016-03-21 07:10:50 -07:00
Tony Mak
9c6e8ced9b Show launcher when profile is locked immediately
Previously, we show launcher when keyguard is dismissed.
It introduces these issues:
1. There can be no device lock
2. user could take a quick peek of the work app

Current behavior:
1. We now show launcher once the work profile is locked.
2. Lock profile immediately if there is no device lock
3. Add cancel "lockProfileLater" logic

Bug: 27241680
Bug: 27673460
Change-Id: I765aa22d4c8ae5017c1611f5a340a4b33d463b1e
2016-03-21 13:54:32 +00:00
Victor Chang
d3c0cf50b6 Merge "Api change of DPM.setApplicationRestrictionsManagingPackage()" into nyc-dev 2016-03-21 13:08:14 +00:00
Geoff Mendal
12035e2104 Import translations. DO NOT MERGE
Change-Id: I9e707cac6cb9f086cac9bfdd8165d8086d1676e0
Auto-generated-cl: translation import
2016-03-21 08:29:09 -04:00
Diego Perez
38735b0026 Merge "Account for parent scroll position" into nyc-dev 2016-03-21 11:20:14 +00:00
Polina Bondarenko
c1d317f714 Merge "Added skin temperature, thresholds to HardwarePropertiesManager" into nyc-dev 2016-03-19 19:33:04 +00:00
Alan Viverette
7899d4d78f Merge "Ensure nine-patch uses the best available target density" into nyc-dev 2016-03-19 13:23:03 +00:00
Polina Bondarenko
eb84552ef0 Added skin temperature, thresholds to HardwarePropertiesManager
Bug: 27425887
Change-Id: I13f69ae37906b71d93edbf6bea6daf809d97cfd5
2016-03-19 10:49:18 +00:00
Geoff Mendal
be5cef4e53 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-03-19 10:30:45 +00:00
Geoff Mendal
8138ea836d Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-03-19 10:30:30 +00:00
Geoff Mendal
de7ae790ea Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-03-19 10:30:15 +00:00
Geoff Mendal
7979dddd2f Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-03-19 10:30:00 +00:00
Geoff Mendal
a86edb5a00 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-03-19 10:29:46 +00:00
Geoff Mendal
e3004a3381 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-03-19 10:29:33 +00:00
Geoff Mendal
421235fc8e Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-03-19 10:29:18 +00:00
Geoff Mendal
ac8d57924a Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-03-19 10:29:04 +00:00
Geoff Mendal
d9991ab94c Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-03-19 10:28:47 +00:00
Geoff Mendal
07dfe4675a Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-03-19 10:28:32 +00:00
Geoff Mendal
b0a9d6d75f Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-03-19 10:28:12 +00:00
Geoff Mendal
63b4ffe887 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-03-19 10:27:57 +00:00
Geoff Mendal
ab6aae51e2 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-03-19 10:27:40 +00:00
Geoff Mendal
e47e9f9bfe Import translations. DO NOT MERGE
Change-Id: Ice7205483f63dff37b1e77506586f1a71938f9a9
Auto-generated-cl: translation import
2016-03-19 14:30:20 +05:30
Geoff Mendal
9d8821c496 Import translations. DO NOT MERGE
Change-Id: Ia78703ea9bd23316998865bead0f0dd17cc61a08
Auto-generated-cl: translation import
2016-03-19 14:26:54 +05:30
Polina Bondarenko
141d4e323c Merge "Renamed hardware_properties to thermal HAL." into nyc-dev 2016-03-19 08:43:34 +00:00
Geoff Mendal
feb85ef1a3 Import translations. DO NOT MERGE
Change-Id: Ic015ff842053551bbe10b0eb420137cd045a23ef
Auto-generated-cl: translation import
2016-03-19 14:04:50 +05:30
Geoff Mendal
c07f2d99da Import translations. DO NOT MERGE
Change-Id: I0d693f0c99347f9d04c7240e07bdd6ea526cb987
Auto-generated-cl: translation import
2016-03-19 14:01:30 +05:30
Geoff Mendal
66c0fc4538 Import translations. DO NOT MERGE
Change-Id: Iaace4ef8cad2199fb6bcb50e78acf305facb09f4
Auto-generated-cl: translation import
2016-03-19 13:58:03 +05:30
Geoff Mendal
40790e2b0d Import translations. DO NOT MERGE
Change-Id: If66727756f6d2c0318b167dfe5d839356882b7f4
Auto-generated-cl: translation import
2016-03-19 13:49:29 +05:30
Geoff Mendal
5e0787bde6 Import translations. DO NOT MERGE
Change-Id: I245731fa1bb1b48965938a05b6ca88e42b512876
Auto-generated-cl: translation import
2016-03-19 13:46:28 +05:30
Geoff Mendal
9f74064a89 Import translations. DO NOT MERGE
Change-Id: Ib91d8ab0bfe8fea69318fd8761ea78851440afc0
Auto-generated-cl: translation import
2016-03-19 13:42:48 +05:30
Geoff Mendal
bc0f989cba Import translations. DO NOT MERGE
Change-Id: I97e3392c322f11a08bce3c58e5a1c19736809a80
Auto-generated-cl: translation import
2016-03-19 13:39:18 +05:30
Geoff Mendal
0062e0d525 Import translations. DO NOT MERGE
Change-Id: Id76d0ff1ccee3a0a5fe5a93adec8df3f526129bd
Auto-generated-cl: translation import
2016-03-19 13:32:08 +05:30
Geoff Mendal
48dddac319 Import translations. DO NOT MERGE
Change-Id: I80f7ab10cb981b09b74737597d1566375721f974
Auto-generated-cl: translation import
2016-03-19 13:29:06 +05:30
Geoff Mendal
b6f1d9c27d Import translations. DO NOT MERGE
Change-Id: Ic15d36496ea9452ad54bc46f97ed89b78a5c4d83
Auto-generated-cl: translation import
2016-03-19 13:25:26 +05:30
Geoff Mendal
1e9564afef Import translations. DO NOT MERGE
Change-Id: I7f660d7115627cfafd32d2688016794cde2d4660
Auto-generated-cl: translation import
2016-03-19 13:21:51 +05:30
Geoff Mendal
2f87f0cfae Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-03-19 02:58:54 +00:00
Geoff Mendal
0e1850fa22 Import translations. DO NOT MERGE
Change-Id: I52c8272bdf31d1624b5323433ef2f4742158a773
Auto-generated-cl: translation import
2016-03-19 03:57:59 +01:00