199954 Commits

Author SHA1 Message Date
Guang Zhu
fe74fb95b9 extend svc command to control NFC state
Change-Id: I599e4000fa17384089410e63b3150f25aa9458f7
2015-09-15 13:43:22 -07:00
Svet Ganov
276da47adf am cd946024: Default grant SMS and Phone to the verifier
* commit 'cd946024e94a8fe2f4009dbd2e5463817a17b3a9':
  Default grant SMS and Phone to the verifier
2015-09-15 20:10:30 +00:00
Lorenzo Colitti
e1e97377d0 Merge "NetworkDiagnostics: ping default router from all global addreses." into mnc-dr-dev 2015-09-15 02:39:20 +00:00
Adrian Roos
6b04e3a6ea Merge "Fix light status bar transitions" into mnc-dr-dev 2015-09-14 18:47:59 +00:00
Chris Manton
c918052845 Merge "Add capability to ignore carrier entitlement checks" into mnc-dr-dev 2015-09-14 17:23:42 +00:00
Svet Ganov
cd946024e9 Default grant SMS and Phone to the verifier
bug:24012164

Change-Id: I756644c8044076b2550d7ca104f542f50da0226b
2015-09-12 10:20:08 -07:00
Jorim Jaggi
84dc08a208 Dump Keyguard state in SystemUI and PhoneWindowManager
Bug: 23970549
Change-Id: Iec1e8ac507268086e0e2935847eda606ea1fb700
2015-09-12 01:26:17 +00:00
Adrian Roos
46df1caf3b Fix light status bar transitions
Bug: 23971926
Change-Id: Ia3c6fb18d38fb7479028191ad3df8389adb830ec
2015-09-12 00:51:52 +00:00
Chris Manton
1ba0fa04de 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
2015-09-11 14:33:22 -07:00
Alan Viverette
62b94c353a Merge "Avoid OOBE when AbsListView layout is out of sync with adapter" into mnc-dr-dev 2015-09-11 21:28:59 +00:00
Tyler Gunn
8ed28188b9 Merge "Add carrier config for characters to escape with backslash." into mnc-dr-dev 2015-09-11 15:37:40 +00:00
Roshan Pius
0a067dc711 Merge "Add a new carrier config for DTMF tone gap." into mnc-dr-dev 2015-09-11 06:13:12 +00:00
Jorim Jaggi
3cf7eef1b1 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
2015-09-11 01:54:10 +00:00
Jorim Jaggi
6e90ea0336 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
2015-09-11 01:53:25 +00:00
Svetoslav
b1cebd9ecf 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.
2015-09-11 00:23:08 +00:00
Amit Mahajan
55c3a196fe Merge "Add to configure for MDC_INITIAL_MAX_RETRY" into mnc-dr-dev 2015-09-10 23:22:37 +00:00
Sungmin Choi
478d5b7ec0 Add to configure for MDC_INITIAL_MAX_RETRY
Bug: 23804201
Change-Id: I63fbc168c05792635b7919e81d7397741ffb416b
2015-09-10 15:51:50 -07:00
Svetoslav
5579e41c6f 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
2015-09-10 15:41:27 -07:00
Martijn Coenen
e1d2d42289 Merge "Fix missing copyright headers." into mnc-dr-dev 2015-09-10 21:17:56 +00:00
Tyler Gunn
14be4cfc8b Add carrier config for characters to escape with backslash.
Bug: 22779583
Change-Id: I21ab2c9a4f15bcf96c5b978e7cac4638db259087
2015-09-10 13:33:28 -07:00
Roshan Pius
dc364fe1e8 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
2015-09-10 10:31:31 -07:00
Alan Viverette
a84dda54e4 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
2015-09-10 15:17:11 +00:00
Lorenzo Colitti
29f666688d 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
2015-09-10 15:49:54 +09:00
Amit Mahajan
0018323c07 Merge "Add carrier config variable to hide preferred network type" into mnc-dr-dev 2015-09-10 00:55:15 +00:00
Daniel Sandler
5b40e2253e Merge "Make the vertical navbar 48dp like the horizontal one." into mnc-dr-dev 2015-09-10 00:53:14 +00:00
Sungmin Choi
c03a1da5a5 Add carrier config variable to hide preferred network type
Bug: 23862319
Change-Id: I99403f358f0b53f366083edafc3762f5679b0b45
2015-09-09 17:42:32 -07:00
Jorim Jaggi
5d0e02b64e Merge "Add double-tap power button to open camera 1/2" into mnc-dr-dev 2015-09-10 00:25:59 +00:00
Jeff Sharkey
2ebbf4c899 Merge "Special interval value to always run benchmarks." into mnc-dr-dev 2015-09-10 00:18:43 +00:00
Jorim Jaggi
16093fe3f0 Revert "Disable fingerprint after force lock"
Bug: 23827042
This reverts commit 0cb50efdc2d3ecaa9f1b2163109e8fff1b23f0e7.

Change-Id: I40251500b2dcf95e63ce39a768e11a50b26fb923
2015-09-10 00:00:29 +00:00
Adrian Roos
5941c98c64 Add double-tap power button to open camera 1/2
Bug: 23787555
Change-Id: I052b64748f155c59fbb649b32265f559423a8845
2015-09-09 16:57:14 -07:00
Jeff Sharkey
e83d8a993d 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
2015-09-09 15:53:29 -07:00
Selim Cinek
a4fca2c725 Merge "Fixed a racecondition where the camera would not launch" into mnc-dr-dev 2015-09-09 22:07:02 +00:00
Jorim Jaggi
5e354223d8 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
2015-09-09 20:41:11 +00:00
Vineeta Srivastava
ebd1465885 Merge "Add carrier config variable to hide ims apn" into mnc-dr-dev 2015-09-09 17:12:39 +00:00
Tyler Gunn
dee1c5c948 Merge "Add carrier config for specifying invalid characters." into mnc-dr-dev 2015-09-09 16:09:33 +00:00
Svetoslav Ganov
f57d98564b am 4f7d0bc7: Merge "Add get_accounts app op" into mnc-dev
* commit '4f7d0bc7af5fbb65796d24b130b7e9e63107bc5d':
  Add get_accounts app op
2015-09-09 01:42:56 +00:00
Svetoslav Ganov
4f7d0bc7af Merge "Add get_accounts app op" into mnc-dev 2015-09-09 01:36:58 +00:00
Selim Cinek
1b6f819a64 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
2015-09-08 18:10:53 -07:00
Svetoslav
ce852ddcec 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
2015-09-08 17:54:37 -07:00
Zhentao Sun
5536d44775 Merge "Changed the vibration duration from 1s to 750ms." into mnc-dr-dev 2015-09-09 00:29:03 +00:00
Sungmin Choi
e9d3c11ccd Add carrier config variable to hide ims apn
Bug: 23770219
Change-Id: I691d2594384196852d7128a9b4969ba9a861205c
2015-09-08 17:24:39 -07:00
Lorenzo Colitti
017223acda 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.
2015-09-09 00:18:39 +00:00
Jorim Jaggi
52429b4a8b Cancel animation when hiding Keyguard
So we don't end up in a wrong state.

Bug: 23692022
Change-Id: If40eb66499c95b82d86873dbbd6ccc64468373b2
2015-09-09 00:04:23 +00:00
Selim Cinek
edf4748650 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
2015-09-08 23:49:59 +00:00
Zhentao Sun
e9cb08209f Changed the vibration duration from 1s to 750ms.
Fixed b/23727634.

Change-Id: Ie03b26f7b8faee8d61d772041351729995f7088c
2015-09-08 15:41:25 -07:00
Android Git Automerger
3bed3bf498 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
2015-09-08 21:55:50 +00:00
Cheryl Potter
d35c794011 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
2015-09-08 21:55:46 +00:00
Android Git Automerger
92aeac3499 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
2015-09-08 21:46:08 +00:00
Cheryl Potter
2c31a0d774 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
2015-09-08 21:46:02 +00:00
Android Git Automerger
1c88f60562 Merge branch 'lmp-mr1-ub-dev' of https://googleplex-android.googlesource.com/_direct/platform/frameworks/base into lmp-mr1-ub-dev 2015-09-08 21:37:33 +00:00