OSDN Git Service

android-x86/frameworks-base.git
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

8 years agoRemoved the secure camera launcher
Selim Cinek [Wed, 2 Sep 2015 01:05:08 +0000 (18:05 -0700)]
Removed the secure camera launcher

With Android M, the system correctly handles camera arbitration
and therefore the secure camera launcher was only adding delay.

Bug: 23713450
Change-Id: Icd5e7883f3560bfd0c9b5f7bd93675847949469b

8 years agoChanged the vibration duration from 1s to 750ms.
Zhentao Sun [Tue, 8 Sep 2015 22:41:25 +0000 (15:41 -0700)]
Changed the vibration duration from 1s to 750ms.

Fixed b/23727634.

Change-Id: Ie03b26f7b8faee8d61d772041351729995f7088c

8 years agoam 07b3195f: am c698ece7: am 3bed3bf4: am 92aeac34: am 1c88f605: Merge branch \'lmp...
Android Git Automerger [Tue, 8 Sep 2015 22:19:50 +0000 (22:19 +0000)]
am 07b3195f: am c698ece7: am 3bed3bf4: am 92aeac34: am 1c88f605: Merge branch \'lmp-mr1-ub-dev\' of https://googleplex-android.googlesource.com/_direct/platform/frameworks/base into lmp-mr1-ub-dev

* commit '07b3195f7b156d9123797fac9160bc27cb17263c':
  docs: change intro and title for contacts and sign-in lesson, and remove empty bullet

8 years agoam 27a85cca: am fb53f115: am d35c7940: am 2c31a0d7: am 9e28efe4: docs: change intro...
Cheryl Potter [Tue, 8 Sep 2015 22:19:44 +0000 (22:19 +0000)]
am 27a85cca: am fb53f115: am d35c7940: am 2c31a0d7: am 9e28efe4: docs: change intro and title for contacts and sign-in lesson, and remove empty bullet

* commit '27a85cca7c001ec47749feb60461081f14b2dfe3':
  docs: change intro and title for contacts and sign-in lesson, and remove empty bullet

8 years agoam c698ece7: am 3bed3bf4: am 92aeac34: am 1c88f605: Merge branch \'lmp-mr1-ub-dev...
Android Git Automerger [Tue, 8 Sep 2015 22:13:28 +0000 (22:13 +0000)]
am c698ece7: am 3bed3bf4: am 92aeac34: am 1c88f605: Merge branch \'lmp-mr1-ub-dev\' of https://googleplex-android.googlesource.com/_direct/platform/frameworks/base into lmp-mr1-ub-dev

* commit 'c698ece7cf5d2651741439921f7a241a4f51354b':
  docs: change intro and title for contacts and sign-in lesson, and remove empty bullet

8 years agoam fb53f115: am d35c7940: am 2c31a0d7: am 9e28efe4: docs: change intro and title...
Cheryl Potter [Tue, 8 Sep 2015 22:13:22 +0000 (22:13 +0000)]
am fb53f115: am d35c7940: am 2c31a0d7: am 9e28efe4: docs: change intro and title for contacts and sign-in lesson, and remove empty bullet

* commit 'fb53f11515554f618d5888c8137119bcc4f316cb':
  docs: change intro and title for contacts and sign-in lesson, and remove empty bullet

8 years agoam 3bed3bf4: am 92aeac34: am 1c88f605: Merge branch \'lmp-mr1-ub-dev\' of https:...
Android Git Automerger [Tue, 8 Sep 2015 22:04:36 +0000 (22:04 +0000)]
am 3bed3bf4: am 92aeac34: am 1c88f605: Merge branch \'lmp-mr1-ub-dev\' of https://googleplex-android.googlesource.com/_direct/platform/frameworks/base into lmp-mr1-ub-dev

* commit '3bed3bf498eadcaa760608a415c66e017d2eb690':
  docs: change intro and title for contacts and sign-in lesson, and remove empty bullet

8 years agoam d35c7940: am 2c31a0d7: am 9e28efe4: docs: change intro and title for contacts...
Cheryl Potter [Tue, 8 Sep 2015 22:04:32 +0000 (22:04 +0000)]
am d35c7940: am 2c31a0d7: am 9e28efe4: docs: change intro and title for contacts and sign-in lesson, and remove empty bullet

* commit 'd35c7940112fa7edae03a1b43670157787a69d3d':
  docs: change intro and title for contacts and sign-in lesson, and remove empty bullet

8 years agoam 92aeac34: am 1c88f605: Merge branch \'lmp-mr1-ub-dev\' of https://googleplex-andro...
Android Git Automerger [Tue, 8 Sep 2015 21:55:50 +0000 (21:55 +0000)]
am 92aeac34: am 1c88f605: Merge branch \'lmp-mr1-ub-dev\' of https://googleplex-android.googlesource.com/_direct/platform/frameworks/base into lmp-mr1-ub-dev

* commit '92aeac3499e91985a266590aff88b06a9633b667':
  docs: change intro and title for contacts and sign-in lesson, and remove empty bullet

8 years agoam 2c31a0d7: am 9e28efe4: docs: change intro and title for contacts and sign-in lesso...
Cheryl Potter [Tue, 8 Sep 2015 21:55:46 +0000 (21:55 +0000)]
am 2c31a0d7: am 9e28efe4: docs: change intro and title for contacts and sign-in lesson, and remove empty bullet

* commit '2c31a0d774cebb9603d3dd7f904af20dce4f3bd4':
  docs: change intro and title for contacts and sign-in lesson, and remove empty bullet

8 years agoam 1c88f605: Merge branch \'lmp-mr1-ub-dev\' of https://googleplex-android.googlesour...
Android Git Automerger [Tue, 8 Sep 2015 21:46:08 +0000 (21:46 +0000)]
am 1c88f605: Merge branch \'lmp-mr1-ub-dev\' of https://googleplex-android.googlesource.com/_direct/platform/frameworks/base into lmp-mr1-ub-dev

* commit '1c88f605629a5f1647a8af1fdcfe0fb6e3eea847':
  docs: change intro and title for contacts and sign-in lesson, and remove empty bullet

8 years agoam 9e28efe4: docs: change intro and title for contacts and sign-in lesson, and remove...
Cheryl Potter [Tue, 8 Sep 2015 21:46:02 +0000 (21:46 +0000)]
am 9e28efe4: docs: change intro and title for contacts and sign-in lesson, and remove empty bullet

* commit '9e28efe4e79402e1ae9c92579d4ea2bc5b4bb664':
  docs: change intro and title for contacts and sign-in lesson, and remove empty bullet

8 years agoMerge branch 'lmp-mr1-ub-dev' of https://googleplex-android.googlesource.com/_direct...
Android Git Automerger [Tue, 8 Sep 2015 21:37:33 +0000 (21:37 +0000)]
Merge branch 'lmp-mr1-ub-dev' of https://googleplex-android.googlesource.com/_direct/platform/frameworks/base into lmp-mr1-ub-dev

8 years agodocs: change intro and title for contacts and sign-in lesson, and remove empty bullet
Cheryl Potter [Tue, 11 Aug 2015 18:43:59 +0000 (11:43 -0700)]
docs: change intro and title for contacts and sign-in lesson, and remove empty bullet

b/22822607

Change-Id: Ib8b26e2ebe651fc3d9a1b9c89183ab62128d5e20

8 years agoam 4b32b3f4: Merge "docs: change intro and title for contacts and sign-in lesson...
Cheryl Potter [Tue, 8 Sep 2015 21:36:35 +0000 (21:36 +0000)]
am 4b32b3f4: Merge "docs: change intro and title for contacts and sign-in lesson, and remove empty bullet" into mnc-preview-docs

* commit '4b32b3f43fe8e27ffdb19d51364ebd99a3503e79':
  docs: change intro and title for contacts and sign-in lesson, and remove empty bullet

8 years agoam fb4e0323: am 2248874b: am ee1babec: Merge "Introduce config_wifi_revert_country_co...
xin He [Tue, 8 Sep 2015 21:31:35 +0000 (21:31 +0000)]
am fb4e0323: am 2248874b: am ee1babec: Merge "Introduce config_wifi_revert_country_code_on_cellular_loss" into mnc-dr-dev

* commit 'fb4e0323a248c720170e010ea97299bf3f7415d1':
  Introduce config_wifi_revert_country_code_on_cellular_loss

8 years agoMerge "docs: change intro and title for contacts and sign-in lesson, and remove empty...
Cheryl Potter [Tue, 8 Sep 2015 21:28:06 +0000 (21:28 +0000)]
Merge "docs: change intro and title for contacts and sign-in lesson, and remove empty bullet" into mnc-preview-docs

8 years agoam 2248874b: am ee1babec: Merge "Introduce config_wifi_revert_country_code_on_cellula...
xin He [Tue, 8 Sep 2015 21:20:02 +0000 (21:20 +0000)]
am 2248874b: am ee1babec: Merge "Introduce config_wifi_revert_country_code_on_cellular_loss" into mnc-dr-dev

* commit '2248874b8b7503b484556a1b46fdb23379fbc107':
  Introduce config_wifi_revert_country_code_on_cellular_loss

8 years agoam ee1babec: Merge "Introduce config_wifi_revert_country_code_on_cellular_loss" into...
xin He [Tue, 8 Sep 2015 21:09:13 +0000 (21:09 +0000)]
am ee1babec: Merge "Introduce config_wifi_revert_country_code_on_cellular_loss" into mnc-dr-dev

* commit 'ee1babecd204def48feb1fcf648dbed5cd760697':
  Introduce config_wifi_revert_country_code_on_cellular_loss

8 years agoam dee90112: am 10352f7a: am 5e8e1c63: Do not expand notifications with expand gestur...
Jorim Jaggi [Tue, 8 Sep 2015 21:08:40 +0000 (21:08 +0000)]
am dee90112: am 10352f7a: am 5e8e1c63: Do not expand notifications with expand gesture when disallowed

* commit 'dee90112ce6d47a5740fd60449f948c37a8956e4':
  Do not expand notifications with expand gesture when disallowed

8 years agoMerge "Introduce config_wifi_revert_country_code_on_cellular_loss" into mnc-dr-dev
xin He [Tue, 8 Sep 2015 21:01:49 +0000 (21:01 +0000)]
Merge "Introduce config_wifi_revert_country_code_on_cellular_loss" into mnc-dr-dev

8 years agoam 10352f7a: am 5e8e1c63: Do not expand notifications with expand gesture when disallowed
Jorim Jaggi [Tue, 8 Sep 2015 20:58:56 +0000 (20:58 +0000)]
am 10352f7a: am 5e8e1c63: Do not expand notifications with expand gesture when disallowed

* commit '10352f7a48433b5b76cd5d35a5eec6c3df203a1f':
  Do not expand notifications with expand gesture when disallowed

8 years agoam 5e8e1c63: Do not expand notifications with expand gesture when disallowed
Jorim Jaggi [Tue, 8 Sep 2015 20:50:53 +0000 (20:50 +0000)]
am 5e8e1c63: Do not expand notifications with expand gesture when disallowed

* commit '5e8e1c63774da8c013fad18a63eac691cdc9646f':
  Do not expand notifications with expand gesture when disallowed

8 years agoDo not expand notifications with expand gesture when disallowed
Jorim Jaggi [Fri, 4 Sep 2015 18:51:26 +0000 (11:51 -0700)]
Do not expand notifications with expand gesture when disallowed

Bug: 23596083
Change-Id: Iba88abce317e9d3a9c675a846261f35b1daee22a

8 years agodocs: change intro and title for contacts and sign-in lesson, and remove empty bullet
Cheryl Potter [Tue, 11 Aug 2015 18:43:59 +0000 (11:43 -0700)]
docs: change intro and title for contacts and sign-in lesson, and remove empty bullet

b/22822607

Change-Id: Ib8b26e2ebe651fc3d9a1b9c89183ab62128d5e20

8 years agoRequire the new PACKET_KEEPALIVE_OFFLOAD permission.
Lorenzo Colitti [Tue, 8 Sep 2015 13:02:37 +0000 (22:02 +0900)]
Require the new PACKET_KEEPALIVE_OFFLOAD permission.

Bug: 23884210
Change-Id: I50a1a647a69deaba92e73021ee7d6cc0f3eb1eee

8 years agoAdd an error code for generic hardware error.
Lorenzo Colitti [Tue, 8 Sep 2015 07:46:36 +0000 (16:46 +0900)]
Add an error code for generic hardware error.

This is necessary because currently the wifi code just returns
whatever hardware-specific integer it gets back from the HAL,
which is bad because that will be interpreted by the caller as
one of the error codes defined in this class.

In parallel we'll also modify the wifi code to return this new
error code if the hardware returns an error.

Bug: 21405946
Change-Id: Ic9fa1193ced69a4e7ff543e397221c89b10a5a13

8 years agoFix bugs and crashes in PacketKeepalive API.
Lorenzo Colitti [Tue, 8 Sep 2015 04:44:23 +0000 (13:44 +0900)]
Fix bugs and crashes in PacketKeepalive API.

Bug: 22606153
Bug: 23820819
Bug: 23884210
Change-Id: I1bf82094ec664baed345e9fb137fada0cbf4b7a0

8 years agoAdd tests for the PacketKeepalive API.
Lorenzo Colitti [Tue, 8 Sep 2015 04:21:48 +0000 (13:21 +0900)]
Add tests for the PacketKeepalive API.

This currently fails in many different ways, but it tells us what
to fix.

Bug: 22606153
Bug: 23884210
Change-Id: If2e5ee0a8d7b26cad67d3d566ed5b1383e0db096

8 years agoAdd a PACKET_KEEPALIVE_OFFLOAD permission.
Lorenzo Colitti [Tue, 8 Sep 2015 04:23:00 +0000 (13:23 +0900)]
Add a PACKET_KEEPALIVE_OFFLOAD permission.

Bug: 23884210
Change-Id: I0f9207ac9b9c07c676f64f2748905e523e891501

8 years agoUse a CountDownLatch instead of sleep() in NetworkFactory tests.
Lorenzo Colitti [Fri, 7 Aug 2015 16:55:44 +0000 (01:55 +0900)]
Use a CountDownLatch instead of sleep() in NetworkFactory tests.

This makes testNetworkFactoryRequests 2-3 times faster.

Bug: 22606153
Change-Id: I9657b6929e77f23ec811d0ab57b2ba974f0b6a69

8 years agoGet rid of shortSleep() in ConnectivityServiceTest.
Lorenzo Colitti [Fri, 7 Aug 2015 11:17:27 +0000 (20:17 +0900)]
Get rid of shortSleep() in ConnectivityServiceTest.

Instead, use IdleHandler to wait for things to become idle.

Bug: 22606153
Change-Id: Ic6ab93ad4d336b40962f9be1096629a44b63ee2f

8 years agoam 740cf71c: am 56ecfcce: Handle KEYCODE_SOFT_SLEEP from Ungaze.
Nick Armstrong-Crews [Tue, 8 Sep 2015 05:28:51 +0000 (05:28 +0000)]
am 740cf71c: am 56ecfcce: Handle KEYCODE_SOFT_SLEEP from Ungaze.

* commit '740cf71c9978e5dcb0a68b6558531a52dc26d44f':
  Handle KEYCODE_SOFT_SLEEP from Ungaze.

8 years agoam 56ecfcce: Handle KEYCODE_SOFT_SLEEP from Ungaze.
Nick Armstrong-Crews [Tue, 8 Sep 2015 05:23:49 +0000 (05:23 +0000)]
am 56ecfcce: Handle KEYCODE_SOFT_SLEEP from Ungaze.

* commit '56ecfcce6c88fc80cf509effcebb124bbe0c79f8':
  Handle KEYCODE_SOFT_SLEEP from Ungaze.