OSDN Git Service

android-x86/frameworks-base.git
8 years agoFix Spinner not restoring selection when set to GONE
Doris Liu [Wed, 9 Sep 2015 20:59:32 +0000 (13:59 -0700)]
Fix Spinner not restoring selection when set to GONE

This CL restores the selected position when AdapterView
gets restored, rather than wait until the next measure/layout
pass to do it. After the change, even when the AdapterView
is set to GONE (i.e. no measure/layout pass), the selection
will still be kept up to date.

Bug: 23619366

Change-Id: I09a31b6e2a61ca0edf129af8fe634b83784f9167

8 years agoMerge "Import translations. DO NOT MERGE"
Baligh Uddin [Fri, 11 Sep 2015 16:19:56 +0000 (16:19 +0000)]
Merge "Import translations. DO NOT MERGE"

8 years agoMerge "Import translations. DO NOT MERGE"
Baligh Uddin [Fri, 11 Sep 2015 16:19:46 +0000 (16:19 +0000)]
Merge "Import translations. DO NOT MERGE"

8 years agoam 5a18649b: am 9b5f75f7: am ca7240a0: am 8ed28188: Merge "Add carrier config for...
Tyler Gunn [Fri, 11 Sep 2015 16:04:07 +0000 (16:04 +0000)]
am 5a18649b: am 9b5f75f7: am ca7240a0: am 8ed28188: Merge "Add carrier config for characters to escape with backslash." into mnc-dr-dev

* commit '5a18649bb14daaf8013e260c293031a8611fb66d':
  Add carrier config for characters to escape with backslash.

8 years agoam 9b5f75f7: am ca7240a0: am 8ed28188: Merge "Add carrier config for characters to...
Tyler Gunn [Fri, 11 Sep 2015 15:58:00 +0000 (15:58 +0000)]
am 9b5f75f7: am ca7240a0: am 8ed28188: Merge "Add carrier config for characters to escape with backslash." into mnc-dr-dev

* commit '9b5f75f7bf15541af3cf51beb9dfaabbe70d8d87':
  Add carrier config for characters to escape with backslash.

8 years agoam ca7240a0: am 8ed28188: Merge "Add carrier config for characters to escape with...
Tyler Gunn [Fri, 11 Sep 2015 15:49:55 +0000 (15:49 +0000)]
am ca7240a0: am 8ed28188: Merge "Add carrier config for characters to escape with backslash." into mnc-dr-dev

* commit 'ca7240a0726a110b9fd302a62ea9baaf3c5d14ac':
  Add carrier config for characters to escape with backslash.

8 years agoam 8ed28188: Merge "Add carrier config for characters to escape with backslash."...
Tyler Gunn [Fri, 11 Sep 2015 15:43:19 +0000 (15:43 +0000)]
am 8ed28188: Merge "Add carrier config for characters to escape with backslash." into mnc-dr-dev

* commit '8ed28188b95be4f377909ac2abacaef76e004a61':
  Add carrier config for characters to escape with backslash.

8 years agoMerge "Add carrier config for characters to escape with backslash." into mnc-dr-dev
Tyler Gunn [Fri, 11 Sep 2015 15:37:40 +0000 (15:37 +0000)]
Merge "Add carrier config for characters to escape with backslash." into mnc-dr-dev

8 years agoMerge "Properly resize freeform stack when docked stack is resized."
Wale Ogunwale [Fri, 11 Sep 2015 15:30:18 +0000 (15:30 +0000)]
Merge "Properly resize freeform stack when docked stack is resized."

8 years agoProperly resize freeform stack when docked stack is resized.
Wale Ogunwale [Thu, 10 Sep 2015 22:40:19 +0000 (15:40 -0700)]
Properly resize freeform stack when docked stack is resized.

We were previously setting the task bounds for freefrom tasks to the
stack bounds when the stack is resized. So, all the tasks in the stack
are sized to the stack bounds vs. trying to fit in the stack bounds
while maintaining their size.
Also, we only want to apply fit to bounds on a task bound when we are
resizing the stack. So, moved method from TaskRecord to
ActivityStackSupervisor.

Change-Id: Ia6e046d6f2c3b0d80b06530a3e07d6ed1bb9b79f

8 years agoClear active media notification on user switch.
Julia Reynolds [Wed, 9 Sep 2015 20:42:38 +0000 (16:42 -0400)]
Clear active media notification on user switch.

Bug: 23934806
Change-Id: Ib9dad342ee65299e1dbbc1b9dd91f6f8627d705f

8 years agoam f4f225ff: am 471d5488: am e3d006b1: am 0a067dc7: Merge "Add a new carrier config...
Roshan Pius [Fri, 11 Sep 2015 06:49:01 +0000 (06:49 +0000)]
am f4f225ff: am 471d5488: am e3d006b1: am 0a067dc7: Merge "Add a new carrier config for DTMF tone gap." into mnc-dr-dev

* commit 'f4f225ffa890b3fbd8674791d1bbecfcdf55da16':
  Add a new carrier config for DTMF tone gap.

8 years agoam 471d5488: am e3d006b1: am 0a067dc7: Merge "Add a new carrier config for DTMF tone...
Roshan Pius [Fri, 11 Sep 2015 06:42:15 +0000 (06:42 +0000)]
am 471d5488: am e3d006b1: am 0a067dc7: Merge "Add a new carrier config for DTMF tone gap." into mnc-dr-dev

* commit '471d54881b1d87819a62e3913232a66563430a3f':
  Add a new carrier config for DTMF tone gap.

8 years agoam e3d006b1: am 0a067dc7: Merge "Add a new carrier config for DTMF tone gap." into...
Roshan Pius [Fri, 11 Sep 2015 06:29:19 +0000 (06:29 +0000)]
am e3d006b1: am 0a067dc7: Merge "Add a new carrier config for DTMF tone gap." into mnc-dr-dev

* commit 'e3d006b1abce25b9c0163e0471830ad5d01c3670':
  Add a new carrier config for DTMF tone gap.

8 years agoam 0a067dc7: Merge "Add a new carrier config for DTMF tone gap." into mnc-dr-dev
Roshan Pius [Fri, 11 Sep 2015 06:18:33 +0000 (06:18 +0000)]
am 0a067dc7: Merge "Add a new carrier config for DTMF tone gap." into mnc-dr-dev

* commit '0a067dc711b19a70ad5980fa360b2df2337a55b1':
  Add a new carrier config for DTMF tone gap.

8 years agoMerge "Add a new carrier config for DTMF tone gap." into mnc-dr-dev
Roshan Pius [Fri, 11 Sep 2015 06:13:12 +0000 (06:13 +0000)]
Merge "Add a new carrier config for DTMF tone gap." into mnc-dr-dev

8 years agoMerge "Remove unused content observer from AssistManager."
Yohei Yukawa [Fri, 11 Sep 2015 05:39:43 +0000 (05:39 +0000)]
Merge "Remove unused content observer from AssistManager."

8 years agoam 02d750ef: am 2519f9c6: am de2ad457: Merge "Revert "Grab macros from libbase instea...
Brian Carlstrom [Fri, 11 Sep 2015 05:29:47 +0000 (05:29 +0000)]
am 02d750ef: am 2519f9c6: am de2ad457: Merge "Revert "Grab macros from libbase instead of duplicating""

* commit '02d750efde238837989a6968ea66ac5eb13c639e':
  Revert "Grab macros from libbase instead of duplicating"

8 years agoam 2519f9c6: am de2ad457: Merge "Revert "Grab macros from libbase instead of duplicat...
Brian Carlstrom [Fri, 11 Sep 2015 05:22:29 +0000 (05:22 +0000)]
am 2519f9c6: am de2ad457: Merge "Revert "Grab macros from libbase instead of duplicating""

* commit '2519f9c6b822ed0201a3a6f1bb73d486609cd677':
  Revert "Grab macros from libbase instead of duplicating"

8 years agoRemove unused content observer from AssistManager.
Yohei Yukawa [Fri, 11 Sep 2015 05:21:04 +0000 (22:21 -0700)]
Remove unused content observer from AssistManager.

Since I45e58de5f48e3769f114ff830d62c287d2b04d4f we always look up
Settings.Secure.ASSISTANT just before the assist activity is launched.
Hence we don't need to monitor following runtime data anymore.
 - changes of Settings.Secure.ASSISTANT with a content observer
 - switches of the current user id

The primary goal of this CL is to make it clearer that we are lazily
resolving the content of Settings.Secure.ASSISTANT by removing
unnecessary code.  No user visible behavior change is intended.

Bug: 23097413
Change-Id: I079807db761c5543ba666c427d9b074794becf6e

8 years agoam de2ad457: Merge "Revert "Grab macros from libbase instead of duplicating""
Brian Carlstrom [Fri, 11 Sep 2015 05:15:37 +0000 (05:15 +0000)]
am de2ad457: Merge "Revert "Grab macros from libbase instead of duplicating""

* commit 'de2ad45784499388d09f2c2c3bcf2fa1966cf018':
  Revert "Grab macros from libbase instead of duplicating"

8 years agoMerge "Revert "Grab macros from libbase instead of duplicating""
Brian Carlstrom [Fri, 11 Sep 2015 05:09:17 +0000 (05:09 +0000)]
Merge "Revert "Grab macros from libbase instead of duplicating""

8 years agoam d8834950: am 12f2724b: am 3460304c: Merge "Update RS docs for M-related changes."
Stephen Hines [Fri, 11 Sep 2015 03:51:17 +0000 (03:51 +0000)]
am d8834950: am 12f2724b: am 3460304c: Merge "Update RS docs for M-related changes."

* commit 'd8834950c22cb04b0d6926533930359ff2892f84':
  Update RS docs for M-related changes.

8 years agoam 3f7c4bdb: am 449274a7: am 8b25009d: Merge "Revert change to win32 isatty stub"
Casey Dahlin [Fri, 11 Sep 2015 03:51:10 +0000 (03:51 +0000)]
am 3f7c4bdb: am 449274a7: am 8b25009d: Merge "Revert change to win32 isatty stub"

* commit '3f7c4bdbc20e005dc55b4bbebd0fd9bdb9e65e7b':
  Revert change to win32 isatty stub

8 years agoam 6b747f9d: am 3230b2b2: am ec4cbf4f: Merge "Grab macros from libbase instead of...
Casey Dahlin [Fri, 11 Sep 2015 03:51:03 +0000 (03:51 +0000)]
am 6b747f9d: am 3230b2b2: am ec4cbf4f: Merge "Grab macros from libbase instead of duplicating"

* commit '6b747f9d55d146b37ef4f2de461a4ffc576230a5':
  Grab macros from libbase instead of duplicating

8 years agoam 68a6dcc0: am d880e1cb: am 7e8586fc: Merge "Convert to C++ Bison output"
Casey Dahlin [Fri, 11 Sep 2015 03:50:55 +0000 (03:50 +0000)]
am 68a6dcc0: am d880e1cb: am 7e8586fc: Merge "Convert to C++ Bison output"

* commit '68a6dcc0c15249617b3c8af067b9796bd80e220d':
  Convert to C++ Bison output

8 years agoam 6a188487: am d5411598: am a58bff50: am 3cf7eef1: Listen for fingerprint when on...
Jorim Jaggi [Fri, 11 Sep 2015 03:50:41 +0000 (03:50 +0000)]
am 6a188487: am d5411598: am a58bff50: am 3cf7eef1: Listen for fingerprint when on bouncer

* commit '6a188487c4eaec361c812197d99a5c24ad4c65d4':
  Listen for fingerprint when on bouncer

8 years agoam baff25f8: am b52a4a5a: am 7b7a2100: am 6e90ea03: Don\'t wait for brightness changes
Jorim Jaggi [Fri, 11 Sep 2015 03:50:34 +0000 (03:50 +0000)]
am baff25f8: am b52a4a5a: am 7b7a2100: am 6e90ea03: Don\'t wait for brightness changes

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

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

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

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

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

8 years agoam 1dd160cc: am 888699be: am c291ce21: am 55c3a196: Merge "Add to configure for MDC_I...
Amit Mahajan [Fri, 11 Sep 2015 03:49:47 +0000 (03:49 +0000)]
am 1dd160cc: am 888699be: am c291ce21: am 55c3a196: Merge "Add to configure for MDC_INITIAL_MAX_RETRY" into mnc-dr-dev

* commit '1dd160cc1fa8879ead2d3e8d26ab943518a284e1':
  Add to configure for MDC_INITIAL_MAX_RETRY

8 years agoam 12f2724b: am 3460304c: Merge "Update RS docs for M-related changes."
Stephen Hines [Fri, 11 Sep 2015 02:58:14 +0000 (02:58 +0000)]
am 12f2724b: am 3460304c: Merge "Update RS docs for M-related changes."

* commit '12f2724bc98ddfd50af3f6015feca4c366eda175':
  Update RS docs for M-related changes.

8 years agoam 449274a7: am 8b25009d: Merge "Revert change to win32 isatty stub"
Casey Dahlin [Fri, 11 Sep 2015 02:51:08 +0000 (02:51 +0000)]
am 449274a7: am 8b25009d: Merge "Revert change to win32 isatty stub"

* commit '449274a774f5c51807f16c13e772550dbd3c5d53':
  Revert change to win32 isatty stub

8 years agoam 3230b2b2: am ec4cbf4f: Merge "Grab macros from libbase instead of duplicating"
Casey Dahlin [Fri, 11 Sep 2015 02:51:01 +0000 (02:51 +0000)]
am 3230b2b2: am ec4cbf4f: Merge "Grab macros from libbase instead of duplicating"

* commit '3230b2b2b7225fc44515a1650ad79022b959b08e':
  Grab macros from libbase instead of duplicating

8 years agoam d880e1cb: am 7e8586fc: Merge "Convert to C++ Bison output"
Casey Dahlin [Fri, 11 Sep 2015 02:50:55 +0000 (02:50 +0000)]
am d880e1cb: am 7e8586fc: Merge "Convert to C++ Bison output"

* commit 'd880e1cb0c4fa61328297cae659a7edd94e5ca83':
  Convert to C++ Bison output

8 years agoRevert "Grab macros from libbase instead of duplicating"
Casey Dahlin [Fri, 11 Sep 2015 02:47:54 +0000 (02:47 +0000)]
Revert "Grab macros from libbase instead of duplicating"

This reverts commit 2535cae005512494469fc5cea1fe630288ecb083.

Change-Id: I373844b6a0f429e88d6bcc1cdd5ac62325da55b3

8 years agoam 3460304c: Merge "Update RS docs for M-related changes."
Stephen Hines [Fri, 11 Sep 2015 02:47:16 +0000 (02:47 +0000)]
am 3460304c: Merge "Update RS docs for M-related changes."

* commit '3460304c5c656b2cbf2b371720edff4fd662b02d':
  Update RS docs for M-related changes.

8 years agoam 8b25009d: Merge "Revert change to win32 isatty stub"
Casey Dahlin [Fri, 11 Sep 2015 02:41:51 +0000 (02:41 +0000)]
am 8b25009d: Merge "Revert change to win32 isatty stub"

* commit '8b25009d92626e7f1bb3b8fdf2774df20ec7a769':
  Revert change to win32 isatty stub

8 years agoam ec4cbf4f: Merge "Grab macros from libbase instead of duplicating"
Casey Dahlin [Fri, 11 Sep 2015 02:41:43 +0000 (02:41 +0000)]
am ec4cbf4f: Merge "Grab macros from libbase instead of duplicating"

* commit 'ec4cbf4f93ddb14653c27bfd7a169e010b87286c':
  Grab macros from libbase instead of duplicating

8 years agoam 7e8586fc: Merge "Convert to C++ Bison output"
Casey Dahlin [Fri, 11 Sep 2015 02:41:35 +0000 (02:41 +0000)]
am 7e8586fc: Merge "Convert to C++ Bison output"

* commit '7e8586fc1e40e7d860b05757882c3617df968fb8':
  Convert to C++ Bison output

8 years agoMerge "Update RS docs for M-related changes."
Stephen Hines [Fri, 11 Sep 2015 02:34:20 +0000 (02:34 +0000)]
Merge "Update RS docs for M-related changes."

8 years agoMerge "Revert change to win32 isatty stub"
Casey Dahlin [Fri, 11 Sep 2015 02:30:32 +0000 (02:30 +0000)]
Merge "Revert change to win32 isatty stub"

8 years agoMerge "Grab macros from libbase instead of duplicating"
Casey Dahlin [Fri, 11 Sep 2015 02:30:15 +0000 (02:30 +0000)]
Merge "Grab macros from libbase instead of duplicating"

8 years agoMerge "Convert to C++ Bison output"
Casey Dahlin [Fri, 11 Sep 2015 02:30:10 +0000 (02:30 +0000)]
Merge "Convert to C++ Bison output"

8 years agoam d5411598: am a58bff50: am 3cf7eef1: Listen for fingerprint when on bouncer
Jorim Jaggi [Fri, 11 Sep 2015 02:14:20 +0000 (02:14 +0000)]
am d5411598: am a58bff50: am 3cf7eef1: Listen for fingerprint when on bouncer

* commit 'd5411598680dbf49abeee9d722a5a97bc066e4c7':
  Listen for fingerprint when on bouncer

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 agoRevert change to win32 isatty stub
Casey Dahlin [Fri, 11 Sep 2015 02:13:49 +0000 (19:13 -0700)]
Revert change to win32 isatty stub

This is attempting to fix build breakage caused by redefining the isatty stub
for win32.

Change-Id: I5f854934cb9d2b2981f6349045e85d9ad737aa77
Signed-off-by: Casey Dahlin <sadmac@google.com>
8 years agoam a58bff50: am 3cf7eef1: Listen for fingerprint when on bouncer
Jorim Jaggi [Fri, 11 Sep 2015 02:06:40 +0000 (02:06 +0000)]
am a58bff50: am 3cf7eef1: Listen for fingerprint when on bouncer

* commit 'a58bff50418933ee5b729deccdf8172132b560f5':
  Listen for fingerprint when on bouncer

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 3cf7eef1: Listen for fingerprint when on bouncer
Jorim Jaggi [Fri, 11 Sep 2015 02:00:42 +0000 (02:00 +0000)]
am 3cf7eef1: Listen for fingerprint when on bouncer

* commit '3cf7eef1b1890131902447465a343484e23e2115':
  Listen for fingerprint when on bouncer

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 agoListen for fingerprint when on bouncer
Jorim Jaggi [Thu, 10 Sep 2015 21:36:19 +0000 (14:36 -0700)]
Listen for fingerprint when on bouncer

To make unlocking work if keyguard is in occluded state and user
taps on a notification.

Bug: 22855718
Change-Id: Ide632f524a635e3e37741abaa77e258394c9a6e2

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 agoMerge "AAPT: Don't try to rewrite String constants when loading shared lib"
Adam Lesinski [Fri, 11 Sep 2015 01:48:05 +0000 (01:48 +0000)]
Merge "AAPT: Don't try to rewrite String constants when loading shared lib"

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 agoAAPT: Don't try to rewrite String constants when loading shared lib
Adam Lesinski [Fri, 11 Sep 2015 01:43:34 +0000 (18:43 -0700)]
AAPT: Don't try to rewrite String constants when loading shared lib

Bug:20138255
Change-Id: Ieb6a31ee9afe0de3d1c99b21f78aa48fe07015c6

8 years agoGrab macros from libbase instead of duplicating
Casey Dahlin [Fri, 11 Sep 2015 01:43:04 +0000 (18:43 -0700)]
Grab macros from libbase instead of duplicating

Change-Id: I1802f60a4dac45ddee8cd5715a73c77e4371d7e8
Signed-off-by: Casey Dahlin <sadmac@google.com>
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 agoConvert to C++ Bison output
Casey Dahlin [Fri, 11 Sep 2015 01:29:09 +0000 (18:29 -0700)]
Convert to C++ Bison output

We have to step up to a GLR parser to do this without exceptions (for no
reason other than Bison happens to use exceptions for the LALR(1) template and
not for the GLR one), but this should let us smooth out integration going
forward.

Change-Id: Iff44662914b4a65dfa5612d07c3a1ede07e6e4a9
Signed-off-by: Casey Dahlin <sadmac@google.com>
8 years agoFix AP showing up forever in Settings after shutting down that AP.
Sanket Padawe [Wed, 19 Aug 2015 21:57:46 +0000 (14:57 -0700)]
Fix AP showing up forever in Settings after shutting down that AP.

Bug: 22129483
Change-Id: I1f6abdb0b80c2d2fec5a7dc4026b5230cd29af7b

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 agoMerge "Import translations. DO NOT MERGE"
Baligh Uddin [Fri, 11 Sep 2015 00:46:59 +0000 (00:46 +0000)]
Merge "Import translations. DO NOT MERGE"

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 agoUpdate requestPermission docs about requesting a held permission - framework
Svet Ganov [Fri, 21 Aug 2015 13:18:09 +0000 (06:18 -0700)]
Update requestPermission docs about requesting a held permission - framework

bug:23370436

Change-Id: I7c0134578f529ea698a2c237d19112d1d0a91828

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 agoMerge "Avoid parceling redundant ApplicationInfo objects within PackageInfo"
Chris Tate [Thu, 10 Sep 2015 23:18:17 +0000 (23:18 +0000)]
Merge "Avoid parceling redundant ApplicationInfo objects within PackageInfo"

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 agoMerge "Cleanup: rename loadDeviceOwner() to loadOwners()"
Makoto Onuki [Thu, 10 Sep 2015 22:42:26 +0000 (22:42 +0000)]
Merge "Cleanup: rename loadDeviceOwner() to loadOwners()"

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 agoMerge "Allow uid to be passed for more operations"
Alex Klyubin [Thu, 10 Sep 2015 22:37:50 +0000 (22:37 +0000)]
Merge "Allow uid to be passed for more operations"

8 years agoMerge "Support cross-UID access from AndroidKeyStore."
Alex Klyubin [Thu, 10 Sep 2015 22:37:50 +0000 (22:37 +0000)]
Merge "Support cross-UID access from AndroidKeyStore."

8 years agoSupport cross-UID access from AndroidKeyStore.
Alex Klyubin [Wed, 9 Sep 2015 21:55:03 +0000 (14:55 -0700)]
Support cross-UID access from AndroidKeyStore.

This is meant for exposing the pre-existing cross-UID access to keys
backed by the keystore service via higher-level JCA API. For example,
this lets system_server use Wi-Fi or VPN UID keys via JCA API.

To obtain a JCA AndroidKeyStore KeyStore for another UID, use the
hidden system API AndroidKeyStoreProvider.getKeyStoreForUid(uid).

To generate a key owned by another UID, invoke setUid(uid) on
KeyGenParameterSpec.Builder.

This CL does not change the security policy, such as which UID can
access/modify which UIDs' keys. The policy is that only certain system
UIDs are permitted to access keys of certain other system UIDs.

Bug: 23978113
Change-Id: Ie381530f41dc41c50d52f675fb9e68bc87c006de

8 years agoAllow uid to be passed for more operations
Chad Brubaker [Wed, 9 Sep 2015 21:53:52 +0000 (14:53 -0700)]
Allow uid to be passed for more operations

This expands get, getmtime, exportKey, getKeyCharacteristcs and begin to
accept a uid to run as. This is only for system to use keys owned by
Wifi and VPN, and not something that can be used to do operations as
another arbitrary application.

Bug: 23978113
Change-Id: I06aa089859edc934a5415e3b184b917d6d171ae2

8 years agoMerge "Showing context menu for apps."
Vadim Tryshev [Thu, 10 Sep 2015 22:18:58 +0000 (22:18 +0000)]
Merge "Showing context menu for apps."

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

* commit '1a73ab760bedd371dbfb8850ac24555c33004ff6':
  Adds config flag for USB notification.

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 agoShowing context menu for apps.
Vadim Tryshev [Thu, 10 Sep 2015 20:54:05 +0000 (13:54 -0700)]
Showing context menu for apps.

It's shown on right mouse click, and allows pinning/unpinning the app.

I'll take care of proper localization for menu items later.

Bug: 20024603
Change-Id: I31cf8439b14b285515c8b2ccfe5b4634ec9e5f3d

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

* commit '51e4b28c4871ba072d4f0c52375ea405231e37c4':
  Fix missing copyright headers.

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 agoAvoid parceling redundant ApplicationInfo objects within PackageInfo
Christopher Tate [Thu, 10 Sep 2015 01:46:31 +0000 (18:46 -0700)]
Avoid parceling redundant ApplicationInfo objects within PackageInfo

Two benefits:

  1) marshaling one flattened ApplicationInfo as part of a PackageInfo parcel
     rather than one per included ComponentInfo; and

  2) producing one ApplicationInfo at unmarshaling time and sharing the
     reference to it among all included ComponentInfo instances, rather
     than the previous implementation that generated a separate
     ApplicationInfo instance for each ComponentInfo.

In some cases there can be many hundreds of ComponentInfo objects embedded
in a single PackageInfo, so coalescing duplicates is a significant win
for both payload size and object pressure.

Bug 19519502
Bug 20453802

Change-Id: Ib888810dad4471084fab9ead1ebb5e0b932905f1

8 years agoAdd carrier config for characters to escape with backslash.
Tyler Gunn [Thu, 10 Sep 2015 20:33:28 +0000 (13:33 -0700)]
Add carrier config for characters to escape with backslash.

Bug: 22779583
Change-Id: I21ab2c9a4f15bcf96c5b978e7cac4638db259087

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

* commit '94a4764649f3611806b95d3f1394ea9f77e30459':
  Fixes cloned notification actions missing icon.

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 agoImport translations. DO NOT MERGE
Baligh Uddin [Thu, 10 Sep 2015 19:46:09 +0000 (12:46 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ie3a21768b28e768bded737f757fe51f1f5675595
Auto-generated-cl: translation import

8 years agoImport translations. DO NOT MERGE
Baligh Uddin [Thu, 10 Sep 2015 19:44:01 +0000 (12:44 -0700)]
Import translations. DO NOT MERGE

Change-Id: If22ec58631cd492f391a3107527f6e4beeb50a5d
Auto-generated-cl: translation import

8 years agoMerge "Import translations. DO NOT MERGE"
Baligh Uddin [Thu, 10 Sep 2015 19:43:45 +0000 (19:43 +0000)]
Merge "Import translations. DO NOT MERGE"

8 years agoMerge "Import translations. DO NOT MERGE"
Baligh Uddin [Thu, 10 Sep 2015 19:43:31 +0000 (19:43 +0000)]
Merge "Import translations. DO NOT MERGE"