OSDN Git Service

android-x86/frameworks-base.git
8 years agoam 39e94ebe: Handle single-choice ChooserActivities and bound ChooserTargetServices
Adam Powell [Wed, 16 Sep 2015 21:03:05 +0000 (21:03 +0000)]
am 39e94ebe: Handle single-choice ChooserActivities and bound ChooserTargetServices

* commit '39e94ebe22d4959facea4c3621a0a5377242a570':
  Handle single-choice ChooserActivities and bound ChooserTargetServices

8 years agoam bfc584df: Merge "Use app directory as apkPath for cluster installs" into mnc-dr-dev
Fyodor Kupolov [Wed, 16 Sep 2015 21:02:57 +0000 (21:02 +0000)]
am bfc584df: Merge "Use app directory as apkPath for cluster installs" into mnc-dr-dev

* commit 'bfc584df683a84dffd8e04b7b13f619606a0a42a':
  Use app directory as apkPath for cluster installs

8 years agoam 870a9e6a: Merge "Added a carrier config key for emergency messages on/off option...
Jack Yu [Wed, 16 Sep 2015 21:02:50 +0000 (21:02 +0000)]
am 870a9e6a: Merge "Added a carrier config key for emergency messages on/off option always showing." into mnc-dr-dev

* commit '870a9e6a783c7755b059d8533ae0232873bff9ba':
  Added a carrier config key for emergency messages on/off option always showing.

8 years agoHandle single-choice ChooserActivities and bound ChooserTargetServices
Adam Powell [Wed, 9 Sep 2015 00:01:49 +0000 (17:01 -0700)]
Handle single-choice ChooserActivities and bound ChooserTargetServices

Fix cases where we could try to unbind from a ChooserTargetService
that is not connected. This could happen if we still had stale replies
coming back after the activity was destroyed.

Always offer users an explicit choice in ChooserActivity, don't
auto-start a single option.

Make sure we don't allow a wedged ChooserTargetService to hold a hard
reference to the ChooserActivity via its internal result callback.

Bug 23152483

Change-Id: I7c8b1fc9559dcd477702ef582011b088b07d646b
(cherry picked from commit 9761ab2a645a4643bd20619c7c148ef07e0dd39d)

8 years agoMerge "Use app directory as apkPath for cluster installs" into mnc-dr-dev
Fyodor Kupolov [Wed, 16 Sep 2015 19:37:47 +0000 (19:37 +0000)]
Merge "Use app directory as apkPath for cluster installs" into mnc-dr-dev

8 years agoMerge "Added a carrier config key for emergency messages on/off option always showing...
Jack Yu [Wed, 16 Sep 2015 19:15:49 +0000 (19:15 +0000)]
Merge "Added a carrier config key for emergency messages on/off option always showing." into mnc-dr-dev

8 years agoam 3290f5dd: Merge "Do not back up/restore the "pulse LED for notifications" setting...
Chris Tate [Wed, 16 Sep 2015 17:11:27 +0000 (17:11 +0000)]
am 3290f5dd: Merge "Do not back up/restore the "pulse LED for notifications" setting" into mnc-dr-dev

* commit '3290f5dd067557727f166ff7a51ad2b5209622f6':
  Do not back up/restore the "pulse LED for notifications" setting

8 years agoMerge "Do not back up/restore the "pulse LED for notifications" setting" into mnc...
Chris Tate [Wed, 16 Sep 2015 17:05:07 +0000 (17:05 +0000)]
Merge "Do not back up/restore the "pulse LED for notifications" setting" into mnc-dr-dev

8 years agoam 38e6e4ef: Merge "reset lockout deadline on device reboot" into mnc-dr-dev
Andres Morales [Wed, 16 Sep 2015 16:12:18 +0000 (16:12 +0000)]
am 38e6e4ef: Merge "reset lockout deadline on device reboot" into mnc-dr-dev

* commit '38e6e4ef98ea1f116902725c282df9fb061a224e':
  reset lockout deadline on device reboot

8 years agoMerge "reset lockout deadline on device reboot" into mnc-dr-dev
Andres Morales [Wed, 16 Sep 2015 16:04:56 +0000 (16:04 +0000)]
Merge "reset lockout deadline on device reboot" into mnc-dr-dev

8 years agoam 2b564bf4: am 716c6269: am 63348ae4: (-s ours) am 11317e82: am 32a420ea: Merge...
Zach Jang [Wed, 16 Sep 2015 02:25:49 +0000 (02:25 +0000)]
am 2b564bf4: am 716c6269: am 63348ae4: (-s ours) am 11317e82: am 32a420ea: Merge "Revert "Revert "[DO NOT MERGE] Bump up the timeout for uncrypt to 900s.""" into lmp-mr1-dev

* commit '2b564bf42a68370dc4d32acbb597cfb7c45f9f4f':
  Revert "Revert "[DO NOT MERGE] Bump up the timeout for uncrypt to 900s.""

8 years agoam 0098cbc0: am 971ff47c: am 1b06455e: (-s ours) am 00db0826: am 203b4354: Merge...
Zach Jang [Wed, 16 Sep 2015 02:25:43 +0000 (02:25 +0000)]
am 0098cbc0: am 971ff47c: am 1b06455e: (-s ours) am 00db0826: am 203b4354: Merge "Revert "[DO NOT MERGE] Bump up the timeout for uncrypt to 900s."" into lmp-mr1-dev

* commit '0098cbc011771d5ffdf93a3a4b7e6a0507e1725d':
  Revert "[DO NOT MERGE] Bump up the timeout for uncrypt to 900s."

8 years agoam 716c6269: am 63348ae4: (-s ours) am 11317e82: am 32a420ea: Merge "Revert "Revert...
Zach Jang [Wed, 16 Sep 2015 02:16:04 +0000 (02:16 +0000)]
am 716c6269: am 63348ae4: (-s ours) am 11317e82: am 32a420ea: Merge "Revert "Revert "[DO NOT MERGE] Bump up the timeout for uncrypt to 900s.""" into lmp-mr1-dev

* commit '716c6269674474867dc4720f86f739c639c83400':
  Revert "Revert "[DO NOT MERGE] Bump up the timeout for uncrypt to 900s.""

8 years agoam 971ff47c: am 1b06455e: (-s ours) am 00db0826: am 203b4354: Merge "Revert "[DO...
Zach Jang [Wed, 16 Sep 2015 02:16:00 +0000 (02:16 +0000)]
am 971ff47c: am 1b06455e: (-s ours) am 00db0826: am 203b4354: Merge "Revert "[DO NOT MERGE] Bump up the timeout for uncrypt to 900s."" into lmp-mr1-dev

* commit '971ff47c75889a2fc4ac710fbe62ba819feeaba6':
  Revert "[DO NOT MERGE] Bump up the timeout for uncrypt to 900s."

8 years agoam 63348ae4: (-s ours) am 11317e82: am 32a420ea: Merge "Revert "Revert "[DO NOT MERGE...
Zach Jang [Wed, 16 Sep 2015 02:06:31 +0000 (02:06 +0000)]
am 63348ae4: (-s ours) am 11317e82: am 32a420ea: Merge "Revert "Revert "[DO NOT MERGE] Bump up the timeout for uncrypt to 900s.""" into lmp-mr1-dev

* commit '63348ae4572cd9394e79fe343d2fca2b38498d1c':
  Revert "Revert "[DO NOT MERGE] Bump up the timeout for uncrypt to 900s.""

8 years agoam 1b06455e: (-s ours) am 00db0826: am 203b4354: Merge "Revert "[DO NOT MERGE] Bump...
Zach Jang [Wed, 16 Sep 2015 02:06:26 +0000 (02:06 +0000)]
am 1b06455e: (-s ours) am 00db0826: am 203b4354: Merge "Revert "[DO NOT MERGE] Bump up the timeout for uncrypt to 900s."" into lmp-mr1-dev

* commit '1b06455e44395489dcd027a170e68eabf2ebe1da':
  Revert "[DO NOT MERGE] Bump up the timeout for uncrypt to 900s."

8 years agoUnbreak build, bring ConnectivityService in sync with mnc-dr-dev
Lorenzo Colitti [Wed, 16 Sep 2015 02:00:43 +0000 (11:00 +0900)]
Unbreak build, bring ConnectivityService in sync with mnc-dr-dev

The version of ConnectivityService.java in mnc-vt-dev doesn't
compile due to the presence of two similar-but-not-identical code
blocks in handleRegisterNetworkAgent. The history here is a
a little convoluted - this code was originally merged into
mnc-vt-dev, then cherry-picked into dr-dev, and from there
automerged into mnc-vt-dev, causing conflicts. This latest
breakage is likely due to the automerged not detecting a conflict
because the code block was subtly different.

Attempt to fix this once and for all by making the mnc-vt-dev
version of the file identical to the mnc-dr-dev version.

Change-Id: I270739b0be6f6358045700494a1b0f25f0b365a3

8 years agoam 11317e82: am 32a420ea: Merge "Revert "Revert "[DO NOT MERGE] Bump up the timeout...
Zach Jang [Wed, 16 Sep 2015 01:56:57 +0000 (01:56 +0000)]
am 11317e82: am 32a420ea: Merge "Revert "Revert "[DO NOT MERGE] Bump up the timeout for uncrypt to 900s.""" into lmp-mr1-dev

* commit '11317e82cf561597bbd4e2dbf5840854e6b7a16d':
  Revert "Revert "[DO NOT MERGE] Bump up the timeout for uncrypt to 900s.""

8 years agoam 00db0826: am 203b4354: Merge "Revert "[DO NOT MERGE] Bump up the timeout for uncry...
Zach Jang [Wed, 16 Sep 2015 01:56:52 +0000 (01:56 +0000)]
am 00db0826: am 203b4354: Merge "Revert "[DO NOT MERGE] Bump up the timeout for uncrypt to 900s."" into lmp-mr1-dev

* commit '00db0826561b23a54db28ed5203fd7eff79c16c7':
  Revert "[DO NOT MERGE] Bump up the timeout for uncrypt to 900s."

8 years agoam 32a420ea: Merge "Revert "Revert "[DO NOT MERGE] Bump up the timeout for uncrypt...
Zach Jang [Wed, 16 Sep 2015 01:44:58 +0000 (01:44 +0000)]
am 32a420ea: Merge "Revert "Revert "[DO NOT MERGE] Bump up the timeout for uncrypt to 900s.""" into lmp-mr1-dev

* commit '32a420ea36fbae07484f6fcf718ed97865ca3158':
  Revert "Revert "[DO NOT MERGE] Bump up the timeout for uncrypt to 900s.""

8 years agoam 203b4354: Merge "Revert "[DO NOT MERGE] Bump up the timeout for uncrypt to 900s...
Zach Jang [Wed, 16 Sep 2015 01:44:53 +0000 (01:44 +0000)]
am 203b4354: Merge "Revert "[DO NOT MERGE] Bump up the timeout for uncrypt to 900s."" into lmp-mr1-dev

* commit '203b43547da94c9fb78931680b99f9db49fc46c9':
  Revert "[DO NOT MERGE] Bump up the timeout for uncrypt to 900s."

8 years agoMerge "Revert "Revert "[DO NOT MERGE] Bump up the timeout for uncrypt to 900s.""...
Zach Jang [Wed, 16 Sep 2015 01:40:18 +0000 (01:40 +0000)]
Merge "Revert "Revert "[DO NOT MERGE] Bump up the timeout for uncrypt to 900s.""" into lmp-mr1-dev

8 years agoRevert "Revert "[DO NOT MERGE] Bump up the timeout for uncrypt to 900s.""
Zach Jang [Wed, 16 Sep 2015 01:38:41 +0000 (01:38 +0000)]
Revert "Revert "[DO NOT MERGE] Bump up the timeout for uncrypt to 900s.""

This reverts commit 3b49affdb3e18bbe48fc7ab00ccbe2c073b7e35e.

Change-Id: I8639fc6865081f6b1a5773b884f8298cce0d3e7d

8 years agoMerge "Revert "[DO NOT MERGE] Bump up the timeout for uncrypt to 900s."" into lmp...
Zach Jang [Wed, 16 Sep 2015 01:37:36 +0000 (01:37 +0000)]
Merge "Revert "[DO NOT MERGE] Bump up the timeout for uncrypt to 900s."" into lmp-mr1-dev

8 years agoam 7198c0aa: Merge "Framework fixes for RSSI offload." into mnc-dr-dev
Lorenzo Colitti [Wed, 16 Sep 2015 01:01:12 +0000 (01:01 +0000)]
am 7198c0aa: Merge "Framework fixes for RSSI offload." into mnc-dr-dev

* commit '7198c0aa4ccbeaecf2606006d3a6ace684f805fe':
  Framework fixes for RSSI offload.

8 years agoMerge "Framework fixes for RSSI offload." into mnc-dr-dev
Lorenzo Colitti [Wed, 16 Sep 2015 00:54:57 +0000 (00:54 +0000)]
Merge "Framework fixes for RSSI offload." into mnc-dr-dev

8 years agoDo not back up/restore the "pulse LED for notifications" setting
Christopher Tate [Tue, 15 Sep 2015 21:26:12 +0000 (14:26 -0700)]
Do not back up/restore the "pulse LED for notifications" setting

Bug 24103790

Change-Id: I69a6a85e5282f9ca50fc2655bda4695757b92e74

8 years agoam dca3b2f7: Merge "Add logging to track fingerprint reco but not unlocking" into...
Jim Miller [Tue, 15 Sep 2015 21:23:01 +0000 (21:23 +0000)]
am dca3b2f7: Merge "Add logging to track fingerprint reco but not unlocking" into mnc-dr-dev

* commit 'dca3b2f74f7979e87e2654baf83df42483ef4388':
  Add logging to track fingerprint reco but not unlocking

8 years agoam fe74fb95: extend svc command to control NFC state
Guang Zhu [Tue, 15 Sep 2015 21:22:55 +0000 (21:22 +0000)]
am fe74fb95: extend svc command to control NFC state

* commit 'fe74fb95b91a5d58a8d2d238c525e2f1891ca0c7':
  extend svc command to control NFC state

8 years agoam 276da47a: am cd946024: Default grant SMS and Phone to the verifier
Svet Ganov [Tue, 15 Sep 2015 21:22:50 +0000 (21:22 +0000)]
am 276da47a: am cd946024: Default grant SMS and Phone to the verifier

* commit '276da47adf23b5512985268f36fab0b7d2d11363':
  Default grant SMS and Phone to the verifier

8 years agoMerge "Add logging to track fingerprint reco but not unlocking" into mnc-dr-dev
Jim Miller [Tue, 15 Sep 2015 21:08:06 +0000 (21:08 +0000)]
Merge "Add logging to track fingerprint reco but not unlocking" into mnc-dr-dev

8 years agoextend svc command to control NFC state
Guang Zhu [Mon, 14 Sep 2015 01:43:56 +0000 (18:43 -0700)]
extend svc command to control NFC state

Change-Id: I599e4000fa17384089410e63b3150f25aa9458f7

8 years agoam cd946024: Default grant SMS and Phone to the verifier
Svet Ganov [Tue, 15 Sep 2015 20:10:30 +0000 (20:10 +0000)]
am cd946024: Default grant SMS and Phone to the verifier

* commit 'cd946024e94a8fe2f4009dbd2e5463817a17b3a9':
  Default grant SMS and Phone to the verifier

8 years agoRevert "[DO NOT MERGE] Bump up the timeout for uncrypt to 900s."
Zach Jang [Tue, 15 Sep 2015 20:09:52 +0000 (20:09 +0000)]
Revert "[DO NOT MERGE] Bump up the timeout for uncrypt to 900s."

This reverts commit 82b70db7dd906013d131737a5bec2ae59b41ae61.

Change-Id: Iace1607127d7d09cb1cc0afd8e52408fde443f5f

8 years agoFramework fixes for RSSI offload.
Lorenzo Colitti [Tue, 15 Sep 2015 06:56:01 +0000 (15:56 +0900)]
Framework fixes for RSSI offload.

1. When registering a NetworkCallback, only update RSSI
   thresholds if the request specifies a signal strength.
2. When releasing a NetworkCallback, only update RSSI
   thresholds if the request specified a signal strength.
3. Add logging.

Add logging.
Bug: 21405941
Bug: 23679346
Bug: 23815756
Change-Id: I4bc42d0ab02285a7a9d14e09f8a1cd868f4d9d7f

8 years agoam e1e97377: Merge "NetworkDiagnostics: ping default router from all global addreses...
Lorenzo Colitti [Tue, 15 Sep 2015 02:46:51 +0000 (02:46 +0000)]
am e1e97377: Merge "NetworkDiagnostics: ping default router from all global addreses." into mnc-dr-dev

* commit 'e1e97377d04ab6e5d069c85aba4226f47371e7c6':
  NetworkDiagnostics: ping default router from all global addreses.

8 years agoMerge "NetworkDiagnostics: ping default router from all global addreses." into mnc...
Lorenzo Colitti [Tue, 15 Sep 2015 02:39:20 +0000 (02:39 +0000)]
Merge "NetworkDiagnostics: ping default router from all global addreses." into mnc-dr-dev

8 years agoAdd logging to track fingerprint reco but not unlocking
Jim Miller [Tue, 15 Sep 2015 01:58:08 +0000 (18:58 -0700)]
Add logging to track fingerprint reco but not unlocking

Bug 23940153

Change-Id: Idb01802ba68449370e8f3cbede0e2fe6d0b977ce

8 years agoAdded a carrier config key for emergency messages on/off option always showing.
Jack Yu [Mon, 14 Sep 2015 23:18:59 +0000 (16:18 -0700)]
Added a carrier config key for emergency messages on/off option always showing.

Adding a carrier config key that allows carriers to show "Turn on Notifications"
checkbox in Settings->More->Emergency broadcasts setting menu. If this key
exists and is set to true, this checkbox will always show up regardless of
developer options turned on or not.

bug:23886750
Change-Id: I54dec5830653a0e27d7ee652effe572231f1e3bb

8 years agoam 6b04e3a6: Merge "Fix light status bar transitions" into mnc-dr-dev
Adrian Roos [Mon, 14 Sep 2015 18:54:42 +0000 (18:54 +0000)]
am 6b04e3a6: Merge "Fix light status bar transitions" into mnc-dr-dev

* commit '6b04e3a6ea042be0e012f7501fadb461b3d772a7':
  Fix light status bar transitions

8 years agoMerge "Fix light status bar transitions" into mnc-dr-dev
Adrian Roos [Mon, 14 Sep 2015 18:47:59 +0000 (18:47 +0000)]
Merge "Fix light status bar transitions" into mnc-dr-dev

8 years agoam c9180528: Merge "Add capability to ignore carrier entitlement checks" into mnc...
Chris Manton [Mon, 14 Sep 2015 17:29:17 +0000 (17:29 +0000)]
am c9180528: Merge "Add capability to ignore carrier entitlement checks" into mnc-dr-dev

* commit 'c9180528452d67359618eda4aa2edd39112c83ca':
  Add capability to ignore carrier entitlement checks

8 years agoMerge "Add capability to ignore carrier entitlement checks" into mnc-dr-dev
Chris Manton [Mon, 14 Sep 2015 17:23:42 +0000 (17:23 +0000)]
Merge "Add capability to ignore carrier entitlement checks" into mnc-dr-dev

8 years agoDefault grant SMS and Phone to the verifier
Svet Ganov [Sat, 12 Sep 2015 17:19:54 +0000 (10:19 -0700)]
Default grant SMS and Phone to the verifier

bug:24012164

Change-Id: I756644c8044076b2550d7ca104f542f50da0226b

8 years agoam 84dc08a2: Dump Keyguard state in SystemUI and PhoneWindowManager
Jorim Jaggi [Sat, 12 Sep 2015 01:31:39 +0000 (01:31 +0000)]
am 84dc08a2: Dump Keyguard state in SystemUI and PhoneWindowManager

* commit '84dc08a208eea7a4ddf043cadbb28987cf90ae22':
  Dump Keyguard state in SystemUI and PhoneWindowManager

8 years agoDump Keyguard state in SystemUI and PhoneWindowManager
Jorim Jaggi [Sat, 12 Sep 2015 00:45:22 +0000 (17:45 -0700)]
Dump Keyguard state in SystemUI and PhoneWindowManager

Bug: 23970549
Change-Id: Iec1e8ac507268086e0e2935847eda606ea1fb700

8 years agoFix light status bar transitions
Adrian Roos [Fri, 11 Sep 2015 19:38:43 +0000 (12:38 -0700)]
Fix light status bar transitions

Bug: 23971926
Change-Id: Ia3c6fb18d38fb7479028191ad3df8389adb830ec

8 years agoam 62b94c35: Merge "Avoid OOBE when AbsListView layout is out of sync with adapter...
Alan Viverette [Fri, 11 Sep 2015 21:36:56 +0000 (21:36 +0000)]
am 62b94c35: Merge "Avoid OOBE when AbsListView layout is out of sync with adapter" into mnc-dr-dev

* commit '62b94c353a8748ef10691da4844bf894e1155870':
  Avoid OOBE when AbsListView layout is out of sync with adapter

8 years agoAdd capability to ignore carrier entitlement checks
Chris Manton [Tue, 1 Sep 2015 20:56:46 +0000 (13:56 -0700)]
Add capability to ignore carrier entitlement checks

Boolean to check to ignore carrier entitlement check.
API to follow later.

Carrier configuration manager has an option
to override tethering entitlement checks.
Ignore entitlement checks if overridden by
the carrier configuration flag.

bug:23712807

Change-Id: I6c9b3b9994279e592db304debef54809338fe9cf

8 years agoMerge "Avoid OOBE when AbsListView layout is out of sync with adapter" into mnc-dr-dev
Alan Viverette [Fri, 11 Sep 2015 21:28:59 +0000 (21:28 +0000)]
Merge "Avoid OOBE when AbsListView layout is out of sync with adapter" into mnc-dr-dev

8 years agoam 8ed28188: Merge "Add carrier config for characters to escape with backslash."...
Tyler Gunn [Fri, 11 Sep 2015 15:43:21 +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 agoam 0a067dc7: Merge "Add a new carrier config for DTMF tone gap." into mnc-dr-dev
Roshan Pius [Fri, 11 Sep 2015 06:18:52 +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 agoam 3cf7eef1: Listen for fingerprint when on bouncer
Jorim Jaggi [Fri, 11 Sep 2015 05:05:58 +0000 (05:05 +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 05:05:51 +0000 (05:05 +0000)]
am 6e90ea03: Don\'t wait for brightness changes

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

8 years agoam b1cebd9e: am 5579e41c: Add op package to the UID special case handling in account...
Svetoslav [Fri, 11 Sep 2015 05:05:11 +0000 (05:05 +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 55c3a196: Merge "Add to configure for MDC_INITIAL_MAX_RETRY" into mnc-dr-dev
Amit Mahajan [Fri, 11 Sep 2015 05:04:58 +0000 (05:04 +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 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 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 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 e1d2d422: Merge "Fix missing copyright headers." into mnc-dr-dev
Martijn Coenen [Thu, 10 Sep 2015 21:24:36 +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 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 agoUse app directory as apkPath for cluster installs
Fyodor Kupolov [Wed, 9 Sep 2015 22:56:45 +0000 (15:56 -0700)]
Use app directory as apkPath for cluster installs

Previously, size of of oat directory was not counted by the getsize command,
because base APK location was passed as apkpath argument.

Bug: 23896047
Change-Id: Ic7b6b725785ff2e2a0cf3887ba68c162b23b1212

8 years agoAdd a new carrier config for DTMF tone gap.
Roshan Pius [Thu, 10 Sep 2015 17:28:06 +0000 (10:28 -0700)]
Add a new carrier config for DTMF tone gap.

Adding a new carrier config key to specify the gap between the DTMF
tones sent out to the network.
This is the same fix as ag/747865 ported for GSM connections.

BUG: 23064351
Change-Id: I4163323378e380ac187493fa91694721269124b9

8 years agoAvoid OOBE when AbsListView layout is out of sync with adapter
Alan Viverette [Thu, 10 Sep 2015 15:10:41 +0000 (11:10 -0400)]
Avoid OOBE when AbsListView layout is out of sync with adapter

Views are not synchronized with adapter state until a layout pass
occurs, which may cause an OOBE if a list item is removed and an
accessibility node is obtained before the next layout pass.

This CL caches the item's enabled state on the bound view's layout
params, which allows us to avoid relying on the adapter to populate
accessibility nodes. It also aborts actions if the target position
is no longer valid.

Updates the documentation on AdapterView to reflect that the result
of getPositionForView() may not be synchronized with the adapter.

Bug: 23943664
Change-Id: I90ca946bead1d87a179eab1c2f482a54bcce9c38

8 years agoNetworkDiagnostics: ping default router from all global addreses.
Lorenzo Colitti [Wed, 9 Sep 2015 08:37:12 +0000 (17:37 +0900)]
NetworkDiagnostics: ping default router from all global addreses.

This will hopefully allow us to determine if the router does not
have our global addresses in its neighbour cache.

Bug: 23661687
Change-Id: I46734c3c719003939cfccf038457ec309a9ff967

8 years agoam 0018323c: Merge "Add carrier config variable to hide preferred network type" into...
Amit Mahajan [Thu, 10 Sep 2015 01:00:59 +0000 (01:00 +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:00:50 +0000 (01:00 +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 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 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 5d0e02b6: Merge "Add double-tap power button to open camera 1/2" into mnc-dr-dev
Jorim Jaggi [Thu, 10 Sep 2015 00:36:31 +0000 (00:36 +0000)]
am 5d0e02b6: Merge "Add double-tap power button to open camera 1/2" into mnc-dr-dev

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

8 years agoam 2ebbf4c8: Merge "Special interval value to always run benchmarks." into mnc-dr-dev
Jeff Sharkey [Thu, 10 Sep 2015 00:26:48 +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 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 16093fe3: Revert "Disable fingerprint after force lock"
Jorim Jaggi [Thu, 10 Sep 2015 00:05:42 +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 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 agoreset lockout deadline on device reboot
Andres Morales [Tue, 8 Sep 2015 20:17:37 +0000 (13:17 -0700)]
reset lockout deadline on device reboot

Gatekeeper retains lockouts after reboot, but framework
doesn't. This causes odd behavior on a reboot after a lockout
as gatekeeper refuses to check the password and the framework
thinks it's an invalid attempt. Reset the lockout deadline
if we notice the clock reset in the framework.

Bug: 23681267

Change-Id: I3127ccd8f205494af5a8ed2b44d4370c37cc2f8f

8 years agoam a4fca2c7: Merge "Fixed a racecondition where the camera would not launch" into...
Selim Cinek [Wed, 9 Sep 2015 22:16:11 +0000 (22:16 +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 5e354223: Use AlarmManager for lockout reset
Jorim Jaggi [Wed, 9 Sep 2015 20:54:12 +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 ebd14658: Merge "Add carrier config variable to hide ims apn" into mnc-dr-dev
Vineeta Srivastava [Wed, 9 Sep 2015 17:22:46 +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 dee1c5c9: Merge "Add carrier config for specifying invalid characters." into mnc...
Tyler Gunn [Wed, 9 Sep 2015 16:16:07 +0000 (16:16 +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 f57d9856: am 4f7d0bc7: Merge "Add get_accounts app op" into mnc-dev
Svetoslav Ganov [Wed, 9 Sep 2015 01:51:45 +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 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 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 5536d447: Merge "Changed the vibration duration from 1s to 750ms." into mnc-dr-dev
Zhentao Sun [Wed, 9 Sep 2015 00:38:53 +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 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