OSDN Git Service

android-x86/frameworks-base.git
8 years agoam b52a4a5a: am 7b7a2100: am 6e90ea03: Don\'t wait for brightness changes
Jorim Jaggi [Fri, 11 Sep 2015 02:14:12 +0000 (02:14 +0000)]
am b52a4a5a: am 7b7a2100: am 6e90ea03: Don\'t wait for brightness changes

* commit 'b52a4a5af504daa0fb7fe28509a522e9d5153ab3':
  Don't wait for brightness changes

8 years agoam 7b7a2100: am 6e90ea03: Don\'t wait for brightness changes
Jorim Jaggi [Fri, 11 Sep 2015 02:06:32 +0000 (02:06 +0000)]
am 7b7a2100: am 6e90ea03: Don\'t wait for brightness changes

* commit '7b7a2100e292b0678c5e622702ae43ec2a8d74fe':
  Don't wait for brightness changes

8 years agoam 6e90ea03: Don\'t wait for brightness changes
Jorim Jaggi [Fri, 11 Sep 2015 02:00:38 +0000 (02:00 +0000)]
am 6e90ea03: Don\'t wait for brightness changes

* commit '6e90ea03365c6baddc13762c5a701b84540d8bf9':
  Don't wait for brightness changes

8 years agoam 6929b5fa: am c71fdabd: Merge "First pass on reentrant C++-ish parser"
Casey Dahlin [Fri, 11 Sep 2015 01:55:49 +0000 (01:55 +0000)]
am 6929b5fa: am c71fdabd: Merge "First pass on reentrant C++-ish parser"

* commit '6929b5fab007281d3c35deec905feb8fdc506a31':
  First pass on reentrant C++-ish parser

8 years agoDon't wait for brightness changes
Jorim Jaggi [Mon, 24 Aug 2015 20:54:19 +0000 (13:54 -0700)]
Don't wait for brightness changes

On some devices, changing the brightness is quite slow, because the
change needs to wait for the vsync signal. However, when we are also
running a brightness change animation, as soon as the last change has
been sent there is a new one pending, leading to that we never reach
"clean" state in the PowerManagerService and thus we don't notify
clients about the state change, which can delay the animation for waking
up while dozing by as much as a second.

To fix this, if we only issue a brightness change, we don't block on
that because it's not relevant for us.

Bug: 22879546
Change-Id: Idad7e90c436bfbc38581fe8ce24d606e432b7952

8 years agoam c71fdabd: Merge "First pass on reentrant C++-ish parser"
Casey Dahlin [Fri, 11 Sep 2015 01:47:28 +0000 (01:47 +0000)]
am c71fdabd: Merge "First pass on reentrant C++-ish parser"

* commit 'c71fdabdd7dc46ef2914ee6fd3ba541689c91844':
  First pass on reentrant C++-ish parser

8 years agoMerge "First pass on reentrant C++-ish parser"
Casey Dahlin [Fri, 11 Sep 2015 01:39:07 +0000 (01:39 +0000)]
Merge "First pass on reentrant C++-ish parser"

8 years agoam 572a78cd: am 9d4cad8b: am b1cebd9e: am 5579e41c: Add op package to the UID special...
Svetoslav [Fri, 11 Sep 2015 00:47:47 +0000 (00:47 +0000)]
am 572a78cd: am 9d4cad8b: am b1cebd9e: am 5579e41c: Add op package to the UID special case handling in account manager.

* commit '572a78cd3573d8be6748d6b68c3802720c8abb7c':
  Add op package to the UID special case handling in account manager.

8 years agoam 9d4cad8b: am b1cebd9e: am 5579e41c: Add op package to the UID special case handlin...
Svetoslav [Fri, 11 Sep 2015 00:40:34 +0000 (00:40 +0000)]
am 9d4cad8b: am b1cebd9e: am 5579e41c: Add op package to the UID special case handling in account manager.

* commit '9d4cad8beeec516350334ee40685b06d60898add':
  Add op package to the UID special case handling in account manager.

8 years agoam b1cebd9e: am 5579e41c: Add op package to the UID special case handling in account...
Svetoslav [Fri, 11 Sep 2015 00:32:56 +0000 (00:32 +0000)]
am b1cebd9e: am 5579e41c: Add op package to the UID special case handling in account manager.

* commit 'b1cebd9ecf2ee3542e815f7f7efc1cb7fd6e6228':
  Add op package to the UID special case handling in account manager.

8 years agoam 5579e41c: Add op package to the UID special case handling in account manager.
Svetoslav [Fri, 11 Sep 2015 00:23:08 +0000 (00:23 +0000)]
am 5579e41c: Add op package to the UID special case handling in account manager.

* commit '5579e41c6f81bba1fc1e8cc53186957e287b5dad':
  Add op package to the UID special case handling in account manager.

8 years agoFirst pass on reentrant C++-ish parser
Casey Dahlin [Thu, 10 Sep 2015 00:59:06 +0000 (17:59 -0700)]
First pass on reentrant C++-ish parser

We're flipping Flex/Bison in to reentrant mode, cutting down on global
variables, and exposing a more C++-like interface earlier. This is the first
phase. There's still a couple of weird hacks to deal with the previous code's
reckless disregard for scope sanity, but the outline of things to come is
starting to appear, and this CL really doesn't need to get any bigger.

Change-Id: Ife2d70db026d7ab1319bdf6c586959315666d0bb
Signed-off-by: Casey Dahlin <sadmac@google.com>
8 years agoam 888699be: am c291ce21: am 55c3a196: Merge "Add to configure for MDC_INITIAL_MAX_RE...
Amit Mahajan [Thu, 10 Sep 2015 23:44:13 +0000 (23:44 +0000)]
am 888699be: am c291ce21: am 55c3a196: Merge "Add to configure for MDC_INITIAL_MAX_RETRY" into mnc-dr-dev

* commit '888699be90b7db3a759afe60278699aa2b6181d8':
  Add to configure for MDC_INITIAL_MAX_RETRY

8 years agoam c291ce21: am 55c3a196: Merge "Add to configure for MDC_INITIAL_MAX_RETRY" into...
Amit Mahajan [Thu, 10 Sep 2015 23:36:11 +0000 (23:36 +0000)]
am c291ce21: am 55c3a196: Merge "Add to configure for MDC_INITIAL_MAX_RETRY" into mnc-dr-dev

* commit 'c291ce210abb908167262e5ef782710264e35448':
  Add to configure for MDC_INITIAL_MAX_RETRY

8 years agoam 55c3a196: Merge "Add to configure for MDC_INITIAL_MAX_RETRY" into mnc-dr-dev
Amit Mahajan [Thu, 10 Sep 2015 23:30:10 +0000 (23:30 +0000)]
am 55c3a196: Merge "Add to configure for MDC_INITIAL_MAX_RETRY" into mnc-dr-dev

* commit '55c3a196feaf089b70fcad48253dfa7ae89acab3':
  Add to configure for MDC_INITIAL_MAX_RETRY

8 years agoMerge "Add to configure for MDC_INITIAL_MAX_RETRY" into mnc-dr-dev
Amit Mahajan [Thu, 10 Sep 2015 23:22:37 +0000 (23:22 +0000)]
Merge "Add to configure for MDC_INITIAL_MAX_RETRY" into mnc-dr-dev

8 years agoAdd to configure for MDC_INITIAL_MAX_RETRY
Sungmin Choi [Thu, 10 Sep 2015 18:25:02 +0000 (11:25 -0700)]
Add to configure for MDC_INITIAL_MAX_RETRY

Bug: 23804201
Change-Id: I63fbc168c05792635b7919e81d7397741ffb416b

8 years agoAdd op package to the UID special case handling in account manager.
Svetoslav [Thu, 10 Sep 2015 22:30:45 +0000 (15:30 -0700)]
Add op package to the UID special case handling in account manager.

The account manager has a hardcoded rule to change the calling
UID if the caller is the system and another UID is passed in.
We have to do the same acrobatics for the app op package as if
the UID changes the opPackageName will not match the new UID.
If we used the passed in UID we should also use the passed in
op package name.

bug:23968092

Change-Id: I0c0c2a720e9edbf82001952929d990702f8650ca

8 years agoam 4bf3dfea: am ffa2d691: Merge "Adds config flag for USB notification." into cw...
Daniel Koulomzin [Thu, 10 Sep 2015 22:00:25 +0000 (22:00 +0000)]
am 4bf3dfea: am ffa2d691: Merge "Adds config flag for USB notification." into cw-e-dev

* commit '4bf3dfeacf9fc7faf7126c32b161a7dae2bb2c4f':
  Adds config flag for USB notification.

8 years agoam ffa2d691: Merge "Adds config flag for USB notification." into cw-e-dev
Daniel Koulomzin [Thu, 10 Sep 2015 21:52:29 +0000 (21:52 +0000)]
am ffa2d691: Merge "Adds config flag for USB notification." into cw-e-dev

* commit 'ffa2d69193c70a4e8455aeb5f41487e43c4d48aa':
  Adds config flag for USB notification.

8 years agoMerge "Adds config flag for USB notification." into cw-e-dev
Daniel Koulomzin [Thu, 10 Sep 2015 21:46:01 +0000 (21:46 +0000)]
Merge "Adds config flag for USB notification." into cw-e-dev

8 years agoam 48093547: am 5c732ee5: am e1d2d422: Merge "Fix missing copyright headers." into...
Martijn Coenen [Thu, 10 Sep 2015 21:41:23 +0000 (21:41 +0000)]
am 48093547: am 5c732ee5: am e1d2d422: Merge "Fix missing copyright headers." into mnc-dr-dev

* commit '4809354715aca3bd766250ce708a006a64753c62':
  Fix missing copyright headers.

8 years agoam 5c732ee5: am e1d2d422: Merge "Fix missing copyright headers." into mnc-dr-dev
Martijn Coenen [Thu, 10 Sep 2015 21:33:03 +0000 (21:33 +0000)]
am 5c732ee5: am e1d2d422: Merge "Fix missing copyright headers." into mnc-dr-dev

* commit '5c732ee53e5bb5e0c8de920816bca729b6330e5d':
  Fix missing copyright headers.

8 years agoam e1d2d422: Merge "Fix missing copyright headers." into mnc-dr-dev
Martijn Coenen [Thu, 10 Sep 2015 21:24:22 +0000 (21:24 +0000)]
am e1d2d422: Merge "Fix missing copyright headers." into mnc-dr-dev

* commit 'e1d2d42289afe6e6a65d2ef420b8bf8ed2b33d3b':
  Fix missing copyright headers.

8 years agoMerge "Fix missing copyright headers." into mnc-dr-dev
Martijn Coenen [Thu, 10 Sep 2015 21:17:56 +0000 (21:17 +0000)]
Merge "Fix missing copyright headers." into mnc-dr-dev

8 years agoam 27cb5670: am 3d1115db: Merge "Fixes cloned notification actions missing icon....
Gus Prevas [Thu, 10 Sep 2015 19:54:13 +0000 (19:54 +0000)]
am 27cb5670: am 3d1115db: Merge "Fixes cloned notification actions missing icon." into cw-e-dev

* commit '27cb56703d350b441a2e9efc55bd16dd5b1528e7':
  Fixes cloned notification actions missing icon.

8 years agoam 3d1115db: Merge "Fixes cloned notification actions missing icon." into cw-e-dev
Gus Prevas [Thu, 10 Sep 2015 19:48:03 +0000 (19:48 +0000)]
am 3d1115db: Merge "Fixes cloned notification actions missing icon." into cw-e-dev

* commit '3d1115dba5ca4715a81502352ad3e2a7a1a6a7af':
  Fixes cloned notification actions missing icon.

8 years agoMerge "Fixes cloned notification actions missing icon." into cw-e-dev
Gus Prevas [Thu, 10 Sep 2015 19:40:19 +0000 (19:40 +0000)]
Merge "Fixes cloned notification actions missing icon." into cw-e-dev

8 years agoAdds config flag for USB notification.
Gus Prevas [Wed, 9 Sep 2015 20:10:54 +0000 (16:10 -0400)]
Adds config flag for USB notification.

This change modifies UsbDeviceManager such that the ongoing
system notification for USB charging state is controlled by a
config flag.

Bug: 23409719
Change-Id: I2ef24fe74923170a6e8dd02375b973b4025281e4

8 years agoFixes cloned notification actions missing icon.
Gus Prevas [Mon, 24 Aug 2015 14:34:28 +0000 (10:34 -0400)]
Fixes cloned notification actions missing icon.

This change modifies the Notification.Action constructor
to populate the deprecated "icon" field based on the provided icon.
This field is still used by NotificationCompatApi20
to create a NotificationCompatBase.Action from a Notification.Action.

Bug: 23348968
Bug: 22591778
Change-Id: I3576038384d2baa12c4c75bc4124e3859aacbd13

8 years agoam 1ebac03c: am a5ec056b: Merge "CalendarView: use theme attribute instead of style...
Alan Viverette [Thu, 10 Sep 2015 12:26:58 +0000 (12:26 +0000)]
am 1ebac03c: am a5ec056b: Merge "CalendarView: use theme attribute instead of style on MonthName TextView"

* commit '1ebac03cbe74c2c04aabfd485dab5d366632946b':
  CalendarView: use theme attribute instead of style on MonthName TextView

8 years agoam a5ec056b: Merge "CalendarView: use theme attribute instead of style on MonthName...
Alan Viverette [Thu, 10 Sep 2015 12:19:40 +0000 (12:19 +0000)]
am a5ec056b: Merge "CalendarView: use theme attribute instead of style on MonthName TextView"

* commit 'a5ec056b8331b2560f5c6f9543471884894914f1':
  CalendarView: use theme attribute instead of style on MonthName TextView

8 years agoMerge "CalendarView: use theme attribute instead of style on MonthName TextView"
Alan Viverette [Thu, 10 Sep 2015 12:13:28 +0000 (12:13 +0000)]
Merge "CalendarView: use theme attribute instead of style on MonthName TextView"

8 years agoCalendarView: use theme attribute instead of style on MonthName TextView
Young-Ho Cha [Thu, 10 Sep 2015 06:03:26 +0000 (15:03 +0900)]
CalendarView: use theme attribute instead of style on MonthName TextView

Change-Id: I0d891ab08e61df7422fb0aea50a4c31196792189
Signed-off-by: Young-Ho Cha <ganadist@gmail.com>
8 years agoam f327fd34: am 5a45dc96: am 0018323c: Merge "Add carrier config variable to hide...
Amit Mahajan [Thu, 10 Sep 2015 01:21:17 +0000 (01:21 +0000)]
am f327fd34: am 5a45dc96: am 0018323c: Merge "Add carrier config variable to hide preferred network type" into mnc-dr-dev

* commit 'f327fd34c94781469e0219e27b91f25039cfb2cb':
  Add carrier config variable to hide preferred network type

8 years agoam c6fa5914: am 847bdf00: am 5b40e225: Merge "Make the vertical navbar 48dp like...
Daniel Sandler [Thu, 10 Sep 2015 01:21:09 +0000 (01:21 +0000)]
am c6fa5914: am 847bdf00: am 5b40e225: Merge "Make the vertical navbar 48dp like the horizontal one." into mnc-dr-dev

* commit 'c6fa59145e690f8140fda9d79934f1b66ea354d3':
  Make the vertical navbar 48dp like the horizontal one.

8 years agoam 5a45dc96: am 0018323c: Merge "Add carrier config variable to hide preferred networ...
Amit Mahajan [Thu, 10 Sep 2015 01:13:53 +0000 (01:13 +0000)]
am 5a45dc96: am 0018323c: Merge "Add carrier config variable to hide preferred network type" into mnc-dr-dev

* commit '5a45dc960b42eae66661665ff9a6bcb7e4a02c16':
  Add carrier config variable to hide preferred network type

8 years agoam 847bdf00: am 5b40e225: Merge "Make the vertical navbar 48dp like the horizontal...
Daniel Sandler [Thu, 10 Sep 2015 01:13:47 +0000 (01:13 +0000)]
am 847bdf00: am 5b40e225: Merge "Make the vertical navbar 48dp like the horizontal one." into mnc-dr-dev

* commit '847bdf0093f649a169940fb93249e2beb67f6b45':
  Make the vertical navbar 48dp like the horizontal one.

8 years agoam 17076cc2: am 5a9bb951: resolved conflicts for 5d0e02b6 to cw-e-dev
Jorim Jaggi [Thu, 10 Sep 2015 01:06:47 +0000 (01:06 +0000)]
am 17076cc2: am 5a9bb951: resolved conflicts for 5d0e02b6 to cw-e-dev

* commit '17076cc262ff7e6b384bcb7354983c21ac33a8e9':
  Add double-tap power button to open camera 1/2

8 years agoam 0018323c: Merge "Add carrier config variable to hide preferred network type" into...
Amit Mahajan [Thu, 10 Sep 2015 01:04:43 +0000 (01:04 +0000)]
am 0018323c: Merge "Add carrier config variable to hide preferred network type" into mnc-dr-dev

* commit '0018323c07d119fde7260d66f60dd9987c7b74ea':
  Add carrier config variable to hide preferred network type

8 years agoam 5b40e225: Merge "Make the vertical navbar 48dp like the horizontal one." into...
Daniel Sandler [Thu, 10 Sep 2015 01:04:39 +0000 (01:04 +0000)]
am 5b40e225: Merge "Make the vertical navbar 48dp like the horizontal one." into mnc-dr-dev

* commit '5b40e2253e82d46838c88e6c52dee276a781d593':
  Make the vertical navbar 48dp like the horizontal one.

8 years agoam 5a9bb951: resolved conflicts for 5d0e02b6 to cw-e-dev
Jorim Jaggi [Thu, 10 Sep 2015 00:57:12 +0000 (00:57 +0000)]
am 5a9bb951: resolved conflicts for 5d0e02b6 to cw-e-dev

* commit '5a9bb9516d016549730d49cddcc2b2ee0e7a4e93':
  Add double-tap power button to open camera 1/2

8 years agoMerge "Add carrier config variable to hide preferred network type" into mnc-dr-dev
Amit Mahajan [Thu, 10 Sep 2015 00:55:15 +0000 (00:55 +0000)]
Merge "Add carrier config variable to hide preferred network type" into mnc-dr-dev

8 years agoMerge "Make the vertical navbar 48dp like the horizontal one." into mnc-dr-dev
Daniel Sandler [Thu, 10 Sep 2015 00:53:14 +0000 (00:53 +0000)]
Merge "Make the vertical navbar 48dp like the horizontal one." into mnc-dr-dev

8 years agoresolved conflicts for 5d0e02b6 to cw-e-dev
Jorim Jaggi [Thu, 10 Sep 2015 00:49:57 +0000 (17:49 -0700)]
resolved conflicts for 5d0e02b6 to cw-e-dev

Change-Id: Id974d29581304dc644659d1c470b5413d847944b

8 years agoam a8831ba8: am 5b9f8dd7: am 2ebbf4c8: Merge "Special interval value to always run...
Jeff Sharkey [Thu, 10 Sep 2015 00:44:20 +0000 (00:44 +0000)]
am a8831ba8: am 5b9f8dd7: am 2ebbf4c8: Merge "Special interval value to always run benchmarks." into mnc-dr-dev

* commit 'a8831ba898480354876d7486475885a267c35194':
  Special interval value to always run benchmarks.

8 years agoAdd carrier config variable to hide preferred network type
Sungmin Choi [Tue, 8 Sep 2015 22:34:23 +0000 (15:34 -0700)]
Add carrier config variable to hide preferred network type

Bug: 23862319
Change-Id: I99403f358f0b53f366083edafc3762f5679b0b45

8 years agoam 5b9f8dd7: am 2ebbf4c8: Merge "Special interval value to always run benchmarks...
Jeff Sharkey [Thu, 10 Sep 2015 00:36:28 +0000 (00:36 +0000)]
am 5b9f8dd7: am 2ebbf4c8: Merge "Special interval value to always run benchmarks." into mnc-dr-dev

* commit '5b9f8dd73fc08ac738002b5259bbfdbae8839b49':
  Special interval value to always run benchmarks.

8 years agoam 2ebbf4c8: Merge "Special interval value to always run benchmarks." into mnc-dr-dev
Jeff Sharkey [Thu, 10 Sep 2015 00:26:33 +0000 (00:26 +0000)]
am 2ebbf4c8: Merge "Special interval value to always run benchmarks." into mnc-dr-dev

* commit '2ebbf4c899b39e080be1ec9cd5d1178f30c0cd89':
  Special interval value to always run benchmarks.

8 years agoMerge "Add double-tap power button to open camera 1/2" into mnc-dr-dev
Jorim Jaggi [Thu, 10 Sep 2015 00:25:59 +0000 (00:25 +0000)]
Merge "Add double-tap power button to open camera 1/2" into mnc-dr-dev

8 years agoam f27035d9: am 131d541a: am 16093fe3: Revert "Disable fingerprint after force lock"
Jorim Jaggi [Thu, 10 Sep 2015 00:21:30 +0000 (00:21 +0000)]
am f27035d9: am 131d541a: am 16093fe3: Revert "Disable fingerprint after force lock"

* commit 'f27035d9ee506e4f817ccd49ab60df541c25bbe7':
  Revert "Disable fingerprint after force lock"

8 years agoMerge "Special interval value to always run benchmarks." into mnc-dr-dev
Jeff Sharkey [Thu, 10 Sep 2015 00:18:43 +0000 (00:18 +0000)]
Merge "Special interval value to always run benchmarks." into mnc-dr-dev

8 years agoam 131d541a: am 16093fe3: Revert "Disable fingerprint after force lock"
Jorim Jaggi [Thu, 10 Sep 2015 00:12:21 +0000 (00:12 +0000)]
am 131d541a: am 16093fe3: Revert "Disable fingerprint after force lock"

* commit '131d541ae1ca41aacf751f6a6562f4f031a4ab35':
  Revert "Disable fingerprint after force lock"

8 years agoam 16093fe3: Revert "Disable fingerprint after force lock"
Jorim Jaggi [Thu, 10 Sep 2015 00:05:38 +0000 (00:05 +0000)]
am 16093fe3: Revert "Disable fingerprint after force lock"

* commit '16093fe3f0d824731a53a264a132504deb08421a':
  Revert "Disable fingerprint after force lock"

8 years agoRevert "Disable fingerprint after force lock"
Jorim Jaggi [Wed, 9 Sep 2015 23:29:17 +0000 (23:29 +0000)]
Revert "Disable fingerprint after force lock"

Bug: 23827042
This reverts commit 0cb50efdc2d3ecaa9f1b2163109e8fff1b23f0e7.

Change-Id: I40251500b2dcf95e63ce39a768e11a50b26fb923

8 years agoAdd double-tap power button to open camera 1/2
Adrian Roos [Thu, 3 Sep 2015 22:59:49 +0000 (15:59 -0700)]
Add double-tap power button to open camera 1/2

Bug: 23787555
Change-Id: I052b64748f155c59fbb649b32265f559423a8845

8 years agoam 58c27e3e: am c0ce6c42: Merge "Reduce risk of memory corruption due to finalization."
Hans Boehm [Wed, 9 Sep 2015 23:44:37 +0000 (23:44 +0000)]
am 58c27e3e: am c0ce6c42: Merge "Reduce risk of memory corruption due to finalization."

* commit '58c27e3e53ef64072412515792433e570a176f15':
  Reduce risk of memory corruption due to finalization.

8 years agoSpecial interval value to always run benchmarks.
Jeff Sharkey [Wed, 9 Sep 2015 21:53:38 +0000 (14:53 -0700)]
Special interval value to always run benchmarks.

When interval is set of 0, always run benchmarks after every fstrim
pass, which is roughly daily.  We don't actually track the last
benchmark time for internal storage, so this is the best way we have
to enable this.

Also disable benchmarking completely when interval is set to -1.

Bug: 23942769
Change-Id: I11edfda063aac6e927c6cce56567169ebe83cb71

8 years agoam c0ce6c42: Merge "Reduce risk of memory corruption due to finalization."
Hans Boehm [Wed, 9 Sep 2015 22:41:42 +0000 (22:41 +0000)]
am c0ce6c42: Merge "Reduce risk of memory corruption due to finalization."

* commit 'c0ce6c422cfe089e7a8e209ac924e37bed3ca770':
  Reduce risk of memory corruption due to finalization.

8 years agoam d428dc4a: am 12fdaf85: am a4fca2c7: Merge "Fixed a racecondition where the camera...
Selim Cinek [Wed, 9 Sep 2015 22:30:25 +0000 (22:30 +0000)]
am d428dc4a: am 12fdaf85: am a4fca2c7: Merge "Fixed a racecondition where the camera would not launch" into mnc-dr-dev

* commit 'd428dc4a326f1a928875ecda1c12eef445473dc5':
  Fixed a racecondition where the camera would not launch

8 years agoMerge "Reduce risk of memory corruption due to finalization."
Hans Boehm [Wed, 9 Sep 2015 22:28:42 +0000 (22:28 +0000)]
Merge "Reduce risk of memory corruption due to finalization."

8 years agoam 12fdaf85: am a4fca2c7: Merge "Fixed a racecondition where the camera would not...
Selim Cinek [Wed, 9 Sep 2015 22:23:20 +0000 (22:23 +0000)]
am 12fdaf85: am a4fca2c7: Merge "Fixed a racecondition where the camera would not launch" into mnc-dr-dev

* commit '12fdaf8589813065d2e8b9873196471ed38c7b80':
  Fixed a racecondition where the camera would not launch

8 years agoam a4fca2c7: Merge "Fixed a racecondition where the camera would not launch" into...
Selim Cinek [Wed, 9 Sep 2015 22:15:55 +0000 (22:15 +0000)]
am a4fca2c7: Merge "Fixed a racecondition where the camera would not launch" into mnc-dr-dev

* commit 'a4fca2c7255367b96fc8012b0fcb62a71343e1ff':
  Fixed a racecondition where the camera would not launch

8 years agoMerge "Fixed a racecondition where the camera would not launch" into mnc-dr-dev
Selim Cinek [Wed, 9 Sep 2015 22:07:02 +0000 (22:07 +0000)]
Merge "Fixed a racecondition where the camera would not launch" into mnc-dr-dev

8 years agoam 46154b8f: am b5304547: am 5e354223: Use AlarmManager for lockout reset
Jorim Jaggi [Wed, 9 Sep 2015 21:48:23 +0000 (21:48 +0000)]
am 46154b8f: am b5304547: am 5e354223: Use AlarmManager for lockout reset

* commit '46154b8fa50c4e8176225981500ad95a5b667cea':
  Use AlarmManager for lockout reset

8 years agoam b5304547: am 5e354223: Use AlarmManager for lockout reset
Jorim Jaggi [Wed, 9 Sep 2015 21:00:49 +0000 (21:00 +0000)]
am b5304547: am 5e354223: Use AlarmManager for lockout reset

* commit 'b53045476ce228d510b045276f84f004d3b9eeb8':
  Use AlarmManager for lockout reset

8 years agoam 5e354223: Use AlarmManager for lockout reset
Jorim Jaggi [Wed, 9 Sep 2015 20:54:42 +0000 (20:54 +0000)]
am 5e354223: Use AlarmManager for lockout reset

* commit '5e354223d817477efac9a6a2e3ce3d9161e046a4':
  Use AlarmManager for lockout reset

8 years agoUse AlarmManager for lockout reset
Jorim Jaggi [Fri, 4 Sep 2015 21:17:58 +0000 (14:17 -0700)]
Use AlarmManager for lockout reset

So the lockout reset exactly fires after 30 seconds, independent
of whether the device was in deep sleep.

Bug: 23668918
Change-Id: Idea1a877c395897c1fd075cf98edf41c8b1f4082

8 years agoam 63d94e4c: am 95198ee9: am ebd14658: Merge "Add carrier config variable to hide...
Vineeta Srivastava [Wed, 9 Sep 2015 17:40:34 +0000 (17:40 +0000)]
am 63d94e4c: am 95198ee9: am ebd14658: Merge "Add carrier config variable to hide ims apn" into mnc-dr-dev

* commit '63d94e4c3be9190554ed51f2b00eb764707fd848':
  Add carrier config variable to hide ims apn

8 years agoam 95198ee9: am ebd14658: Merge "Add carrier config variable to hide ims apn" into...
Vineeta Srivastava [Wed, 9 Sep 2015 17:31:06 +0000 (17:31 +0000)]
am 95198ee9: am ebd14658: Merge "Add carrier config variable to hide ims apn" into mnc-dr-dev

* commit '95198ee9ce374582e71b5a29e740e97b7b7b198b':
  Add carrier config variable to hide ims apn

8 years agoam ebd14658: Merge "Add carrier config variable to hide ims apn" into mnc-dr-dev
Vineeta Srivastava [Wed, 9 Sep 2015 17:22:28 +0000 (17:22 +0000)]
am ebd14658: Merge "Add carrier config variable to hide ims apn" into mnc-dr-dev

* commit 'ebd1465885af2a1de5a885dac791ee6184f85d7f':
  Add carrier config variable to hide ims apn

8 years agoMerge "Add carrier config variable to hide ims apn" into mnc-dr-dev
Vineeta Srivastava [Wed, 9 Sep 2015 17:12:39 +0000 (17:12 +0000)]
Merge "Add carrier config variable to hide ims apn" into mnc-dr-dev

8 years agoam 67e4317a: am 6544d5a2: am dee1c5c9: Merge "Add carrier config for specifying inval...
Tyler Gunn [Wed, 9 Sep 2015 16:34:04 +0000 (16:34 +0000)]
am 67e4317a: am 6544d5a2: am dee1c5c9: Merge "Add carrier config for specifying invalid characters." into mnc-dr-dev

* commit '67e4317aa3671f6bff1855922e794ae1c6588bd2':
  Add carrier config for specifying invalid characters.

8 years agoam 6544d5a2: am dee1c5c9: Merge "Add carrier config for specifying invalid characters...
Tyler Gunn [Wed, 9 Sep 2015 16:26:30 +0000 (16:26 +0000)]
am 6544d5a2: am dee1c5c9: Merge "Add carrier config for specifying invalid characters." into mnc-dr-dev

* commit '6544d5a2a7089b6e76c0548cd9f63f9400ce1082':
  Add carrier config for specifying invalid characters.

8 years agoam dee1c5c9: Merge "Add carrier config for specifying invalid characters." into mnc...
Tyler Gunn [Wed, 9 Sep 2015 16:15:52 +0000 (16:15 +0000)]
am dee1c5c9: Merge "Add carrier config for specifying invalid characters." into mnc-dr-dev

* commit 'dee1c5c948a5e1b98577a3301882aac04154b5be':
  Add carrier config for specifying invalid characters.

8 years agoMerge "Add carrier config for specifying invalid characters." into mnc-dr-dev
Tyler Gunn [Wed, 9 Sep 2015 16:09:33 +0000 (16:09 +0000)]
Merge "Add carrier config for specifying invalid characters." into mnc-dr-dev

8 years agoam 4f1bd159: am db4efcfa: am f57d9856: am 4f7d0bc7: Merge "Add get_accounts app op...
Svetoslav Ganov [Wed, 9 Sep 2015 02:08:18 +0000 (02:08 +0000)]
am 4f1bd159: am db4efcfa: am f57d9856: am 4f7d0bc7: Merge "Add get_accounts app op" into mnc-dev

* commit '4f1bd159d9042106d112cbf579c2daf82842f375':
  Add get_accounts app op

8 years agoam db4efcfa: am f57d9856: am 4f7d0bc7: Merge "Add get_accounts app op" into mnc-dev
Svetoslav Ganov [Wed, 9 Sep 2015 02:01:24 +0000 (02:01 +0000)]
am db4efcfa: am f57d9856: am 4f7d0bc7: Merge "Add get_accounts app op" into mnc-dev

* commit 'db4efcfa8dd996841eb50cf2594bea641b4f217a':
  Add get_accounts app op

8 years agoam f57d9856: am 4f7d0bc7: Merge "Add get_accounts app op" into mnc-dev
Svetoslav Ganov [Wed, 9 Sep 2015 01:51:37 +0000 (01:51 +0000)]
am f57d9856: am 4f7d0bc7: Merge "Add get_accounts app op" into mnc-dev

* commit 'f57d98564b26953b722ab0e14222f50e6515f36d':
  Add get_accounts app op

8 years agoam 4f7d0bc7: Merge "Add get_accounts app op" into mnc-dev
Svetoslav Ganov [Wed, 9 Sep 2015 01:42:56 +0000 (01:42 +0000)]
am 4f7d0bc7: Merge "Add get_accounts app op" into mnc-dev

* commit '4f7d0bc7af5fbb65796d24b130b7e9e63107bc5d':
  Add get_accounts app op

8 years agoMerge "Add get_accounts app op" into mnc-dev
Svetoslav Ganov [Wed, 9 Sep 2015 01:36:58 +0000 (01:36 +0000)]
Merge "Add get_accounts app op" into mnc-dev

8 years agoReduce risk of memory corruption due to finalization.
Hans Boehm [Wed, 12 Nov 2014 01:01:37 +0000 (17:01 -0800)]
Reduce risk of memory corruption due to finalization.

Many classes in graphics/java and elsewhere deallocate native memory
in a finalizer on the assumption that instance methods can no longer
be called once the finalizer has been called.  This is incorrect if
the object can be used, possibly indirectly, from another finalizer,
possibly one in the application.

This is the initial installment of a patch to cause such post-finalization
uses to at least see a null pointer rather than causing memory corruption
by accessing deallocated native memory. This should make it possible to
identify and fix such finalization ordering issues.

There are more graphics classes that need this treatment, and probably
many more in other subsystems.

This solution is < 100% effective if finalizers can be invoked
concurrently.  We currently promise that they aren't.

(In my opinion, the real cause here is a language spec bug.  But that ship
has sailed.)

Bug: 18178237
Change-Id: I844cf1e0fbb190407389c4f8e8f072752cca6198

8 years agoFixed a racecondition where the camera would not launch
Selim Cinek [Thu, 3 Sep 2015 23:01:53 +0000 (16:01 -0700)]
Fixed a racecondition where the camera would not launch

If the gesture was detected while turning on, the gesture
would not launch.

Bug: 23636271
Change-Id: I166759a55137163be0c3f38fe8d1dc0c18977e11

8 years agoam aded82ce: am 6d8bdb50: am 5536d447: Merge "Changed the vibration duration from...
Zhentao Sun [Wed, 9 Sep 2015 00:59:39 +0000 (00:59 +0000)]
am aded82ce: am 6d8bdb50: am 5536d447: Merge "Changed the vibration duration from 1s to 750ms." into mnc-dr-dev

* commit 'aded82ce3134b7f8a2db7e4e7462e16e0428ef96':
  Changed the vibration duration from 1s to 750ms.

8 years agoAdd get_accounts app op
Svetoslav [Tue, 8 Sep 2015 21:36:35 +0000 (14:36 -0700)]
Add get_accounts app op

For each runtime permission we have an app op to toggle the
permission for legacy apps as they cannot handle permission
revocations. We were lacking an app op for get_accounts
which prevented the user from controlling access to accounts
regardelss that they change the state of the permission
toggle in the UI. Even worse the permission UI is written
with the assumption that every runtime permission has an
app op and as a result revoking the contacts group (if the
app requests the get_accounts permission) is reset back to
allowed in the UI.

bug:23854618

Change-Id: I9e3f9bfeb320bed561d718db99ee285915d5701b

8 years agoam 6d8bdb50: am 5536d447: Merge "Changed the vibration duration from 1s to 750ms...
Zhentao Sun [Wed, 9 Sep 2015 00:48:18 +0000 (00:48 +0000)]
am 6d8bdb50: am 5536d447: Merge "Changed the vibration duration from 1s to 750ms." into mnc-dr-dev

* commit '6d8bdb50b0cd26629a18ae3124fb29673069493b':
  Changed the vibration duration from 1s to 750ms.

8 years agoam 22262f31: am 0bc35668: am 017223ac: Merge changes from topic \'packet-keepalive...
Lorenzo Colitti [Wed, 9 Sep 2015 00:45:42 +0000 (00:45 +0000)]
am 22262f31: am 0bc35668: am 017223ac: Merge changes from topic \'packet-keepalive-fixes\' into mnc-dr-dev

* commit '22262f31b964d595b56eb1277e4d88550a03e54c':
  Require the new PACKET_KEEPALIVE_OFFLOAD permission.
  Add an error code for generic hardware error.
  Fix bugs and crashes in PacketKeepalive API.
  Add tests for the PacketKeepalive API.
  Add a PACKET_KEEPALIVE_OFFLOAD permission.
  Use a CountDownLatch instead of sleep() in NetworkFactory tests.
  Get rid of shortSleep() in ConnectivityServiceTest.
  Make ConnectivityServiceTest a bit more readable.

8 years agoam 5536d447: Merge "Changed the vibration duration from 1s to 750ms." into mnc-dr-dev
Zhentao Sun [Wed, 9 Sep 2015 00:38:48 +0000 (00:38 +0000)]
am 5536d447: Merge "Changed the vibration duration from 1s to 750ms." into mnc-dr-dev

* commit '5536d4477572e437c95111630d5c2723350d99a5':
  Changed the vibration duration from 1s to 750ms.

8 years agoam 0bc35668: am 017223ac: Merge changes from topic \'packet-keepalive-fixes\' into...
Lorenzo Colitti [Wed, 9 Sep 2015 00:38:42 +0000 (00:38 +0000)]
am 0bc35668: am 017223ac: Merge changes from topic \'packet-keepalive-fixes\' into mnc-dr-dev

* commit '0bc356687e022fa1ae611c4ebeb0e0622810d7e4':
  Require the new PACKET_KEEPALIVE_OFFLOAD permission.
  Add an error code for generic hardware error.
  Fix bugs and crashes in PacketKeepalive API.
  Add tests for the PacketKeepalive API.
  Add a PACKET_KEEPALIVE_OFFLOAD permission.
  Use a CountDownLatch instead of sleep() in NetworkFactory tests.
  Get rid of shortSleep() in ConnectivityServiceTest.
  Make ConnectivityServiceTest a bit more readable.

8 years agoMerge "Changed the vibration duration from 1s to 750ms." into mnc-dr-dev
Zhentao Sun [Wed, 9 Sep 2015 00:29:03 +0000 (00:29 +0000)]
Merge "Changed the vibration duration from 1s to 750ms." into mnc-dr-dev

8 years agoam 2a198de7: am 975ceef6: am 52429b4a: Cancel animation when hiding Keyguard
Jorim Jaggi [Wed, 9 Sep 2015 00:28:48 +0000 (00:28 +0000)]
am 2a198de7: am 975ceef6: am 52429b4a: Cancel animation when hiding Keyguard

* commit '2a198de79d0d5b93168a3fccd45977f5731b3451':
  Cancel animation when hiding Keyguard

8 years agoam 017223ac: Merge changes from topic \'packet-keepalive-fixes\' into mnc-dr-dev
Lorenzo Colitti [Wed, 9 Sep 2015 00:26:53 +0000 (00:26 +0000)]
am 017223ac: Merge changes from topic \'packet-keepalive-fixes\' into mnc-dr-dev

* commit '017223acda5bfe16cb87d0a33d72dd28d2fccd3b':
  Require the new PACKET_KEEPALIVE_OFFLOAD permission.
  Add an error code for generic hardware error.
  Fix bugs and crashes in PacketKeepalive API.
  Add tests for the PacketKeepalive API.
  Add a PACKET_KEEPALIVE_OFFLOAD permission.
  Use a CountDownLatch instead of sleep() in NetworkFactory tests.
  Get rid of shortSleep() in ConnectivityServiceTest.
  Make ConnectivityServiceTest a bit more readable.

8 years agoAdd carrier config variable to hide ims apn
Sungmin Choi [Mon, 31 Aug 2015 22:32:20 +0000 (15:32 -0700)]
Add carrier config variable to hide ims apn

Bug: 23770219
Change-Id: I691d2594384196852d7128a9b4969ba9a861205c

8 years agoam 975ceef6: am 52429b4a: Cancel animation when hiding Keyguard
Jorim Jaggi [Wed, 9 Sep 2015 00:19:24 +0000 (00:19 +0000)]
am 975ceef6: am 52429b4a: Cancel animation when hiding Keyguard

* commit '975ceef616aac6de561c4a4e1d82a636f5cf37e3':
  Cancel animation when hiding Keyguard

8 years agoMerge changes from topic 'packet-keepalive-fixes' into mnc-dr-dev
Lorenzo Colitti [Wed, 9 Sep 2015 00:18:39 +0000 (00:18 +0000)]
Merge changes from topic 'packet-keepalive-fixes' into mnc-dr-dev

* changes:
  Require the new PACKET_KEEPALIVE_OFFLOAD permission.
  Add an error code for generic hardware error.
  Fix bugs and crashes in PacketKeepalive API.
  Add tests for the PacketKeepalive API.
  Add a PACKET_KEEPALIVE_OFFLOAD permission.
  Use a CountDownLatch instead of sleep() in NetworkFactory tests.
  Get rid of shortSleep() in ConnectivityServiceTest.
  Make ConnectivityServiceTest a bit more readable.

8 years agoam 89d80472: am ad69e53e: am edf47486: Removed the secure camera launcher
Selim Cinek [Wed, 9 Sep 2015 00:16:04 +0000 (00:16 +0000)]
am 89d80472: am ad69e53e: am edf47486: Removed the secure camera launcher

* commit '89d804727473009fe8e53a0040f0ac70b3bd221a':
  Removed the secure camera launcher

8 years agoam 52429b4a: Cancel animation when hiding Keyguard
Jorim Jaggi [Wed, 9 Sep 2015 00:12:31 +0000 (00:12 +0000)]
am 52429b4a: Cancel animation when hiding Keyguard

* commit '52429b4a8b9be501f52df62e77c3e4bbb5bf0c3f':
  Cancel animation when hiding Keyguard

8 years agoam ad69e53e: am edf47486: Removed the secure camera launcher
Selim Cinek [Wed, 9 Sep 2015 00:08:11 +0000 (00:08 +0000)]
am ad69e53e: am edf47486: Removed the secure camera launcher

* commit 'ad69e53e7ee3fdaaff676ae5d0e99f6b267675f9':
  Removed the secure camera launcher

8 years agoCancel animation when hiding Keyguard
Jorim Jaggi [Fri, 4 Sep 2015 02:58:19 +0000 (19:58 -0700)]
Cancel animation when hiding Keyguard

So we don't end up in a wrong state.

Bug: 23692022
Change-Id: If40eb66499c95b82d86873dbbd6ccc64468373b2

8 years agoam edf47486: Removed the secure camera launcher
Selim Cinek [Tue, 8 Sep 2015 23:58:58 +0000 (23:58 +0000)]
am edf47486: Removed the secure camera launcher

* commit 'edf47486507f5edad1d1d8e6091b9a82f9e56930':
  Removed the secure camera launcher