Dianne Hackborn
c7d1467a8b
am cba999c1: am e2776f02: am 6b1cf642: am 5ebb0e6a: am d867b7c7: Fix issue #17783882 : AUPT: NPE in Videos: Attempt to invoke virtual method...
...
* commit 'cba999c164d206c1fb2b7f9f2bf78e8ed616c67d':
Fix issue #17783882 : AUPT: NPE in Videos: Attempt to invoke virtual method...
2014-10-03 21:59:09 +00:00
Dianne Hackborn
cba999c164
am e2776f02: am 6b1cf642: am 5ebb0e6a: am d867b7c7: Fix issue #17783882 : AUPT: NPE in Videos: Attempt to invoke virtual method...
...
* commit 'e2776f02bf4fd58af88a27261226e9ce124aa6b8':
Fix issue #17783882 : AUPT: NPE in Videos: Attempt to invoke virtual method...
2014-10-03 21:52:23 +00:00
Dianne Hackborn
d867b7c7a2
Fix issue #17783882 : AUPT: NPE in Videos: Attempt to invoke virtual method...
...
...'java.lang.String java.lang.String.substring(int)' on a null object reference
Change-Id: I4a78653174da398a4edd23b2bc099598548b79c2
2014-10-03 11:43:10 -07:00
Dianne Hackborn
09f25547d9
am 4bcfcc69: am b49a19b9: am 8aa21f20: am 12dd9943: am 7a73f2c5: Merge "SDK only: Update docs to reflect current implementation." into lmp-dev
...
* commit '4bcfcc69416831b199fb866f56725c88cdcee03c':
SDK only: Update docs to reflect current implementation.
2014-10-02 23:46:25 +00:00
Dianne Hackborn
4bcfcc6941
am b49a19b9: am 8aa21f20: am 12dd9943: am 7a73f2c5: Merge "SDK only: Update docs to reflect current implementation." into lmp-dev
...
* commit 'b49a19b9bd2fed00b8fbf3f5a4f9fb7c34e969a3':
SDK only: Update docs to reflect current implementation.
2014-10-02 23:37:54 +00:00
Dianne Hackborn
7a73f2c5aa
Merge "SDK only: Update docs to reflect current implementation." into lmp-dev
2014-10-02 22:49:43 +00:00
Dianne Hackborn
67a101aa30
SDK only: Update docs to reflect current implementation.
...
Change-Id: I498425bb55b157c954af6a2441d8bd9be3871c55
2014-10-02 12:44:01 -07:00
Sreeram Ramachandran
4924e5d87b
am 44774ad0: am 9e987f1d: am 4f4b81bd: am c04e922f: am 5aaabc0f: Merge "Send app permissions to netd." into lmp-dev
...
* commit '44774ad079e95606186ed186672449de295d6769':
Send app permissions to netd.
2014-10-02 13:46:58 +00:00
Dianne Hackborn
7c56fd3c25
am 7cf6cac5: am 03e173ed: am ded96310: am 796d6ece: am c338784b: Merge "More work on issue #17656716 : Unhandled exception in Window Manager" into lmp-dev
...
* commit '7cf6cac507df68ecb1d6484a5287687e4df61573':
More work on issue #17656716 : Unhandled exception in Window Manager
2014-10-02 13:46:39 +00:00
Sreeram Ramachandran
44774ad079
am 9e987f1d: am 4f4b81bd: am c04e922f: am 5aaabc0f: Merge "Send app permissions to netd." into lmp-dev
...
* commit '9e987f1d76e18bca72583ab5f4ff65ae4e8c381e':
Send app permissions to netd.
2014-10-02 13:39:05 +00:00
Dianne Hackborn
7cf6cac507
am 03e173ed: am ded96310: am 796d6ece: am c338784b: Merge "More work on issue #17656716 : Unhandled exception in Window Manager" into lmp-dev
...
* commit '03e173edce42a5ae0de8a7718330d83664a84a9e':
More work on issue #17656716 : Unhandled exception in Window Manager
2014-10-02 13:38:23 +00:00
Sreeram Ramachandran
e4a05afe85
Send app permissions to netd.
...
Based largely off Robert's http://ag/546170 (thanks!)
Bug: 15413737
Change-Id: I8a1f0a184923c4c0a4935e6b88895bcc05e39f02
2014-10-01 20:22:34 -07:00
Dianne Hackborn
8d05172112
More work on issue #17656716 : Unhandled exception in Window Manager
...
Fix Slog.wtf to not acquire the activity manager lock in its code
path, so that it can never deadlock. This was the original intention
of it, but part was missed.
Now we can put back in the code to detect when strict mode data is
getting large (a little more targeted now to the actual problem),
and use Slog.wtf to report it. And as a bonus, when this happens
we will now clear all of the collected violations, to avoid getting
in to the bad case where IPCs start failing. So this should be
good enough for L to fix the problem, with wtf reports for us to
see if the underlying issue is still happening.
Finally, switch a butch of stuff in the system process from Log.wtf
to Slog.wtf, since many of those are deadlocks waiting to happen.
Oh and fix a crash in the settings provider I noticed in APR.
Change-Id: I307d51b7a4db238fd1e5fe2f3f9bf1b9c6f1c041
2014-10-01 16:58:56 -07:00
Narayan Kamath
89f3665dac
am 17044459: am 870c3553: am 13705ca9: am d480147f: am 7dc7f676: Merge "Set Build.CPU_ABI{2} from SUPPORTED_{32,64}_BIT_ABIS" into lmp-dev
...
* commit '170444599ce44b3b427267a190bed79d9afb709d':
Set Build.CPU_ABI{2} from SUPPORTED_{32,64}_BIT_ABIS
2014-10-01 22:13:28 +00:00
Narayan Kamath
170444599c
am 870c3553: am 13705ca9: am d480147f: am 7dc7f676: Merge "Set Build.CPU_ABI{2} from SUPPORTED_{32,64}_BIT_ABIS" into lmp-dev
...
* commit '870c3553f15d9d085bb30b063563143c2fd09322':
Set Build.CPU_ABI{2} from SUPPORTED_{32,64}_BIT_ABIS
2014-10-01 22:02:44 +00:00
Dianne Hackborn
42b7a45a56
am 67787a82: am cb5fc84b: am 16b6a8f7: am 962e3e83: am 9cf01b63: Merge "More work on issue #17656716 : Unhandled exception in Window Manager" into lmp-dev
...
* commit '67787a82a01460f0d68c154fdf3045bdc1ee572f':
More work on issue #17656716 : Unhandled exception in Window Manager
2014-10-01 17:18:29 +00:00
Dianne Hackborn
67787a82a0
am cb5fc84b: am 16b6a8f7: am 962e3e83: am 9cf01b63: Merge "More work on issue #17656716 : Unhandled exception in Window Manager" into lmp-dev
...
* commit 'cb5fc84b554aa82a98867f997caffea3d7067033':
More work on issue #17656716 : Unhandled exception in Window Manager
2014-10-01 17:10:04 +00:00
Narayan Kamath
7dc7f676d6
Merge "Set Build.CPU_ABI{2} from SUPPORTED_{32,64}_BIT_ABIS" into lmp-dev
2014-10-01 09:53:34 +00:00
Dianne Hackborn
a0767b3652
am f9cd6fa5: am bb527c59: am e26ba8f7: am 069de204: am 38646c19: Merge "Work on issue #17656716 : Unhandled exception in Window Manager" into lmp-dev
...
* commit 'f9cd6fa5a34a9ba22eaa47d8c5f9c39b5cd901a2':
Work on issue #17656716 : Unhandled exception in Window Manager
2014-10-01 02:14:37 +00:00
Dianne Hackborn
f9cd6fa5a3
am bb527c59: am e26ba8f7: am 069de204: am 38646c19: Merge "Work on issue #17656716 : Unhandled exception in Window Manager" into lmp-dev
...
* commit 'bb527c59d1fb0ad627f44cbb378959fa7d4af2c7':
Work on issue #17656716 : Unhandled exception in Window Manager
2014-10-01 01:42:37 +00:00
Dianne Hackborn
ce92b0d070
More work on issue #17656716 : Unhandled exception in Window Manager
...
Drop down the limit on when we log, since under normal operation we
will never get more than a few K of data due to strict mode.
Try to clean up the code paths coming in and out of binder IPCs to
plug any places where we could disrupt the gather flag of a thread,
causing it to keep gathering stack crawls (which is the thing that
is causing our strict mode data to become so large).
Change-Id: I9a46512283d33e863c429840b465855d1fabb74e
2014-09-30 11:28:18 -07:00
Narayan Kamath
eff258c305
Set Build.CPU_ABI{2} from SUPPORTED_{32,64}_BIT_ABIS
...
32 bit processes will always see values from SUPPORTED_32_BIT_ABIS
and 64 bit processes will always see values from SUPPORTED_64_BIT_ABIS.
bug: 17367265
Change-Id: I9996034c190f9213986b9b1a4ee0e38eca91c7ad
2014-09-30 13:56:06 +01:00
Dianne Hackborn
73d6a821ae
Work on issue #17656716 : Unhandled exception in Window Manager
...
Remove the checks for large parcel sizes. Those were triggering,
and identifyng the area of the problem, but also cause a lot of
trouble by making the unsafe deadlocky code there much more likely
to deadlock.
Add logging for strict mode IPCs, since those seem to be the
problem. Only log when things look bad.
Also add a log when battery stats are reset, to diagnose why they
are getting reset when they shouldn't be.
Change-Id: I588c858fb8d8c45f3c9c164ae2de9ae01547b304
2014-09-29 16:04:02 -07:00
Dianne Hackborn
c439d093ca
am 09f14417: am 8776bd54: am cad60dc8: am 72bc7651: am cbb94a27: Merge "More debugging for issue #17656716 : Unhandled exception in Window Manager" into lmp-dev
...
* commit '09f144176e32b2f352ca8a1bee93c26403c69408':
More debugging for issue #17656716 : Unhandled exception in Window Manager
2014-09-29 19:46:24 +00:00
Elliott Hughes
b6af870bcd
am 5d8bcd28: am 737b8cd2: am 7d614689: am 416de7fd: am 70c1f083: Merge "Set the system locale correctly even on an encrypted device." into lmp-dev
...
* commit '5d8bcd285d190de924a47c39155530038799d148':
Set the system locale correctly even on an encrypted device.
2014-09-29 19:46:02 +00:00
jgu21
208678718f
Frameworks/base: Early init native bridge
...
Add the app directory to the arguments for starting a process.
Add a check for NeedsNativeBridge and a call to PreInitializeBridge
in the native fork code.
(cherry picked from commit 2eacd06bfb )
Bug: 17671501
Change-Id: I970db5b284b0c12e2d8a45df3950c1fff2927a4e
2014-09-28 15:35:59 -07:00
Dianne Hackborn
09f144176e
am 8776bd54: am cad60dc8: am 72bc7651: am cbb94a27: Merge "More debugging for issue #17656716 : Unhandled exception in Window Manager" into lmp-dev
...
* commit '8776bd549ed4db7c5e2e5f487d043e8d1b53ff12':
More debugging for issue #17656716 : Unhandled exception in Window Manager
2014-09-26 23:42:02 +00:00
Elliott Hughes
5d8bcd285d
am 737b8cd2: am 7d614689: am 416de7fd: am 70c1f083: Merge "Set the system locale correctly even on an encrypted device." into lmp-dev
...
* commit '737b8cd29ccc9799f8a309ca33c0ba4f4c0016d4':
Set the system locale correctly even on an encrypted device.
2014-09-26 23:13:49 +00:00
Dianne Hackborn
820eab3e75
Merge "More debugging for issue #17656716 : Unhandled exception in Window Manager" into lmp-dev
2014-09-26 23:11:40 +00:00
Dianne Hackborn
fad079dc5d
More debugging for issue #17656716 : Unhandled exception in Window Manager
...
Change-Id: I81d3678e21d293d5896c467ae5c6739c82cfaa95
2014-09-26 15:46:24 -07:00
Elliott Hughes
f839b4fcb6
Set the system locale correctly even on an encrypted device.
...
Bug: 17659622
Change-Id: Ibbbd5b959bfab5345f20b556c4720d0910b50084
2014-09-26 15:18:20 -07:00
Dianne Hackborn
b0e58ff6b3
am 534556ae: am 6b9b8a03: am 27429ba1: am 24ecbc4f: am 0b1eb9d4: Merge "Work on issue #17656716 : Unhandled exception in Window Manager" into lmp-dev
...
* commit '534556aef5ae22d522c5988d535b3b19b3742fd3':
Work on issue #17656716 : Unhandled exception in Window Manager
2014-09-26 15:28:28 +00:00
Dianne Hackborn
a15dcc3fa1
am 6b9b8a03: am 27429ba1: am 24ecbc4f: am 0b1eb9d4: Merge "Work on issue #17656716 : Unhandled exception in Window Manager" into lmp-dev
...
* commit '6b9b8a03847a190e1f3c9cf50fc3989a572d7534':
Work on issue #17656716 : Unhandled exception in Window Manager
2014-09-26 05:04:02 +00:00
Dianne Hackborn
017c6a28be
Work on issue #17656716 : Unhandled exception in Window Manager
...
Create descriptive errors when sending unreasonably large
parcels through IPC.
Change-Id: Ie93b5372a8ed87541db282876c4eeeae69a1e8bd
2014-09-25 17:48:44 -07:00
Jeff Sharkey
c894355d7e
am d46c9385: am 1eb1a4fa: am b47a75f2: am b8bbeff0: am 45ef18b6: Merge "Include reason when wiping data." into lmp-dev
...
* commit 'd46c93852393569e3211fc7bada91e712634572e':
Include reason when wiping data.
2014-09-25 17:18:31 +00:00
Jeff Sharkey
52e40aaa8a
am 1eb1a4fa: am b47a75f2: am b8bbeff0: am 45ef18b6: Merge "Include reason when wiping data." into lmp-dev
...
* commit '1eb1a4fa28d74312b329daaecd8a81fcf367eea4':
Include reason when wiping data.
2014-09-25 17:05:42 +00:00
Jeff Sharkey
0a285b4462
Merge "Include reason when wiping data." into lmp-dev
2014-09-24 23:27:25 +00:00
Andreas Gampe
4d64addc20
am 43d02564: resolved conflicts for merge of dfdabe37 to lmp-mr1-dev-plus-aosp
...
* commit '43d0256429c46a1243c8d85a34d029b40fd5e34e':
Frameworks/base: Early init native bridge
2014-09-24 23:02:38 +00:00
Andreas Gampe
a2945aabd9
resolved conflicts for merge of dfdabe37 to lmp-mr1-dev-plus-aosp
...
Change-Id: I3e9adb5fa67f8ca7ce8151c2dbf5c8fe5b40cb86
2014-09-24 15:47:36 -07:00
Jeff Sharkey
004a4b20f8
Include reason when wiping data.
...
This will help us track down who requested a data wipe.
Bug: 17412160
Change-Id: If8413e5d6377773f37e8b34ae3d26347226a027c
2014-09-24 13:58:09 -07:00
Lorenzo Colitti
9058c3c926
am c5df869d: am 19733a32: am c17062e5: am 71915080: am 6974f6a9: Merge "Block address families with routes, not NetworkAgent side channel" into lmp-dev
...
* commit 'c5df869d84533d79242b06f4d06ea8250158963d':
Block address families with routes, not NetworkAgent side channel
2014-09-24 17:17:51 +00:00
Lorenzo Colitti
542fc7be49
am 19733a32: am c17062e5: am 71915080: am 6974f6a9: Merge "Block address families with routes, not NetworkAgent side channel" into lmp-dev
...
* commit '19733a32c87d0597448318ac1665450aed03ba69':
Block address families with routes, not NetworkAgent side channel
2014-09-24 04:13:50 +00:00
Lorenzo Colitti
60446165d8
Block address families with routes, not NetworkAgent side channel
...
Now that we support unreachable routes, use those to block
address families on VPNs. This is a much more elegant solution.
Also update LinkProperties when IP addresses are added and
removed, fixing a TODO.
Bug: 17462989
Change-Id: Ib749d84710dca70d672350b9f129bb91419ec77e
2014-09-23 10:48:28 +09:00
jgu21
2eacd06bfb
Frameworks/base: Early init native bridge
...
Add the app directory to the arguments for starting a process.
Add a check for NeedsNativeBridge and a call to PreInitializeBridge
in the native fork code.
Change-Id: I0b93da93251c6b4638de786bf98cf99df07c3fc2
2014-09-22 16:04:37 -07:00
Amith Yamasani
15b6dde72f
am 2bfae686: am 4ad6b3ef: am 10c291a7: am e1206a34: am ba108d11: Merge "Allow primary user profile owner to set device restrictions" into lmp-dev
...
* commit '2bfae68607041ec8ec02e7c77471f22202b9ce8d':
Allow primary user profile owner to set device restrictions
2014-09-19 16:55:03 +00:00
Amith Yamasani
d587057246
am 4ad6b3ef: am 10c291a7: am e1206a34: am ba108d11: Merge "Allow primary user profile owner to set device restrictions" into lmp-dev
...
* commit '4ad6b3ef184424e36915bc046e04706f2dded0e2':
Allow primary user profile owner to set device restrictions
2014-09-19 16:40:50 +00:00
Amith Yamasani
c34dc7cdeb
Allow primary user profile owner to set device restrictions
...
In addition to device owners, profile owners on the primary user
can also set user restrictions that are necessary to lock down the
user.
This is to enable the case of a profile owner registered after setup
wizard is completed, on the primary user.
Also make managed profile vs. profile wording consistent in the
DevicePolicyManager docs.
Bug: 17555025
Change-Id: Ib9d08b8af34a99b25e11757fa7dc83673a7deb32
2014-09-18 15:14:26 -07:00
Adam Powell
072d122260
am 25c24378: am 0c5b7311: am 1e2f3d98: Merge "Fix UserManager#isUserAGoat" into lmp-dev
...
* commit '25c24378b3abd5da581ff0f28f5237df8d8918d3':
Fix UserManager#isUserAGoat
2014-09-18 05:07:22 +00:00
Adam Powell
8b69e5685d
am 0c5b7311: am 1e2f3d98: Merge "Fix UserManager#isUserAGoat" into lmp-dev
...
* commit '0c5b731108dd1842f618e9cc58f07368b731d1dc':
Fix UserManager#isUserAGoat
2014-09-18 04:46:12 +00:00
Adam Powell
76e8803f5e
am a72bd678: am 400521f2: am aaceaabe: am 1e2f3d98: Merge "Fix UserManager#isUserAGoat" into lmp-dev
...
* commit 'a72bd6782f42f4766fb0dcc6755d2e9cca6940f4':
Fix UserManager#isUserAGoat
2014-09-18 03:14:18 +00:00